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
Stathis Kamperis
Add a s
i
mplest possi
b
le test
c
ase -
-
more will follow
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
Use proper
i
n mpo
o
l_printblks()
commit
|
commitdiff
|
tree
2007-10-15
St
a
this Kamperis
R
eturn imm
e
di
a
tely if budd
y
is out
o
f
pool
commit
|
commitdiff
|
tree
2007-10-15
Stat
h
is Kam
p
e
ris
Use size_t instea
d
o
f uns
i
gn
e
d int when ap
p
ropr
i
ate
commit
|
commitdiff
|
tree
2007-10-15
Stathis
K
a
m
peris
Put the stat fu
n
ctio
n
s in
a sep
a
ra
t
e
.
c fil
e
s
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
Fix many comments an
d
other
minor stuff
commit
|
commitdiff
|
tree
2007-10-15
St
a
this Kamp
e
ris
C
h
a
n
ge
e
rror na
m
espace from MP_* to
M
P
O
OL_*
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
rename next_block to next_chunk in blkn
o
de_t data s
t
ructure
commit
|
commitdiff
|
tree
2007-10-15
Sta
t
h
is Kamperis
More
val
i
dation in mpoo
l
_
alloc
commit
|
commitdiff
|
tree
2007-10-13
St
a
this Kamperis
Re
p
l
a
ce bitwise o
p
er
a
t
ions
w
it
h
proper m
a
cros
commit
|
commitdiff
|
tree
2007-10-13
Stathis
Kam
p
eris
More
c
lea
n
up
commit
|
commitdiff
|
tree
2007-10-13
S
tat
h
is Ka
m
peris
L
i
ttle cosmetic stuff
commit
|
commitdiff
|
tree
2007-10-13
Stathis
K
amp
e
ris
Remove unused v
a
r
iable p
commit
|
commitdiff
|
tree
2007-10-12
Stathis
K
a
mperis
n
o
-
mall
o
c() implementation w
o
rks
withou
t
bugs
,
t
h
o
ugh
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis
K
amp
e
ri
s
First attempt to a malloc(
)
f
ree
i
mple
m
entation
-
-
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis K
a
mperis
A
dd a program
t
hat prints characters
'
f
r
equencies
commit
|
commitdiff
|
tree
2007-10-10
Stat
h
is Kam
p
er
i
s
Impleme
n
t full s
i
mulation
commit
|
commitdiff
|
tree
2007-10-09
S
t
ath
i
s
K
a
m
p
eris
A
d
d first attempt
o
f simulation --
crashes r
i
ght now
commit
|
commitdiff
|
tree
2007-10-08
S
t
athis Kam
p
eris
Put main() in test
.
c
a
n
d
remove
it from m
p
ool
.
c
commit
|
commitdiff
|
tree
2007-10-08
S
tathis Kamperis
F
i
x newpos calc
i
n mpo
o
l_alloc() and add mpool_stat_ge
t
_bloc
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
S
t
athi
s
Kamperi
s
Remove bogu
s
p
r
intf()
commit
|
commitdiff
|
tree
2007-10-07
Stath
i
s
K
amp
e
r
i
s
Fix
t
ypo in comment
commit
|
commitdiff
|
tree
2007-10-07
Stathi
s
K
a
m
peris
Fix typo
i
n comment
commit
|
commitdiff
|
tree
2007-10-07
S
t
ath
i
s K
a
mp
e
ris
Ad
d
s
o
me comments for
m
pool_fre
e
()
commit
|
commitdiff
|
tree
2007-10-07
Stathi
s
K
amperis
Remove
b
ogus co
d
e
commit
|
commitdiff
|
tree
2007-10-07
S
tat
h
is Kamperis
Imple
m
ent inheritance -- wor
k
s, but needs cle
a
nup
commit
|
commitdiff
|
tree
2007-10-07
Stathis
Kamper
i
s
Gener
a
l cleanup
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Change namespace from
MPOOL_ to MP_
commit
|
commitdiff
|
tree
2007-10-06
S
t
at
h
is Kamperis
Add termina
t
ing
condition i
n
mp
o
ol_free(
)
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamp
e
r
i
s
Clean mpo
o
l_free() mess
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
Add
s
ome mor
e
DPRINTF() calls i
n
mpool_fre
e
()
commit
|
commitdiff
|
tree
2007-10-06
Stat
h
is Kamper
i
s
Try to coal
e
sce only if buddy exists AND is
f
ree
commit
|
commitdiff
|
tree
2007-10-06
Stath
i
s
K
amperis
A
dd flags member in blknode data structu
r
e
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
F
ix calc
u
lation o
f
`newpos
'
when splitti
n
g
commit
|
commitdiff
|
tree
2007-10-04
S
t
athis Kampe
r
i
s
DE
B
UG
s
ymb
o
l i
s
now MPOOL_DEBU
G
commit
|
commitdiff
|
tree
2007-10-04
S
tat
h
is Kamp
e
ris
Add
merges and spl
i
ts stats if
MPOOL_STATS is
d
efined
commit
|
commitdiff
|
tree
2007-10-04
Stath
i
s Kam
p
eris
Add some DP
R
I
N
TF()
calls in
mpool_fr
e
e() (
s
t
i
l
l
a
stub
)
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
his
K
amperis
R
eplace pr
i
n
tf() calls to
D
PRINT
F
() macro
commit
|
commitdiff
|
tree
2007-10-02
Stath
i
s Kamperis
Ad
d
so
m
e more p
r
intfs i
n
mpool_free()
commit
|
commitdiff
|
tree
2007-10-02
Stath
i
s Kamperi
s
Remove whitespace in commen
t
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamper
i
s
Remove
b
og
u
s
he
a
der file
commit
|
commitdiff
|
tree
2007-10-02
St
a
this Kamp
e
r
is
Add bas
i
c implemen
t
ation of mpool_free()
.
No coalesce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
S
t
athi
s
Kamperis
Minor cosmetic c
h
an
g
e
in
p
rintf()
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Fix typ
o
in comm
e
n
t
commit
|
commitdiff
|
tree
2007-10-02
Stathi
s
Kam
p
eris
Major c
h
anges in
d
a
t
a
structures
and addition of profi
l
ing
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperi
s
Use unsigned char instead of
unsign
e
d in
t
for
'
boolean
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
St
a
this Kamperi
s
Don't d
o
void pointer arithmetic
s
commit
|
commitdiff
|
tree
2007-10-01
Stath
i
s
Kamp
e
ris
Put function prototypes,
d
efs and constants in mp
o
ol
.
h
commit
|
commitdiff
|
tree
2007-10-01
St
a
this Kampe
r
i
s
Add a mi
n
size
f
ield in
mpo
o
l to in
d
icate minimu
m
ch
u
nk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
S
t
athis Kamp
e
ri
s
Initial import of the buddy
m
e
mory allocato
r
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamper
i
s
Merge branch '
e
xp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis
Kampe
r
is
Don't
c
h
e
ck < 0
for unsigned exp
r
ession
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperi
s
Merge
branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathi
s
Kamperis
Merge htable_get_fir
s
t_elm() in ht
a
b
le_
g
e
t_next_elm()
commit
|
commitdiff
|
tree
2007-09-20
Stathis
Kamperis
Merge branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
St
a
this Ka
m
peris
A
d
d htab
l
e_get_first/next_element() functions for h
t
able
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamp
e
r
is
Merge
branc
h
'exp-h
a
sh'
commit
|
commitdiff
|
tree
2007-09-19
Stat
h
is Ka
m
peris
Update
TODO file
commit
|
commitdiff
|
tree
2007-09-19
S
t
athis Kamperis
A
d
d
t
est case for htable_traverse
commit
|
commitdiff
|
tree
2007-09-19
S
ta
t
his
K
amper
i
s
A
d
d htable_get_si
z
e(), htable_get_u
s
ed(), htable_traver
s
e()
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kam
p
er
i
s
Add stub fo
r
htable_get_ne
x
t_elm()
commit
|
commitdiff
|
tree
2007-09-19
Sta
t
his
K
amp
e
ris
Fix ty
p
o i
n
c
omment
commit
|
commitdiff
|
tree
2007-09-14
Stat
h
is Kamperis
A
d
d fla
g
s HT_FREEKEY and HT_FREEDATA i
n
htable_
f
ree_*()
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kampe
r
is
htable_free_objects() ->
h
t
a
ble
_
free_all_obj() in main
.
c
commit
|
commitdiff
|
tree
2007-09-11
Sta
t
his Kamperis
printf callback
-
>
myprintf
s
o as not to shadow
s
tdi
o
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
S
t
athis Kamperis
Remove redund
a
nt
, w
h
en in enume
r
atio
n
l
i
st
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
HT_RE
P
LACED -> HT_EXISTS
commit
|
commitdiff
|
tree
2007-09-10
S
t
ath
i
s Kamp
e
ris
Implement htab
l
e_free
_
obj() fun
c
tion
commit
|
commitdiff
|
tree
2007-09-10
Stat
h
i
s
Kamperis
htable
_
ins
e
rt() doesn't ovewrite existin
g
data
commit
|
commitdiff
|
tree
2007-09-10
Stathi
s
Kamperis
htab
l
e_i
n
sert() re
t
u
r
ns HT_REPLAC
E
D if
k
e
y already
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamp
e
ris
Free hn_key
commit
|
commitdiff
|
tree
2007-09-10
Stath
i
s
K
amperis
F
r
ee
old d
a
ta when
in
s
erti
n
g new
e
ntry with
e
xisting key
commit
|
commitdiff
|
tree
2007-09-09
Stathis K
a
mperis
Add h
t
a
ble_free
_
objects
(
) tha frees pnode-
>
data
commit
|
commitdiff
|
tree
2007-09-09
St
a
this Kamp
e
ris
P
a
ss callbac
k
fu
n
ction in hta
b
le_init()
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
#include <s
t
ddef
.
h
>
i
n
h
table
.
h for size_t type
commit
|
commitdiff
|
tree
2007-09-09
Sta
t
his
K
amper
i
s
htab
l
e
_
g
r
o
w() s
h
ould
ret
u
r
n
HT_OK on success
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kampe
r
is
Add comment
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperi
s
Constify variabl
e
in htable_prin
t
(
)
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Add htable_grow()
commit
|
commitdiff
|
tree
2007-09-08
Stathis K
a
mperi
s
u_int ->
u
nsign
e
d int
commit
|
commitdiff
|
tree
2007-09-08
Stathis
Kamperis
Add comment in
m
ain()
commit
|
commitdiff
|
tree
2007-09-08
S
t
athis Kamperi
s
chan
g
es in
djb_hash
commit
|
commitdiff
|
tree
2007-09-08
S
t
athis
Kampe
r
is
Con
s
tify some
v
ariab
l
es
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Add a hhead_t t
y
ped
e
f for struct htab
l
ehead
commit
|
commitdiff
|
tree
2007-09-08
S
t
athis Ka
m
peris
Add
pr
o
per error
handling in ht
a
b
le_*() functions
commit
|
commitdiff
|
tree
2007-09-07
Stath
i
s Kamp
e
r
i
s
ptable ->
htable in main
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Add htable_fr
e
e() and do
n
't forget
t
o u
p
date
ht_s
i
ze
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kam
p
eris
Rename ht
a
ble_delete() to htable_remove()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
F
i
x
t
ypo
a
nd
r
emove whitespace
commit
|
commitdiff
|
tree
2007-09-07
St
a
t
his Kamperis
Fix commen
t
in pr
e
vious commit
commit
|
commitdiff
|
tree
2007-09-07
S
t
ath
i
s
K
amperi
s
Add htable_
d
e
l
ete(
)
function
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
str -> key in djb_
h
ash() function
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis K
a
mper
i
s
Incl
u
de arguments'
names in
f
unction prototyp
e
s
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamper
i
s
pa
s
s vo
i
d *key ar
g
ument
i
n ht
a
ble_
p
r
i
nt
(
)
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
A
d
d
comments
for h
t
_
s
ize vari
a
ble
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kampe
r
is
Constify va
r
iable
in htable_prin
t
()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperi
s
Mo
v
e htable files to h
t
able/ subdi
r
ectory
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Kamperis
Split ht
a
bl
e
implementation to htabl
e
.
c and htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Add some
c
omments
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
C
o
nstify
s
ome varia
b
les
commit
|
commitdiff
|
tree
next