repo.or.cz
/
eleutheria.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Use size_t instead of unsigned int when appropriate
2007-10-15
Stat
h
i
s Kamperis
Use s
i
ze_t
i
nstead of unsigned i
n
t
when appropriate
commit
|
commitdiff
|
tree
2007-10-15
S
t
athis Kam
p
eris
Put the
s
tat
f
unctions in a s
e
p
a
rate
.
c files
commit
|
commitdiff
|
tree
2007-10-15
S
t
athis Kamperis
F
i
x many comments and ot
h
e
r minor s
t
uff
commit
|
commitdiff
|
tree
2007-10-15
St
a
this Kampe
r
is
Chan
g
e e
r
ror na
m
espace from MP_* to
M
POOL_*
commit
|
commitdiff
|
tree
2007-10-15
Stathis K
a
mperis
re
n
ame next_b
l
oc
k
to nex
t
_chunk in blkn
o
de_
t
data structure
commit
|
commitdiff
|
tree
2007-10-15
Sta
t
h
is Kamperis
M
o
r
e
validation
in mpool_a
l
loc
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
Replace bitwis
e
operat
i
o
ns wit
h
proper macros
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
M
o
r
e
c
l
ea
n
up
commit
|
commitdiff
|
tree
2007-10-13
St
a
this K
a
mperi
s
Li
t
tle co
s
metic
s
t
uff
commit
|
commitdiff
|
tree
2007-10-13
Stathis
K
amperis
Rem
o
ve unu
s
ed variable p
commit
|
commitdiff
|
tree
2007-10-12
St
a
th
i
s
Kampe
r
i
s
n
o-malloc() implementation wo
r
ks without
b
ugs, thou
g
h
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis
K
a
m
peris
First attempt to a
malloc() free implem
e
n
t
ation --
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis Kampe
r
i
s
A
d
d a
p
rog
r
am
t
hat prin
t
s characters'
f
reque
n
cies
commit
|
commitdiff
|
tree
2007-10-10
Stat
h
is Kam
p
eris
Implement
full simulation
commit
|
commitdiff
|
tree
2007-10-09
Stathis Kamperis
Add first
attemp
t
of s
i
mulation
-
- c
r
a
shes
right now
commit
|
commitdiff
|
tree
2007-10-08
S
t
a
t
h
is Kam
p
er
i
s
Put main() in
t
est
.
c and rem
o
ve it
from mpoo
l
.
c
commit
|
commitdiff
|
tree
2007-10-08
Stathis Kamperis
Fix new
p
o
s calc in mp
o
ol_alloc() an
d
add mpool_stat_get_bloc
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
Stat
h
is Kamperis
Remove bo
g
us prin
t
f(
)
commit
|
commitdiff
|
tree
2007-10-07
S
tathis
K
am
p
eris
Fi
x
t
ypo
i
n
comment
commit
|
commitdiff
|
tree
2007-10-07
Stathis
Kamperis
Fix typo in
co
m
me
n
t
commit
|
commitdiff
|
tree
2007-10-07
Stathis K
a
mperis
Ad
d
so
m
e
comments for mpool_free()
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Remove bogus code
commit
|
commitdiff
|
tree
2007-10-07
St
a
this Kam
p
eris
Imple
m
ent inh
e
rit
a
nce -- work
s
, but needs c
l
ean
u
p
commit
|
commitdiff
|
tree
2007-10-07
Stathis
Kamperis
Ge
n
eral cle
a
n
u
p
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
C
h
ange n
a
mespace from MPOOL_ to M
P
_
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kam
p
e
r
is
Add
t
erm
i
na
t
ing conditi
o
n in mpool_fre
e
()
commit
|
commitdiff
|
tree
2007-10-06
St
a
this Ka
m
p
e
r
is
C
l
e
an mpool_free() m
e
s
s
commit
|
commitdiff
|
tree
2007-10-06
Stathi
s
Kamperis
Add
some more
DPRINT
F
(
) calls in mpool_free
(
)
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamp
e
r
is
Try
t
o co
a
lesce only if bud
d
y e
x
ist
s
AND is free
commit
|
commitdiff
|
tree
2007-10-06
Stathis
K
a
m
p
eris
Add flags me
m
ber in blknod
e
data s
t
ructure
commit
|
commitdiff
|
tree
2007-10-04
St
a
this Ka
m
p
e
ris
Fix calcula
t
i
on of `ne
w
pos'
when
s
plitting
commit
|
commitdiff
|
tree
2007-10-04
S
t
athis Kamper
i
s
DEBUG sym
b
ol is now MPOOL_DEBUG
commit
|
commitdiff
|
tree
2007-10-04
Stathis
K
amp
e
r
i
s
Add merge
s
and
spl
i
ts stats if MPOOL
_
STA
T
S is
d
efined
commit
|
commitdiff
|
tree
2007-10-04
Stathi
s
Kamperis
Ad
d
some D
P
RINT
F
(
)
calls in mpool_free()
(still a s
t
u
b)
commit
|
commitdiff
|
tree
2007-10-02
Stathis
K
amperis
Replac
e
prin
t
f(
)
cal
l
s to DPRINTF(
)
m
a
cro
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Add some
m
o
re
p
rintfs
in mpool_free()
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Remove whitespace in comment
commit
|
commitdiff
|
tree
2007-10-02
Stathi
s
Kamperis
Remo
v
e bo
g
us header
f
ile
commit
|
commitdiff
|
tree
2007-10-02
Stathi
s
Kamperis
A
d
d
basic implementation
o
f mpo
o
l
_
free
(
)
.
No coal
e
s
c
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stath
i
s Kamperi
s
M
inor
c
osmeti
c
change in p
r
intf()
commit
|
commitdiff
|
tree
2007-10-02
Stathis K
a
mperis
Fix ty
p
o in comment
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
his Kamp
e
ris
Maj
o
r
c
hanges
in d
a
ta
s
t
r
uct
u
res
a
n
d a
d
dit
i
on
o
f profiling
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
hi
s
Ka
m
peris
Use u
n
s
igned char
i
nstead o
f
unsi
g
n
e
d
int for 'boolean
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
S
t
a
this Kamper
i
s
Don't do void p
o
inter ari
t
hmet
i
c
s
commit
|
commitdiff
|
tree
2007-10-01
Sta
t
his K
a
mperis
Put
fu
n
ct
i
on prot
o
t
y
p
es, defs and con
s
tan
t
s i
n
mpool
.
h
commit
|
commitdiff
|
tree
2007-10-01
S
t
a
t
h
is
K
amperis
A
dd a minsize field in mpool to indi
c
ate
m
in
i
m
u
m chunk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
S
ta
t
h
i
s Kam
p
eris
Initi
a
l import of the bud
d
y
memory allocator
commit
|
commitdiff
|
tree
2007-09-20
Stathis Ka
m
p
e
ris
Merg
e
b
r
anch '
e
xp-h
a
sh'
commit
|
commitdiff
|
tree
2007-09-20
S
t
athis Kamperis
Don't check < 0
for
u
n
signed expres
s
ion
commit
|
commitdiff
|
tree
2007-09-20
S
ta
t
h
is Kamperis
M
e
rge branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Merge hta
b
le_get_fir
s
t
_el
m
(
) in htabl
e
_get_next_e
l
m
(
)
commit
|
commitdiff
|
tree
2007-09-20
St
a
t
h
is Kamperis
Me
r
ge bra
n
c
h
'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
St
a
this
Kamperis
Add htable_get_fi
r
st/next
_
ele
m
e
nt() func
t
ions for htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Me
r
ge branch
'ex
p
-ha
s
h'
commit
|
commitdiff
|
tree
2007-09-19
St
a
t
h
is Kamperis
Update TODO file
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Ad
d
test case for htab
l
e_t
r
averse
commit
|
commitdiff
|
tree
2007-09-19
Sta
t
his Kamperis
Add ht
a
ble_get_
s
ize()
,
h
t
able_get_used()
,
htable_traverse()
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Ad
d
stub
f
o
r htable_get_next_elm()
commit
|
commitdiff
|
tree
2007-09-19
Sta
t
his Kam
p
eris
Fix typo in comment
commit
|
commitdiff
|
tree
2007-09-14
Sta
t
h
i
s Kamperis
Add flags HT_FREEKEY
and HT_
F
R
EEDATA in hta
b
le_fre
e
_
*(
)
commit
|
commitdiff
|
tree
2007-09-11
St
a
this Ka
m
peris
ht
a
bl
e
_fr
e
e_objects() -
>
htable_fr
e
e
_
all_ob
j
() in m
a
in
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stathis
K
amperis
printf callback -> m
y
prin
t
f so as
n
o
t to sha
d
ow stdio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
S
tathis
K
a
mperis
R
e
m
ov
e
redundant , when in enumeration lis
t
commit
|
commitdiff
|
tree
2007-09-10
Stat
h
is
Ka
m
peris
HT_RE
P
LACED ->
H
T
_EXIS
T
S
commit
|
commitdiff
|
tree
2007-09-10
Stat
h
i
s
Kampe
r
is
Impl
e
ment hta
b
le_fr
e
e_obj()
f
unction
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
h
table
_
insert
(
) doesn't ove
w
rit
e
exi
s
ting d
a
ta
commit
|
commitdiff
|
tree
2007-09-10
Stat
h
i
s
Kamper
i
s
htable_insert() return
s
H
T
_
REPLACED if
k
ey a
l
re
a
dy
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Stath
i
s Kamperi
s
Free hn_k
e
y
commit
|
commitdiff
|
tree
2007-09-10
Stathis K
a
mp
e
r
is
Free
o
l
d data when inserting new entry with
e
x
ist
i
ng key
commit
|
commitdiff
|
tree
2007-09-09
Stath
i
s Kamper
i
s
A
d
d
htable_free_
o
bjects() tha f
r
ees pnode->da
t
a
commit
|
commitdiff
|
tree
2007-09-09
S
t
athi
s
Kamp
e
ris
Pass ca
l
lback functio
n
i
n
h
t
able_
i
nit()
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamp
e
ris
#include
<std
d
ef
.
h
> in htable
.
h for size_t
type
commit
|
commitdiff
|
tree
2007-09-09
St
a
this K
a
m
peris
htable_g
r
ow() should return
H
T_OK on
s
uccess
commit
|
commitdiff
|
tree
2007-09-08
Stathis K
a
mperis
Add com
m
ent
commit
|
commitdiff
|
tree
2007-09-08
Stathis Ka
m
pe
r
i
s
Constify variable in htab
l
e
_p
r
int()
commit
|
commitdiff
|
tree
2007-09-08
Stathis
K
ampe
r
is
Add htable_
g
row()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
u_int
-
> u
n
si
g
ned i
n
t
commit
|
commitdiff
|
tree
2007-09-08
S
ta
t
his Kamperis
Add co
m
ment in main()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
change
s
in djb_hash
commit
|
commitdiff
|
tree
2007-09-08
Stath
i
s Kamp
e
ris
C
o
nstify some variabl
e
s
commit
|
commitdiff
|
tree
2007-09-08
Stathis
Kamper
i
s
Add
a hhead
_
t
t
y
pedef
f
or
s
truct htable
h
ead
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamper
i
s
Add proper error handling in htable_
*
() fu
n
ct
i
ons
commit
|
commitdiff
|
tree
2007-09-07
St
a
this Kampe
r
is
pta
b
le
-
> h
t
able
i
n main
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamper
i
s
A
d
d hta
b
le_free(
)
and don't fo
r
get
t
o
up
d
ate ht_
s
ize
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamp
e
r
is
R
e
name
htab
l
e
_delete() t
o
htabl
e
_remove(
)
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperi
s
Fix
t
y
po and remove
w
hitespace
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Kamperi
s
F
i
x
comment in previ
o
us com
m
it
commit
|
commitdiff
|
tree
2007-09-07
S
ta
t
his Kam
p
eris
Add ht
a
ble_del
e
te() func
t
i
on
commit
|
commitdiff
|
tree
2007-09-07
S
tathis
K
amperis
s
t
r ->
k
ey in djb_h
a
sh() functi
o
n
commit
|
commitdiff
|
tree
2007-09-07
Stathis K
a
mpe
r
i
s
Include arg
u
ments' names in fu
n
ction pro
t
otypes
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Kampe
r
is
pass void *key argument in htable_print()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
A
d
d comments for ht_size variable
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperi
s
Cons
t
ify variable
i
n htab
l
e_
p
ri
n
t()
commit
|
commitdiff
|
tree
2007-09-07
S
tathis Kamperis
Move
h
ta
b
le files to
htable
/
s
ubdire
c
tory
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Split htable implem
e
ntation to htable
.
c an
d
htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamper
i
s
Add
s
om
e
comments
commit
|
commitdiff
|
tree
2007-09-07
S
t
a
this Kamperis
Co
n
stify some vari
a
bles
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Kamperi
s
ht
_
printf() has a void *data arg
u
ment
commit
|
commitdiff
|
tree
2007-09-06
Sta
t
his Kamperis
htable_i
n
i
t(), htable_insert
(
), htable
_
print()
commit
|
commitdiff
|
tree
2007-09-06
S
tathis Kam
p
eris
I
nitial import of h
t
able
.
c
commit
|
commitdiff
|
tree
next