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
Make mpool_printblks() static and fix an un/signed comparison
2007-10-17
Stathi
s
Kam
p
eris
Make m
p
ool_print
b
l
k
s() stati
c
and fi
x
a
n un/signed
.
.
.
commit
|
commitdiff
|
tree
2007-10-17
Stathis Kamperis
Ad
d
2
D
ar
r
ay dyna
m
ic allocati
o
n test case
commit
|
commitdiff
|
tree
2007-10-15
S
t
athis Kam
p
e
ris
test case fi
l
e
i
s not
exec
u
table
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
F
ix possible mem leak in tes
t
c
a
se
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
Add a simple
s
t possible t
e
s
tca
s
e --
more will follow
commit
|
commitdiff
|
tree
2007-10-15
S
ta
t
his Kamperis
Use proper in mp
o
ol_prin
t
blks()
commit
|
commitdiff
|
tree
2007-10-15
S
t
athis Kamperi
s
Return
i
mmedia
t
ely if buddy is out of p
o
ol
commit
|
commitdiff
|
tree
2007-10-15
Stathis
Kamperis
Use size_t instea
d
of
u
n
signed int when appropri
a
te
commit
|
commitdiff
|
tree
2007-10-15
S
t
athi
s
Kamperis
Put the sta
t
functions i
n
a separate
.
c files
commit
|
commitdiff
|
tree
2007-10-15
St
a
this Kamperis
F
i
x many comments and other min
o
r stuff
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamp
e
ris
C
hange err
o
r na
m
espace from MP_* to
MPOOL_*
commit
|
commitdiff
|
tree
2007-10-15
Stathis Ka
m
peris
rename next
_
block to next_chunk
in b
l
knode_t d
a
ta
s
t
ructure
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kam
p
eris
More validation in mpoo
l
_alloc
commit
|
commitdiff
|
tree
2007-10-13
St
a
t
h
is Kampe
r
is
Replace bitwise operati
o
ns with
p
r
oper macros
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
More cleanup
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
Little co
s
m
etic stuf
f
commit
|
commitdiff
|
tree
2007-10-13
Stath
i
s Ka
m
pe
r
i
s
Remove unused
variable p
commit
|
commitdiff
|
tree
2007-10-12
Stathis Kamperis
no-malloc() i
m
ple
m
entat
i
on
works witho
u
t bugs,
though
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
S
t
athis Kamperis
First
a
t
tempt t
o
a malloc() free implementati
o
n --
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stath
i
s Kamperis
Add a program tha
t
pri
n
ts chara
c
ters' freq
u
enci
e
s
commit
|
commitdiff
|
tree
2007-10-10
S
tathis Kam
p
eri
s
I
m
plement
f
ull
s
imu
l
ation
commit
|
commitdiff
|
tree
2007-10-09
Stathis Kamperis
Add
fi
r
st attempt of
simulation --
c
rashes r
i
ght now
commit
|
commitdiff
|
tree
2007-10-08
Stathis K
a
mp
e
ris
Put main(
)
in tes
t
.
c
and re
m
ove it from mp
o
o
l
.
c
commit
|
commitdiff
|
tree
2007-10-08
Stathis Kamperis
Fix newpos calc i
n
mpool_all
o
c() and
a
dd mpool_stat_get_bloc
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
St
a
t
his Kamperis
Remove bogus printf()
commit
|
commitdiff
|
tree
2007-10-07
S
tathis K
a
mpe
r
i
s
Fix typo in co
m
ment
commit
|
commitdiff
|
tree
2007-10-07
Stathis
K
amperis
Fix typo in co
m
ment
commit
|
commitdiff
|
tree
2007-10-07
Stathi
s
Kamperis
A
d
d some comments for mpool
_
free()
commit
|
commitdiff
|
tree
2007-10-07
St
a
th
i
s
Kamperis
Remove bogus c
o
de
commit
|
commitdiff
|
tree
2007-10-07
Stat
h
is Kam
p
eri
s
I
mplement inheritance
-
-
works
,
but needs c
l
eanup
commit
|
commitdiff
|
tree
2007-10-07
S
tathis Kamperi
s
General cle
a
nup
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamper
i
s
Chan
g
e namesp
a
c
e from MPOOL_ t
o
M
P
_
commit
|
commitdiff
|
tree
2007-10-06
Stathis Ka
m
p
eris
Add ter
m
inating condition in mp
o
ol_free(
)
commit
|
commitdiff
|
tree
2007-10-06
S
t
athis Kamper
i
s
Clean mpo
o
l_free() mess
commit
|
commitdiff
|
tree
2007-10-06
Stathi
s
Kampe
r
is
Add some more
D
PR
I
NTF() calls in mpo
o
l_
f
ree()
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
T
r
y
t
o
coale
s
ce
o
n
l
y if budd
y
exist
s
A
N
D is fr
e
e
commit
|
commitdiff
|
tree
2007-10-06
Stathis K
a
mpe
r
is
Add flags member in blknode data structure
commit
|
commitdiff
|
tree
2007-10-04
Stathis K
a
mperis
Fix
c
a
l
culation of `new
p
os'
when splitting
commit
|
commitdiff
|
tree
2007-10-04
Stath
i
s Kamperis
DEBUG symbol is now MPOOL_DEBU
G
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
A
d
d merges
a
n
d splits
st
a
t
s
i
f
MPOOL_STATS is defined
commit
|
commitdiff
|
tree
2007-10-04
Stat
h
i
s
Kamperis
Add so
m
e D
P
RINTF() calls in mpool_fre
e
() (still a
stub
)
commit
|
commitdiff
|
tree
2007-10-02
S
ta
t
h
is Kam
p
er
i
s
Re
p
l
a
ce printf() calls
to DPRINTF
(
)
m
a
c
ro
commit
|
commitdiff
|
tree
2007-10-02
S
t
a
this Kamperis
Add so
m
e more printfs in mpoo
l
_free()
commit
|
commitdiff
|
tree
2007-10-02
S
tathis Kamp
e
ris
Re
m
ov
e
whites
p
ace in com
m
en
t
commit
|
commitdiff
|
tree
2007-10-02
S
t
a
this Kamperis
Remove bogus hea
d
er f
i
le
commit
|
commitdiff
|
tree
2007-10-02
Stathis K
a
mperis
A
d
d b
a
s
ic implementation of mpool_free()
.
No
c
oalesce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
S
tathis Kamper
i
s
M
i
nor co
s
metic ch
a
n
g
e in printf(
)
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
his Kamp
e
ris
Fix
t
y
p
o
in c
o
mment
commit
|
commitdiff
|
tree
2007-10-02
Stathis K
a
mperis
Major changes in data s
t
ructure
s
and
a
d
d
iti
o
n of prof
i
ling
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kam
p
eris
Use
un
s
igned ch
a
r
instead of unsigne
d
int for 'boolea
n
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis
K
ampe
r
i
s
Don't
do void pointer
a
rithmeti
c
s
commit
|
commitdiff
|
tree
2007-10-01
Stathi
s
K
amperi
s
P
ut func
t
io
n
pro
t
o
t
ypes
,
defs
and constants in mpool
.
h
commit
|
commitdiff
|
tree
2007-10-01
St
a
this
Kamp
e
ri
s
A
dd a minsize field in mpool to indicate minim
u
m
chunk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Sta
t
his
Kamperis
In
i
tia
l
im
p
o
rt of the buddy memory all
o
ca
t
o
r
commit
|
commitdiff
|
tree
2007-09-20
Stath
i
s Kamperis
M
e
rge branch 'exp-hash
'
commit
|
commitdiff
|
tree
2007-09-20
Stathis
Kamperi
s
Don
'
t check < 0
f
or unsigned exp
r
ess
i
on
commit
|
commitdiff
|
tree
2007-09-20
Stath
i
s Kamperis
Me
r
ge
b
ranch 'exp-
h
ash
'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kampe
r
is
M
erge htabl
e
_get_first_elm() in
h
table_get_nex
t
_elm()
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
M
e
rg
e
branch 'exp-has
h
'
commit
|
commitdiff
|
tree
2007-09-20
St
a
this Kampe
r
is
Add htable_get
_
first/nex
t
_elemen
t
() functions for htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
St
a
t
his Kamperis
Merge branch 'e
x
p-hash'
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperi
s
Update
TODO file
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamper
i
s
Add test
case for htable_traverse
commit
|
commitdiff
|
tree
2007-09-19
Stath
i
s Kamperi
s
Add
htab
l
e_get_
s
iz
e
(),
htable_get_used(), htabl
e
_
t
raverse()
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Add st
u
b
for hta
b
l
e_get_next_el
m
(
)
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperi
s
Fix typo in
c
omme
n
t
commit
|
commitdiff
|
tree
2007-09-14
St
a
this Kamperis
Add fla
g
s HT_
F
R
EEKEY and HT_F
R
EE
D
A
TA in htable_free_*()
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperi
s
h
t
abl
e
_free
_
ob
j
ects
(
) -> htabl
e
_free_al
l
_obj() in m
a
in
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamper
i
s
prin
t
f c
a
l
l
b
a
c
k -> mypr
i
ntf
so as
n
ot to shadow s
t
dio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
S
tathis Kamperis
Remove
redundant , when
in enu
m
eration
list
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
HT
_
REPLACED -> HT_EXISTS
commit
|
commitdiff
|
tree
2007-09-10
S
t
athis Kamper
i
s
Implement htable_free_obj() function
commit
|
commitdiff
|
tree
2007-09-10
St
a
t
his Kamperi
s
hta
b
le_ins
e
rt() doesn'
t
ovewr
i
t
e
existin
g
data
commit
|
commitdiff
|
tree
2007-09-10
Stathis
K
amperis
h
t
able_insert() returns HT_REPLACED if key already
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamp
e
ris
Free hn_key
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
Fre
e
old dat
a
when inserting new entry wit
h
existing key
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
Add h
t
abl
e
_free_ob
j
ects()
t
ha fr
e
es pnode->
d
at
a
commit
|
commitdiff
|
tree
2007-09-09
Stathi
s
K
a
m
p
eris
P
ass call
b
ack funct
i
on in hta
b
le_init(
)
commit
|
commitdiff
|
tree
2007-09-09
Stath
i
s Kamperis
#include
<
stddef
.
h> in htable
.
h for size
_
t type
commit
|
commitdiff
|
tree
2007-09-09
Stathis Ka
m
per
i
s
h
t
able_grow() shou
l
d return HT
_
OK on succes
s
commit
|
commitdiff
|
tree
2007-09-08
S
t
athis Ka
m
peris
Add comment
commit
|
commitdiff
|
tree
2007-09-08
S
t
a
this K
a
mp
e
ris
Constify v
a
riabl
e
i
n
htable_print()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kam
p
eris
Add
h
table_grow(
)
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperi
s
u_int -
>
u
ns
i
g
n
ed int
commit
|
commitdiff
|
tree
2007-09-08
S
tathis K
a
mperis
Add comment in main()
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
is
Kamperis
changes i
n
d
jb_
h
ash
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Co
n
s
tify
s
o
m
e
v
aria
b
les
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamper
i
s
Add a hh
e
ad_t typedef for struct htablehead
commit
|
commitdiff
|
tree
2007-09-08
Stathi
s
Kamper
i
s
Add proper er
r
or
handling
i
n htable_*() fun
c
tions
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamp
e
ris
ptable
-
>
htable
i
n
main
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kam
p
eris
Add htable_f
r
e
e()
and don'
t
forget to update ht_size
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kam
p
eris
Rename htable_d
e
lete() to htable_remove()
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamperis
Fix typo
a
n
d remove whites
p
ace
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
his Kamper
i
s
Fix co
m
m
ent i
n
previ
o
us commit
commit
|
commitdiff
|
tree
2007-09-07
Stathis K
a
mperis
Add
h
table_delete(
)
fun
c
tion
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamper
i
s
str ->
k
ey in djb_hash() function
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Includ
e
arguments' names in
f
unctio
n
proto
t
ypes
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamper
i
s
p
ass void *key argument in ht
a
ble_print()
commit
|
commitdiff
|
tree
2007-09-07
Stathis
Kamperis
Ad
d
comments for h
t
_size vari
a
ble
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Ka
m
peris
Constif
y
varia
b
le in
hta
b
l
e
_print()
commit
|
commitdiff
|
tree
next