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
Sta
t
his Kamperis
F
i
rst attempt to cle
a
n
up
commit
|
commitdiff
|
tree
2007-10-19
St
a
thi
s
Kamperis
Check aga
i
nst M
P
O
OL
_
E
B
ADVA
L
plus some
cl
e
anup
commit
|
commitdiff
|
tree
2007-10-19
Stathis Kamperis
C
heck against MP
O
OL
_
E
B
ADVAL p
l
u
s some minor cleanu
p
commit
|
commitdiff
|
tree
2007-10-17
Stathis
K
a
mperis
Fix a
typoe
commit
|
commitdiff
|
tree
2007-10-17
Stathis Kamperi
s
Make mpool_printb
l
ks() s
t
a
t
i
c
a
nd fi
x
an un/signed
.
.
.
commit
|
commitdiff
|
tree
2007-10-17
Stathis Kamp
e
ris
Add 2D array dynami
c
a
llocatio
n
test cas
e
commit
|
commitdiff
|
tree
2007-10-15
St
a
this Kamp
e
ris
test c
a
se file is not e
x
ec
u
tabl
e
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
Fix possib
l
e me
m
leak in
test case
commit
|
commitdiff
|
tree
2007-10-15
S
t
at
h
is Kamperis
Add a simp
l
est
p
ossible testcase -- more wi
l
l follow
commit
|
commitdiff
|
tree
2007-10-15
Stathis
Kam
p
eris
Use
p
rop
e
r in mpool_print
b
l
ks()
commit
|
commitdiff
|
tree
2007-10-15
S
tathis Kamperis
R
etu
r
n immed
i
ately if buddy is out of p
o
ol
commit
|
commitdiff
|
tree
2007-10-15
Stathis
Kam
p
eris
U
se s
i
ze_t instead of unsig
n
ed int when appr
o
priate
commit
|
commitdiff
|
tree
2007-10-15
Stathis
Kamperi
s
Put the sta
t
f
u
nctions i
n
a
s
eparate
.
c
files
commit
|
commitdiff
|
tree
2007-10-15
Sta
t
his Kamperis
Fix
man
y
c
omment
s
and other minor
s
tuff
commit
|
commitdiff
|
tree
2007-10-15
Stathis
K
a
m
p
eris
Ch
a
nge
erro
r
namespace from MP_* to MPO
O
L_*
commit
|
commitdiff
|
tree
2007-10-15
Sta
t
his Kamperis
rename next_b
l
ock t
o
ne
x
t_
c
hunk in blknode_t
d
at
a
struc
t
u
re
commit
|
commitdiff
|
tree
2007-10-15
Stathis Ka
m
peris
More validation in mpool_al
l
oc
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
R
epl
a
ce bi
t
wise operations with
p
roper macros
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
More clean
u
p
commit
|
commitdiff
|
tree
2007-10-13
Stathis Ka
m
peris
Little
cosmeti
c
stuff
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamp
e
r
is
Re
m
ove unused v
a
riable p
commit
|
commitdiff
|
tree
2007-10-12
Stat
h
is Ka
m
pe
r
is
no-mall
o
c() implementation works
w
i
t
hout bugs, thou
g
h
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stath
i
s Kamperis
Fi
r
s
t
atte
m
pt to a malloc
(
) fr
e
e implementation --
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis Kamperis
Add a pr
o
gram t
h
a
t p
r
ints characters'
f
r
e
q
u
encie
s
commit
|
commitdiff
|
tree
2007-10-10
Stathis Ka
m
peris
Implement f
u
ll si
m
ulation
commit
|
commitdiff
|
tree
2007-10-09
S
ta
t
his
K
ampe
r
is
A
dd first attem
p
t of simulatio
n
--
c
rash
e
s
r
ight now
commit
|
commitdiff
|
tree
2007-10-08
St
a
this Kamperi
s
Put m
a
in(
)
in test
.
c
and remov
e
it from
mpool
.
c
commit
|
commitdiff
|
tree
2007-10-08
Stathi
s
K
ampe
r
is
F
ix newpos calc
i
n mpool_alloc() an
d
add
mpool_stat_get_bloc
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
St
a
t
his
K
amperis
Remove bogus printf()
commit
|
commitdiff
|
tree
2007-10-07
St
a
t
his Kamperis
Fix typo in
c
omme
n
t
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamp
e
ri
s
Fix typo in comment
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamper
i
s
Add som
e
comments
f
or mpool
_
free
(
)
commit
|
commitdiff
|
tree
2007-10-07
Stat
h
is Kamperi
s
Remove
bogus code
commit
|
commitdiff
|
tree
2007-10-07
Sta
t
his Kamperis
Implemen
t
inheritanc
e
-- works, bu
t
needs
c
leanup
commit
|
commitdiff
|
tree
2007-10-07
Stathis K
a
mperis
Gen
e
ral
c
leanup
commit
|
commitdiff
|
tree
2007-10-07
Stathis
Kamp
e
r
is
C
h
an
g
e
namespace
f
rom
M
POOL_ to MP
_
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kampe
r
is
Ad
d
t
e
rm
i
nat
i
ng condition
in mpo
o
l
_free()
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
Clean mpool_fr
e
e() mess
commit
|
commitdiff
|
tree
2007-10-06
Stathis K
a
mpe
r
is
Ad
d
s
ome more
DPRIN
T
F() ca
l
ls in mp
o
ol_free()
commit
|
commitdiff
|
tree
2007-10-06
Stathis
K
am
p
e
r
is
Try
to
c
o
a
lesc
e
only
if b
u
d
dy exi
s
ts AND i
s
free
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
Add flags memb
e
r in bl
k
node data structure
commit
|
commitdiff
|
tree
2007-10-04
Stathis
K
am
p
eris
F
ix calculation of `n
e
wpos' when splitting
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
D
E
BUG symbol is now
M
POOL_DEB
U
G
commit
|
commitdiff
|
tree
2007-10-04
Stathis
Kampe
r
i
s
Add
m
erges and splits stats
i
f MP
O
OL_S
T
A
T
S
is defined
commit
|
commitdiff
|
tree
2007-10-04
Stathis Ka
m
peris
Add som
e
DPRINTF() calls in mpool_free() (
s
ti
l
l a stub)
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamp
e
ris
Re
p
lace printf() calls to DPRINT
F
(
)
macro
commit
|
commitdiff
|
tree
2007-10-02
S
t
a
t
his Kamperis
Add some
more pr
i
ntf
s
in mp
o
ol_free()
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperi
s
Remove whitespace in comment
commit
|
commitdiff
|
tree
2007-10-02
S
t
athis
K
amperis
Re
m
ove bogus h
e
ader fil
e
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
A
d
d
ba
s
ic implementa
t
i
o
n of mpool_fre
e
()
.
No co
a
lesce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
his K
a
mperis
Minor c
o
smetic change in printf()
commit
|
commitdiff
|
tree
2007-10-02
St
a
t
h
i
s
K
a
m
pe
r
is
Fi
x
ty
p
o in
c
o
m
m
e
nt
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
hi
s
Kamperis
M
a
jo
r
changes in data structur
e
s and ad
d
ition of pr
o
f
i
ling
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathi
s
Kamperis
U
s
e unsig
n
ed
char instead of unsig
n
e
d
in
t
f
o
r 'bo
o
lean
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis Ka
m
peris
Don't do void po
i
nter
a
r
i
th
m
etics
commit
|
commitdiff
|
tree
2007-10-01
Stathis
K
amperis
Put
f
unction pro
t
ot
y
pes,
d
e
f
s and constants in mpool
.
h
commit
|
commitdiff
|
tree
2007-10-01
S
t
athis Kamp
e
ris
A
d
d a m
i
n
s
ize
field
in m
p
o
ol to indicate minimum
chunk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
S
tathis Kamperis
I
nitial i
m
port
of
the b
u
ddy mem
o
r
y
a
l
l
ocator
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperi
s
M
e
rge branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathi
s
Kamperis
Don
'
t check <
0 for
unsig
n
ed expressio
n
commit
|
commitdiff
|
tree
2007-09-20
Stathis
K
amperis
Merge branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Merge htable_get_first_elm() in htable
_
g
et_
n
ext_el
m
()
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kampe
r
is
Merge branch '
e
xp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kam
p
eris
Add
htable_ge
t
_firs
t
/next_ele
m
ent() functions for htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
St
a
thi
s
Kamperis
Merge branc
h
'
exp
-
ha
s
h'
commit
|
commitdiff
|
tree
2007-09-19
Stathi
s
Kamperis
Updat
e
TODO
f
ile
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kam
p
eris
Add test case for htable
_
traverse
commit
|
commitdiff
|
tree
2007-09-19
S
tathis Kamperis
Ad
d
htable_get_size(), h
t
a
bl
e
_get_used(), htable_traverse()
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Add stub for htabl
e
_get_next_elm()
commit
|
commitdiff
|
tree
2007-09-19
Stathi
s
Kamperis
Fix typo in
comme
n
t
commit
|
commitdiff
|
tree
2007-09-14
Stathis Kam
p
eris
Add flags HT
_
FREE
K
EY and HT_F
R
EEDATA in ht
a
ble_fre
e
_*()
commit
|
commitdiff
|
tree
2007-09-11
S
t
athis
K
a
mp
e
r
is
htab
l
e
_
f
ree_object
s
() ->
h
t
a
ble_free_all_obj() in
main
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kam
p
eris
prin
t
f callback ->
m
ypr
i
n
tf
so
a
s
n
o
t t
o
shadow s
t
d
i
o
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperi
s
Re
m
ove redundant , when in enumer
a
tion list
commit
|
commitdiff
|
tree
2007-09-10
St
a
this Kampe
r
is
H
T
_REPLACED -
>
HT_EXISTS
commit
|
commitdiff
|
tree
2007-09-10
St
a
t
h
is
Kamperis
Imp
l
ement htable_free_obj(
)
fu
n
ction
commit
|
commitdiff
|
tree
2007-09-10
Stathis
Kamperis
h
t
ab
l
e_in
s
ert() doesn't ovewrite
e
x
i
sti
n
g data
commit
|
commitdiff
|
tree
2007-09-10
S
t
athis Kamp
e
ris
htable
_
insert() retu
r
n
s
HT_REPLACED if
key already
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
Free hn_key
commit
|
commitdiff
|
tree
2007-09-10
S
tat
h
is Kamperis
Free old data wh
e
n inserting new e
n
try with exi
s
ting k
e
y
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamper
i
s
Add h
t
able_free
_
o
b
j
e
c
ts() tha fr
e
es pnode-
>
da
t
a
commit
|
commitdiff
|
tree
2007-09-09
Stath
i
s Ka
m
pe
r
is
Pass
ca
l
lba
c
k functio
n
in htable_init()
commit
|
commitdiff
|
tree
2007-09-09
Stathi
s
K
amper
i
s
#include <stddef
.
h> in htable
.
h for size_t type
commit
|
commitdiff
|
tree
2007-09-09
Stath
i
s Kamperis
htab
l
e_g
r
o
w
(
) should retu
r
n HT_OK on su
c
c
es
s
commit
|
commitdiff
|
tree
2007-09-08
St
a
this Kampe
r
is
Add comment
commit
|
commitdiff
|
tree
2007-09-08
St
a
this Kamperis
Constify variable i
n
ht
a
ble_print()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamp
e
ris
A
dd
ht
a
ble_grow()
commit
|
commitdiff
|
tree
2007-09-08
Stathis K
a
mp
e
r
i
s
u
_
int ->
u
n
s
i
g
ned int
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
is K
a
mper
i
s
Add
c
o
m
ment in main()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
chang
e
s in djb_hash
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
is Kamperis
Constify some variables
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Add a hhea
d
_t
t
ypedef for str
u
ct hta
b
l
ehead
commit
|
commitdiff
|
tree
2007-09-08
Sta
t
his
K
amperis
Add proper error ha
n
d
l
i
ng in
h
table_*()
functions
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kam
p
eris
p
t
ab
l
e -> ht
a
ble i
n
main
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
i
s
Kamp
e
ris
Add hta
b
le_free() and
don't forget to updat
e
ht_size
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
his Kamp
e
ris
Rename htable_de
l
ete
(
) to htable
_
remove()
commit
|
commitdiff
|
tree
2007-09-07
St
a
this
K
amperis
Fix typo a
n
d rem
o
ve whitesp
a
ce
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
his Kam
p
e
r
is
Fix com
m
e
n
t in previous commit
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Add htable
_
delete()
fun
c
tion
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
str
-> key
in djb
_
hash() funct
i
on
commit
|
commitdiff
|
tree
next