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
Change error namespace from MP_* to MPOOL_*
2007-10-15
Stathis
K
amperis
Change er
r
o
r
namespace
f
rom MP_* to MPOOL_*
commit
|
commitdiff
|
tree
2007-10-15
Stath
i
s Kampe
r
is
rename nex
t
_block to next_chunk in blknode_
t
d
ata structure
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
More validati
o
n in mpool_alloc
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kam
p
e
r
is
Replace bitwise operations with
prope
r
m
acros
commit
|
commitdiff
|
tree
2007-10-13
Stathis Ka
m
peris
More
cleanup
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kam
p
eris
Little cosmetic stuff
commit
|
commitdiff
|
tree
2007-10-13
S
tathis
K
a
mperis
Remove unus
e
d
variable p
commit
|
commitdiff
|
tree
2007-10-12
Stath
i
s Kamperis
no-malloc() implementation wo
r
ks without bug
s
, thou
g
h
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis Kamperis
First at
t
empt to a malloc() free
i
mplement
a
t
i
on --
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stat
h
is Kamper
i
s
Add a progra
m
tha
t
p
r
ints characters' fr
e
quencies
commit
|
commitdiff
|
tree
2007-10-10
Stathis Kamperis
Implement fu
l
l
s
imul
a
t
ion
commit
|
commitdiff
|
tree
2007-10-09
Stathis Kamperis
Add
first at
t
e
mpt of simulation -- crashes right no
w
commit
|
commitdiff
|
tree
2007-10-08
S
t
ath
i
s Kamperis
Put mai
n
(
)
i
n test
.
c
and remove it from mpool
.
c
commit
|
commitdiff
|
tree
2007-10-08
St
a
t
his K
a
mperis
F
i
x newpos calc
i
n mpool_alloc() a
n
d add
mp
o
ol_stat_get_bloc
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
R
e
move bogu
s
printf(
)
commit
|
commitdiff
|
tree
2007-10-07
Stat
h
i
s
K
a
mperis
Fix typo in com
m
ent
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Fix t
y
po in comment
commit
|
commitdiff
|
tree
2007-10-07
Stat
h
is Kamp
e
r
i
s
Add some comme
n
t
s
for mpool
_
free()
commit
|
commitdiff
|
tree
2007-10-07
St
a
this Kam
p
eri
s
Remove
b
ogus
c
o
de
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamper
i
s
Imp
l
ement
i
nheritan
c
e -- works, bu
t
needs cleanup
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
General cleanup
commit
|
commitdiff
|
tree
2007-10-07
Stathis
K
amperis
C
h
ange na
m
espac
e
from MP
O
O
L_
to MP_
commit
|
commitdiff
|
tree
2007-10-06
Stat
h
is Kam
p
eris
Add
te
r
minat
i
ng conditi
o
n
i
n
mpool_free
(
)
commit
|
commitdiff
|
tree
2007-10-06
Stathis Ka
m
peris
Clean mpool_free() m
e
ss
commit
|
commitdiff
|
tree
2007-10-06
Stathis Ka
m
peris
A
dd some more DPRINTF()
calls in
m
pool
_
free(
)
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
Try to coale
s
ce on
l
y if buddy exists AND is f
r
ee
commit
|
commitdiff
|
tree
2007-10-06
Sta
t
his Kamperis
Add flags member in bl
k
node data s
t
ruct
u
re
commit
|
commitdiff
|
tree
2007-10-04
Stath
i
s K
a
mperis
F
i
x
c
alculation of `new
p
o
s
'
when
splitting
commit
|
commitdiff
|
tree
2007-10-04
Stathi
s
Kamperis
DEBUG symb
o
l is now MPOOL_DEBUG
commit
|
commitdiff
|
tree
2007-10-04
Stathis Ka
m
peris
A
d
d merges a
n
d split
s
st
a
ts if MPOOL_
S
T
A
TS is defined
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamp
e
ris
Add some DPRINTF() c
a
lls
i
n
mpool_free() (still a stub
)
commit
|
commitdiff
|
tree
2007-10-02
S
ta
t
his Kamperis
Replace printf() ca
l
ls
t
o DPRINTF() macro
commit
|
commitdiff
|
tree
2007-10-02
Stathis K
a
mper
i
s
Add some more pr
i
ntfs in mpool_free()
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamper
i
s
Re
m
o
ve
w
hitespa
c
e
i
n comment
commit
|
commitdiff
|
tree
2007-10-02
Stathis Ka
m
peri
s
Remove bogus heade
r
file
commit
|
commitdiff
|
tree
2007-10-02
Stath
i
s Kamperi
s
Add basic implementation of mpool_f
r
ee()
.
No coales
c
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis
K
amp
e
r
i
s
Mino
r
cosmetic
c
hange in printf()
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kampe
r
is
Fix typ
o
in
c
o
mment
commit
|
commitdiff
|
tree
2007-10-02
Stathis
Kamperis
M
ajor c
h
ange
s
in data structures and additi
o
n of
p
rof
i
l
i
ng
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
St
a
this K
a
mperis
U
se u
n
signed char instead of unsi
g
ned int for 'boole
a
n
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kam
p
eris
D
o
n't do void pointer
a
rithmeti
c
s
commit
|
commitdiff
|
tree
2007-10-01
Stat
h
i
s
K
a
mp
e
ris
Put functio
n
prot
o
ty
p
e
s
, defs and constants in mpool
.
h
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamperis
Add a
mi
n
size fie
l
d
i
n
mpo
o
l to i
n
dicate
minimum chunk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stath
i
s Kamperis
Initial
i
m
port of the buddy memory alloc
a
tor
commit
|
commitdiff
|
tree
2007-09-20
S
t
athis Kamper
i
s
Me
r
ge branch 'exp
-
hash'
commit
|
commitdiff
|
tree
2007-09-20
S
t
athis Kamperis
Don't ch
e
ck < 0 for
u
nsigned
e
xpres
s
ion
commit
|
commitdiff
|
tree
2007-09-20
S
t
athis Kamperi
s
Merge branch 'exp-h
a
s
h'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Merge htable_get_first_elm() in htable_get_
n
ext_elm()
commit
|
commitdiff
|
tree
2007-09-20
Stat
h
i
s Kamperis
Mer
g
e b
r
anc
h
'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Add h
t
a
b
le_get_first/next_
e
lement() fu
n
ctions f
o
r
htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Stath
i
s
Kamper
i
s
M
e
rge b
r
anch 'exp-has
h
'
commit
|
commitdiff
|
tree
2007-09-19
Stathis
K
amperis
Updat
e
TOD
O
f
ile
commit
|
commitdiff
|
tree
2007-09-19
Stathis Ka
m
p
eris
Add tes
t
case for htable
_
traverse
commit
|
commitdiff
|
tree
2007-09-19
S
tathis Kamperis
Add h
t
able_
g
et_
s
iz
e
()
,
htable_
g
et_u
s
ed(), htable_t
r
averse()
commit
|
commitdiff
|
tree
2007-09-19
Stat
h
i
s
Kamper
i
s
Add stub for htable_get_next_elm()
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Fix
t
ypo
in comment
commit
|
commitdiff
|
tree
2007-09-14
Stathis Kamperis
Add flags HT_FREEKEY and HT_FREEDATA in htable
_
fr
e
e_*()
commit
|
commitdiff
|
tree
2007-09-11
Sta
t
his
K
amperis
htable_free_objects() -> htable_free_all_obj() in ma
i
n
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
printf callback ->
m
y
pri
n
tf s
o
as not to sh
a
d
o
w stdio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Sta
t
his Kamperis
R
e
m
ove redundant , when in enumera
t
i
on
list
commit
|
commitdiff
|
tree
2007-09-10
Stathis K
a
mperis
HT_REPLACED -> HT_
E
XISTS
commit
|
commitdiff
|
tree
2007-09-10
S
tat
h
i
s
Kamperis
I
m
plement htable_
f
ree_o
b
j() fun
c
tio
n
commit
|
commitdiff
|
tree
2007-09-10
Stathis
Kamp
e
ris
ht
a
ble_i
n
sert() doesn't ovewrite
e
xi
s
ting dat
a
commit
|
commitdiff
|
tree
2007-09-10
Stath
i
s Ka
m
peris
ht
a
ble_ins
e
rt() r
e
turns HT_REPLACED if
k
ey alread
y
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
St
a
th
i
s Kamperis
Free hn_k
e
y
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
Free o
l
d
da
t
a when i
n
serting new entry w
i
th
e
xi
s
t
i
ng
k
ey
commit
|
commitdiff
|
tree
2007-09-09
S
tathi
s
K
amperis
Add hta
b
l
e
_
fre
e
_objects() tha frees pnode->da
t
a
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
Pass callb
a
ck fu
n
c
t
ion in htable_init()
commit
|
commitdiff
|
tree
2007-09-09
S
t
athis Kam
p
eris
#i
n
clud
e
<
s
tddef
.
h> in
h
table
.
h for
s
ize_t
t
ype
commit
|
commitdiff
|
tree
2007-09-09
S
t
athis Kamperis
htable_gro
w
() should r
e
t
urn
H
T_OK on s
u
ccess
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
is Kamperis
Add commen
t
commit
|
commitdiff
|
tree
2007-09-08
St
a
this Ka
m
peris
C
o
nstify variable in
h
ta
b
l
e_pri
n
t()
commit
|
commitdiff
|
tree
2007-09-08
Sta
t
his Kamperis
Add htable_grow()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kam
p
er
i
s
u_int -> unsigned
int
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kampe
r
i
s
Ad
d
comment in m
a
in()
commit
|
commitdiff
|
tree
2007-09-08
Sta
t
h
is Ka
m
peris
cha
n
ges in djb_
h
ash
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Co
n
stify some
v
a
ri
a
b
l
es
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Add
a hhead_t typedef for struct htablehead
commit
|
commitdiff
|
tree
2007-09-08
S
tathis Kamp
e
ris
Ad
d
p
ro
p
e
r
error handling in htable_*() fun
c
ti
o
ns
commit
|
commitdiff
|
tree
2007-09-07
Stath
i
s Kamper
i
s
p
table -> htable in
m
ain
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Add
h
table_free
(
) a
n
d don't forget to upd
a
te ht_size
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
i
s
Kamperis
Rename htable_delet
e
() to htable_
r
emove()
commit
|
commitdiff
|
tree
2007-09-07
Stathis
Kamperis
Fix typo an
d
re
m
ove whitespace
commit
|
commitdiff
|
tree
2007-09-07
Stathis Ka
m
peris
Fix comment i
n
pre
v
ious commit
commit
|
commitdiff
|
tree
2007-09-07
Stathis
Kamperi
s
Add h
t
able_delete(
)
function
commit
|
commitdiff
|
tree
2007-09-07
Stathis
K
amperis
str ->
k
ey in djb_h
a
sh() funct
i
on
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamp
e
ris
Include arguments' nam
e
s in
f
un
c
tion proto
t
ypes
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is
Kamper
i
s
pass void *key argumen
t
in h
t
able_print()
commit
|
commitdiff
|
tree
2007-09-07
St
a
this Kamperis
A
d
d co
m
ments for ht_size v
a
riable
commit
|
commitdiff
|
tree
2007-09-07
St
a
this Ka
m
peris
Constify var
i
able
i
n htable_print()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperi
s
M
ove hta
b
le files to
htable/ sub
d
i
r
ect
o
ry
commit
|
commitdiff
|
tree
2007-09-07
S
tathi
s
Kam
p
eris
Sp
l
it htable impleme
n
tation to
h
table
.
c and htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis
Ka
m
p
eris
Add
some comment
s
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Constif
y
some variables
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kam
p
eris
h
t
_printf() has a void
*data
a
rg
u
m
e
n
t
commit
|
commitdiff
|
tree
2007-09-06
St
a
thi
s
K
a
m
p
eris
htab
l
e_i
n
it(), htable_insert(), htab
l
e
_
print()
commit
|
commitdiff
|
tree
2007-09-06
Stathi
s
Kamperis
In
i
tial import of
h
t
able
.
c
commit
|
commitdiff
|
tree
2007-09-05
Stathis Kamp
e
ris
M
a
jor chang
e
s, i
t
n
ow co
m
piles withou
t
segfaults
commit
|
commitdiff
|
tree
2007-09-04
Stathis Kamp
e
r
is
I
n
itia
l
impo
r
t of h
a
sh table imple
m
entation
commit
|
commitdiff
|
tree
2007-08-30
S
t
ath
i
s K
a
m
p
e
r
i
s
Fix a
m
emory leak in tai
l
q
.
c
commit
|
commitdiff
|
tree
next