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
First attempt to cleanup
2007-10-20
Stathi
s
K
a
m
p
er
i
s
First att
e
mpt t
o
cleanup
commit
|
commitdiff
|
tree
2007-10-19
Stat
h
is Kampe
r
is
Check again
s
t MPOOL_EBADV
A
L plus so
m
e c
l
eanup
commit
|
commitdiff
|
tree
2007-10-19
Stathis Kampe
r
is
Check a
g
ainst MPOOL_EB
A
DVAL
p
lus some m
i
nor cleanup
commit
|
commitdiff
|
tree
2007-10-17
Stathis
K
a
m
peris
Fix a
t
ypoe
commit
|
commitdiff
|
tree
2007-10-17
Stat
h
is
K
a
mper
i
s
Make mpo
o
l
_pr
i
n
t
blks() stati
c
a
n
d fix an
un/signed
.
.
.
commit
|
commitdiff
|
tree
2007-10-17
Stathis Kamperis
A
d
d
2D
array dy
n
amic allocation tes
t
c
a
se
commit
|
commitdiff
|
tree
2007-10-15
Stath
i
s Kamperis
t
e
st case
file i
s
n
o
t
e
xecutable
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamper
i
s
Fix possib
l
e
mem
l
eak in test case
commit
|
commitdiff
|
tree
2007-10-15
Stathis Ka
m
p
e
r
i
s
Add a
simp
l
est possible testcas
e
-
- more will fol
l
ow
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamper
i
s
Use proper in mpool_printbl
k
s()
commit
|
commitdiff
|
tree
2007-10-15
Stat
h
i
s
K
amperi
s
R
e
turn immediatel
y
i
f bud
d
y i
s
out
o
f pool
commit
|
commitdiff
|
tree
2007-10-15
Stathis K
a
mper
i
s
Use
s
ize_t instead o
f
unsi
g
n
e
d
i
n
t wh
e
n a
p
pr
o
priate
commit
|
commitdiff
|
tree
2007-10-15
St
a
th
i
s K
a
m
per
i
s
P
ut t
h
e stat func
t
ions in a separate
.
c
f
iles
commit
|
commitdiff
|
tree
2007-10-15
Stathi
s
Kamperis
Fix many com
m
ents
and ot
h
er mino
r
s
tuf
f
commit
|
commitdiff
|
tree
2007-10-15
St
a
thi
s
Kam
p
eris
Change e
r
ror namespace from MP_* to M
P
OO
L
_*
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
rename nex
t
_block
to next_chun
k
i
n
blkno
d
e_
t
dat
a
str
u
cture
commit
|
commitdiff
|
tree
2007-10-15
Stat
h
is Kamperis
More va
l
idation in
m
pool
_
a
l
loc
commit
|
commitdiff
|
tree
2007-10-13
Stath
i
s Kamperis
R
eplace bitwise oper
a
tions with pro
p
e
r
mac
r
o
s
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamp
e
ris
Mor
e
clea
n
up
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kam
p
eris
L
ittle cosmetic
stuff
commit
|
commitdiff
|
tree
2007-10-13
S
t
a
this Kamper
i
s
R
emo
v
e unused varia
b
le p
commit
|
commitdiff
|
tree
2007-10-12
Stat
h
i
s
K
a
mp
e
ris
no-malloc() imple
m
e
n
tation w
o
rks
w
ithout bugs, though
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
S
t
athis Ka
m
peris
First attempt to
a
mallo
c
() free im
p
l
e
mentatio
n
--
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
S
tathis Kamperis
Add a program that prints cha
r
acters' fr
e
quenc
i
e
s
commit
|
commitdiff
|
tree
2007-10-10
St
a
t
his Kamperis
Implement full simula
t
ion
commit
|
commitdiff
|
tree
2007-10-09
Stathis Kamperis
Add first att
e
mpt of
simulati
o
n -- crashes right now
commit
|
commitdiff
|
tree
2007-10-08
Stathis Kamp
e
r
i
s
P
u
t
m
a
in() i
n
t
est
.
c and remove it from m
p
o
ol
.
c
commit
|
commitdiff
|
tree
2007-10-08
Stat
h
is Kamperis
Fix newpos calc in
m
p
o
o
l_alloc()
a
nd
a
d
d mpo
o
l_st
a
t_get_bloc
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
Stat
h
is
K
a
mperis
Remo
v
e bogus pr
i
ntf()
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Fix typo
in comm
e
nt
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Fi
x
typo in c
o
mment
commit
|
commitdiff
|
tree
2007-10-07
S
tathis
Kamperis
Add so
m
e
comme
n
ts for
mpoo
l
_free()
commit
|
commitdiff
|
tree
2007-10-07
Stath
i
s
Kamperis
Remove bog
u
s code
commit
|
commitdiff
|
tree
2007-10-07
St
a
t
h
is Kam
p
eris
Im
p
lement inhe
r
ita
n
ce --
w
orks, but need
s
clean
u
p
commit
|
commitdiff
|
tree
2007-10-07
Sta
t
his Kamperis
G
eneral cleanu
p
commit
|
commitdiff
|
tree
2007-10-07
Sta
t
his
Kam
p
eris
C
h
ang
e
namespace fr
o
m MPOOL_
t
o
M
P_
commit
|
commitdiff
|
tree
2007-10-06
Stathi
s
Ka
m
peris
Add terminating
condition in mpool_
f
ree()
commit
|
commitdiff
|
tree
2007-10-06
S
t
athis Kamp
e
ris
C
l
ean mpool_fr
e
e() mess
commit
|
commitdiff
|
tree
2007-10-06
Stathi
s
Ka
m
p
eris
Add so
m
e more DPRI
N
TF() ca
l
ls in mpool_free()
commit
|
commitdiff
|
tree
2007-10-06
Sta
t
his Kam
p
eris
Try to co
a
lesce only
if buddy
e
x
i
sts AND is free
commit
|
commitdiff
|
tree
2007-10-06
Stathis
Kamper
i
s
Add
f
l
ags member in blknode
dat
a
struc
t
u
re
commit
|
commitdiff
|
tree
2007-10-04
St
a
th
i
s Kamperis
F
ix calculatio
n
of `
n
ewpos
'
when splitting
commit
|
commitdiff
|
tree
2007-10-04
Stathis
Kamperis
DEBUG symbol is now MPOOL_DEBU
G
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kampe
r
is
Add merges and splits stats if MPOOL_S
T
A
T
S
is d
e
f
i
n
e
d
commit
|
commitdiff
|
tree
2007-10-04
S
tathis Kamperi
s
Add some DPRINTF() ca
l
ls in mp
o
ol_
f
re
e
()
(
sti
l
l a s
t
u
b
)
commit
|
commitdiff
|
tree
2007-10-02
S
tathis K
a
mpe
r
is
Replace
printf() calls to DPRINTF() macro
commit
|
commitdiff
|
tree
2007-10-02
Stathis
K
amperi
s
Add some more printfs in mp
o
ol_free
(
)
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kam
p
eris
Re
m
ove whit
e
space in comment
commit
|
commitdiff
|
tree
2007-10-02
Stathi
s
Kamperis
Remove bogus header file
commit
|
commitdiff
|
tree
2007-10-02
Stathis Ka
m
peris
Add
b
a
s
i
c
impl
e
mentation o
f
mpool_free()
.
No coal
e
sce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Minor cosmet
i
c change in printf()
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Fix typ
o
i
n com
m
ent
commit
|
commitdiff
|
tree
2007-10-02
S
ta
t
h
is Kamperis
Major chan
g
es
in data st
r
uctu
r
es and addi
t
ion o
f
pr
o
filing
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
S
tathis Kampe
r
is
Use unsigned char inste
a
d o
f
unsi
g
ned int for 'boolean
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
S
tathis
Ka
m
peris
Don't do void
p
ointer a
r
ithmetics
commit
|
commitdiff
|
tree
2007-10-01
Stathis
Kamper
i
s
Put func
t
i
o
n prototyp
e
s
, defs and c
o
n
stants in
m
pool
.
h
commit
|
commitdiff
|
tree
2007-10-01
St
a
t
h
is Kam
p
er
i
s
A
dd a minsize field
in mp
o
ol to indicate
m
inimum ch
u
nk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
S
t
athi
s
Kamperis
I
n
i
tial import
o
f the budd
y
memory al
l
ocator
commit
|
commitdiff
|
tree
2007-09-20
S
tat
h
i
s
K
a
mperis
Merge b
r
an
c
h
'
e
x
p
-
hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathi
s
Ka
m
peri
s
Don't check < 0 for unsig
n
e
d
expres
s
i
on
commit
|
commitdiff
|
tree
2007-09-20
Stathis K
a
mperis
Merge
bra
n
ch '
e
xp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathi
s
Kamper
i
s
Merge htable_g
e
t_first_elm(
)
in ht
a
ble_get_next_el
m
()
commit
|
commitdiff
|
tree
2007-09-20
Stathi
s
K
a
mperis
Merge branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamp
e
ris
Add htable_get_first/next_elem
e
nt() functions for
h
t
able
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
S
tathis Kamp
e
ris
Me
r
g
e branch 'e
x
p-
h
ash'
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Update
TODO
file
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperi
s
Ad
d
test case for htable_trav
e
rse
commit
|
commitdiff
|
tree
2007-09-19
Sta
t
his Ka
m
peris
Ad
d
htab
l
e
_
get_s
i
ze(), htable_get_used(), h
t
able_traver
s
e
(
)
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kampe
r
is
Add s
t
ub for htable_get_n
e
x
t
_elm()
commit
|
commitdiff
|
tree
2007-09-19
St
a
this Kamperis
Fix typo in
comment
commit
|
commitdiff
|
tree
2007-09-14
Stathis Kamperis
Add
f
lags HT_
F
REE
K
E
Y
and HT_FREEDATA in
htable
_
f
r
ee_*()
commit
|
commitdiff
|
tree
2007-09-11
S
t
at
h
i
s Kamperis
htable_fre
e
_objects() -> ht
a
ble_fr
e
e
_
all_obj(
)
in
main
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kampe
r
is
printf
c
allback -> myprintf so as n
o
t to s
h
ad
o
w stdio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
Rem
o
ve redundan
t
, when in enu
m
eration li
s
t
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
HT_REPLACED -> HT_
E
XISTS
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
Impl
e
me
n
t htable_f
r
ee_obj() function
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamper
i
s
htable_insert() doe
s
n't ovewrite existing data
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamp
e
ris
h
ta
b
l
e
_insert() r
e
turns HT_REPLACED if
ke
y
alrea
d
y
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
S
t
athis
K
amp
e
r
is
Fre
e
hn_key
commit
|
commitdiff
|
tree
2007-09-10
S
tathis Kampe
r
is
Free ol
d
data when inserting
n
e
w ent
r
y with existi
n
g key
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
Add htable_f
r
ee_objects()
tha
f
r
ees pnode->dat
a
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamper
i
s
Pass
c
allbac
k
function in htable_init(
)
commit
|
commitdiff
|
tree
2007-09-09
S
t
a
this Kamperis
#
i
n
c
l
ud
e
<st
d
def
.
h
> in h
t
able
.
h for
s
ize_t
t
y
pe
commit
|
commitdiff
|
tree
2007-09-09
Stathi
s
Kamperis
htable_grow() shoul
d
retu
r
n HT_OK
o
n success
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Add c
o
mment
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamper
i
s
Cons
t
i
fy variable in
h
tab
l
e
_pr
i
nt()
commit
|
commitdiff
|
tree
2007-09-08
S
t
athis Kamperis
Add htabl
e
_grow()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
u_int -
>
unsigned int
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamp
e
ris
Add comment in main()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
change
s
in dj
b
_
has
h
commit
|
commitdiff
|
tree
2007-09-08
Stathi
s
Kam
p
e
ris
Co
n
stify so
m
e vari
a
bles
commit
|
commitdiff
|
tree
2007-09-08
S
t
a
t
his
K
amper
i
s
Add
a
hhead_t
t
ypedef for
struct htablehe
a
d
commit
|
commitdiff
|
tree
2007-09-08
Stathis
K
am
p
eris
Add proper err
o
r han
d
ling in htable_*()
f
u
n
c
t
ion
s
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperi
s
pta
b
l
e
-> htable in main
.
c
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Ka
m
peris
Add htable_f
r
ee() and don
'
t forget to
u
p
date ht_
s
i
z
e
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
his Kamperis
Rename htable_
d
elete() to htab
l
e_remove(
)
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamp
e
ris
Fi
x
typo and remove
wh
i
tespac
e
commit
|
commitdiff
|
tree
2007-09-07
Stathis
Kamperis
F
i
x comment
i
n previous
c
ommit
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Add htab
l
e_delete() function
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamp
e
r
i
s
str ->
key in djb_hash() function
commit
|
commitdiff
|
tree
next