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
Remove whitespace
2007-10-20
Stathis
K
amperis
Remove w
h
itespace
commit
|
commitdiff
|
tree
2007-10-20
Stath
i
s
Kamperis
Add
s
tress te
s
t case
commit
|
commitdiff
|
tree
2007-10-20
Stathis Kamp
e
ris
First attempt t
o
cleanup
commit
|
commitdiff
|
tree
2007-10-19
St
a
this K
a
mperis
Check a
g
a
i
ns
t
MPOOL_EBAD
V
A
L
plus some cle
a
n
up
commit
|
commitdiff
|
tree
2007-10-19
Stathis K
a
mperis
Check against MPOOL_EBAD
V
A
L
plus
s
ome
m
inor cleanup
commit
|
commitdiff
|
tree
2007-10-17
Stathis
K
a
mperis
Fix a typoe
commit
|
commitdiff
|
tree
2007-10-17
Stat
h
is Kamp
e
ris
M
ake
mpool
_
printbl
k
s() static and
f
i
x a
n
un/signed
.
.
.
commit
|
commitdiff
|
tree
2007-10-17
Stathis Kamperis
Add 2D array
dyn
a
mic all
o
cati
o
n test cas
e
commit
|
commitdiff
|
tree
2007-10-15
S
tathis
K
amp
e
ri
s
test case
f
ile is not exe
c
u
table
commit
|
commitdiff
|
tree
2007-10-15
St
a
t
h
is Kamperi
s
Fix possi
b
le mem leak
i
n te
s
t
case
commit
|
commitdiff
|
tree
2007-10-15
S
t
athis Ka
m
peris
Ad
d
a
s
i
m
plest pos
s
ible testcase --
more will follow
commit
|
commitdiff
|
tree
2007-10-15
S
tathis Kamperis
Use proper in
mpool_p
r
intblk
s
()
commit
|
commitdiff
|
tree
2007-10-15
Stathis
K
amperis
Return i
m
mediately i
f
bud
d
y is out of po
o
l
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
Use size_t instead of unsigned int
w
h
e
n
a
p
p
ropriate
commit
|
commitdiff
|
tree
2007-10-15
St
a
this Kamper
i
s
P
ut
the stat
f
unctions in
a separate
.
c files
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamp
e
r
i
s
Fix many comm
e
n
t
s an
d
other mino
r
stuff
commit
|
commitdiff
|
tree
2007-10-15
St
a
this Kamper
i
s
Change error namespace from M
P
_*
to MPOOL_*
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
re
n
ame
n
ext
_
block to next_chunk i
n
blknode_t data
s
tr
u
c
t
ure
commit
|
commitdiff
|
tree
2007-10-15
Stath
i
s
K
amperi
s
M
or
e
valid
a
tion i
n
mpool_alloc
commit
|
commitdiff
|
tree
2007-10-13
S
tathis Kamperis
Repl
a
ce bitwise
o
perations with
prope
r
macros
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
More cl
e
anup
commit
|
commitdiff
|
tree
2007-10-13
Stat
h
is Kamper
i
s
Little cosme
t
ic stuff
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamper
i
s
Remove u
n
used
variable p
commit
|
commitdiff
|
tree
2007-10-12
Stathis K
a
mperis
n
o
-mall
o
c() impl
e
m
e
ntati
o
n work
s
withou
t
bugs, though
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Sta
t
his Kamperis
Fir
s
t
a
t
t
empt to
a malloc() free implement
a
tion
--
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis Kamper
i
s
Ad
d
a pr
o
gram that prints character
s
' frequencies
commit
|
commitdiff
|
tree
2007-10-10
Stathis Kamperis
Implem
e
n
t
f
ul
l
s
imulation
commit
|
commitdiff
|
tree
2007-10-09
Stathis Kamperi
s
Add
first attempt of simulat
i
on -- c
r
ashes ri
g
ht now
commit
|
commitdiff
|
tree
2007-10-08
St
a
this Kamp
e
ris
Put main() in test
.
c an
d
r
emove it
from mpoo
l
.
c
commit
|
commitdiff
|
tree
2007-10-08
Stat
h
is Kam
p
eris
Fix newpos cal
c
in mpool_alloc() and add mpool_stat_get_bloc
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamp
e
ris
Remove bog
u
s printf()
commit
|
commitdiff
|
tree
2007-10-07
S
tathis
K
amp
e
r
i
s
Fix typo in comment
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperi
s
Fix typo in comment
commit
|
commitdiff
|
tree
2007-10-07
Stathis
Kamperis
Add so
m
e
c
o
m
ments for mpool
_
free()
commit
|
commitdiff
|
tree
2007-10-07
S
tathis Kamperis
Remov
e
bogus cod
e
commit
|
commitdiff
|
tree
2007-10-07
St
a
this Kamperis
Implement
i
nh
e
r
i
tance -- works, but
needs cle
a
nup
commit
|
commitdiff
|
tree
2007-10-07
Stathis
K
amperis
Gene
r
al
c
leanup
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Change name
s
pace from MPOOL_ to MP_
commit
|
commitdiff
|
tree
2007-10-06
S
t
athis Kamp
e
ris
Add ter
m
inati
n
g
cond
i
tion in mp
o
o
l_free()
commit
|
commitdiff
|
tree
2007-10-06
S
t
athis Ka
m
p
e
r
is
C
l
ean
m
poo
l
_free() mess
commit
|
commitdiff
|
tree
2007-10-06
Stathi
s
Kamp
e
ris
A
d
d
some
m
o
r
e
DPRINTF
(
)
calls in
m
pool_free()
commit
|
commitdiff
|
tree
2007-10-06
Stat
h
is Kam
p
eris
Try to coalesce only if
buddy exist
s
AND
i
s
free
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kam
p
eris
Ad
d
fl
a
gs member
i
n blknod
e
data structure
commit
|
commitdiff
|
tree
2007-10-04
Stath
i
s Kamperis
Fix calculation of `
n
ewpos
'
when splitting
commit
|
commitdiff
|
tree
2007-10-04
S
tathis Kamperis
DEBUG
symbol is n
o
w MPOOL_DEBU
G
commit
|
commitdiff
|
tree
2007-10-04
S
t
athis Ka
m
p
e
ris
Ad
d
merges
and splits stats if M
P
O
OL_STATS is defined
commit
|
commitdiff
|
tree
2007-10-04
St
a
th
i
s Ka
m
peris
Add s
o
me DP
R
IN
T
F() calls
i
n mpool
_
free() (still a stub)
commit
|
commitdiff
|
tree
2007-10-02
Stathis Ka
m
peris
R
eplace printf() cal
l
s to DPRINTF()
m
acro
commit
|
commitdiff
|
tree
2007-10-02
S
tathis Kamperis
Add some more printfs in mpool_
f
ree(
)
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Remove whitespace i
n
comment
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamper
i
s
Remove bogus header file
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperi
s
Add basi
c
imp
l
em
e
ntati
o
n of m
p
ool_free()
.
N
o co
a
lesce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
S
t
athis Kamper
i
s
Minor cosmetic change
i
n printf()
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kampe
r
i
s
Fi
x
typo
i
n com
m
ent
commit
|
commitdiff
|
tree
2007-10-02
S
t
athis
Kampe
r
is
Maj
o
r cha
n
ges in
d
ata struc
t
u
res and addi
t
ion of pr
o
filing
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
S
t
athis Kamperis
Use unsign
e
d char ins
t
ead of unsigned int for 'bo
o
l
e
an
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamperis
Don't do vo
i
d p
o
in
t
er a
r
ithmetics
commit
|
commitdiff
|
tree
2007-10-01
S
t
athis Kamperis
Put func
t
ion p
r
o
tot
y
pes, defs and constants
i
n
mpool
.
h
commit
|
commitdiff
|
tree
2007-10-01
S
tathis Kamperis
A
d
d a minsize field in mpool
t
o indicat
e
mini
m
um chunk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stath
i
s Kamperis
I
nitial impo
r
t
of
the buddy memory allo
c
a
tor
commit
|
commitdiff
|
tree
2007-09-20
Stat
h
i
s
Kamp
e
r
i
s
Merge branch 'ex
p
-hash
'
commit
|
commitdiff
|
tree
2007-09-20
S
tathi
s
Kam
p
er
i
s
Don't
check < 0 f
o
r unsig
n
ed expression
commit
|
commitdiff
|
tree
2007-09-20
Sta
t
his Ka
m
peris
Merg
e
branch 'e
x
p-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamp
e
ri
s
Merge htable
_
g
et_first_el
m
() in htable_get_next_elm(
)
commit
|
commitdiff
|
tree
2007-09-20
S
tathis Kamperis
Mer
g
e b
r
anch 'exp-hash
'
commit
|
commitdiff
|
tree
2007-09-20
Stathi
s
Kamperis
Add ht
a
ble
_
get_first/next_eleme
n
t() functions for htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Stath
i
s Kam
p
eris
M
e
rge bra
n
ch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-19
S
t
athis Kamper
i
s
Update
TODO file
commit
|
commitdiff
|
tree
2007-09-19
Stathis Ka
m
peri
s
A
d
d test
c
ase for htable_traverse
commit
|
commitdiff
|
tree
2007-09-19
Stathi
s
Ka
m
peris
Add htable_g
e
t_s
i
ze
(
), htable_get
_
used(
)
,
htable_trav
e
rse()
commit
|
commitdiff
|
tree
2007-09-19
Stathi
s
Kamperi
s
Add stub
f
or h
t
able_get
_
next
_
elm(
)
commit
|
commitdiff
|
tree
2007-09-19
Stathis Ka
m
peris
Fix typo in
com
m
ent
commit
|
commitdiff
|
tree
2007-09-14
Stathis Kamp
e
ris
A
d
d fla
g
s HT_F
R
EEKEY and HT_FREEDATA in htable_fre
e
_*()
commit
|
commitdiff
|
tree
2007-09-11
Stath
i
s Kamperis
htable
_
f
ree_objec
t
s() ->
htable_f
r
ee_all_o
b
j() in main
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
p
rintf ca
l
lbac
k
->
mypri
n
t
f
s
o
as no
t
t
o shadow st
d
i
o
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
S
tat
h
is
Kamper
i
s
R
e
mov
e
redunda
n
t ,
w
hen in enumerat
i
on list
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamp
e
ri
s
HT_RE
P
LA
C
ED -> H
T
_EXISTS
commit
|
commitdiff
|
tree
2007-09-10
Stathi
s
Kamperi
s
Implement htable_free_obj()
function
commit
|
commitdiff
|
tree
2007-09-10
St
a
this K
a
mperis
htable_i
n
sert() do
e
s
n
't ovewrite e
x
i
sting data
commit
|
commitdiff
|
tree
2007-09-10
St
a
this Ka
m
p
e
ri
s
htable_ins
e
rt() returns HT_RE
P
LACED if key al
r
eady
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Stathi
s
K
a
m
p
e
ris
F
r
e
e hn_key
commit
|
commitdiff
|
tree
2007-09-10
St
a
this Ka
m
peris
Free old data when insertin
g
ne
w
entry
with existing
k
ey
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamp
e
r
i
s
Add htable_free_objects() tha frees
pnode->data
commit
|
commitdiff
|
tree
2007-09-09
Stathis
K
amper
i
s
Pas
s
callbac
k
f
u
n
c
tion
i
n htable_i
n
it()
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
#in
c
lude <std
d
ef
.
h> in htable
.
h for s
i
ze_t type
commit
|
commitdiff
|
tree
2007-09-09
S
tat
h
i
s
Kamperis
htable_grow()
s
houl
d
retu
r
n HT_OK
o
n s
u
c
cess
commit
|
commitdiff
|
tree
2007-09-08
S
t
athis Kamperis
Add comment
commit
|
commitdiff
|
tree
2007-09-08
Sta
t
his
K
amperis
Co
n
s
t
i
fy var
i
a
b
le in htable_pr
i
nt()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kampe
r
is
Add htabl
e
_
grow()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
u_int -> unsigned
int
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Add comment in
m
a
i
n
()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamper
i
s
changes in
djb_has
h
commit
|
commitdiff
|
tree
2007-09-08
Stathis
K
a
mpe
r
is
Constify some variables
commit
|
commitdiff
|
tree
2007-09-08
S
t
a
thi
s
Kamper
i
s
Add a hhead_t typedef for struct htablehea
d
commit
|
commitdiff
|
tree
2007-09-08
S
tathis
Kamperis
Add p
r
o
p
er e
r
ror handling i
n
htable_*() fu
n
ctions
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
p
t
a
ble ->
h
t
able in main
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Add htable_free(
)
and d
o
n't forg
e
t to update ht
_
si
z
e
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is K
a
mperis
Rena
m
e htable_dele
t
e() to
h
t
able_remove()
commit
|
commitdiff
|
tree
2007-09-07
Stathis
Kamperi
s
Fix typo and r
e
move wh
i
te
s
pace
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is
Kam
p
er
i
s
Fix comment i
n
previou
s
commit
commit
|
commitdiff
|
tree
next