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
test case file is not executable
2007-10-15
S
tath
i
s Kamperis
t
est case fi
l
e
i
s
not executable
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamper
i
s
F
ix possible mem le
a
k in
tes
t
case
commit
|
commitdiff
|
tree
2007-10-15
Stathis K
a
m
peris
Add a simplest possibl
e
t
e
stcase -- m
o
re will
follow
commit
|
commitdiff
|
tree
2007-10-15
Stat
h
is Kamperis
Use prope
r
in mpo
o
l_pri
n
tblks()
commit
|
commitdiff
|
tree
2007-10-15
St
a
t
his Kamperis
Return
i
m
m
e
d
iately if bud
d
y is out of pool
commit
|
commitdiff
|
tree
2007-10-15
Stathi
s
Kamperis
Use size_t ins
t
ead of unsigned
i
nt w
h
e
n
appropriate
commit
|
commitdiff
|
tree
2007-10-15
Sta
t
his
Kamper
i
s
Put
t
he stat
functions
i
n a sepa
r
ate
.
c files
commit
|
commitdiff
|
tree
2007-10-15
S
t
athis Kam
p
eris
Fix many comments and ot
h
er minor
s
tuff
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
Change error na
m
espa
c
e from
M
P
_
*
to MP
O
OL
_
*
commit
|
commitdiff
|
tree
2007-10-15
S
tathis Kam
p
eris
rename next_block
to next_chunk in
b
lknode_t d
a
ta structu
r
e
commit
|
commitdiff
|
tree
2007-10-15
S
tat
h
is Kamperis
More valida
t
ion in mp
o
ol_al
l
o
c
commit
|
commitdiff
|
tree
2007-10-13
Sta
t
his
K
amperis
Repla
c
e bitwise operat
i
ons with proper
macr
o
s
commit
|
commitdiff
|
tree
2007-10-13
S
tathis Kampe
r
is
Mor
e
cleanup
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamper
i
s
Little cosmetic st
u
ff
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamper
i
s
R
e
mov
e
unu
s
ed
v
ariable p
commit
|
commitdiff
|
tree
2007-10-12
Stathis Kampe
r
is
no-mall
o
c(
)
i
mp
l
e
m
entation works without bugs, though
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis
K
amperis
F
i
rst atte
m
pt to
a mal
l
oc() free im
p
lementation
-
-
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
S
t
a
this
Kamperis
Add a program that prints characters'
frequencies
commit
|
commitdiff
|
tree
2007-10-10
S
t
a
t
his Kamperis
I
mplement full s
i
mulati
o
n
commit
|
commitdiff
|
tree
2007-10-09
Stathis Kampe
r
is
Add firs
t
attempt of s
i
mu
l
ation -- cras
h
e
s
right now
commit
|
commitdiff
|
tree
2007-10-08
S
tathis Kamperis
Put main
(
) in test
.
c
and re
m
ove i
t
from
mpool
.
c
commit
|
commitdiff
|
tree
2007-10-08
S
t
athis Kamp
e
ris
F
ix newpos calc i
n
m
p
ool_alloc() and add mpool_sta
t
_g
e
t_bloc
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Remove b
o
gus
print
f
(
)
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamper
i
s
F
ix typo in comm
e
nt
commit
|
commitdiff
|
tree
2007-10-07
Sta
t
h
i
s Kampe
r
is
Fix typo in comment
commit
|
commitdiff
|
tree
2007-10-07
St
a
this Kam
p
eris
A
d
d some
co
m
m
ents for mp
o
o
l_free(
)
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Remove b
o
g
us code
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
I
mplement inheritan
c
e
-- works, but needs
c
lea
n
up
commit
|
commitdiff
|
tree
2007-10-07
Stathi
s
Kamperi
s
General cleanup
commit
|
commitdiff
|
tree
2007-10-07
S
tathis Kamperis
Change n
a
mesp
a
c
e fr
o
m
MPO
O
L_ to MP_
commit
|
commitdiff
|
tree
2007-10-06
Stath
i
s Kam
p
eris
Add
t
erminating conditi
o
n in
m
pool
_
free(
)
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kam
p
eris
Clean mpool
_
free(
)
mess
commit
|
commitdiff
|
tree
2007-10-06
Stath
i
s Kamperis
A
d
d some more DPRI
N
TF() calls i
n
m
pool_free()
commit
|
commitdiff
|
tree
2007-10-06
Stathi
s
Kamperis
Try to coale
s
c
e only
i
f buddy ex
i
sts AND
i
s fre
e
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kam
p
e
r
is
Add
flags member
i
n blknode
data s
t
ru
c
t
ure
commit
|
commitdiff
|
tree
2007-10-04
S
t
athis Kamperis
Fix calcu
l
at
i
on of `n
e
wpo
s
' when splittin
g
commit
|
commitdiff
|
tree
2007-10-04
S
tathis Kam
p
eris
DEBUG sym
b
ol
is now MPOO
L
_DEBUG
commit
|
commitdiff
|
tree
2007-10-04
St
a
thi
s
K
a
mpe
r
is
Add me
r
ges and s
p
lits stats
if MPOOL
_
STATS
i
s defined
commit
|
commitdiff
|
tree
2007-10-04
Stathi
s
Kamperis
Add some DPR
I
NTF() calls in mpool_free() (
s
till a stub
)
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
R
e
pla
c
e printf() ca
l
l
s to DPRINTF() macro
commit
|
commitdiff
|
tree
2007-10-02
Stathis K
a
mperis
Add so
m
e
m
o
re pr
i
ntfs in mpool_fr
e
e()
commit
|
commitdiff
|
tree
2007-10-02
Stathi
s
Kamperis
Remove
w
hi
t
espa
c
e in comment
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kampe
r
is
Remov
e
bogu
s
header file
commit
|
commitdiff
|
tree
2007-10-02
Stat
h
is
K
a
m
peris
A
d
d basic imp
l
ementation of m
p
ool_free
(
)
.
No coalesce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis
K
amperis
M
i
nor cosmetic ch
a
n
ge in pr
i
ntf()
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
his K
a
mperis
Fix t
y
p
o in
c
omment
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Major cha
n
ges in
data
structures
a
nd addition
of profili
n
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamper
i
s
Use
unsigned char in
s
t
e
ad of unsign
e
d int for 'boolean
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamperis
Don't do void pointer arithmetics
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamperis
P
ut
f
unction prototypes,
d
ef
s
and constants i
n
m
p
o
ol
.
h
commit
|
commitdiff
|
tree
2007-10-01
Sta
t
his Kamperis
Add a m
i
nsize fi
e
ld
in mp
o
o
l
to indicate min
i
mum chunk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Sta
t
his Kamperis
Initial import of the bud
d
y memory allocat
o
r
commit
|
commitdiff
|
tree
2007-09-20
Stathis Ka
m
peri
s
Merg
e
b
r
a
n
ch 'exp
-
hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Don'
t
c
h
eck < 0 for unsig
n
ed express
i
on
commit
|
commitdiff
|
tree
2007-09-20
Stathis Ka
m
p
e
ris
Merge branch
'
exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Merge ht
a
bl
e
_get_first_elm() in
h
tabl
e
_get_
n
ext_elm()
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Merge branch 'ex
p
-
has
h
'
commit
|
commitdiff
|
tree
2007-09-20
St
a
this Kamperis
Add htable_get_first/next_ele
m
ent
(
)
f
unctions
f
o
r htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Stath
i
s
Kamperis
M
erge b
r
anch 'e
x
p-hash'
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamp
e
ris
Update TO
D
O file
commit
|
commitdiff
|
tree
2007-09-19
Stathis
Kamper
i
s
Add test case for htable
_
t
raverse
commit
|
commitdiff
|
tree
2007-09-19
Stat
h
is Kamp
e
ris
Add htable_get_si
z
e
(
)
, htable_get_u
s
ed(
)
, htable_t
r
ave
r
se()
commit
|
commitdiff
|
tree
2007-09-19
Stathis
K
amperis
Add stub f
o
r htable_get_
n
ext_elm()
commit
|
commitdiff
|
tree
2007-09-19
Sta
t
his Kam
p
eris
Fix t
y
po in comment
commit
|
commitdiff
|
tree
2007-09-14
Stathis
K
amperi
s
Ad
d
flags HT_FREEKEY and HT_F
R
EEDATA in
h
t
able_f
r
e
e
_*()
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kampe
r
i
s
h
t
able_fre
e
_objects
(
) ->
hta
b
le_fr
e
e_
a
l
l
_
obj(
)
i
n ma
i
n
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamper
i
s
prin
t
f callback
-
>
mypr
i
ntf so as not
t
o s
h
adow
stdio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
S
t
athis Kamperis
Remove
r
edundant , when in enumerat
i
on l
i
st
commit
|
commitdiff
|
tree
2007-09-10
S
t
athis Kamperis
HT_R
E
PLA
C
ED -> HT_
E
XISTS
commit
|
commitdiff
|
tree
2007-09-10
Stat
h
is Kamperis
Impleme
n
t htab
l
e
_
free_obj() function
commit
|
commitdiff
|
tree
2007-09-10
Stath
i
s Kamperis
htable_inser
t
() doesn'
t
ovewrite
e
x
isti
n
g dat
a
commit
|
commitdiff
|
tree
2007-09-10
S
tathis Ka
m
peris
h
t
a
ble_insert() returns
HT_REP
L
AC
E
D if
key
a
l
ready
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
St
a
this
Kamperis
Free hn_key
commit
|
commitdiff
|
tree
2007-09-10
Sta
t
his Kamperis
Free
old data wh
e
n inserting n
e
w
en
t
ry with existing key
commit
|
commitdiff
|
tree
2007-09-09
Stathis
Kampe
r
is
Add htable_free_objects() t
h
a frees
pnode
-
>data
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
Pass call
b
ack fun
c
tion in htable_init()
commit
|
commitdiff
|
tree
2007-09-09
Stathis Ka
m
peris
#include <stdde
f
.
h> in htable
.
h
for size_t type
commit
|
commitdiff
|
tree
2007-09-09
Sta
t
his Kamp
e
ris
htable_grow() should return HT_OK on success
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Add
commen
t
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamper
i
s
Const
i
fy vari
a
ble in
hta
b
l
e_print()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamper
i
s
A
d
d htab
l
e_gr
o
w()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
u_int
-
>
uns
i
gned int
commit
|
commitdiff
|
tree
2007-09-08
Sta
t
his Kamperis
Add
c
omme
n
t i
n
main()
commit
|
commitdiff
|
tree
2007-09-08
St
a
this Kamperis
c
hanges in djb_hash
commit
|
commitdiff
|
tree
2007-09-08
Stathis Ka
m
peris
Constify some
v
ariabl
e
s
commit
|
commitdiff
|
tree
2007-09-08
Stathis
Kamperis
A
d
d a hhead
_
t typedef for
s
truct
h
t
ableh
e
ad
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamp
e
ris
Add proper error handl
i
ng in htable_*
(
) f
u
nctions
commit
|
commitdiff
|
tree
2007-09-07
S
tathis Kamperis
p
t
able -> htable in
m
a
i
n
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamperis
Add htable_f
r
ee() and don't forget
to update ht_size
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
S
t
a
t
his Kamperis
Rename htable_delete()
t
o htable_remo
v
e()
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
his Kamperis
Fix typ
o
and r
e
move whitespace
commit
|
commitdiff
|
tree
2007-09-07
Stathis K
a
mper
i
s
Fix comment in prev
i
ou
s
commit
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kam
p
eris
Add htable
_
delet
e
() f
u
nction
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
his K
a
m
peris
str -> key in djb_hash() fun
c
ti
o
n
commit
|
commitdiff
|
tree
2007-09-07
Stathis K
a
mperis
Include
arguments' names i
n
function protot
y
pes
commit
|
commitdiff
|
tree
2007-09-07
S
t
a
this K
a
mperis
pass void *key
a
rgument in
h
t
able_
p
ri
n
t()
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamperis
Add comments for ht_si
z
e
variable
commit
|
commitdiff
|
tree
2007-09-07
S
t
a
t
h
is Kamperis
Const
i
f
y
var
i
able in ht
a
bl
e
_
pri
n
t()
commit
|
commitdiff
|
tree
2007-09-07
St
a
this
Kamperis
Move htable fi
l
es to ht
a
b
l
e
/ subd
i
rectory
commit
|
commitdiff
|
tree
2007-09-07
St
a
this Kamper
i
s
Split htable i
m
ple
m
en
t
ation to htab
l
e
.
c
a
nd htable
.
.
.
commit
|
commitdiff
|
tree
next