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
Add a simplest possible testcase -- more will follow
2007-10-15
St
a
t
hi
s
Kamperis
Add a
s
i
mpl
e
st pos
s
ible
t
e
stcase -- more will fo
l
low
commit
|
commitdiff
|
tree
2007-10-15
S
tathis Kamperis
Use p
r
oper in mpool_pri
n
tblks()
commit
|
commitdiff
|
tree
2007-10-15
St
a
th
i
s K
a
mperi
s
Return immediate
l
y if buddy is out of
pool
commit
|
commitdiff
|
tree
2007-10-15
Stathi
s
K
a
mp
e
r
i
s
Use size_t ins
t
ead
o
f unsign
e
d
i
n
t
w
h
en
a
ppropriate
commit
|
commitdiff
|
tree
2007-10-15
Stath
i
s Kamperis
Put th
e
stat functions in
a
separat
e
.
c fi
l
es
commit
|
commitdiff
|
tree
2007-10-15
Stath
i
s Kam
p
eris
F
i
x m
a
n
y
comments
and
o
th
e
r
mino
r
stuff
commit
|
commitdiff
|
tree
2007-10-15
Stat
h
is Kamperis
C
hange
e
r
r
or
namespace from MP_
*
to MP
O
OL
_
*
commit
|
commitdiff
|
tree
2007-10-15
S
t
a
t
his K
a
m
p
eris
r
e
n
a
me ne
x
t
_
bloc
k
t
o
next_chunk in b
l
knode_t d
a
ta st
r
ucture
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamp
e
ris
More valida
t
ion in
m
p
ool_alloc
commit
|
commitdiff
|
tree
2007-10-13
S
tathis Kamper
i
s
Replace bitwise operations with proper macros
commit
|
commitdiff
|
tree
2007-10-13
Stathi
s
Kamp
e
ris
More cleanup
commit
|
commitdiff
|
tree
2007-10-13
Stath
i
s
Kam
p
eris
Little
cosmetic stuff
commit
|
commitdiff
|
tree
2007-10-13
S
t
at
h
is Kamperis
Remove unused variable p
commit
|
commitdiff
|
tree
2007-10-12
Stat
h
is
K
amperi
s
no
-
m
alloc() implement
a
tio
n
works wi
t
hout bugs, t
h
ough
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Sta
t
his Kam
p
eris
First at
t
empt to
a
malloc() free implementation
-
-
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathi
s
Kamperis
Add
a prog
r
am that p
r
i
nts cha
r
acters' frequencies
commit
|
commitdiff
|
tree
2007-10-10
Stathis Kamp
e
ris
Implement full simula
t
ion
commit
|
commitdiff
|
tree
2007-10-09
St
a
thi
s
K
a
m
p
e
ris
Ad
d
first at
t
e
mpt of simula
t
ion -- crashes right now
commit
|
commitdiff
|
tree
2007-10-08
Stathis
K
ampe
r
is
Pu
t
mai
n
() in test
.
c and r
e
m
o
ve it from mpool
.
c
commit
|
commitdiff
|
tree
2007-10-08
Stathis Kamperis
Fix newpos c
a
l
c in mpool_alloc() and ad
d
m
p
o
o
l_stat_get_bl
o
c
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
St
a
this Kamperis
Remove bogus pr
i
ntf()
commit
|
commitdiff
|
tree
2007-10-07
S
t
a
thi
s
Kamper
i
s
Fi
x
typo in c
o
mment
commit
|
commitdiff
|
tree
2007-10-07
S
tathis Kamperis
Fix
typ
o
in comment
commit
|
commitdiff
|
tree
2007-10-07
Stathis
K
a
m
pe
r
is
Add s
o
me comm
e
nts for mpool_free()
commit
|
commitdiff
|
tree
2007-10-07
S
t
a
t
his Kamp
e
ris
Remove bogus
code
commit
|
commitdiff
|
tree
2007-10-07
S
t
athis
K
amperis
I
mplement inherita
n
c
e
-- works, but needs cleanup
commit
|
commitdiff
|
tree
2007-10-07
Stath
i
s Kampe
r
is
General
c
l
eanup
commit
|
commitdiff
|
tree
2007-10-07
St
a
this Kamperis
Ch
a
nge
n
am
e
space from MPOOL_ to MP_
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamp
e
ris
Add ter
m
in
a
t
i
ng condition in m
p
ool_
f
ree
(
)
commit
|
commitdiff
|
tree
2007-10-06
St
a
this Kam
p
e
ris
Clea
n
mp
o
ol_fre
e
() me
s
s
commit
|
commitdiff
|
tree
2007-10-06
St
a
thi
s
K
amperis
Add
some more
DPRINTF() calls in
mpool_fre
e
()
commit
|
commitdiff
|
tree
2007-10-06
Stathis
K
am
p
eris
T
r
y to coalesce only if buddy
e
xists
A
ND is free
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kam
p
e
r
is
A
d
d
fl
a
gs member
i
n blknode
d
ata structure
commit
|
commitdiff
|
tree
2007-10-04
S
t
athis Kamperis
Fi
x
calcula
t
ion of `newpos'
when splitt
i
n
g
commit
|
commitdiff
|
tree
2007-10-04
S
t
a
this Ka
m
peris
DEBUG symbol is
now MPOOL_DEBUG
commit
|
commitdiff
|
tree
2007-10-04
St
a
this Kam
p
eris
A
d
d
merges and spli
t
s s
t
ats i
f
MPOOL
_
STAT
S
is defined
commit
|
commitdiff
|
tree
2007-10-04
Sta
t
his Kam
p
eris
A
d
d s
o
me DPRIN
T
F() calls
in
mpoo
l
_
free() (still a
stub)
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamp
e
ris
Repl
a
ce
printf()
c
all
s
to DPRINTF
(
) macro
commit
|
commitdiff
|
tree
2007-10-02
Stathis
Kamperis
Add so
m
e
m
ore pr
i
n
t
fs in
m
pool
_
free()
commit
|
commitdiff
|
tree
2007-10-02
Stathis
K
am
p
eris
Remov
e
whi
t
es
p
ace in
c
omm
e
nt
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
hi
s
K
a
mpe
r
is
Remo
v
e
b
ogus header file
commit
|
commitdiff
|
tree
2007-10-02
Stathi
s
Ka
m
per
i
s
Add
basic imp
l
em
e
nta
t
ion of mpool_fr
e
e(
)
.
No coalesce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis
Kam
p
e
ri
s
M
i
nor cosmet
i
c change i
n
printf()
commit
|
commitdiff
|
tree
2007-10-02
Stathi
s
Kamperis
Fix
typo i
n
c
o
m
ment
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperi
s
M
ajor changes in
d
ata structures
and
a
dditi
o
n of profiling
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
hi
s
Kamp
e
r
i
s
Us
e
unsign
e
d
char
instead
o
f unsign
e
d int for
'
bool
e
a
n
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamperis
Don't do v
o
id
p
o
i
n
te
r
arithmetics
commit
|
commitdiff
|
tree
2007-10-01
Stathis
Kampe
r
is
Put
function prototypes
,
defs and c
o
n
s
tants in mpool
.
h
commit
|
commitdiff
|
tree
2007-10-01
Stathis
Kamp
e
ris
A
dd a mi
n
size field in mpool to
i
nd
i
cate minimu
m
c
hunk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamper
i
s
Initial import of the bu
d
dy memory allocator
commit
|
commitdiff
|
tree
2007-09-20
S
t
a
t
his
Kamperis
Merge b
r
anch
'
exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
D
o
n'
t
check < 0
f
or unsigned expressio
n
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamper
i
s
Merge branch 'exp-h
a
sh'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Merge h
t
able_get_first
_
e
lm() in ht
a
b
le_g
e
t_nex
t
_el
m
()
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamper
i
s
M
erge
b
ranch 'e
x
p-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis
Kamper
i
s
Add htable_get_first/next_element() functio
n
s
for htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Sta
t
h
i
s
Kamperis
Merge branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-19
S
t
athis Kamperis
Upd
a
t
e
TODO file
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
A
dd test case for htable_traverse
commit
|
commitdiff
|
tree
2007-09-19
Stathis
K
amper
i
s
Add
htab
l
e
_
get_size
(
)
,
htable
_
get_used(
)
, htable_travers
e
()
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
A
dd st
u
b for htable_get_nex
t
_
e
l
m
()
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Fix ty
p
o
i
n
comment
commit
|
commitdiff
|
tree
2007-09-14
Stathis Kam
p
er
i
s
Add flags
H
T
_FREEKE
Y
and HT_FREE
D
A
TA in
h
t
able_free_
*
()
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kam
p
eris
htable
_
free_ob
j
ects() ->
htable_fr
e
e_all_o
b
j() in
m
ain
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stath
i
s Kamperis
printf callb
a
ck -> myp
r
intf
so as not to shadow stdio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
Remove
redun
d
ant ,
when in e
n
um
e
r
a
tion list
commit
|
commitdiff
|
tree
2007-09-10
Stathis Ka
m
peri
s
HT_RE
P
LACED -
>
HT
_
E
X
IST
S
commit
|
commitdiff
|
tree
2007-09-10
S
tathis Ka
m
peris
Impl
e
m
e
nt
htable_free_ob
j
() functio
n
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kampe
r
is
htable_ins
e
rt() doe
s
n't ovew
r
ite ex
i
sting data
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
hta
b
l
e_insert(
)
returns HT_REPLACED if key
a
lready
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
S
ta
t
his
Kamperis
Free
hn_key
commit
|
commitdiff
|
tree
2007-09-10
Stathis K
a
mperis
Free old d
a
ta w
h
en inserting new entry
with existing key
commit
|
commitdiff
|
tree
2007-09-09
S
ta
t
his K
a
mperis
Add htable_free_obj
e
cts() tha f
r
ees
p
node->data
commit
|
commitdiff
|
tree
2007-09-09
S
t
athis Kamperi
s
Pass
c
allback function in
htable_init()
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamp
e
ris
#inclu
d
e <stdd
e
f
.
h> i
n
htab
l
e
.
h fo
r
size_t
type
commit
|
commitdiff
|
tree
2007-09-09
Sta
t
hi
s
Kamperis
htable_grow() should
r
eturn H
T
_OK on success
commit
|
commitdiff
|
tree
2007-09-08
Stathis K
a
mper
i
s
A
dd comment
commit
|
commitdiff
|
tree
2007-09-08
Stathis Ka
m
peris
Constify
va
r
iable in h
t
abl
e
_
p
rint()
commit
|
commitdiff
|
tree
2007-09-08
S
t
at
h
is K
a
mperis
Add htable_grow()
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
i
s
K
amperi
s
u_int -> unsign
e
d
i
n
t
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
is Kamp
e
ris
Add com
m
ent in m
a
in
(
)
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
ch
a
nges in djb_hash
commit
|
commitdiff
|
tree
2007-09-08
Stathis Ka
m
peris
Constify s
o
me var
i
ables
commit
|
commitdiff
|
tree
2007-09-08
St
a
this Kamperis
Add a hhea
d
_t typedef for
s
t
ruct htableh
e
a
d
commit
|
commitdiff
|
tree
2007-09-08
St
a
this Ka
m
peris
Add pro
p
er error
h
a
n
d
ling in
h
ta
b
le_*(
)
functions
commit
|
commitdiff
|
tree
2007-09-07
S
t
ath
i
s Kamperis
ptable -> htable
i
n main
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Add htable
_
free() and don'
t
for
g
et to up
d
at
e
ht_size
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kam
p
eris
Rename htable_delete
(
) to h
t
a
b
le_remove
(
)
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Fix
t
yp
o
a
n
d remove whitespace
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
hi
s
K
a
mperis
Fix comment in previous commit
commit
|
commitdiff
|
tree
2007-09-07
St
a
this Kamperis
Add
hta
b
le_delete() funct
i
on
commit
|
commitdiff
|
tree
2007-09-07
Stathis
Kamp
e
ri
s
str
-> ke
y
i
n djb_hash()
f
u
nction
commit
|
commitdiff
|
tree
2007-09-07
Stath
i
s
K
amperis
Inc
l
ude arguments' names in function pro
t
o
t
y
p
es
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamperis
pass vo
i
d *k
e
y argument in
h
table
_
print(
)
commit
|
commitdiff
|
tree
2007-09-07
S
tathis Kamp
e
ris
Add
comments for ht_size variable
commit
|
commitdiff
|
tree
2007-09-07
Stathis Ka
m
per
i
s
Cons
t
i
f
y va
r
i
a
b
le in h
t
able_print()
commit
|
commitdiff
|
tree
2007-09-07
St
a
thi
s
Kam
p
eris
Move htable fil
e
s to htable/ subd
i
rectory
commit
|
commitdiff
|
tree
2007-09-07
Stathis Ka
m
per
i
s
Split h
t
a
b
le imple
m
ent
a
t
i
on
t
o htable
.
c
and h
t
able
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
K
a
m
peris
Add some com
m
ents
commit
|
commitdiff
|
tree
2007-09-07
St
a
t
h
i
s Kamperis
Constif
y
some variables
commit
|
commitdiff
|
tree
next