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
Put main() in test.c and remove it from mpool.c
2007-10-08
Stathis Kamperis
P
u
t main() in test
.
c an
d
r
emove it
f
rom mpool
.
c
commit
|
commitdiff
|
tree
2007-10-08
Stathis
K
amperis
F
i
x
ne
w
p
o
s calc in mpool_alloc() a
n
d add m
p
oo
l
_
s
t
at_get_bloc
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
St
a
this Ka
m
per
i
s
Remove bo
g
us print
f
()
commit
|
commitdiff
|
tree
2007-10-07
Stathis K
a
mperis
F
ix typo in comment
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kampe
r
is
Fix typo in
com
m
ent
commit
|
commitdiff
|
tree
2007-10-07
Stathis Ka
m
peris
Add some comments for mpool_fre
e
()
commit
|
commitdiff
|
tree
2007-10-07
Stath
i
s
Kamperis
Remove
b
ogus c
o
de
commit
|
commitdiff
|
tree
2007-10-07
S
t
athis Ka
m
p
e
ris
Implement inheritance
-
-
w
o
r
ks,
but nee
d
s
cleanup
commit
|
commitdiff
|
tree
2007-10-07
Stath
i
s
Kamperis
Genera
l
clean
u
p
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kampe
r
is
Chan
g
e name
s
pace from M
P
OOL_ to MP_
commit
|
commitdiff
|
tree
2007-10-06
Stath
i
s Kamperis
Add term
i
nati
n
g condition i
n
mpool_free()
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
Cle
a
n m
p
ool_free() mess
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
Add
som
e
mo
r
e DPRINTF
(
)
c
alls in mpool_fre
e
()
commit
|
commitdiff
|
tree
2007-10-06
Sta
t
his Kam
p
eris
Try to c
o
alesce only if buddy e
x
i
sts AND is
free
commit
|
commitdiff
|
tree
2007-10-06
St
a
this Kamper
i
s
Add fla
g
s
memb
e
r in
blknode dat
a
structure
commit
|
commitdiff
|
tree
2007-10-04
St
a
this Kamperis
Fix
c
a
lculation of
`
new
p
os' when splitting
commit
|
commitdiff
|
tree
2007-10-04
Stathis
K
amperis
D
E
B
UG
symbol is now MPOOL
_
D
E
BUG
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
Add mer
g
es and splits
sta
t
s
if
M
POOL_STATS is defined
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
Add some DPR
I
NTF(
)
cal
l
s
i
n mpool_fre
e
() (stil
l
a stub)
commit
|
commitdiff
|
tree
2007-10-02
St
a
this Kamperis
Repl
a
ce printf() c
a
lls to
D
PRINTF()
m
acro
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kam
p
er
i
s
Add some more p
r
i
n
tfs in mpool_free()
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kam
p
eris
Remove wh
i
tespac
e
in comment
commit
|
commitdiff
|
tree
2007-10-02
St
a
th
i
s
Kamp
e
ris
R
em
o
ve bogus h
e
ade
r
file
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
h
is Kamperis
Add basic implementatio
n
of mp
o
ol
_
fre
e
()
.
N
o
coalesce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamper
i
s
Minor co
s
metic cha
n
ge i
n
print
f
()
commit
|
commitdiff
|
tree
2007-10-02
Stat
h
i
s
Kamperis
Fix typo in com
m
ent
commit
|
commitdiff
|
tree
2007-10-02
S
t
athis Kamperis
Major changes in data structures and
a
ddition
o
f profiling
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
S
t
at
h
is Kamperis
Use
uns
i
gned char instead
o
f unsig
n
ed int for 'boolean
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
St
a
thi
s
Kamp
e
r
i
s
Do
n
't do
v
oid pointer arithmetics
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamperi
s
Pu
t
f
un
c
tion prot
o
types, defs
a
nd constan
t
s
in mpo
o
l
.
h
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamp
e
r
is
Add a minsize field in mp
o
o
l
t
o indicate
m
i
nimum chunk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
St
a
this Kamperis
Ini
t
i
a
l
imp
o
r
t
of the buddy memory alloca
t
or
commit
|
commitdiff
|
tree
2007-09-20
Stathis K
a
mperis
Merg
e
branch 'exp-has
h
'
commit
|
commitdiff
|
tree
2007-09-20
Sta
t
his Kamperis
Don'
t
check < 0 for unsig
n
e
d expression
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamp
e
ris
Merg
e
branch
'
exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis K
a
mperis
M
e
rge ht
a
b
le_get_fir
s
t_elm() in htable_ge
t
_next_e
l
m()
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
M
e
rge branch 'exp-has
h
'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kam
p
er
i
s
A
dd h
t
ab
l
e_get_first
/
next_elemen
t
() functions fo
r
htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
S
tathis K
a
mperis
Me
r
ge branch '
e
xp-hash'
commit
|
commitdiff
|
tree
2007-09-19
Sta
t
his Kamperis
Update TODO f
i
le
commit
|
commitdiff
|
tree
2007-09-19
S
tat
h
is
K
amp
e
r
i
s
Add test case fo
r
ht
a
ble_traver
s
e
commit
|
commitdiff
|
tree
2007-09-19
Stath
i
s Kamperis
Add htable_get_size(), h
t
a
bl
e
_g
e
t_used(
)
, htabl
e
_traverse()
commit
|
commitdiff
|
tree
2007-09-19
Stath
i
s
Kamperis
Add stub
f
or htable_get_next_elm()
commit
|
commitdiff
|
tree
2007-09-19
S
t
at
h
is Kamperis
Fix typo in
comment
commit
|
commitdiff
|
tree
2007-09-14
S
t
a
thi
s
Ka
m
peris
Add
f
l
ags H
T
_F
R
E
E
K
EY and HT_FREEDA
T
A in htable_fre
e
_*()
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
htabl
e
_
f
r
e
e_objects() -> htable_
f
ree_all_
o
bj()
i
n main
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stathis K
a
mperis
pr
i
n
t
f callback
-
>
myprintf so
a
s not
t
o
shado
w
stdio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
S
tathis Ka
m
peris
Remo
v
e
redundant , when in
enumer
a
t
ion list
commit
|
commitdiff
|
tree
2007-09-10
Stathi
s
Kamperis
HT_RE
P
LACED -> HT_EXISTS
commit
|
commitdiff
|
tree
2007-09-10
Sta
t
his Kamperis
Implement h
t
able_free_obj() fu
n
ct
i
on
commit
|
commitdiff
|
tree
2007-09-10
Stathis K
a
mper
i
s
htable_inse
r
t() doesn'
t
ovewrite existing data
commit
|
commitdiff
|
tree
2007-09-10
S
ta
t
his Ka
m
peris
htable
_
ins
e
rt()
returns HT_REPLA
C
E
D if key already
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
S
t
a
this Kampe
r
is
Free hn_ke
y
commit
|
commitdiff
|
tree
2007-09-10
Sta
t
his
K
am
p
e
r
is
Free old data when inserti
n
g new entry with exis
t
ing
key
commit
|
commitdiff
|
tree
2007-09-09
S
t
athis Kam
p
e
r
is
Ad
d
ht
a
ble_fre
e
_obje
c
t
s
() tha frees pnode->data
commit
|
commitdiff
|
tree
2007-09-09
S
tat
h
is Kamp
e
ris
P
ass callback function i
n
htable_init()
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kam
p
eris
#i
n
cl
u
de <std
d
ef
.
h> in ht
a
ble
.
h for
s
ize
_
t type
commit
|
commitdiff
|
tree
2007-09-09
S
t
athis
K
ampe
r
is
h
table_gro
w
(
) should re
t
urn HT
_
OK
o
n success
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
i
s Kamperis
Add comment
commit
|
commitdiff
|
tree
2007-09-08
S
tathis K
a
mpe
r
is
C
onstify v
a
riable in
h
table_
p
rint()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperi
s
A
dd htabl
e
_grow()
commit
|
commitdiff
|
tree
2007-09-08
Stathis K
a
mperi
s
u
_
int -> unsig
n
ed i
n
t
commit
|
commitdiff
|
tree
2007-09-08
St
a
this Kamperis
Ad
d
com
m
ent in main()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
change
s
in djb_hash
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
is Kamperis
C
onsti
f
y some
v
ariable
s
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Add
a
hh
e
ad_t typedef for
s
tr
u
ct htabl
e
h
ead
commit
|
commitdiff
|
tree
2007-09-08
Stathis K
a
mperis
Add
p
ro
p
er error handling in htable_*() functions
commit
|
commitdiff
|
tree
2007-09-07
S
tathis Kampe
r
i
s
p
t
able ->
htable in
main
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Add
h
ta
b
le_fr
e
e() and don't f
o
rget t
o
u
pdate
ht_size
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Rename htable_delete
(
) to htable_r
e
move()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Ka
m
p
eris
F
i
x typ
o
and remove
whit
e
sp
a
ce
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Fix comment in previous
c
o
m
mit
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
i
s
Kamper
i
s
Add htabl
e
_delete() f
u
nction
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is Kamperis
str ->
key in djb_hash() function
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is Ka
m
peris
Include ar
g
u
ments'
name
s
in fu
n
ct
i
on prototypes
commit
|
commitdiff
|
tree
2007-09-07
St
a
this K
a
mperis
pass void *key argument in h
t
a
b
le_print()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Ka
m
peri
s
Add comment
s
for
ht
_
size variabl
e
commit
|
commitdiff
|
tree
2007-09-07
St
a
this
K
amperis
Constify
v
a
r
i
able in htab
l
e_prin
t
()
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
K
a
m
pe
r
is
M
ov
e
htable fil
e
s t
o
h
t
a
ble
/
subdirectory
commit
|
commitdiff
|
tree
2007-09-07
S
t
a
t
his K
a
mperi
s
Split h
t
ab
l
e
implementation
t
o
hta
b
le
.
c and
h
table
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Add some
c
omment
s
commit
|
commitdiff
|
tree
2007-09-07
S
t
a
t
hi
s
Kamperis
Co
n
stify so
m
e variable
s
commit
|
commitdiff
|
tree
2007-09-07
Stath
i
s Kamperis
ht_p
r
intf() has a void *d
a
t
a
argumen
t
commit
|
commitdiff
|
tree
2007-09-07
Stath
i
s
ht_cmpf() returns 0 if args are e
q
u
al
commit
|
commitdiff
|
tree
2007-09-06
Stathis
Add ca
l
lback
functio
n
s for hash, compare and print
commit
|
commitdiff
|
tree
2007-09-06
Stathis
A
dd htable_lookup
(
)
commit
|
commitdiff
|
tree
2007-09-06
Stathis
Fix a segfault
commit
|
commitdiff
|
tree
2007-09-06
Stathis
Fix buffer overruns
commit
|
commitdiff
|
tree
2007-09-06
S
t
athis
Constify variable
commit
|
commitdiff
|
tree
2007-09-05
Stathi
s
F
i
x minor gra
m
ma
t
i
cal e
r
r
or in
co
m
ment
commit
|
commitdiff
|
tree
2007-09-05
Stathis
Rem
o
ve whitespac
e
commit
|
commitdiff
|
tree
2007-09-05
Stathis
Constify
some variables
commit
|
commitdiff
|
tree
2007-09-05
S
tathis
Merge br
a
nch
'mas
t
e
r' of git
+
ssh
:
/
/
re
p
o
.
or
.
cz/srv/git
.
.
.
commit
|
commitdiff
|
tree
2007-09-05
S
t
athis
Make htable_*
f
unc
t
ions, hash tabl
e
size agno
s
tic
commit
|
commitdiff
|
tree
2007-09-05
Stat
h
i
s
Make htab
l
e_* fu
n
ctions, hast ta
b
le size agnostic
commit
|
commitdiff
|
tree
2007-09-05
Stathis
A
d
d
c
om
m
ents to sourc
e
commit
|
commitdiff
|
tree
2007-09-05
Stathis
Fix hop
e
f
u
l
l
y
a
ll segfaults
:
)
commit
|
commitdiff
|
tree
2007-09-05
Stathis
Fix ch
a
ining and
a
d
d
htable_print
(
)
commit
|
commitdiff
|
tree
2007-08-30
S
tathis
K
a
mperis
Fix a m
e
mory leak in tailq
.
c
commit
|
commitdiff
|
tree
2007-08-30
S
t
a
this
Kamperis
M
e
rg
e
bra
n
ch 'master' of git+ssh
:
//Beket@repo
.
or
.
c
z
.
.
.
commit
|
commitdiff
|
tree
next