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
Put main() in test.c and remove it from mpool.c
2007-10-08
Sta
t
his
K
a
mperis
Put main() i
n
t
e
st
.
c
and rem
o
ve it
f
rom
m
pool
.
c
commit
|
commitdiff
|
tree
2007-10-08
Sta
t
h
i
s Kamperis
Fi
x
newpos c
a
lc i
n
mpool_alloc() and add mp
o
ol
_
st
a
t
_
g
et_bloc
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
Sta
t
his Kam
p
eris
R
emove b
o
gus prin
t
f()
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kam
p
eris
F
i
x
t
ypo in comment
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Fix
t
ypo
i
n co
m
ment
commit
|
commitdiff
|
tree
2007-10-07
Stathis
K
amp
e
ris
Add some comm
e
nts for mpool_free()
commit
|
commitdiff
|
tree
2007-10-07
S
t
athis Kamperis
Remove b
o
gu
s
code
commit
|
commitdiff
|
tree
2007-10-07
Stathis
Kamperis
I
m
p
l
e
ment inheritance -- w
o
r
k
s, but
needs
cleanup
commit
|
commitdiff
|
tree
2007-10-07
Stathis Ka
m
per
i
s
General cleanup
commit
|
commitdiff
|
tree
2007-10-07
Stath
i
s
Kamperis
Change na
m
e
s
pace
f
rom M
P
OOL_ to MP_
commit
|
commitdiff
|
tree
2007-10-06
Stathis K
a
mperis
Add terminating conditi
o
n in mp
o
ol_f
r
ee()
commit
|
commitdiff
|
tree
2007-10-06
S
t
athis Kamperis
C
l
ean mpool_free() m
e
s
s
commit
|
commitdiff
|
tree
2007-10-06
Stathi
s
Kamp
e
ris
Ad
d
some m
o
re DPRINTF() calls in mpool_free
(
)
commit
|
commitdiff
|
tree
2007-10-06
Stathi
s
Kamper
i
s
Try to c
o
alesce only if buddy exists AND is free
commit
|
commitdiff
|
tree
2007-10-06
St
a
this Kamperis
Ad
d
flags m
e
mbe
r
in b
l
knode data structure
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
F
i
x calcu
l
a
tion o
f
`newpos' when splitting
commit
|
commitdiff
|
tree
2007-10-04
Sta
t
his Kamper
i
s
DEBUG symbol is now
MPOOL_DEBUG
commit
|
commitdiff
|
tree
2007-10-04
Sta
t
h
i
s Kamp
e
ris
Add merges and spli
t
s stats if
M
POOL_STATS is defined
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamp
e
ris
Ad
d
som
e
DPR
I
NTF()
calls
i
n mpool_free
(
) (still a stub)
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
his
K
amperis
Replace printf() calls
to DP
R
INT
F
()
m
acro
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
h
i
s Kamp
e
ri
s
Add
s
ome more printfs in mp
o
ol_fr
e
e
(
)
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kampe
r
is
R
emov
e
whit
e
s
pace in
c
omment
commit
|
commitdiff
|
tree
2007-10-02
Stathi
s
Kamperis
R
emove
b
ogus header fil
e
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Add basic implemen
t
ation of mp
o
ol_fr
e
e()
.
No coalesce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis
K
amp
e
ris
Minor cosmetic
ch
a
nge in
pr
i
ntf()
commit
|
commitdiff
|
tree
2007-10-02
S
ta
t
hi
s
K
amperis
F
ix typo in comment
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Major c
h
a
nges
in data structures and addit
i
on of pr
o
filing
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kampe
r
is
U
se unsi
g
ned char inste
a
d of unsi
g
ned int for '
b
oole
a
n
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stat
h
is Kampe
r
is
Don't do void
p
oin
t
e
r
a
r
ithme
t
ics
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamperis
P
u
t
function prot
o
types, defs and constan
t
s
i
n mpool
.
h
commit
|
commitdiff
|
tree
2007-10-01
Stath
i
s Kamp
e
r
i
s
Add a minsize field i
n
m
pool to indicate m
i
nimum chunk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stath
i
s
Ka
m
peris
Initial import of the budd
y
memory alloc
a
t
o
r
commit
|
commitdiff
|
tree
2007-09-20
S
t
athis Ka
m
p
eris
Merge branc
h
'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Don't c
h
eck < 0 for unsig
n
ed expression
commit
|
commitdiff
|
tree
2007-09-20
Stath
i
s Kamperis
Merg
e
bran
c
h 'exp-ha
s
h'
commit
|
commitdiff
|
tree
2007-09-20
S
tathis Kamperis
M
erge h
t
able
_
get_fi
r
st_elm
(
) in htable
_
get_nex
t
_elm
(
)
commit
|
commitdiff
|
tree
2007-09-20
Stat
h
is
Kamper
i
s
Merg
e
branch
'exp-hash
'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Ka
m
peris
Add ht
a
ble_get_f
i
rst/next_element() functio
n
s
f
o
r htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
S
t
a
this
Kamperis
M
erge
bra
n
ch 'e
x
p-ha
s
h
'
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kampe
r
is
Update TODO file
commit
|
commitdiff
|
tree
2007-09-19
Stat
h
is Kamperis
A
d
d
t
est case
for htable_t
r
averse
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Add htable_get_size()
,
htable_get_used(), htable_trav
e
rse()
commit
|
commitdiff
|
tree
2007-09-19
Stat
h
i
s
Ka
m
peris
Ad
d
stub for h
t
able_get_next_elm()
commit
|
commitdiff
|
tree
2007-09-19
Stathis
K
a
m
peris
F
i
x ty
p
o in
c
omme
n
t
commit
|
commitdiff
|
tree
2007-09-14
Stath
i
s Kamperis
A
dd fla
g
s HT_FRE
E
KEY and HT_FR
E
EDATA in
h
ta
b
l
e
_free_*()
commit
|
commitdiff
|
tree
2007-09-11
S
t
athis Kamperis
h
table_free_objec
t
s() -> htable_free_all_obj() in main
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
printf
c
allback -> myprintf so as not to
s
hadow
std
i
o
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Stath
i
s Kamperis
Remove redundant
,
w
he
n
i
n
enumeratio
n
list
commit
|
commitdiff
|
tree
2007-09-10
St
a
this
K
amperis
HT_R
E
PLA
C
ED -> HT_EXISTS
commit
|
commitdiff
|
tree
2007-09-10
Stath
i
s K
a
m
p
eris
Implemen
t
h
table_f
r
ee_obj()
f
u
nction
commit
|
commitdiff
|
tree
2007-09-10
S
ta
t
his Kamperis
htable_in
s
er
t
() doe
s
n't o
v
ewrite exist
i
ng data
commit
|
commitdiff
|
tree
2007-09-10
Stat
h
is
Kamperis
htable_insert() return
s
HT_REPLACED if key already
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Sta
t
his Kamperis
Free hn_key
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
F
ree
o
ld data when in
s
erting n
e
w entry with existing key
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
Add
htable_f
r
ee_ob
j
e
cts() tha free
s
pnode-
>
data
commit
|
commitdiff
|
tree
2007-09-09
S
tathis Kamperis
P
ass
callback function
in h
t
abl
e
_init()
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamp
e
r
is
#
in
c
lude
<stddef
.
h> i
n
htabl
e
.
h for s
i
ze_t type
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
htable_grow(
)
should re
t
urn HT_OK on su
c
cess
commit
|
commitdiff
|
tree
2007-09-08
S
tathis Kam
p
eris
Add co
m
ment
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kam
p
e
ris
Co
n
sti
f
y variable
in
ht
a
ble_print()
commit
|
commitdiff
|
tree
2007-09-08
St
a
t
his Kamper
i
s
Add hta
b
le_grow()
commit
|
commitdiff
|
tree
2007-09-08
S
t
athis Kamperis
u_int
-> unsigned int
commit
|
commitdiff
|
tree
2007-09-08
S
t
a
this Kamperis
Add comment in
main()
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
is Kamperis
cha
n
ges in djb_h
a
sh
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
C
onst
i
fy some varia
b
les
commit
|
commitdiff
|
tree
2007-09-08
St
a
th
i
s K
a
mperis
A
d
d a hhead_t typede
f
fo
r
struct h
t
ablehea
d
commit
|
commitdiff
|
tree
2007-09-08
Sta
t
his Kamp
e
ris
Add proper erro
r
handling in htable_*() functions
commit
|
commitdiff
|
tree
2007-09-07
St
a
this Kamperis
ptable -> htable in main
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stathis K
a
mperi
s
A
dd h
t
able_free
(
) and don't for
g
et to
update ht_size
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stath
i
s Kamp
e
ri
s
Rename htable_delete() to htable_
r
e
m
o
v
e()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Fix
typo and
r
emove whitespace
commit
|
commitdiff
|
tree
2007-09-07
Stathis Ka
m
peris
Fix
comment in
p
revious comm
i
t
commit
|
commitdiff
|
tree
2007-09-07
St
a
t
h
i
s Kamperis
Add htable_delete() fun
c
t
i
on
commit
|
commitdiff
|
tree
2007-09-07
St
a
this Kamperis
s
t
r -> key in dj
b
_ha
s
h
()
f
uncti
o
n
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is
K
amp
e
ris
Include arg
u
ments'
names
i
n
function
p
r
ototypes
commit
|
commitdiff
|
tree
2007-09-07
Stathis
Kam
p
eris
pass void *key argum
e
nt in hta
b
le_
p
rint()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Ad
d
commen
t
s f
o
r
ht_size variable
commit
|
commitdiff
|
tree
2007-09-07
St
a
th
i
s Kamperis
Constif
y
variabl
e
in htable_print(
)
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kampe
r
is
Move htabl
e
files t
o
h
t
able/ subdirectory
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamperis
Spl
i
t
htable implementation to htab
l
e
.
c and htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamperis
Add
s
o
me comment
s
commit
|
commitdiff
|
tree
2007-09-07
Stathis
Kamperis
Constif
y
some var
i
ables
commit
|
commitdiff
|
tree
2007-09-07
S
tathi
s
Kamperis
ht_printf() has a void *data argument
commit
|
commitdiff
|
tree
2007-09-06
Stathis Kamperis
htable_init(),
htable_i
n
sert(
)
, htab
l
e_print()
commit
|
commitdiff
|
tree
2007-09-06
S
ta
t
his Kam
p
eris
Ini
t
ial import
o
f htable
.
c
commit
|
commitdiff
|
tree
2007-09-05
Stathis Kamperi
s
Majo
r
chang
e
s
, it n
o
w
compiles without segfaults
commit
|
commitdiff
|
tree
2007-09-04
S
tathis Kamperi
s
Initial im
p
o
rt of hash table implementati
o
n
commit
|
commitdiff
|
tree
2007-08-30
Stath
i
s Kamperis
F
i
x a memory lea
k
in tailq
.
c
commit
|
commitdiff
|
tree
2007-08-30
S
tathis Kamperis
Merg
e
b
ranch 'maste
r
' of git+ssh:/
/
B
eket@repo
.
or
.
cz
.
.
.
commit
|
commitdiff
|
tree
2007-08-30
St
a
t
h
is Kamperis
Fi
x
a
memory leak in
slinkedlist
.
c
f
ile
commit
|
commitdiff
|
tree
2007-08-30
S
tathis Kam
p
eris
Fix a memory leak in
slinkedlist
.
c file
commit
|
commitdiff
|
tree
2007-08-24
Stathis
K
amperis
Simplify insertion of
i
tems in tailq
commit
|
commitdiff
|
tree
2007-08-24
Stathis
K
am
p
eris
R
egenerate CONTENTS
file
commit
|
commitdiff
|
tree
2007-08-24
Stathis Kamperis
Revert "Regenerate
CO
N
TENTS file to
include tailq
.
c"
commit
|
commitdiff
|
tree
2007-08-24
Stat
h
is Kamperis
Regenerat
e
CONTENTS file to include
t
ailq
.
c
commit
|
commitdiff
|
tree
2007-08-24
S
tathis Kamperis
Add coment i
n
reverse traversal in tailq
.
c
commit
|
commitdiff
|
tree
2007-08-24
S
tat
h
i
s
Ka
m
peris
Ini
t
ia
l
import of
t
ailq
.
c
commit
|
commitdiff
|
tree
2007-08-24
S
tathis
Kamperis
Remove bogus pointer
to head of l
i
st
commit
|
commitdiff
|
tree
2007-08-24
S
t
athis Kampe
r
is
Fix a typo
commit
|
commitdiff
|
tree
2007-08-24
Stathis Kamperis
Convert double
linked list to singled lin
k
ed list
commit
|
commitdiff
|
tree
next