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
test case file is not executable
2007-10-15
St
a
this Kampe
r
i
s
tes
t
case file
i
s not execut
a
ble
commit
|
commitdiff
|
tree
2007-10-15
Stat
h
i
s Kamperis
Fix poss
i
ble mem leak in test case
commit
|
commitdiff
|
tree
2007-10-15
Stathis Ka
m
peris
Add
a simplest possi
b
le test
c
ase --
m
ore
will fo
l
low
commit
|
commitdiff
|
tree
2007-10-15
Stathis Ka
m
peris
Use prop
e
r i
n
mpool_p
r
i
n
tblks()
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamper
i
s
Return immediatel
y
if buddy is ou
t
of
p
o
o
l
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
Use si
z
e_t instead of unsigned int w
h
e
n a
p
propriate
commit
|
commitdiff
|
tree
2007-10-15
Stathis K
a
mp
e
ris
Put the
s
t
at
fun
c
t
i
o
n
s in a separate
.
c files
commit
|
commitdiff
|
tree
2007-10-15
Stathi
s
Kamp
e
ris
Fix many comments
a
nd oth
e
r
m
inor stuff
commit
|
commitdiff
|
tree
2007-10-15
Stath
i
s Ka
m
peris
Change er
r
o
r namespace from MP_* to
MPOOL_
*
commit
|
commitdiff
|
tree
2007-10-15
Stathi
s
Kamp
e
ris
re
n
a
m
e
ne
x
t_bl
o
ck to next_chunk in bl
k
no
d
e
_t data str
u
c
t
ure
commit
|
commitdiff
|
tree
2007-10-15
Stathis
K
a
mper
i
s
More valid
a
t
i
on in
mpool_
a
lloc
commit
|
commitdiff
|
tree
2007-10-13
S
tathis Kamperis
Replace bitwis
e
operatio
n
s with proper macros
commit
|
commitdiff
|
tree
2007-10-13
S
tathis Kamperis
More
cleanup
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kam
p
eris
Little cosmetic stuff
commit
|
commitdiff
|
tree
2007-10-13
Stathis
K
amperis
Remove unused variable p
commit
|
commitdiff
|
tree
2007-10-12
Stathis Kamperis
no-mallo
c
() impl
e
mentation works without b
u
g
s
, t
h
ough
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis Kamperis
Firs
t
at
t
empt t
o
a ma
l
loc() free imp
l
ementation --
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
S
t
a
t
h
is Kam
p
er
i
s
Add a program that pr
i
nts characters' f
r
e
q
ue
n
cies
commit
|
commitdiff
|
tree
2007-10-10
S
t
athis Kam
p
eris
Impleme
n
t full si
m
ulation
commit
|
commitdiff
|
tree
2007-10-09
Stathis Kamp
e
ris
Add
f
irst atte
m
pt of simu
l
ation -- c
r
ashes
right
n
o
w
commit
|
commitdiff
|
tree
2007-10-08
S
t
a
t
his Ka
m
per
i
s
Put main() in test
.
c and remove
i
t from mpool
.
c
commit
|
commitdiff
|
tree
2007-10-08
Stathi
s
K
a
mp
e
ris
Fix newpo
s
calc in mpool_alloc() an
d
ad
d
mpool_stat_get_bloc
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
Stathis
Kamp
e
r
is
R
e
move b
o
gus printf()
commit
|
commitdiff
|
tree
2007-10-07
S
tathis Kamperis
Fix t
y
po in
comment
commit
|
commitdiff
|
tree
2007-10-07
Stath
i
s Kamperis
Fix typo in comment
commit
|
commitdiff
|
tree
2007-10-07
S
t
a
thi
s
Ka
m
peris
Ad
d
some
c
omments fo
r
mpo
o
l
_
f
r
ee()
commit
|
commitdiff
|
tree
2007-10-07
S
tat
h
is
K
amperis
Remove bogus code
commit
|
commitdiff
|
tree
2007-10-07
S
t
a
this Kamperis
Im
p
lement in
h
eritan
c
e
--
w
orks, bu
t
needs cleanup
commit
|
commitdiff
|
tree
2007-10-07
St
a
this
K
amperis
General clea
n
up
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Change namespace
from MPO
O
L_ to MP_
commit
|
commitdiff
|
tree
2007-10-06
Stathis K
a
mperis
Add
terminating
condition
in mpool_free()
commit
|
commitdiff
|
tree
2007-10-06
Stathis
Kamperis
Clean mpoo
l
_free() mess
commit
|
commitdiff
|
tree
2007-10-06
Stathi
s
Ka
m
p
e
ris
Add some more DPRINTF(
)
ca
l
ls in
m
p
o
o
l_free()
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
Try
to coalesce only i
f
b
u
ddy exist
s
AND is free
commit
|
commitdiff
|
tree
2007-10-06
Stat
h
is Kamper
i
s
A
d
d flags m
e
mbe
r
in bl
k
node data structure
commit
|
commitdiff
|
tree
2007-10-04
S
tathis Kamperis
Fi
x
cal
c
u
l
a
tion of
`new
p
os' whe
n
split
t
ing
commit
|
commitdiff
|
tree
2007-10-04
St
a
t
h
is
Kam
p
e
r
i
s
DEBU
G
symbol
i
s
n
ow M
P
OO
L
_DEB
U
G
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
A
d
d
merges
a
nd spl
i
ts stats if MPOOL_STATS is defined
commit
|
commitdiff
|
tree
2007-10-04
Stathis K
a
mperis
Add some
D
PRINTF()
calls in
mpool_free() (still a stub)
commit
|
commitdiff
|
tree
2007-10-02
Stat
h
is Kamperis
Replace printf()
calls to D
P
RINTF() macro
commit
|
commitdiff
|
tree
2007-10-02
Stat
h
is K
a
mperis
Add s
o
me more pr
i
ntfs in mp
o
ol_
f
r
e
e()
commit
|
commitdiff
|
tree
2007-10-02
S
t
athis K
a
mper
i
s
Remov
e
whitespace
i
n
c
o
m
ment
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
his Kamper
i
s
Remove bo
g
us header f
i
le
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Add b
a
s
i
c imple
m
entation of mp
o
ol_free
(
)
.
No
coalesce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis
K
am
p
eri
s
M
i
nor cosmetic change in printf()
commit
|
commitdiff
|
tree
2007-10-02
Stathis Ka
m
peris
F
ix
t
y
p
o i
n
comment
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Majo
r
chan
g
es in data structures and
addition of
profiling
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
S
t
a
this Kamperis
U
se uns
i
gn
e
d char instead of unsigned int for '
b
oolean
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamperis
Don't
d
o
void po
i
nt
e
r
arithmeti
c
s
commit
|
commitdiff
|
tree
2007-10-01
S
t
athis K
a
mperis
Put f
u
n
c
tion
p
rototy
p
es, defs and constants
in mpoo
l
.
h
commit
|
commitdiff
|
tree
2007-10-01
Stathis
Kamperis
Add a min
s
ize
field in mpool to indicate mi
n
imum chun
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis K
a
mperis
Initi
a
l import of
t
he buddy
m
emory allocator
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Merge branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
St
a
t
hi
s
Kampe
r
is
Don't check < 0 for unsigned expression
commit
|
commitdiff
|
tree
2007-09-20
Stathi
s
Kamperis
Merge branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Merge
h
table_get_first
_
elm() in
h
t
a
ble_get_next_elm()
commit
|
commitdiff
|
tree
2007-09-20
Sta
t
h
i
s K
a
m
peris
Me
r
ge
b
ranch
'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stat
h
is K
a
mperis
Add htab
l
e
_get_
f
irst/n
e
xt_element() functi
o
ns for ht
a
ble
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Stathi
s
Kamperis
M
e
rge branch 'exp-ha
s
h
'
commit
|
commitdiff
|
tree
2007-09-19
Stat
h
is Kamperis
U
pdate
TODO file
commit
|
commitdiff
|
tree
2007-09-19
Stathis Ka
m
peris
A
dd test cas
e
f
or htable_tra
v
erse
commit
|
commitdiff
|
tree
2007-09-19
Stathi
s
Kamperis
Add htable_get_s
i
z
e
(),
h
table_get_us
e
d(),
h
t
able_traverse()
commit
|
commitdiff
|
tree
2007-09-19
Stathis
Ka
m
peris
Add stub
f
or ht
a
b
le_get_n
e
xt_elm()
commit
|
commitdiff
|
tree
2007-09-19
Stat
h
i
s
K
a
m
pe
r
is
Fix typo in
comm
e
nt
commit
|
commitdiff
|
tree
2007-09-14
Stathis Kamperis
Add
f
lags HT_
F
REEKE
Y
a
n
d HT_FR
E
EDATA
i
n htable_fr
e
e
_
*(
)
commit
|
commitdiff
|
tree
2007-09-11
S
tathis Ka
m
peris
htable_free_objects()
-
> htable_
f
ree_all_obj() in main
.
c
commit
|
commitdiff
|
tree
2007-09-11
Sta
t
h
is
K
amp
e
ris
prin
t
f call
b
ac
k
->
myprin
t
f so
a
s not
to sh
a
dow stdi
o
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Stathis
Kamperis
Remove redundant , when in
enumer
a
tion list
commit
|
commitdiff
|
tree
2007-09-10
St
a
this Kamperis
HT_REPLAC
E
D
-
> H
T
_
E
XISTS
commit
|
commitdiff
|
tree
2007-09-10
Sta
t
his K
a
mperi
s
Imple
m
ent ht
a
b
l
e_f
r
ee_obj() functio
n
commit
|
commitdiff
|
tree
2007-09-10
Stathis
Kamperi
s
h
t
able_insert() doesn't ov
e
write e
x
isting data
commit
|
commitdiff
|
tree
2007-09-10
Sta
t
h
is Ka
m
peris
h
t
able_insert() ret
u
rn
s
HT_REPLACED if key al
r
eady
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Sta
t
h
i
s Ka
m
peris
Free hn_key
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamper
i
s
Fr
e
e o
l
d
dat
a
w
hen ins
e
rting new entry with existing key
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
A
dd htabl
e
_free_objects
(
)
tha fre
e
s pnode->data
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
Pass ca
l
l
back functio
n
in htab
l
e_init()
commit
|
commitdiff
|
tree
2007-09-09
St
a
this Kamperis
#in
c
lude <stddef
.
h> in htable
.
h f
o
r size_t
type
commit
|
commitdiff
|
tree
2007-09-09
S
tathis K
a
mperis
h
table_grow() s
h
ould ret
u
rn HT_OK on success
commit
|
commitdiff
|
tree
2007-09-08
S
tath
i
s Kamp
e
r
is
Add
c
omment
commit
|
commitdiff
|
tree
2007-09-08
St
a
t
his
K
amperi
s
Constify variable in
htable_pri
n
t
(
)
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Add hta
b
le_
g
r
ow()
commit
|
commitdiff
|
tree
2007-09-08
Stathis K
a
mperis
u_int -> unsigned int
commit
|
commitdiff
|
tree
2007-09-08
S
t
at
h
i
s
Kam
p
e
ris
Add comm
e
nt
i
n
main()
commit
|
commitdiff
|
tree
2007-09-08
S
t
athis Kamperis
c
h
ang
e
s
in djb_hash
commit
|
commitdiff
|
tree
2007-09-08
Sta
t
his Kampe
r
is
Constif
y
so
m
e variable
s
commit
|
commitdiff
|
tree
2007-09-08
Stathis
Kamperi
s
Add a
hhea
d
_t typedef
for struct h
t
ablehe
a
d
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kam
p
eris
A
dd proper erro
r
handling i
n
ht
a
ble_*() functio
n
s
commit
|
commitdiff
|
tree
2007-09-07
S
tat
h
is Ka
m
peris
ptable
-
> htable in main
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Add ht
a
ble_free() and don't forget
t
o u
p
date
h
t_
s
i
z
e
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamperis
Rename h
t
ab
l
e_delete()
t
o htable_re
m
ove()
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamperis
Fix typo and remove
w
hitespace
commit
|
commitdiff
|
tree
2007-09-07
Stathis Ka
m
p
e
r
is
Fix
co
m
me
n
t in previous co
m
mit
commit
|
commitdiff
|
tree
2007-09-07
Stathis Ka
m
per
i
s
Add hta
b
le_
d
elete() function
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamperis
s
t
r ->
k
ey in djb_h
a
sh() funct
i
on
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperi
s
I
n
clud
e
arguments'
n
ames in function pr
o
totyp
e
s
commit
|
commitdiff
|
tree
2007-09-07
S
t
ath
i
s Ka
m
per
i
s
pa
s
s void *
k
ey
argument in htable_print()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Ka
m
p
e
r
is
A
d
d
comment
s
for ht_size variable
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Kamperis
Consti
f
y var
i
able in htable_p
r
int()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Mo
v
e htabl
e
files t
o
h
table/ subd
i
rectory
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kam
p
eri
s
S
p
lit htable
imp
l
e
m
ent
a
tion
t
o htable
.
c and htable
.
.
.
commit
|
commitdiff
|
tree
next