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
Stathi
s
K
amperi
s
tes
t
case file i
s
not
e
xecutable
commit
|
commitdiff
|
tree
2007-10-15
Sta
t
his
K
amperis
Fix possible
m
em leak
i
n te
s
t case
commit
|
commitdiff
|
tree
2007-10-15
Stathis K
a
mper
i
s
A
dd a sim
p
l
est poss
i
b
l
e
t
estca
s
e
-- more will follow
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
Us
e
pr
o
per in mpo
o
l
_prin
t
b
l
ks()
commit
|
commitdiff
|
tree
2007-10-15
S
t
ath
i
s
Kamp
e
r
i
s
R
e
turn
im
m
ediat
e
ly if buddy is out
of p
o
ol
commit
|
commitdiff
|
tree
2007-10-15
Stathi
s
Kamperi
s
Use size_t instead
of unsigned int w
h
en appr
o
p
r
i
ate
commit
|
commitdiff
|
tree
2007-10-15
Stathis
Kamperis
Put the stat functions in
a
separate
.
c files
commit
|
commitdiff
|
tree
2007-10-15
Stat
h
is Kamperis
Fix many comments
a
nd other minor
s
tuff
commit
|
commitdiff
|
tree
2007-10-15
Stathis K
a
mpe
r
is
Change
e
r
ror namespa
c
e
fro
m
M
P
_*
t
o
M
P
OOL_*
commit
|
commitdiff
|
tree
2007-10-15
Stathis K
a
mperis
rename next_block to
next_chunk
i
n blkno
d
e_t data structu
r
e
commit
|
commitdiff
|
tree
2007-10-15
St
a
t
hi
s
Kamperi
s
More validation in
m
pool
_
alloc
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
R
eplace bitwis
e
operati
o
n
s with p
r
oper macros
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
M
o
r
e cl
e
anup
commit
|
commitdiff
|
tree
2007-10-13
S
tathis Kamperis
Little
c
osmetic
stuff
commit
|
commitdiff
|
tree
2007-10-13
St
a
thi
s
Kamperis
Remove unused variable
p
commit
|
commitdiff
|
tree
2007-10-12
Stat
h
is Ka
m
p
er
i
s
no-mallo
c
() im
p
lementation works witho
u
t
bugs, th
o
ugh
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Sta
t
his Kamperi
s
First attempt t
o
a mall
o
c() free imp
l
eme
n
ta
t
ion --
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathi
s
Kamperis
Add a program
t
hat pri
n
ts charact
e
rs' frequ
e
nc
i
es
commit
|
commitdiff
|
tree
2007-10-10
Stat
h
is Kamperis
Implement full simu
l
ation
commit
|
commitdiff
|
tree
2007-10-09
Stathis
Kam
p
e
r
is
Add fir
s
t attempt o
f
s
im
u
lation -
-
crashes right now
commit
|
commitdiff
|
tree
2007-10-08
Stath
i
s Kamperis
Put m
a
in() in
t
est
.
c and remov
e
it from
m
p
oo
l
.
c
commit
|
commitdiff
|
tree
2007-10-08
S
tat
h
i
s
Kamperis
Fix newpos calc in mpool_alloc() and add mp
o
ol_stat_get_blo
c
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kampe
r
is
Remo
v
e bogu
s
pri
n
tf()
commit
|
commitdiff
|
tree
2007-10-07
S
tathis Kamp
e
ris
F
i
x typo in comment
commit
|
commitdiff
|
tree
2007-10-07
Stathis
K
amp
e
ris
F
i
x
typo in comment
commit
|
commitdiff
|
tree
2007-10-07
Stathis
K
amperis
Add some comme
n
ts for mpool_free()
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
R
em
o
ve bogus code
commit
|
commitdiff
|
tree
2007-10-07
Stathis Ka
m
p
e
ris
Implement i
n
h
e
r
itance -- w
o
r
k
s, but needs cleanup
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
G
e
neral clean
u
p
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamp
e
ris
Change
namespace from MPOOL_ to MP_
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
A
dd t
e
rminating c
o
ndition in
m
pool_free(
)
commit
|
commitdiff
|
tree
2007-10-06
Stathi
s
Kamperis
Clea
n
mpo
o
l
_free()
mess
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
Add some
m
ore DPRINTF() c
a
l
l
s
in mpool_free()
commit
|
commitdiff
|
tree
2007-10-06
Sta
t
h
i
s
Kamperis
Try to coalesce onl
y
if buddy exists AND is free
commit
|
commitdiff
|
tree
2007-10-06
S
tathis Kam
p
eris
Add flags
m
emb
e
r in blkno
d
e data
structure
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
Fi
x
calculation of `newpos'
when splitting
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
D
E
BUG
symbol is now MPOOL_DEBUG
commit
|
commitdiff
|
tree
2007-10-04
Stathis
K
amperis
Add merges and splits
s
tats if MPOOL_S
T
ATS
is defined
commit
|
commitdiff
|
tree
2007-10-04
S
tathis Kamperis
A
dd some DPRI
N
TF() ca
l
ls in mpo
o
l_f
r
ee() (still a stu
b
)
commit
|
commitdiff
|
tree
2007-10-02
S
t
ath
i
s
K
a
mperis
R
e
p
lace print
f
()
c
a
lls to D
P
RINTF(
)
macro
commit
|
commitdiff
|
tree
2007-10-02
S
t
ath
i
s Kamperis
Ad
d
s
ome more
p
r
i
n
tfs
i
n
mpool_free()
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Remove whitespace
i
n comm
e
nt
commit
|
commitdiff
|
tree
2007-10-02
S
t
athis Kamperis
R
e
move bogus
he
a
der file
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kam
p
e
ris
Add basic imple
m
entation
of mpool_free()
.
No coalesce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
St
a
this Kamperis
Minor cosmetic change in print
f
()
commit
|
commitdiff
|
tree
2007-10-02
Stathis Ka
m
peri
s
Fix typo i
n
comment
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
his Ka
m
per
i
s
Major chang
e
s in data struc
t
ures
a
n
d
a
ddi
t
ion of profilin
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stath
i
s
K
a
mpe
r
is
U
se unsigned ch
a
r
i
nstead of unsigned int for 'boolean
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis
Kampe
r
is
D
o
n't do
v
oid pointer arithmetics
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamperis
Put function proto
t
y
p
es, def
s
a
nd constants in mpool
.
h
commit
|
commitdiff
|
tree
2007-10-01
S
t
a
th
i
s
Kamperis
Add a minsize field
in mpool
to i
n
dica
t
e m
i
ni
m
u
m c
h
unk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis K
a
mperis
Initial import of the buddy memory allocator
commit
|
commitdiff
|
tree
2007-09-20
S
t
a
t
his K
a
mperis
Merge bra
n
ch 'exp-h
a
s
h'
commit
|
commitdiff
|
tree
2007-09-20
Stathi
s
Kamp
e
ris
Don
'
t check < 0 for un
s
i
g
ned
expressio
n
commit
|
commitdiff
|
tree
2007-09-20
Stathis
K
amp
e
ris
M
e
rge bran
c
h 'exp-h
a
s
h
'
commit
|
commitdiff
|
tree
2007-09-20
St
a
t
h
is Kamper
i
s
Merg
e
htable_get
_
firs
t
_elm() in htable_get_next_elm()
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Mer
g
e
b
ranch 'exp-has
h
'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Ka
m
p
er
i
s
Add htable
_
get_first/next_el
e
ment
(
) functions for htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
S
tathis
K
amperis
Merge branch 'exp-ha
s
h'
commit
|
commitdiff
|
tree
2007-09-19
Stath
i
s
Kamperis
Update
TODO file
commit
|
commitdiff
|
tree
2007-09-19
Stathis
K
amp
e
ris
A
dd test case for hta
b
le_traverse
commit
|
commitdiff
|
tree
2007-09-19
St
a
this Kam
p
eris
A
dd ht
a
ble_
g
et_size(), htable_get_us
e
d(), hta
b
le_t
r
ave
r
se()
commit
|
commitdiff
|
tree
2007-09-19
Stat
h
is K
a
mper
i
s
Add stub for
h
table_get_next_elm(
)
commit
|
commitdiff
|
tree
2007-09-19
S
t
athis K
a
m
p
eris
Fix
t
ypo
i
n com
m
e
nt
commit
|
commitdiff
|
tree
2007-09-14
Stathis Kamper
i
s
Add fl
a
gs HT_FRE
E
K
E
Y
a
nd
H
T_FREEDAT
A
in htable_free_*(
)
commit
|
commitdiff
|
tree
2007-09-11
St
a
t
h
is
K
amperis
htable_fr
e
e
_objec
t
s() -> h
t
a
b
le_fr
e
e
_
all_obj(
)
in main
.
c
commit
|
commitdiff
|
tree
2007-09-11
S
t
ath
i
s K
a
mperis
printf callback ->
myprintf so as
n
ot to shadow stdio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
Remove
redundant ,
when in enumeration list
commit
|
commitdiff
|
tree
2007-09-10
Sta
t
his Kamp
e
r
i
s
H
T
_REPLA
C
ED
-
>
H
T_EXISTS
commit
|
commitdiff
|
tree
2007-09-10
St
a
this Kamper
i
s
I
mplement h
t
able_fr
e
e_obj() f
u
nction
commit
|
commitdiff
|
tree
2007-09-10
S
t
athis Kamper
i
s
hta
b
le_inse
r
t()
d
oesn't ovewri
t
e existing da
t
a
commit
|
commitdiff
|
tree
2007-09-10
S
tathis K
a
m
per
i
s
ht
a
ble_insert()
r
etur
n
s
HT_REPLACED if key
already
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Sta
t
his Kamperis
Fr
e
e
hn_key
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
Free old data
wh
e
n
inserting new entry with existing
k
ey
commit
|
commitdiff
|
tree
2007-09-09
Sta
t
his Kamperis
Add htable
_
free_objects(
)
tha frees pnode->data
commit
|
commitdiff
|
tree
2007-09-09
St
a
t
h
is
K
am
p
e
r
i
s
Pass ca
l
lback func
t
ion in htable_init()
commit
|
commitdiff
|
tree
2007-09-09
S
tathis
K
amper
i
s
#include <stddef
.
h>
i
n htable
.
h fo
r
siz
e
_t type
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
htable_grow() s
h
oul
d
retu
r
n
HT_OK on
success
commit
|
commitdiff
|
tree
2007-09-08
S
tathis
K
amperis
Add comment
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Constify variable
i
n
h
table_print()
commit
|
commitdiff
|
tree
2007-09-08
Sta
t
his
Kampe
r
is
A
d
d htable_g
r
ow()
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
is Kamperis
u_int -> unsig
n
ed
i
n
t
commit
|
commitdiff
|
tree
2007-09-08
S
t
a
t
his
Ka
m
peris
Ad
d
comment in main()
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
is Kamperis
change
s
in djb_hash
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Constify some
variabl
e
s
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamp
e
ris
Add a hhead_t typed
e
f
for struct htablehead
commit
|
commitdiff
|
tree
2007-09-08
S
t
athis Kamper
i
s
Add
proper error handli
n
g in htable_*
(
) functions
commit
|
commitdiff
|
tree
2007-09-07
Stathis
K
amperis
p
table
-> htable in main
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kam
p
eris
Add h
t
able_
f
ree() and
d
on'
t
forget to update
h
t_size
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis
K
amperis
Ren
a
me hta
b
l
e
_
de
l
ete
(
) to h
t
able_remove()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Fix t
y
po a
n
d r
e
move
w
hitespace
commit
|
commitdiff
|
tree
2007-09-07
St
a
this Kamperis
Fi
x
comment in previous co
m
mit
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
h
i
s Kamperis
Add
hta
b
le_delete() function
commit
|
commitdiff
|
tree
2007-09-07
St
a
t
his Kampe
r
is
s
tr
-
> key in djb_has
h
(
)
fun
c
tio
n
commit
|
commitdiff
|
tree
2007-09-07
Stathis
K
am
p
er
i
s
Include argum
e
nts' names i
n
function
prototypes
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
pass void
*
k
ey
a
rgument in hta
b
le_print
(
)
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Add com
m
ents for h
t
_size variable
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Const
i
f
y
variable in htable_print()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Move ht
a
b
l
e files to htable/ subdirectory
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Spli
t
htable implement
a
tion t
o
h
table
.
c and htable
.
.
.
commit
|
commitdiff
|
tree
next