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 comment regarding fclose() and fix a splint warning
2007-10-22
Stathis Kamperis
Add a commen
t
r
e
ga
r
ding fclo
s
e
(
) a
n
d
f
ix a splint warnin
g
commit
|
commitdiff
|
tree
2007-10-21
St
a
this Kampe
r
is
Fix some spli
n
t warnin
g
s
commit
|
commitdiff
|
tree
2007-10-20
S
tathis Kampe
r
i
s
Me
r
ge branch 'exp-mpool'
commit
|
commitdiff
|
tree
2007-10-20
Stat
h
i
s Ka
m
peris
Massive
c
leanup
commit
|
commitdiff
|
tree
2007-10-20
St
a
this Kamperi
s
Re
n
ame test ca
s
e
commit
|
commitdiff
|
tree
2007-10-20
Sta
t
his K
a
mperis
Remove whitespace
commit
|
commitdiff
|
tree
2007-10-20
Stathis Kamperis
Add stress te
s
t case
commit
|
commitdiff
|
tree
2007-10-20
Stathis Kamperis
Fi
r
st attempt to clean
u
p
commit
|
commitdiff
|
tree
2007-10-19
S
t
ath
i
s Kamperis
Ch
e
c
k
against
M
POOL
_
EBADVAL plus some
c
leanup
commit
|
commitdiff
|
tree
2007-10-19
S
t
a
this
K
amperis
Check a
g
ainst
M
POOL_EBADVAL p
l
us some minor cleanup
commit
|
commitdiff
|
tree
2007-10-17
Stathis
Kamperis
Fix
leak, add missing declarat
i
ons,
cleanup
commit
|
commitdiff
|
tree
2007-10-17
S
t
athis Kamperis
Fix
a
t
y
poe
commit
|
commitdiff
|
tree
2007-10-17
Stathis Kamperis
Make mpool_p
r
intbl
k
s
() static
a
n
d
fix an
u
n
/
signed
.
.
.
commit
|
commitdiff
|
tree
2007-10-17
Stathis Kamperi
s
Add
2
D array dynamic allocation te
s
t case
commit
|
commitdiff
|
tree
2007-10-15
Stathis
K
amperis
t
est
c
ase file is not
executable
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
F
ix
p
o
ssible mem leak
i
n test cas
e
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamp
e
r
is
Add a
simplest possible testc
a
se -- mo
r
e will follow
commit
|
commitdiff
|
tree
2007-10-15
S
tathis Kamperis
Use proper in mpool_prin
t
blks(
)
commit
|
commitdiff
|
tree
2007-10-15
Stat
h
i
s Kam
p
e
r
i
s
Return im
m
ediately if buddy is ou
t
o
f
p
o
ol
commit
|
commitdiff
|
tree
2007-10-15
S
tathis K
a
mp
e
ris
Use size_t instead
of unsigned int when appropriate
commit
|
commitdiff
|
tree
2007-10-15
Stathis Ka
m
peris
P
u
t th
e
stat f
u
nctio
n
s
in
a sepa
r
ate
.
c files
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamp
e
ris
Fix many comments
a
n
d
o
t
h
er
minor stuff
commit
|
commitdiff
|
tree
2007-10-15
S
t
a
this Ka
m
peris
Change er
r
o
r
name
s
pace from MP_* to MPOOL
_
*
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kampe
r
is
r
ename next
_
b
lock to next_chunk in bl
k
node_
t
dat
a
stru
c
t
u
re
commit
|
commitdiff
|
tree
2007-10-15
Stathis
K
amper
i
s
Mo
r
e va
l
idation in mp
o
ol_all
o
c
commit
|
commitdiff
|
tree
2007-10-13
Stathis
Kam
p
eris
R
e
place bit
w
is
e
oper
a
tions with proper macros
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
More cleanup
commit
|
commitdiff
|
tree
2007-10-13
Stathis
Kampe
r
is
Little cosmeti
c
stuff
commit
|
commitdiff
|
tree
2007-10-13
S
t
ath
i
s Kamperis
Remov
e
unused
v
a
riable p
commit
|
commitdiff
|
tree
2007-10-12
St
a
t
hi
s
Kampe
r
is
no-
m
alloc() implementation work
s
without
b
u
gs, thou
g
h
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis Ka
m
peris
First attem
p
t t
o
a mallo
c
() f
r
ee i
m
p
l
eme
n
ta
t
ion --
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis Kamperis
Add a
p
rogram that prints c
h
aracters' fre
q
uencies
commit
|
commitdiff
|
tree
2007-10-10
Stath
i
s
K
amperis
Implemen
t
fu
l
l s
i
mulation
commit
|
commitdiff
|
tree
2007-10-09
Stathis Kamperis
Add firs
t
atte
m
p
t o
f
s
imulation -- crashes right now
commit
|
commitdiff
|
tree
2007-10-08
Stathis
Kam
p
eris
Put main() in test
.
c and r
e
move
i
t
f
r
o
m mp
o
ol
.
c
commit
|
commitdiff
|
tree
2007-10-08
Stathis Kamperis
Fi
x
newpos calc
in
m
p
o
o
l
_al
l
oc() and add mpool_
s
t
a
t_
g
et_bloc
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Remo
v
e bogus printf()
commit
|
commitdiff
|
tree
2007-10-07
Stathi
s
Kamperis
F
ix
t
y
p
o
i
n comment
commit
|
commitdiff
|
tree
2007-10-07
Stathis K
a
mperi
s
Fix t
y
po
in comm
e
n
t
commit
|
commitdiff
|
tree
2007-10-07
S
t
athis K
a
mperis
Add some comments for mpoo
l
_f
r
ee()
commit
|
commitdiff
|
tree
2007-10-07
Sta
t
his Kamper
i
s
Remove bogus co
d
e
commit
|
commitdiff
|
tree
2007-10-07
St
a
thi
s
Kamperis
Imp
l
ement inheritance -- works, but
needs cleanup
commit
|
commitdiff
|
tree
2007-10-07
Stath
i
s Kamperis
G
e
neral clean
u
p
commit
|
commitdiff
|
tree
2007-10-07
Stath
i
s
Kamperis
Ch
a
nge namespace from MPOOL_ to
MP_
commit
|
commitdiff
|
tree
2007-10-06
S
t
athis Kamper
i
s
A
d
d terminating condition in mpool_free
(
)
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
Clean mpool_f
r
ee() mess
commit
|
commitdiff
|
tree
2007-10-06
Stathis K
a
mperis
A
dd s
o
me more DPRINTF() calls in mpool_f
r
e
e
()
commit
|
commitdiff
|
tree
2007-10-06
Stathis
K
ampe
r
is
Try to coalesce on
l
y if
buddy e
x
ists AND
is free
commit
|
commitdiff
|
tree
2007-10-06
S
tathis Kamperis
Add f
l
ags me
m
ber in
b
lknode
da
t
a st
r
u
c
ture
commit
|
commitdiff
|
tree
2007-10-04
Sta
t
his
K
a
m
peris
Fix
calc
u
lation o
f
`newpos' when s
p
litting
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
DEBUG symbol is no
w
MPO
O
L_DEBUG
commit
|
commitdiff
|
tree
2007-10-04
Sta
t
h
i
s Kamperis
Add merges and splits stats if
M
POO
L
_S
T
ATS is defined
commit
|
commitdiff
|
tree
2007-10-04
S
tathis
K
amperis
Add some DP
R
INTF() calls in mpool_free() (st
i
ll a
stub)
commit
|
commitdiff
|
tree
2007-10-02
Stathi
s
Kamperis
Replace print
f
() calls to D
P
RINTF() macro
commit
|
commitdiff
|
tree
2007-10-02
Stat
h
is Kamperis
Add some more printfs in mpool_
f
ree
(
)
commit
|
commitdiff
|
tree
2007-10-02
S
t
athis Kamperis
Remove w
h
ites
p
ace in comment
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Remove bogus heade
r
file
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kampe
r
is
Ad
d
basic implemen
t
ation of mpo
o
l_free()
.
N
o
c
o
alesce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
S
t
athi
s
Kamperis
Minor cosmet
i
c change
i
n printf()
commit
|
commitdiff
|
tree
2007-10-02
Stath
i
s K
a
mperis
Fix typo in comment
commit
|
commitdiff
|
tree
2007-10-02
Stathis Ka
m
p
eris
Major ch
a
nges in data structures an
d
a
ddit
i
on of profiling
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
S
t
athis
Kamperis
Use
unsigned char instea
d
o
f
unsig
n
ed in
t
for
'
b
oo
l
ean
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stath
i
s Kamperis
Don't
do void p
o
in
t
er ari
t
h
m
etics
commit
|
commitdiff
|
tree
2007-10-01
St
a
th
i
s Kamperis
Put function prototype
s
, d
e
fs an
d
constants in mpo
o
l
.
h
commit
|
commitdiff
|
tree
2007-10-01
Stathis
K
amperi
s
Add a minsize fiel
d
in mpool
to indicate minimum
c
hu
n
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stat
h
is Kamperis
Ini
t
i
a
l impo
r
t
of the buddy memory
a
llocator
commit
|
commitdiff
|
tree
2007-09-20
Stathi
s
Ka
m
peri
s
M
e
rge branch
'exp-has
h
'
commit
|
commitdiff
|
tree
2007-09-20
St
a
this
K
am
p
eris
Don
'
t c
h
eck < 0
for uns
i
gned expre
s
sio
n
commit
|
commitdiff
|
tree
2007-09-20
S
tathis
Kamperis
Merge bran
c
h '
e
x
p-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
M
erge htable_get_first_elm() in ht
a
b
l
e_get
_
ne
x
t_
e
lm
(
)
commit
|
commitdiff
|
tree
2007-09-20
S
t
athis
K
am
p
e
r
is
Merge branch 'exp-
h
ash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis
Kampe
r
is
Add hta
b
le_get_first/next_elemen
t
() functio
n
s
for htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Stathis
K
a
m
p
eris
Merg
e
branch '
e
xp-hash'
commit
|
commitdiff
|
tree
2007-09-19
Stat
h
is Kampe
r
is
Upda
t
e TODO file
commit
|
commitdiff
|
tree
2007-09-19
Stathis
K
amp
e
ris
Add test case fo
r
h
tab
l
e
_
traverse
commit
|
commitdiff
|
tree
2007-09-19
Stath
i
s
K
amperis
Add
h
table
_
get_size(), hta
b
le_
g
et
_
us
e
d
(
), htable_tr
a
ve
r
s
e
()
commit
|
commitdiff
|
tree
2007-09-19
S
t
athis Kamperis
Add
stub for htable_
g
et_next_e
l
m()
commit
|
commitdiff
|
tree
2007-09-19
Stath
i
s Kamperis
Fix ty
p
o in
c
omment
commit
|
commitdiff
|
tree
2007-09-14
Stathis Ka
m
peris
Add flags HT_FREEK
E
Y and HT_F
R
EE
D
ATA in htable_free_*()
commit
|
commitdiff
|
tree
2007-09-11
Stathis
Kamperis
htable_free_obje
c
ts() -
>
ht
a
bl
e
_free_all_o
b
j
(
)
in
main
.
c
commit
|
commitdiff
|
tree
2007-09-11
St
a
th
i
s
Kamp
e
ris
pr
i
ntf
c
a
llback -> m
y
printf so as
no
t
to shadow s
t
dio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Stat
h
is Kamperis
Remove r
e
dundant , when in
e
n
u
mer
a
tion l
i
st
commit
|
commitdiff
|
tree
2007-09-10
Stathis
K
amper
i
s
HT_REPL
A
C
E
D -> HT_EXI
S
TS
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamper
i
s
Implement htable_free_
o
b
j() f
u
nc
t
ion
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kam
p
eris
ht
a
ble_in
s
ert
(
) d
o
esn't
ovewrite
existi
n
g data
commit
|
commitdiff
|
tree
2007-09-10
Stath
i
s
K
a
mperis
htable_insert() r
e
turns
HT_REPLACED i
f
key al
r
eady
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kampe
r
i
s
Free
hn
_
k
e
y
commit
|
commitdiff
|
tree
2007-09-10
St
a
this Kam
p
er
i
s
Free old data w
h
en inserting new entry with existing key
commit
|
commitdiff
|
tree
2007-09-09
Stathis K
a
mp
e
ri
s
Ad
d
h
t
able_free_objects()
tha frees p
n
ode
-
>
d
a
ta
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamp
e
ris
Pas
s
callbac
k
f
unction in
h
t
a
ble_init()
commit
|
commitdiff
|
tree
2007-09-09
Stathis
K
amperis
#include
<
stddef
.
h>
in htable
.
h
for
s
i
z
e_t
t
ype
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamper
i
s
h
table_g
r
ow()
should return HT_
O
K on success
commit
|
commitdiff
|
tree
2007-09-08
Stathis Ka
m
peris
Add
c
o
m
m
ent
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
is
K
amperis
Constify
v
a
r
iable
in htable_print()
commit
|
commitdiff
|
tree
2007-09-08
Stathis
Kamp
e
ris
A
dd ht
a
ble_grow()
commit
|
commitdiff
|
tree
2007-09-08
Stathi
s
Kamperis
u_int -> unsigned
i
n
t
commit
|
commitdiff
|
tree
2007-09-08
Sta
t
his Kamperis
Add comm
e
nt in
ma
i
n()
commit
|
commitdiff
|
tree
2007-09-08
Stathis
Kam
p
er
i
s
changes in d
j
b_hash
commit
|
commitdiff
|
tree
2007-09-08
Stathi
s
Kam
p
e
r
is
Consti
f
y some variables
commit
|
commitdiff
|
tree
2007-09-08
St
a
t
his Kamp
e
ris
Add a hhead_t typedef for struct htablehead
commit
|
commitdiff
|
tree
next