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
Change error namespace from MP_* to MPOOL_*
2007-10-15
S
t
athis K
a
mperi
s
Change er
r
o
r
namespace
from
M
P_* to MPO
O
L
_
*
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kampe
r
is
rename next_block to next_chunk in blknode_t dat
a
structure
commit
|
commitdiff
|
tree
2007-10-15
S
t
a
this Kamperis
More
validation in
mpool_alloc
commit
|
commitdiff
|
tree
2007-10-13
S
tathis Kampe
r
i
s
Replace bitwise op
e
ra
t
ions with proper macro
s
commit
|
commitdiff
|
tree
2007-10-13
Stathi
s
Kamperis
M
o
re
cleanup
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
L
i
ttle cosmetic stuff
commit
|
commitdiff
|
tree
2007-10-13
Sta
t
his Kam
p
er
i
s
R
emov
e
unused v
a
riable p
commit
|
commitdiff
|
tree
2007-10-12
Stathis Kamp
e
ris
no-ma
l
loc() implement
a
tion works without bug
s
, though
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis Ka
m
peris
First attempt to a malloc()
free implementation --
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
S
t
athis
K
a
mper
i
s
Add a pr
o
gram that prints characters' frequenci
e
s
commit
|
commitdiff
|
tree
2007-10-10
S
tathis Kamperis
Impl
e
ment
full s
i
mulati
o
n
commit
|
commitdiff
|
tree
2007-10-09
Stathis Kamperis
Add f
i
rst attemp
t
of
simulation
-
- crash
e
s ri
g
ht now
commit
|
commitdiff
|
tree
2007-10-08
Stathis
Kampe
r
is
P
ut mai
n
()
i
n test
.
c
an
d
remove it from mpool
.
c
commit
|
commitdiff
|
tree
2007-10-08
Stathis Kamperis
Fi
x
new
p
o
s calc in mpool_al
l
oc()
a
nd add mpool_stat_get_bloc
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
Sta
t
h
i
s Kamperis
Remove
bogus printf()
commit
|
commitdiff
|
tree
2007-10-07
Sta
t
his Kamperis
Fix typo in com
m
e
nt
commit
|
commitdiff
|
tree
2007-10-07
St
a
this Kampe
r
is
Fix
typo in comment
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Add som
e
c
o
mments
for mpool_fre
e
(
)
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Remove bogus
c
o
de
commit
|
commitdiff
|
tree
2007-10-07
Sta
t
his K
a
mper
i
s
I
m
p
lement
i
nheritance -- works, but needs c
l
eanup
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
G
eneral cleanup
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperi
s
C
h
ange namespace from MPO
O
L_ to
M
P_
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
Add terminating condit
i
on in mpoo
l
_
f
ree()
commit
|
commitdiff
|
tree
2007-10-06
S
tathi
s
Kamperis
Clean mpool_free() mess
commit
|
commitdiff
|
tree
2007-10-06
Stat
h
is Kampe
r
is
Add some more DPRINTF() c
a
lls in
m
pool_free()
commit
|
commitdiff
|
tree
2007-10-06
Stathis
Kam
p
e
ri
s
Try to coale
s
ce only if
buddy exists AN
D
is
free
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamp
e
ris
Add flags member in b
l
knode
d
ata st
r
uc
t
ure
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
Fix
c
alculation of
`new
p
os'
w
h
en splitting
commit
|
commitdiff
|
tree
2007-10-04
Stathis
Ka
m
p
eris
DEBUG symbol is
n
ow M
P
O
O
L_
D
EBU
G
commit
|
commitdiff
|
tree
2007-10-04
Stathis
Kamp
e
r
i
s
Add mer
g
es a
n
d spl
i
ts stats if
MPOOL
_
STATS is d
e
fined
commit
|
commitdiff
|
tree
2007-10-04
Stat
h
is
K
am
p
eris
Add some DPRI
N
TF
(
) calls
in mpool
_
f
r
ee() (st
i
ll a stu
b
)
commit
|
commitdiff
|
tree
2007-10-02
S
t
ath
i
s Kamper
i
s
R
e
place
p
r
i
ntf()
c
a
lls
t
o
D
P
RINTF(
)
macr
o
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kampe
r
is
Add some m
o
re printfs in m
p
o
o
l_free()
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Rem
o
v
e
wh
i
t
e
s
p
ace in commen
t
commit
|
commitdiff
|
tree
2007-10-02
S
t
at
h
is Kamperis
Remove
b
ogus heade
r
file
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperi
s
Add
basic imple
m
ent
a
tion o
f
mpool_fr
e
e()
.
No coalesce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kampe
r
is
Min
o
r cosmetic ch
a
n
ge in printf()
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
F
i
x
t
ypo in
c
ommen
t
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kampe
r
is
Major change
s
in
d
a
t
a s
t
ru
c
tures and addition of profiling
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kam
p
eris
Us
e
u
nsigned c
h
ar instead of un
s
igned int f
o
r
'
b
oolean
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis Ka
m
peris
Don't d
o
void pointer arithmetics
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamper
i
s
Put function prototypes, defs and cons
t
ants in mpool
.
h
commit
|
commitdiff
|
tree
2007-10-01
Stathis K
a
mperis
Add a minsiz
e
field in
m
pool to indicate minimum ch
u
nk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stath
i
s K
a
mperis
In
i
t
ial i
m
port o
f
the buddy memory
allo
c
ator
commit
|
commitdiff
|
tree
2007-09-20
Stathi
s
Ka
m
peris
Merge branc
h
'e
x
p-ha
s
h'
commit
|
commitdiff
|
tree
2007-09-20
S
tathis Kamperis
Don'
t
c
heck < 0 for unsigne
d
expres
s
ion
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kampe
r
is
Merge br
a
nc
h
'exp
-
hash'
commit
|
commitdiff
|
tree
2007-09-20
S
t
athis Kamp
e
ris
M
e
rg
e
htable
_
g
et
_
first_e
l
m()
i
n
h
tabl
e
_get
_
ne
x
t_elm()
commit
|
commitdiff
|
tree
2007-09-20
S
tathis Kamperis
Merge branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
St
a
this Kamperis
Add htable_get_first/nex
t
_e
l
ement(
)
functions for htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamper
i
s
Merge b
r
a
n
ch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-19
S
tathis Kamperi
s
U
p
date TODO file
commit
|
commitdiff
|
tree
2007-09-19
St
a
this Kamperis
Add
t
est
case fo
r
htabl
e
_
tra
v
erse
commit
|
commitdiff
|
tree
2007-09-19
S
t
at
h
i
s Kamperis
A
dd htable_get_size(), htable_get_use
d
(
), htable_traverse()
commit
|
commitdiff
|
tree
2007-09-19
Stathi
s
K
amperis
Add
stub f
o
r
h
t
able_get_nex
t
_elm(
)
commit
|
commitdiff
|
tree
2007-09-19
Sta
t
his Kamperis
Fix ty
p
o in comment
commit
|
commitdiff
|
tree
2007-09-14
S
tathis Kamperis
Add
f
lags HT_FREEKEY and HT_FREEDATA in htab
l
e
_free_*()
commit
|
commitdiff
|
tree
2007-09-11
S
tathis Kampe
r
is
h
t
a
ble
_
free_objects()
-> htable_free_all_obj() in m
a
in
.
c
commit
|
commitdiff
|
tree
2007-09-11
St
a
this
Kamperis
p
r
intf c
a
llback -> m
y
printf so as
n
o
t to sh
a
d
ow
s
tdio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Stat
h
i
s
Kamperis
Remove
redundan
t
, w
h
en i
n
enum
e
rat
i
on list
commit
|
commitdiff
|
tree
2007-09-10
Stat
h
is Kamperis
HT_
R
EPLACED
-> HT_EXISTS
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamp
e
ris
Impl
e
ment ht
a
b
l
e
_free_obj() function
commit
|
commitdiff
|
tree
2007-09-10
S
t
a
this Kamperis
htable
_
insert() doesn't ovewrite
e
xistin
g
d
a
t
a
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
h
t
able_i
n
s
e
rt(
)
r
eturns HT_
R
EPLACED if ke
y
al
r
eady
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Sta
t
h
i
s
K
a
mperis
F
r
e
e hn_key
commit
|
commitdiff
|
tree
2007-09-10
Stathis K
a
mp
e
ri
s
Fre
e
old data w
h
en in
s
erti
n
g new entr
y
with exi
s
ting key
commit
|
commitdiff
|
tree
2007-09-09
S
tathi
s
Kamperis
Add htable_free_objects() tha frees
p
n
o
de->data
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kam
p
er
i
s
Pass callba
c
k functi
o
n in htabl
e
_init()
commit
|
commitdiff
|
tree
2007-09-09
St
a
t
h
i
s Kamper
i
s
#include <stddef
.
h> in htable
.
h
for si
z
e
_
t
type
commit
|
commitdiff
|
tree
2007-09-09
Stathis K
a
mperi
s
htable_grow() should return HT_OK on s
u
c
c
ess
commit
|
commitdiff
|
tree
2007-09-08
Stathi
s
Kamperis
Add comme
n
t
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Co
n
stify vari
a
ble in
htabl
e
_pri
n
t
()
commit
|
commitdiff
|
tree
2007-09-08
Stathis
K
amperis
Add htable_grow()
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
is Kamper
i
s
u
_
int -> unsign
e
d i
n
t
commit
|
commitdiff
|
tree
2007-09-08
S
tathis Kamperis
Add comm
e
nt in main
(
)
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
changes in djb_hash
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Constify some
v
ariables
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamper
i
s
A
dd a h
h
e
a
d_t typed
e
f for struct hta
b
le
h
e
a
d
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamp
e
r
i
s
Add
p
roper
e
r
ror han
d
ling in htable_*()
f
un
c
tions
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Kamperis
ptable -> htab
l
e i
n
main
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is
K
amperis
Add ht
a
ble_free()
a
n
d
d
on't forget
t
o update ht_size
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis
K
amperi
s
Ren
a
m
e htable
_
delete() to
htable_remove()
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is Kampe
r
is
F
i
x
t
y
po and remo
v
e whitespace
commit
|
commitdiff
|
tree
2007-09-07
Stathis Ka
m
peris
Fix comment i
n
previous commit
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Add
h
table_de
l
ete() fun
c
tion
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
str -> key in djb_
h
ash() function
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamperis
Include
a
r
gumen
t
s
'
names in f
u
nction prototypes
commit
|
commitdiff
|
tree
2007-09-07
Stathis
K
amperis
p
a
ss void *key
argument in
h
table_print()
commit
|
commitdiff
|
tree
2007-09-07
Stath
i
s
K
am
p
e
ris
Add comment
s
for ht
_
size variable
commit
|
commitdiff
|
tree
2007-09-07
St
a
this K
a
mperis
Constify variable in htable_p
r
int(
)
commit
|
commitdiff
|
tree
2007-09-07
Stathis Ka
m
peri
s
Move h
t
a
b
l
e
files to htable/
s
ubdirectory
commit
|
commitdiff
|
tree
2007-09-07
Stathis Ka
m
peri
s
S
plit htab
l
e implementation to htable
.
c and
h
table
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
S
t
a
this Kamp
e
ris
Add some comm
e
nts
commit
|
commitdiff
|
tree
2007-09-07
S
tathis
K
a
m
p
eris
C
o
nstify s
o
m
e variab
l
es
commit
|
commitdiff
|
tree
2007-09-07
Stathis
Kamp
e
ris
ht_printf() h
a
s a void
*
data argum
e
nt
commit
|
commitdiff
|
tree
2007-09-07
Stathis
ht_c
m
p
f()
returns 0 if args are
equ
a
l
commit
|
commitdiff
|
tree
2007-09-06
Stath
i
s
Ad
d
cal
l
back
f
unctions for h
a
sh
,
c
o
mpare an
d
pr
i
nt
commit
|
commitdiff
|
tree
2007-09-06
S
t
a
this
Add htable_
l
ookup()
commit
|
commitdiff
|
tree
2007-09-06
Stat
h
is
Fix
a
se
g
fault
commit
|
commitdiff
|
tree
2007-09-06
S
t
at
h
is
Fix buffer overruns
commit
|
commitdiff
|
tree
next