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
t
athis Kamperis
t
est case file is not executable
commit
|
commitdiff
|
tree
2007-10-15
Stath
i
s Kamperis
Fix possible mem
l
eak in
t
e
s
t
case
commit
|
commitdiff
|
tree
2007-10-15
Stath
i
s Kampe
r
is
Ad
d
a simp
l
est p
o
s
sib
l
e
test
c
ase -- mo
r
e will follow
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
Use proper in mpool_pr
i
ntblks()
commit
|
commitdiff
|
tree
2007-10-15
Stathis K
a
mper
i
s
Retur
n
immedi
a
tely if bu
d
dy is out of
po
o
l
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
U
se size_t
instead of
unsig
n
ed int when app
r
o
p
riate
commit
|
commitdiff
|
tree
2007-10-15
St
a
this Ka
m
pe
r
is
P
ut the stat func
t
ions in a separate
.
c
f
i
les
commit
|
commitdiff
|
tree
2007-10-15
Stath
i
s Kam
p
e
r
is
Fix many co
m
me
n
ts and other minor stuff
commit
|
commitdiff
|
tree
2007-10-15
Stathis
K
amper
i
s
C
ha
n
g
e error namespace
f
rom MP_*
to
MPOOL_*
commit
|
commitdiff
|
tree
2007-10-15
Sta
t
his Kamperis
rename
next_block to nex
t
_chunk in
b
lknode_t da
t
a
structure
commit
|
commitdiff
|
tree
2007-10-15
Stathis K
a
mperis
More validati
o
n in mpoo
l
_alloc
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
Re
p
lace bitwise operations with proper ma
c
ros
commit
|
commitdiff
|
tree
2007-10-13
S
t
athis Kamperis
M
o
re
cle
a
nup
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamper
i
s
Little cosmeti
c
stuff
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
R
e
move
u
nused var
i
able
p
commit
|
commitdiff
|
tree
2007-10-12
Stathis Kamperis
no-m
a
l
l
oc()
i
m
p
lementation works withou
t
bugs, though
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathi
s
Kamp
e
ris
F
i
rst attem
p
t
t
o
a
ma
l
l
o
c() fre
e
implementation --
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathi
s
Kamperis
A
dd a program
that pri
n
ts char
a
cters' frequen
c
ies
commit
|
commitdiff
|
tree
2007-10-10
Stathis Ka
m
peris
Imp
l
em
e
nt full sim
u
lation
commit
|
commitdiff
|
tree
2007-10-09
Stathis Kamperis
Add first at
t
empt
of sim
u
lation -- crashe
s
rig
h
t now
commit
|
commitdiff
|
tree
2007-10-08
St
a
this Kam
p
eris
Put m
a
in() in t
e
s
t
.
c
and remove
i
t
from mpool
.
c
commit
|
commitdiff
|
tree
2007-10-08
Sta
t
hi
s
Ka
m
peris
Fix newpo
s
calc in
mpool_
a
lloc() and add mpool_stat_get_
b
l
o
c
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
St
a
t
h
is Ka
m
p
e
ris
Re
m
ove bogus p
r
i
ntf(
)
commit
|
commitdiff
|
tree
2007-10-07
Stathi
s
Kamperi
s
Fix t
y
p
o
in comment
commit
|
commitdiff
|
tree
2007-10-07
Stathis
K
amper
i
s
Fix t
y
po in
c
omment
commit
|
commitdiff
|
tree
2007-10-07
Stathis Ka
m
per
i
s
Add some comments for mpo
o
l_fr
e
e
(
)
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamp
e
ris
Remove bogus code
commit
|
commitdiff
|
tree
2007-10-07
Stathis
K
a
m
peris
Im
p
l
e
men
t
inhe
r
itance -- works, but
needs cleanu
p
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Gene
r
a
l
cleanup
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Ch
a
ng
e
n
a
m
e
space
f
rom M
P
O
O
L
_
to MP_
commit
|
commitdiff
|
tree
2007-10-06
S
tathis Kamperis
A
d
d te
r
minating
cond
i
tion in mpool_fre
e
()
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kampe
r
is
C
l
ean mpool_fr
e
e() mes
s
commit
|
commitdiff
|
tree
2007-10-06
Stathi
s
Kamperis
Add s
o
me more DPRINT
F
(
)
calls in mpool_free()
commit
|
commitdiff
|
tree
2007-10-06
St
a
th
i
s K
a
m
peris
T
r
y to coalesce only
i
f buddy ex
i
sts AND is free
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
A
dd
flags
mem
b
er in blknode data structure
commit
|
commitdiff
|
tree
2007-10-04
S
t
athis Kamperi
s
Fi
x
calculation of `newpo
s
' when s
p
l
itt
i
ng
commit
|
commitdiff
|
tree
2007-10-04
Sta
t
h
i
s Kampe
r
i
s
D
E
BUG
symbol is n
o
w MPOOL_D
E
B
U
G
commit
|
commitdiff
|
tree
2007-10-04
Sta
t
hi
s
K
a
mperis
Add merg
e
s and sp
l
its stats if MPOOL_STATS is defined
commit
|
commitdiff
|
tree
2007-10-04
S
tathis
Kamperis
Ad
d
so
m
e
D
PRINTF()
calls
i
n
m
p
oo
l
_free() (st
i
l
l
a stub)
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
his Kam
p
er
i
s
Replace printf
(
) calls
to DPRI
N
TF() mac
r
o
commit
|
commitdiff
|
tree
2007-10-02
Stat
h
is K
a
mperi
s
Add
some more
p
rintfs in mpool_f
r
ee()
commit
|
commitdiff
|
tree
2007-10-02
St
a
this K
a
mperis
Remove whi
t
espac
e
i
n
comment
commit
|
commitdiff
|
tree
2007-10-02
S
tathis Kam
p
eris
Remove bo
g
u
s header file
commit
|
commitdiff
|
tree
2007-10-02
S
t
a
t
h
i
s Ka
m
peri
s
Add
b
a
sic impl
e
mentation o
f
mpool_fr
e
e()
.
No c
o
a
l
e
s
ce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Minor
cosmetic change in pr
i
ntf(
)
commit
|
commitdiff
|
tree
2007-10-02
S
t
athis Kamperis
F
i
x
typo in co
m
ment
commit
|
commitdiff
|
tree
2007-10-02
St
a
thi
s
Kampe
r
is
M
a
j
o
r c
h
anges
i
n data structures a
n
d addition of profiling
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Use
unsi
g
ned char inst
e
ad of
u
nsigned i
n
t for 'bo
o
lean
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamperis
Don
'
t do void pointer ari
t
hm
e
tics
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamp
e
ris
Put funct
i
on prototype
s
, de
f
s
and
constants in mpool
.
h
commit
|
commitdiff
|
tree
2007-10-01
Stathis K
a
m
p
eri
s
Add a minsi
z
e fi
e
l
d
in
m
p
ool to indicate minimum chunk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stat
h
is Kamp
e
ris
I
nitial imp
o
rt of
t
he
b
u
ddy memory a
l
locator
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperi
s
Me
r
ge branch '
e
xp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Sta
t
h
i
s Kamper
i
s
Don't
check < 0 for unsigned e
x
pressio
n
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kampe
r
is
M
e
rge br
a
nch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stath
i
s Kam
p
eris
Merge htable_g
e
t
_first_elm() in htab
l
e_get
_
next_elm()
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamp
e
ris
Merge bran
c
h 'e
x
p-hash'
commit
|
commitdiff
|
tree
2007-09-20
S
tathi
s
K
am
p
eris
Add
htable_get_first/
n
ex
t
_element
(
) fu
n
ctions for h
t
able
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Merge b
r
a
n
ch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-19
Stat
h
i
s Kamperis
Updat
e
TOD
O
file
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
A
d
d t
e
st ca
s
e for htable_
t
ra
v
erse
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Add
htable
_
get_s
i
ze(), ht
a
ble_get_used(),
htabl
e
_traverse
(
)
commit
|
commitdiff
|
tree
2007-09-19
Stathi
s
Kamperis
Add stub for ht
a
ble_ge
t
_next_
e
l
m
()
commit
|
commitdiff
|
tree
2007-09-19
Stath
i
s Kamp
e
ris
Fix typo i
n
comm
e
nt
commit
|
commitdiff
|
tree
2007-09-14
Stathis Kamperis
A
d
d flags H
T
_FRE
E
KEY
a
nd HT_
F
REEDATA in hta
b
le
_
free_
*
()
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamp
e
ris
htable_f
r
ee_objects(
)
->
htable_free_all_o
b
j() in main
.
c
commit
|
commitdiff
|
tree
2007-09-11
Sta
t
his Kamperis
print
f
c
allback -> mypr
i
ntf so
as
n
ot to
s
h
adow s
t
d
i
o
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
Remove redundant , when in enu
m
eration list
commit
|
commitdiff
|
tree
2007-09-10
S
t
athis Kamperi
s
HT_REPLACED -> HT_E
X
ISTS
commit
|
commitdiff
|
tree
2007-09-10
Stath
i
s Kamperis
Implement htab
l
e_free_obj
(
) function
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperi
s
htable_insert() do
e
sn
'
t o
v
e
w
rite exis
t
ing da
t
a
commit
|
commitdiff
|
tree
2007-09-10
Stathis K
a
mp
e
ris
htab
l
e_insert() ret
u
rns H
T
_REPLACED if ke
y
alre
a
dy
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Stathis
Ka
m
peris
Fr
e
e hn_key
commit
|
commitdiff
|
tree
2007-09-10
St
a
this Kamperis
F
r
ee
o
l
d
d
ata whe
n
inserting
new entry with
e
x
isting key
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamp
e
ris
Add htable_free_objects
(
) t
h
a
f
r
ees p
n
ode
-
>data
commit
|
commitdiff
|
tree
2007-09-09
Stathis
K
a
mperis
P
a
ss callback
f
un
c
tion
i
n htable_
i
ni
t
()
commit
|
commitdiff
|
tree
2007-09-09
S
ta
t
his Kampe
r
is
#include <stddef
.
h> in htable
.
h for size_t
t
y
p
e
commit
|
commitdiff
|
tree
2007-09-09
Stath
i
s
K
amp
e
ris
htable_
g
r
o
w() should retu
r
n HT_OK on succ
e
ss
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamper
i
s
A
dd comment
commit
|
commitdiff
|
tree
2007-09-08
Stathi
s
Kamp
e
ris
Constify variab
l
e in htable_pri
n
t()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Add
htable_grow()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kampe
r
is
u_in
t
-
>
unsig
n
ed int
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Add co
m
ment
i
n
main()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
changes in
djb_hash
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Constify some variable
s
commit
|
commitdiff
|
tree
2007-09-08
Stathis K
a
mperis
Add a hhead_t
typedef for
struct h
t
ablehea
d
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperi
s
Add pr
o
per er
r
or h
a
ndling in htable_*() fu
n
cti
o
ns
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamperi
s
pt
a
b
le -> htable in m
a
in
.
c
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
his Kam
p
eri
s
Add htable_free() an
d
d
on't forg
e
t to
update
ht_si
z
e
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
S
tathis
K
amperis
R
enam
e
hta
b
le_delete() to h
t
able_remove()
commit
|
commitdiff
|
tree
2007-09-07
S
tathis Kam
p
eri
s
F
ix typo a
n
d
remove
w
hitespace
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is Kamp
e
ris
Fix comment in pre
v
io
u
s
com
m
it
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
A
dd htable_delete() functio
n
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kam
p
eris
str -> key in djb_hash
(
)
funct
i
on
commit
|
commitdiff
|
tree
2007-09-07
S
t
at
h
i
s Kamperis
Include arguments'
names in fun
c
tion prototypes
commit
|
commitdiff
|
tree
2007-09-07
S
tathis Kamperis
pass void
*key argument in htable_pri
n
t(
)
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Ad
d
c
o
mments for ht_si
z
e variable
commit
|
commitdiff
|
tree
2007-09-07
Stathis Ka
m
per
i
s
Constif
y
variable in hta
b
le_print()
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Kamperis
Move h
t
a
ble
f
iles to htable/ subdirectory
commit
|
commitdiff
|
tree
2007-09-07
Stathis Ka
m
peris
S
p
lit htable impl
e
mentation t
o
htable
.
c and htabl
e
.
.
.
commit
|
commitdiff
|
tree
next