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
Use size_t instead of unsigned int when appropriate
2007-10-15
Stathis Kam
p
eris
Use size_t in
s
tead
o
f uns
i
gne
d
int when appr
o
p
r
i
ate
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kam
p
er
i
s
Put
t
h
e stat functio
n
s in
a
separate
.
c files
commit
|
commitdiff
|
tree
2007-10-15
S
tathis Ka
m
peris
Fix man
y
comments and other mi
n
or
stuff
commit
|
commitdiff
|
tree
2007-10-15
Stathis Ka
m
peri
s
Change error namespace from MP_* t
o
MPOOL_*
commit
|
commitdiff
|
tree
2007-10-15
S
t
athis
Kampe
r
is
rename next_block to
n
ext_
c
hunk
in
b
lkno
d
e_t da
t
a
s
t
ruc
t
u
r
e
commit
|
commitdiff
|
tree
2007-10-15
Stath
i
s K
a
mper
i
s
Mor
e
vali
d
a
t
ion in mpool
_
a
l
loc
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamper
i
s
Replace bi
t
wise operations w
i
th prop
e
r macros
commit
|
commitdiff
|
tree
2007-10-13
Stathis K
a
mperis
M
o
r
e clean
u
p
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
Little cosmetic
s
tuff
commit
|
commitdiff
|
tree
2007-10-13
Stathis Ka
m
pe
r
i
s
Remove unused variable
p
commit
|
commitdiff
|
tree
2007-10-12
Stathis
Ka
m
peris
no-malloc() implement
a
tion works without b
u
g
s, though
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis Kamperis
F
i
rst att
e
mpt to a malloc() free implementation --
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis Kamper
i
s
A
d
d a program that prints characters
'
f
r
equencies
commit
|
commitdiff
|
tree
2007-10-10
Stathi
s
K
a
m
p
eris
Imple
m
ent full simulation
commit
|
commitdiff
|
tree
2007-10-09
S
tat
h
is K
a
mperis
Ad
d
fir
s
t attempt of simula
t
i
on -
-
crashes right n
o
w
commit
|
commitdiff
|
tree
2007-10-08
Stathis Kamperis
P
ut ma
i
n() in test
.
c and
remove it
f
rom mpool
.
c
commit
|
commitdiff
|
tree
2007-10-08
Sta
t
his Kamperi
s
Fix n
e
wpos cal
c
in mpool_alloc
(
) and add mpool_stat_get_
b
l
o
c
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kampe
r
is
Remove bogus
p
r
intf()
commit
|
commitdiff
|
tree
2007-10-07
Stathis K
a
m
p
eris
Fix
t
ypo in comment
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Fix
t
ypo in comment
commit
|
commitdiff
|
tree
2007-10-07
Stathi
s
Kamperis
Add some comments for mpool_free()
commit
|
commitdiff
|
tree
2007-10-07
Stathi
s
Kamperis
Re
m
ove bogus code
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
I
mplement in
h
e
r
itanc
e
--
w
o
rks
,
but
n
eeds cle
a
nup
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
General clea
n
up
commit
|
commitdiff
|
tree
2007-10-07
Stath
i
s K
a
mperi
s
C
h
ange namespace fro
m
MPOOL_ to MP_
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
Add terminating c
o
n
d
i
t
ion in mpool_free()
commit
|
commitdiff
|
tree
2007-10-06
Stath
i
s Kamperis
Clean mpool_free() mess
commit
|
commitdiff
|
tree
2007-10-06
Stathis
Kamperis
A
d
d
some mo
r
e
DPR
I
NTF()
c
alls in mpoo
l
_free()
commit
|
commitdiff
|
tree
2007-10-06
Sta
t
his Kampe
r
is
Try to coalesce only i
f
bu
d
d
y
exists AND
i
s
free
commit
|
commitdiff
|
tree
2007-10-06
Sta
t
his Kamperis
Add
flags memb
e
r in blknode
d
a
t
a
structure
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamp
e
ri
s
F
i
x cal
c
ulati
o
n of `newpos
'
when spli
t
ting
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
DE
B
UG sy
m
bol is now MPOOL
_
D
E
B
UG
commit
|
commitdiff
|
tree
2007-10-04
Stath
i
s Ka
m
peris
Ad
d
m
e
rges an
d
splits stats if
M
POO
L
_STATS is
d
e
f
ined
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
Add some
DPRIN
T
F() c
a
ll
s
in mpo
o
l_fre
e
() (sti
l
l
a
stub)
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Replace printf() calls
t
o D
P
RINTF() macro
commit
|
commitdiff
|
tree
2007-10-02
Stath
i
s Kamperis
Ad
d
some more printfs in mpool_free()
commit
|
commitdiff
|
tree
2007-10-02
S
t
a
t
h
i
s K
a
m
p
eris
R
e
move w
h
itespace in c
o
mment
commit
|
commitdiff
|
tree
2007-10-02
S
tathis Kam
p
e
r
is
R
e
m
ove bogu
s
header file
commit
|
commitdiff
|
tree
2007-10-02
S
tathis Ka
m
peris
A
d
d basic im
p
lementatio
n
of mpool_fr
e
e()
.
No coalesce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamp
e
ris
Mino
r
cosmetic chang
e
in p
r
intf()
commit
|
commitdiff
|
tree
2007-10-02
S
tathis
Kamperis
Fi
x
typo in commen
t
commit
|
commitdiff
|
tree
2007-10-02
S
t
a
t
h
is K
a
mpe
r
is
Major cha
n
ges in dat
a
st
r
uctures and add
i
tion of profi
l
i
ng
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Us
e
uns
i
gned c
h
ar instea
d
of unsigned int for '
b
o
olean
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis
Kamper
i
s
D
on't do void pointer
arithmetics
commit
|
commitdiff
|
tree
2007-10-01
S
t
athis K
a
mperis
P
u
t function prototypes, defs
and
c
o
n
s
t
ants
i
n mpool
.
h
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamperis
Add a mins
i
ze fiel
d
in mpoo
l
to indicate min
i
mum chunk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kampe
r
is
Initial
i
mport
o
f the buddy memory allocat
o
r
commit
|
commitdiff
|
tree
2007-09-20
Stathis K
a
m
peris
M
e
rge
b
ranch 'exp-ha
s
h
'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamp
e
ris
Don'
t
ch
e
ck < 0 fo
r
unsi
g
ned expression
commit
|
commitdiff
|
tree
2007-09-20
S
tathis Kamperis
M
e
rge branch
'
exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Me
r
ge htable_get_first_elm() i
n
htable_get_next_elm()
commit
|
commitdiff
|
tree
2007-09-20
Stat
h
i
s Kamperis
Merge branch
'
exp-h
a
sh'
commit
|
commitdiff
|
tree
2007-09-20
S
t
at
h
is Kamperis
Ad
d
htable_get
_
first/next
_
element() functions for ht
a
ble
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Sta
t
his Kam
p
eris
M
erge bra
n
ch
'
exp-hash
'
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamp
e
ris
Update TODO file
commit
|
commitdiff
|
tree
2007-09-19
Stathis Ka
m
peris
Add t
e
s
t case fo
r
htable_traverse
commit
|
commitdiff
|
tree
2007-09-19
S
tathis Kamp
e
ris
Add ht
a
ble_get_siz
e
(), htab
l
e_get_
u
s
e
d(
)
, h
t
able_tr
a
verse()
commit
|
commitdiff
|
tree
2007-09-19
Stathis
K
amperis
Add stub for
h
t
ab
l
e_ge
t
_n
e
xt_elm
(
)
commit
|
commitdiff
|
tree
2007-09-19
Sta
t
his Kamperis
Fix
t
ypo in co
m
men
t
commit
|
commitdiff
|
tree
2007-09-14
Stathis
K
ampe
r
is
Add flags HT
_
FREEKEY and HT_FREEDAT
A
in htable_free_*()
commit
|
commitdiff
|
tree
2007-09-11
S
tathis K
a
mperis
hta
b
le_free_objects() -> htable
_
free_all_obj() in ma
i
n
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
p
r
intf callback -
>
myprintf so as no
t
to shadow stdio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamp
e
ris
R
e
m
o
ve redundant , when
i
n enu
m
eration list
commit
|
commitdiff
|
tree
2007-09-10
Stat
h
is Kam
p
er
i
s
HT_R
E
PL
A
CE
D
-> HT_EXISTS
commit
|
commitdiff
|
tree
2007-09-10
Stathis
Kam
p
er
i
s
Implement htable_free_obj(
)
function
commit
|
commitdiff
|
tree
2007-09-10
Stathis K
a
mperis
htable_insert()
d
oesn't ovewr
i
te existing data
commit
|
commitdiff
|
tree
2007-09-10
S
tathis Kam
p
e
ris
h
ta
b
le_in
s
ert() returns HT_REPLACED if k
e
y already
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
Free hn_ke
y
commit
|
commitdiff
|
tree
2007-09-10
S
t
athis Kam
p
eris
Free old data when ins
e
rting new entry with existing key
commit
|
commitdiff
|
tree
2007-09-09
Sta
t
h
is Kamperis
A
dd
h
table
_
free_obj
e
c
ts()
tha
fr
e
es pno
d
e->da
t
a
commit
|
commitdiff
|
tree
2007-09-09
S
t
athis Kamperis
Pas
s
cal
l
b
ack function in htable_init()
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
#
i
nclude <stddef
.
h> in htable
.
h for
size_t type
commit
|
commitdiff
|
tree
2007-09-09
Stath
i
s Kamperis
h
table_grow() shou
l
d retu
r
n
H
T_OK on
success
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kam
p
eris
Add comment
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Constify
vari
a
ble in htable_print()
commit
|
commitdiff
|
tree
2007-09-08
Stathis
K
amp
e
ris
Add htable_grow()
commit
|
commitdiff
|
tree
2007-09-08
Stath
i
s Kam
p
eris
u_int ->
unsigned int
commit
|
commitdiff
|
tree
2007-09-08
S
t
a
this Kampe
r
is
A
d
d com
m
en
t
i
n
main()
commit
|
commitdiff
|
tree
2007-09-08
Stath
i
s Kamper
i
s
c
h
a
nges
in
djb_hash
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
is Kamperis
Co
n
stify some v
a
r
i
able
s
commit
|
commitdiff
|
tree
2007-09-08
Stath
i
s Kamperis
A
dd a hhead_t typedef for st
r
uct
h
tablehead
commit
|
commitdiff
|
tree
2007-09-08
S
tathi
s
Kamp
e
ris
Add proper error handl
i
ng in htable_*
(
) funct
i
ons
commit
|
commitdiff
|
tree
2007-09-07
S
tathis Kamperis
ptable -
>
hta
b
le in ma
i
n
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamperis
Add htable_f
r
ee() and don't
f
o
rget to update ht_s
i
ze
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stath
i
s
K
amp
e
ris
Rename htab
l
e
_
delete() to
h
tab
l
e_remove
(
)
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
F
i
x ty
p
o an
d
remov
e
whitespace
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is Kamperis
Fix com
m
ent
in pr
e
vious c
o
m
mit
commit
|
commitdiff
|
tree
2007-09-07
St
a
this Kamperis
A
dd ht
a
b
l
e_de
l
e
te() function
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamperis
str ->
k
ey in djb_hash() functio
n
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Include argumen
t
s
'
names in function
p
rototypes
commit
|
commitdiff
|
tree
2007-09-07
Stathis
K
ampe
r
is
pass
v
o
i
d *key
a
rgument in htable_print()
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Kamperis
A
dd
c
omments for ht_size
v
ariable
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
h
i
s Kamp
e
r
i
s
Cons
t
i
f
y variable in ht
a
ble_print()
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is
K
a
m
peris
Move htable files to hta
b
le/ subdire
c
tory
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is Kamperis
Split
h
table impleme
n
tatio
n
to htable
.
c and htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
S
t
ath
i
s Kamper
i
s
Add some c
o
mments
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kam
p
e
r
is
Constify some va
r
i
a
bles
commit
|
commitdiff
|
tree
2007-09-07
Stath
i
s Kampe
r
i
s
ht_printf() has a v
o
id *data argu
m
ent
commit
|
commitdiff
|
tree
2007-09-07
S
tathis
h
t
_c
m
pf() returns 0 if args are
e
q
ual
commit
|
commitdiff
|
tree
2007-09-06
Stathis
Add callback functi
o
ns f
o
r h
a
sh, compare an
d
print
commit
|
commitdiff
|
tree
next