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
Stathi
s
Kamperi
s
Put ma
i
n() in test
.
c and r
e
move it fr
o
m mp
o
ol
.
c
commit
|
commitdiff
|
tree
2007-10-08
Stathi
s
K
a
mperis
Fix newpos c
a
lc
i
n mpool_a
l
loc() and
add mpool_stat_
g
et
_
bloc
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
Stath
i
s
Kamperis
Rem
o
ve bo
g
u
s print
f
()
commit
|
commitdiff
|
tree
2007-10-07
Stathis
K
amperis
F
i
x
t
ypo in comment
commit
|
commitdiff
|
tree
2007-10-07
Sta
t
his Kamperis
Fix
t
ypo in comment
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Add so
m
e comments for mpoo
l
_free()
commit
|
commitdiff
|
tree
2007-10-07
Stathis
Kamperis
R
emove
b
ogus co
d
e
commit
|
commitdiff
|
tree
2007-10-07
Stathis
K
amperis
I
m
plement inherita
n
ce -
-
works, but needs cleanup
commit
|
commitdiff
|
tree
2007-10-07
Stathis
K
amper
i
s
Gener
a
l cleanu
p
commit
|
commitdiff
|
tree
2007-10-07
Stath
i
s Kamperis
Chan
g
e nam
e
space fro
m
M
P
OOL_ to MP_
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
A
dd te
r
mi
n
ating cond
i
tion in m
p
ool_free()
commit
|
commitdiff
|
tree
2007-10-06
Stathis K
a
mperis
Clean m
p
ool_free() mess
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kampe
r
is
Add some more DPR
I
NTF
(
) calls in mp
o
ol_free()
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamp
e
ris
Try to
co
a
lesce only if b
u
ddy
e
xi
s
t
s
AND
is free
commit
|
commitdiff
|
tree
2007-10-06
Stathi
s
K
amper
i
s
Add flags member in bl
k
node data st
r
uctur
e
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
Fix cal
c
ulation of `newpos' wh
e
n
splitting
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
DEB
U
G symbo
l
is
now MPOOL_DEBU
G
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamper
i
s
Add merges and split
s
stats
i
f M
P
O
OL_STATS is defined
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
Add
some DPRINTF() calls in mpool_
f
ree
(
)
(
s
t
i
ll a stub)
commit
|
commitdiff
|
tree
2007-10-02
Stat
h
is Kamperis
Replace
prin
t
f() calls to DPRI
N
TF(
)
macro
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
his Kampe
r
i
s
Add some more printfs
in mpool_free()
commit
|
commitdiff
|
tree
2007-10-02
St
a
this Kamperis
Remo
v
e whitespace i
n
comment
commit
|
commitdiff
|
tree
2007-10-02
Stathis Ka
m
peris
Remove
bogus header file
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
A
d
d basic implementation
of mpool_f
r
ee()
.
No coalesce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathi
s
Kam
p
eris
Minor cos
m
etic change in pri
n
tf()
commit
|
commitdiff
|
tree
2007-10-02
Stat
h
is Ka
m
p
e
ris
Fix ty
p
o
i
n
comment
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kam
p
eris
Major
cha
n
ges in da
t
a
s
t
r
u
c
t
ures and addition o
f
p
r
o
filing
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Use
u
nsigned char instead of u
n
signed int for '
b
oolean
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamperis
D
on't do vo
i
d poin
t
er arithmetics
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kam
p
eris
Pu
t
f
u
n
ction prototypes, defs and co
n
s
t
a
nts
i
n
mpool
.
h
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamperi
s
Ad
d
a minsize fie
l
d in mp
o
ol to indicat
e
m
inimum c
h
unk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis
K
amper
i
s
Initial
i
mport of th
e
buddy
memory allocato
r
commit
|
commitdiff
|
tree
2007-09-20
St
a
th
i
s Kamperis
Merge
b
ranch
'
e
xp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Do
n
't check < 0 for
u
n
sign
e
d
expres
s
i
o
n
commit
|
commitdiff
|
tree
2007-09-20
St
a
this
K
amperis
Merg
e
branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
S
t
ath
i
s Kamperis
Merge htable_get_first_elm() i
n
htable_get_
n
e
xt
_
elm()
commit
|
commitdiff
|
tree
2007-09-20
S
tathis Ka
m
peris
Merge branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
St
a
this
K
amperis
Ad
d
htable_get_
f
irst/n
e
xt
_
el
e
ment() f
u
nction
s
for h
t
a
b
le
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamp
e
r
is
Me
r
ge br
a
nch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-19
Stathis
Kamperis
U
p
date
TO
D
O fi
l
e
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Add test case f
o
r h
t
abl
e
_traverse
commit
|
commitdiff
|
tree
2007-09-19
S
tathis
K
amperi
s
Add htable_get_size(
)
,
htable_get_use
d
(), htable_
t
raver
s
e(
)
commit
|
commitdiff
|
tree
2007-09-19
Stathis
Kamperi
s
Ad
d
stub for
h
tabl
e
_
g
et
_
ne
x
t_elm()
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
F
i
x
typ
o
in com
m
ent
commit
|
commitdiff
|
tree
2007-09-14
Stat
h
is Kamperis
Add flags H
T
_FREEKEY and
HT_FREEDA
T
A
i
n
h
table_free_*(
)
commit
|
commitdiff
|
tree
2007-09-11
Stathis
Kamperis
htab
l
e
_free_obje
c
ts() -> htable_free_all_obj() in mai
n
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stathis
K
amper
i
s
pr
i
n
tf
cal
l
b
a
ck -> myp
r
intf so as not to sh
a
do
w
stdio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kam
p
eris
Remov
e
redunda
n
t
, when in enumeration lis
t
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kampe
r
is
H
T_REP
L
ACED ->
HT_EXISTS
commit
|
commitdiff
|
tree
2007-09-10
Stath
i
s Kamperis
Im
p
l
e
ment
htabl
e
_fr
e
e_o
b
j
(
)
function
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
htable_insert() doesn't ove
w
rite existing
d
a
t
a
commit
|
commitdiff
|
tree
2007-09-10
Stathis Ka
m
peris
htable
_
i
n
sert()
return
s
H
T_REP
L
ACED
if key already
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
Free
h
n_key
commit
|
commitdiff
|
tree
2007-09-10
S
ta
t
his
Ka
m
p
e
ris
Free old d
a
t
a
when inserting new en
t
ry wit
h
e
x
isting key
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kam
p
eris
Add htab
l
e_
f
ree_o
b
jects() tha free
s
pno
d
e->data
commit
|
commitdiff
|
tree
2007-09-09
Stathis Ka
m
p
e
ris
Pass c
a
llb
a
ck functio
n
in htable_init()
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
#includ
e
<stddef
.
h> in
h
tabl
e
.
h
for size_t
t
ype
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamp
e
ris
htable_g
r
ow() should r
e
turn HT_O
K
o
n
succes
s
commit
|
commitdiff
|
tree
2007-09-08
Stathis Ka
m
pe
r
i
s
Add comme
n
t
commit
|
commitdiff
|
tree
2007-09-08
S
tathis Kamperi
s
Con
s
tif
y
variable in htable_pri
n
t()
commit
|
commitdiff
|
tree
2007-09-08
S
t
athis Kamperis
Add htable_grow()
commit
|
commitdiff
|
tree
2007-09-08
S
t
athis Kamperis
u_int -> unsigne
d
i
nt
commit
|
commitdiff
|
tree
2007-09-08
Stath
i
s Kamperis
Add comment in main()
commit
|
commitdiff
|
tree
2007-09-08
Stathi
s
Kamperis
changes
i
n djb_h
a
sh
commit
|
commitdiff
|
tree
2007-09-08
Stathis K
a
mperis
Constify some v
a
riables
commit
|
commitdiff
|
tree
2007-09-08
Stathis K
a
mperis
Add a h
h
ead_t typede
f
f
or str
u
ct htablehead
commit
|
commitdiff
|
tree
2007-09-08
Stath
i
s Kamp
e
ris
Add p
r
op
e
r error
handling in
htable_*()
f
u
n
ctions
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamperis
pt
a
ble -> htable in main
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stathis Ka
m
p
er
i
s
Add htable_free()
a
nd don't
forget to u
p
d
a
te ht_siz
e
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Rename
h
t
a
ble_delete() to htab
l
e
_
r
e
move(
)
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Fix
t
ypo and remove whitespace
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Fix c
o
mme
n
t
i
n pr
e
vious com
m
it
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
A
dd htable_delete() function
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
str ->
k
e
y in
d
jb_hash
(
) fu
n
ct
i
on
commit
|
commitdiff
|
tree
2007-09-07
St
a
this Kamp
e
ris
Incl
u
de argu
m
e
n
ts' names in f
u
n
c
t
i
o
n
p
rototypes
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
pass void *key a
r
gument in hta
b
le_prin
t
()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Add c
o
mments for
ht_size varia
b
le
commit
|
commitdiff
|
tree
2007-09-07
S
t
a
thi
s
Kampe
r
is
Con
s
tify variable in hta
b
le_prin
t
()
commit
|
commitdiff
|
tree
2007-09-07
Stathis
K
a
mpe
r
i
s
Mo
v
e htable
files to htable/ subdirectory
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Split htabl
e
im
p
lementation to
htable
.
c and htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis
Kamper
i
s
Add some co
m
ments
commit
|
commitdiff
|
tree
2007-09-07
S
t
a
th
i
s Kamperis
Consti
f
y some vari
a
ble
s
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
h
t
_
p
rintf()
h
as
a
void *data a
r
gumen
t
commit
|
commitdiff
|
tree
2007-09-07
Stathis
ht_cmp
f
()
retu
r
n
s 0
i
f
a
r
gs are equa
l
commit
|
commitdiff
|
tree
2007-09-06
S
t
athi
s
Add callback functio
n
s for hash, c
o
mpare and print
commit
|
commitdiff
|
tree
2007-09-06
Stathis
Add htab
l
e_lookup()
commit
|
commitdiff
|
tree
2007-09-06
Stathis
Fix
a s
e
gfa
u
lt
commit
|
commitdiff
|
tree
2007-09-06
Stathis
Fix
b
uffer overruns
commit
|
commitdiff
|
tree
2007-09-06
Stathis
Constify varia
b
le
commit
|
commitdiff
|
tree
2007-09-05
St
a
this
Fix minor grammatical err
o
r
in com
m
ent
commit
|
commitdiff
|
tree
2007-09-05
Stath
i
s
Remove wh
i
te
s
pace
commit
|
commitdiff
|
tree
2007-09-05
St
a
t
h
is
Constify s
o
me
v
ariables
commit
|
commitdiff
|
tree
2007-09-05
Stathis
Merge
b
ranch
'master
'
of git+ssh://repo
.
or
.
cz/srv/
g
it
.
.
.
commit
|
commitdiff
|
tree
2007-09-05
Stath
i
s
Make htable
_
* functions, hash table size agnost
i
c
commit
|
commitdiff
|
tree
2007-09-05
Stathis
Make htable_* functions, has
t
table
size agnostic
commit
|
commitdiff
|
tree
2007-09-05
Stathis
A
d
d comments to s
o
urce
commit
|
commitdiff
|
tree
2007-09-05
Stathis
Fix hope
f
ully all segfaults :)
commit
|
commitdiff
|
tree
2007-09-05
St
a
this
Fix ch
a
ining a
n
d ad
d
htable_print()
commit
|
commitdiff
|
tree
2007-08-30
Stathis Kamperis
Fix a memory leak i
n
t
ailq
.
c
commit
|
commitdiff
|
tree
2007-08-30
Stathis Kamperis
Me
r
ge
branch 'mast
e
r' of
git+ssh://Beket
@
repo
.
or
.
cz
.
.
.
commit
|
commitdiff
|
tree
next