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
Stathis Kamperis
C
hange error names
p
a
c
e from MP_*
to MPOO
L
_
*
commit
|
commitdiff
|
tree
2007-10-15
S
tathis Kamperis
r
ename next_blo
c
k
t
o nex
t
_
c
h
u
nk in
blkn
o
d
e_t data structure
commit
|
commitdiff
|
tree
2007-10-15
S
tathis Kamp
e
ris
More validation
i
n
mpool_alloc
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
Replace bitw
i
se operations wit
h
pro
p
er ma
c
ros
commit
|
commitdiff
|
tree
2007-10-13
Stathis
Ka
m
p
eris
More cleanup
commit
|
commitdiff
|
tree
2007-10-13
S
t
a
this Kamperi
s
L
ittle cosm
e
t
ic st
u
ff
commit
|
commitdiff
|
tree
2007-10-13
S
t
a
t
his
K
amperis
Remove unused
v
a
ri
a
ble
p
commit
|
commitdiff
|
tree
2007-10-12
Stathi
s
Kamp
e
ri
s
no-mallo
c
(
)
implementation works without bugs, though
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis Ka
m
peris
Firs
t
att
e
m
p
t to a malloc() free i
m
plementa
t
ion --
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis Kamperis
Ad
d
a program that pri
n
ts characters' frequen
c
ies
commit
|
commitdiff
|
tree
2007-10-10
Stathis Kam
p
e
ris
Im
p
lement
f
ull simu
l
atio
n
commit
|
commitdiff
|
tree
2007-10-09
Stathis
K
amperis
Add first attempt of simu
l
ation
-
- cr
a
shes right now
commit
|
commitdiff
|
tree
2007-10-08
Stat
h
is Kamperis
P
u
t
m
ain
(
)
in tes
t
.
c and remov
e
i
t from mpool
.
c
commit
|
commitdiff
|
tree
2007-10-08
Stath
i
s
K
a
m
pe
r
is
Fi
x
newpos calc in mpool_a
l
loc() and add mpo
o
l_st
a
t_get_
b
loc
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kampe
r
is
R
e
move
bogus prin
t
f()
commit
|
commitdiff
|
tree
2007-10-07
Stat
h
is K
a
mperis
F
i
x typo in comment
commit
|
commitdiff
|
tree
2007-10-07
Stathi
s
K
a
m
p
eris
F
ix typo
in comment
commit
|
commitdiff
|
tree
2007-10-07
Stat
h
is Kamperis
Add
some comments for mpool_free()
commit
|
commitdiff
|
tree
2007-10-07
S
tathis Kamperis
Remove bogus code
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Implement inherita
n
ce --
w
orks, but
n
e
eds
c
l
ea
n
up
commit
|
commitdiff
|
tree
2007-10-07
Stath
i
s Kamperis
General cleanup
commit
|
commitdiff
|
tree
2007-10-07
St
a
this Kamper
i
s
C
hange n
a
mes
p
a
ce f
r
om MPOOL_ to MP_
commit
|
commitdiff
|
tree
2007-10-06
Stathi
s
K
a
mperis
A
d
d
terminating condition in mpool_f
r
ee()
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamper
i
s
C
l
e
an
m
po
o
l_free() mess
commit
|
commitdiff
|
tree
2007-10-06
S
t
a
thi
s
Kamperis
Add some more
D
PRINTF() calls
in mpool_free()
commit
|
commitdiff
|
tree
2007-10-06
Stathi
s
Kamperis
Try to coalesce
o
nly if budd
y
exists
A
ND is free
commit
|
commitdiff
|
tree
2007-10-06
Stathis
K
a
m
peris
Add
flags member in
b
lkn
o
de data stru
c
ture
commit
|
commitdiff
|
tree
2007-10-04
S
t
ath
i
s
Kam
p
er
i
s
Fix calculatio
n
of
`n
e
wpos' when
splitting
commit
|
commitdiff
|
tree
2007-10-04
Stathis K
a
mpe
r
is
DEBUG
s
ymbo
l
is now M
P
O
O
L_DEBUG
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperi
s
Add merges and splits stats
i
f MP
O
OL_STATS is
def
i
ned
commit
|
commitdiff
|
tree
2007-10-04
Stath
i
s Kamperis
Add some DPRINTF() calls in mpool_free()
(
s
till a stub)
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kampe
r
is
Replace
pr
i
ntf(
)
ca
l
ls to DPRINTF() macro
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Ad
d
som
e
more
p
rint
f
s in mpool_fr
e
e
(
)
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
hi
s
Kam
p
eris
Remove whitespace in c
o
mment
commit
|
commitdiff
|
tree
2007-10-02
S
t
at
h
is Kamperis
R
e
m
ove bogus
h
e
ader file
commit
|
commitdiff
|
tree
2007-10-02
Stath
i
s
Kam
p
eris
Add basic i
m
plementatio
n
of mpool
_
free(
)
.
N
o coalesc
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamper
i
s
Minor cos
m
etic change in printf()
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Fix typo in comme
n
t
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Major changes in
d
at
a
structures
a
nd ad
d
ition of pro
f
iling
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis K
a
mperis
Use un
s
igne
d
cha
r
inst
e
ad of unsigned
i
nt for
'boole
a
n
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
S
t
athis Kam
p
eris
Don't do
vo
i
d poi
n
ter a
r
ithmetics
commit
|
commitdiff
|
tree
2007-10-01
Stathis
Kam
p
eris
Pu
t
function protot
y
pes,
def
s
an
d
constants in mpool
.
h
commit
|
commitdiff
|
tree
2007-10-01
Stathis K
a
mperis
Add a
min
s
i
ze field in mp
o
ol to in
d
ic
a
te minimum chunk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Sta
t
his K
a
mperis
In
i
t
i
al
import of the buddy memory alloc
a
to
r
commit
|
commitdiff
|
tree
2007-09-20
Sta
t
h
is
K
amperis
Merge branc
h
'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
St
a
this Kamperis
D
on't
c
he
c
k < 0 for unsign
e
d expressi
o
n
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamp
e
r
i
s
Merge bra
n
ch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Sta
t
his
K
a
m
p
eris
Merge hta
b
l
e_get_fir
s
t
_
e
lm() in htab
l
e_get_next_elm
(
)
commit
|
commitdiff
|
tree
2007-09-20
Sta
t
hi
s
Kamperis
Me
r
ge
b
ra
n
ch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kampe
r
is
A
d
d htable_get
_
f
irst/n
e
xt_element() functions for
h
ta
b
le
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Merge branch 'ex
p
-
h
a
sh'
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamp
e
ris
Update T
O
DO file
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kam
p
eris
Add test case for
h
table_traverse
commit
|
commitdiff
|
tree
2007-09-19
Sta
t
h
is Kamperis
Add hta
b
le_get_size(), htable_get_used(),
h
ta
b
le_trav
e
rse
(
)
commit
|
commitdiff
|
tree
2007-09-19
St
a
t
h
is Kamperi
s
A
d
d st
u
b fo
r
htable_get_n
e
xt_elm()
commit
|
commitdiff
|
tree
2007-09-19
St
a
this Kamperis
Fix typo i
n
comme
n
t
commit
|
commitdiff
|
tree
2007-09-14
Sta
t
his Kamper
i
s
Add fl
a
gs HT_FREEKEY and HT_FR
E
E
DATA
i
n
hta
b
le_free_*(
)
commit
|
commitdiff
|
tree
2007-09-11
St
a
this Kamperis
htable_fre
e
_
o
b
j
ec
t
s
(
)
-> htable_free_all_obj() in main
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stath
i
s Ka
m
p
eris
printf call
b
ack ->
myprintf so as not to shado
w
stdio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Sta
t
h
is Kamperis
Remove redund
a
nt , wh
e
n in enum
e
rati
o
n list
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kam
p
eris
HT_REPLACED -> HT_EXISTS
commit
|
commitdiff
|
tree
2007-09-10
S
t
a
t
his K
a
mper
i
s
Impl
e
m
ent htab
l
e
_
free_o
b
j()
function
commit
|
commitdiff
|
tree
2007-09-10
Stathis
K
amper
i
s
htable_inse
r
t
() doesn't ovewrite existing dat
a
commit
|
commitdiff
|
tree
2007-09-10
Stathi
s
Ka
m
peris
htable
_
inser
t
(
) retur
n
s
HT_REPLACED
if key alre
a
d
y
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Stathis Ka
m
peris
Free hn_k
e
y
commit
|
commitdiff
|
tree
2007-09-10
S
tathis
Kamperi
s
Free old data when
i
nse
r
ting n
e
w entry with existing key
commit
|
commitdiff
|
tree
2007-09-09
S
tathis Kamperis
A
d
d
htable_fr
e
e_obj
e
ct
s
() tha frees pnode
-
>dat
a
commit
|
commitdiff
|
tree
2007-09-09
S
ta
t
his Kamperis
Pa
s
s
c
al
l
back funct
i
on in htable_ini
t
()
commit
|
commitdiff
|
tree
2007-09-09
Stathis Ka
m
peris
#include <stddef
.
h
>
in htab
l
e
.
h for s
i
z
e
_t type
commit
|
commitdiff
|
tree
2007-09-09
S
tat
h
i
s Kamper
i
s
htable
_
grow() should r
e
t
u
rn
HT_OK
o
n
succ
e
s
s
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kampe
r
is
A
dd
c
omment
commit
|
commitdiff
|
tree
2007-09-08
S
t
athis Kamperis
Consti
f
y
variable
i
n
htable_print()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamp
e
r
i
s
Add
h
table_grow()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
u_int -> u
n
sig
n
ed int
commit
|
commitdiff
|
tree
2007-09-08
Stathis
K
a
m
peris
Add com
m
ent in main()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
changes in djb_hash
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kampe
r
is
C
o
nstify
s
ome
variab
l
es
commit
|
commitdiff
|
tree
2007-09-08
Stathis K
a
mp
e
ri
s
Add a
hhead_t typedef for
s
t
ruct
h
tablehe
a
d
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kampe
r
is
Add proper e
r
ror hand
l
ing in htable_*() function
s
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
i
s Kamperis
pta
b
le -> htabl
e
in ma
i
n
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stathis
K
ampe
r
i
s
Add htable_free() and don't forge
t
to updat
e
ht_size
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis K
a
mperis
Re
n
ame
h
table
_
d
e
lete() to htable_r
e
move()
commit
|
commitdiff
|
tree
2007-09-07
S
t
a
t
his Kamp
e
ris
F
i
x typo and
remove
whit
e
space
commit
|
commitdiff
|
tree
2007-09-07
Stath
i
s Kamperis
Fix comment in previous c
o
mmit
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is Ka
m
peris
A
dd
hta
b
le_delete()
f
unct
i
on
commit
|
commitdiff
|
tree
2007-09-07
Stath
i
s Kamperis
str -> key in d
j
b
_
ha
s
h() functio
n
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is Kam
p
eris
Include arg
u
men
t
s'
n
a
me
s
in funct
i
on
p
rototyp
e
s
commit
|
commitdiff
|
tree
2007-09-07
S
t
at
h
is Kamperis
pass void *key argument in htab
l
e_print()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kam
p
e
r
is
Add comments for ht_size variable
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Ka
m
peris
Con
s
tify v
a
riabl
e
in
htabl
e
_pr
i
n
t
()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Move ht
a
ble files t
o
htable/ subdirectory
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Split htable imp
l
ement
a
tion
t
o
h
t
able
.
c and ht
a
ble
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
S
t
a
this Kam
p
eris
Add s
o
m
e
com
m
e
nts
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kam
p
eris
Constify some variab
l
es
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
h
t
_p
r
intf() ha
s
a void *data argu
m
en
t
commit
|
commitdiff
|
tree
2007-09-06
Stat
h
is Ka
m
peris
hta
b
le_init()
,
htable_in
s
ert(
)
,
htable_pr
i
nt()
commit
|
commitdiff
|
tree
2007-09-06
Stathis Kamperis
Initial impo
r
t
o
f htable
.
c
commit
|
commitdiff
|
tree
2007-09-05
Stathis
K
am
p
eris
M
a
jo
r
c
h
a
n
g
e
s
,
it now compiles witho
u
t segfaults
commit
|
commitdiff
|
tree
2007-09-04
Stathis Ka
m
peris
I
n
iti
a
l i
m
port of has
h
table implementation
commit
|
commitdiff
|
tree
2007-08-30
S
tath
i
s Kam
p
e
r
is
Fix a memo
r
y
le
a
k
in tailq
.
c
commit
|
commitdiff
|
tree
next