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
Add 2D array dynamic allocation test case
2007-10-17
Stathis Kamp
e
ris
Add 2D arr
a
y dynamic a
l
location te
s
t case
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
test case fil
e
is no
t
executable
commit
|
commitdiff
|
tree
2007-10-15
S
t
athis Kamperis
F
ix
p
ossible mem leak in t
e
st case
commit
|
commitdiff
|
tree
2007-10-15
Sta
t
hi
s
Kamperis
Add a simplest
p
ossible testca
s
e --
more
will follow
commit
|
commitdiff
|
tree
2007-10-15
St
a
this Kamperis
U
se prop
e
r in mpool_pr
i
ntb
l
ks(
)
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
Return im
m
ediately if b
u
d
d
y is o
u
t of pool
commit
|
commitdiff
|
tree
2007-10-15
Sta
t
h
i
s Kamperis
Use size_
t
instead of unsigned int when appr
o
p
riate
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperi
s
P
ut t
h
e stat fun
c
t
i
ons in a se
p
arate
.
c fil
e
s
commit
|
commitdiff
|
tree
2007-10-15
Stathis
K
amp
e
ris
Fix many comments and other min
o
r stu
f
f
commit
|
commitdiff
|
tree
2007-10-15
S
t
athis Ka
m
pe
r
is
C
hang
e
error namespace
f
rom
MP_* t
o
MPOOL_*
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
rename next_block to nex
t
_chunk
i
n
blknode_
t
d
at
a
structure
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kampe
r
is
More v
a
lidati
o
n
i
n
mpool
_
a
l
loc
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperi
s
Rep
l
ace bitwis
e
operation
s
with proper m
a
cros
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamper
i
s
Mor
e
cl
e
a
n
up
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
L
i
ttle cosmetic
st
u
ff
commit
|
commitdiff
|
tree
2007-10-13
S
tathis Kamper
i
s
Remov
e
u
n
used v
a
ri
a
ble p
commit
|
commitdiff
|
tree
2007-10-12
Stathis Kamperis
no-malloc() implementation
w
o
rks without
b
ugs, th
o
ugh
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
St
a
this K
a
mperi
s
Fir
s
t
a
ttempt to a malloc
(
)
fr
e
e
implementation --
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis Kamperis
Add a prog
r
am that
prints char
a
cte
r
s' frequencies
commit
|
commitdiff
|
tree
2007-10-10
Stathis Kamper
i
s
Imp
l
ement full simula
t
ion
commit
|
commitdiff
|
tree
2007-10-09
Stath
i
s Kamperis
Add first att
e
m
p
t of simulation -- crashes
rig
h
t now
commit
|
commitdiff
|
tree
2007-10-08
Stat
h
is
K
amperis
Put main() in
te
s
t
.
c and remove it from
mpoo
l
.
c
commit
|
commitdiff
|
tree
2007-10-08
Stathis
K
a
m
p
e
ri
s
F
ix
n
ew
p
os cal
c
in mpool_alloc() and add mpool
_
stat_get_bloc
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Remove bogus
prin
t
f()
commit
|
commitdiff
|
tree
2007-10-07
Stat
h
is Kamperis
Fix typo
i
n
comment
commit
|
commitdiff
|
tree
2007-10-07
Stath
i
s Kamp
e
r
i
s
F
ix typo in
c
om
m
e
nt
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Ad
d
some comments for mpool_free()
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
R
e
m
o
v
e bogu
s
c
ode
commit
|
commitdiff
|
tree
2007-10-07
St
a
t
his Ka
m
peris
Im
p
l
e
m
e
nt i
n
h
erit
a
nce -- works,
but needs clean
u
p
commit
|
commitdiff
|
tree
2007-10-07
Stathis
Kamperis
General cleanup
commit
|
commitdiff
|
tree
2007-10-07
Stathis
Kamperis
Change
n
a
m
espace from M
P
OOL_ to MP
_
commit
|
commitdiff
|
tree
2007-10-06
S
t
a
this Kamperi
s
Add te
r
m
i
nating condition in
m
pool_free()
commit
|
commitdiff
|
tree
2007-10-06
S
t
athis Kam
p
eris
Clean m
p
oo
l
_free() m
e
ss
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
Add some more DPRIN
T
F()
c
alls in mpool_free()
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
Try t
o
coalesce
onl
y
if buddy exists AND is free
commit
|
commitdiff
|
tree
2007-10-06
Stathis
K
a
mperis
Add fla
g
s
me
m
ber in blknode dat
a
struc
t
ure
commit
|
commitdiff
|
tree
2007-10-04
Stathis K
a
mperis
F
ix
c
alcul
a
tion of `newpos' w
h
en splitting
commit
|
commitdiff
|
tree
2007-10-04
S
ta
t
his Kamperis
DEBUG
s
y
mbo
l
is
now MPOOL_DEBUG
commit
|
commitdiff
|
tree
2007-10-04
Stat
h
is Kamperis
Add me
r
g
e
s
and splits
s
tats
i
f MPOOL_STATS is
d
efine
d
commit
|
commitdiff
|
tree
2007-10-04
Stath
i
s
Kam
p
eris
Add some DPRINTF() cal
l
s in mpool_free()
(
still a stub)
commit
|
commitdiff
|
tree
2007-10-02
Stathis
Kam
p
eris
Repl
a
c
e printf() calls to D
P
R
I
NTF() macro
commit
|
commitdiff
|
tree
2007-10-02
Stathi
s
Kamperi
s
Add some more
p
r
i
ntfs in mpo
o
l
_
free()
commit
|
commitdiff
|
tree
2007-10-02
Stathis Ka
m
per
i
s
R
e
m
ove
wh
i
tespace in c
o
mment
commit
|
commitdiff
|
tree
2007-10-02
S
ta
t
his Kamperis
Remo
v
e bogus h
e
a
d
e
r file
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
A
dd
basic i
m
ple
m
entation of mpool
_
f
r
ee()
.
No c
o
alesce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
St
a
t
h
is K
a
mperis
Min
o
r cosm
e
tic chang
e
in printf()
commit
|
commitdiff
|
tree
2007-10-02
Stathis
Kam
p
eri
s
Fix typ
o
i
n c
o
mment
commit
|
commitdiff
|
tree
2007-10-02
Stathi
s
K
a
mperis
Major changes in data str
u
cture
s
and addition of profiling
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis K
a
mperis
Use un
s
igned ch
a
r instead o
f
unsigned int for '
b
oolean
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stat
h
is K
a
mp
e
r
is
Don't do void pointer arith
m
et
i
cs
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kam
p
eris
Put f
u
nction p
r
ototyp
e
s, de
f
s and constants i
n
mpoo
l
.
h
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamperis
Add a mi
n
siz
e
field in mpool t
o
in
d
icate minimum ch
u
n
k
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamper
i
s
Initia
l
impo
r
t of the
buddy memory allo
c
ator
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
M
erge
b
r
a
nch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Don't chec
k
< 0 for unsigned expression
commit
|
commitdiff
|
tree
2007-09-20
Stathis
K
amperis
Merge
b
ranch '
e
xp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Merge
htab
l
e_ge
t
_first_elm() in htabl
e
_ge
t
_n
e
x
t_elm()
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Merge
b
r
a
n
ch 'exp-
h
as
h
'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kampe
r
is
Add h
t
able_get_first/next_ele
m
ent() func
t
io
n
s for
h
table
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Sta
t
his Kamperis
M
erge branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Upda
t
e TODO file
commit
|
commitdiff
|
tree
2007-09-19
Stat
h
is Kamper
i
s
Add test cas
e
for htabl
e
_traverse
commit
|
commitdiff
|
tree
2007-09-19
Sta
t
his
K
ampe
r
i
s
Add htable_get
_
s
i
ze(), htable_get_used(), ht
a
b
l
e_t
r
averse()
commit
|
commitdiff
|
tree
2007-09-19
Sta
t
h
i
s
Kamperi
s
Add stub for
h
table_get
_
n
e
xt_elm()
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Fix typ
o
in comment
commit
|
commitdiff
|
tree
2007-09-14
Stath
i
s
Kamperis
Add fla
g
s HT_FREEKEY and HT_FREEDA
T
A
i
n htab
l
e_f
r
ee_
*
()
commit
|
commitdiff
|
tree
2007-09-11
Stathi
s
Kamperis
htable_fre
e
_objects() -> htab
l
e_free_a
l
l_obj() in main
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
printf
callback -> m
y
printf
so as not to shado
w
s
t
dio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Sta
t
his
K
amperis
Rem
o
ve
redundant
, when in enumer
a
tion list
commit
|
commitdiff
|
tree
2007-09-10
Sta
t
his
K
amperis
HT_REPLA
C
ED -> HT_EXISTS
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
Implement htable_f
r
e
e
_obj()
f
unction
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
h
tab
l
e_insert(
)
doesn't ovewrite
existin
g
data
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kam
p
eris
hta
b
le_i
n
sert() retur
n
s
HT
_
REPLAC
E
D
i
f k
e
y al
r
eady
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
S
t
athis Ka
m
per
i
s
F
ree hn_
k
ey
commit
|
commitdiff
|
tree
2007-09-10
S
tat
h
i
s
Ka
m
peris
Free old data
w
hen inserti
n
g new
e
ntry
w
ith
existing key
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamp
e
ri
s
Ad
d
ht
a
ble_free_objec
t
s() tha f
r
ees pnode->dat
a
commit
|
commitdiff
|
tree
2007-09-09
Sta
t
h
i
s Kamperis
P
a
s
s c
a
llback functio
n
in htable_init()
commit
|
commitdiff
|
tree
2007-09-09
S
tat
h
is Kamperis
#include <stddef
.
h> in htable
.
h for size_t type
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
hta
b
le_grow() should retu
r
n
HT_OK
on succes
s
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
A
d
d comment
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Consti
f
y variable i
n
htable_pri
n
t()
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
is Kamperi
s
Add htable_grow()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
u
_int
-> unsign
e
d int
commit
|
commitdiff
|
tree
2007-09-08
Stathis
K
amperi
s
Add co
m
ment in mai
n
()
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
is Kamperi
s
ch
a
nges in dj
b
_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 typedef f
o
r
struct h
t
ablehead
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
is Kamperis
Add prop
e
r error handling in htable_*() functions
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
pt
a
b
l
e
-> htabl
e
in main
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
A
dd ht
a
b
le_f
r
ee() a
n
d
d
on't
f
orget to
u
pdate ht_si
z
e
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Re
n
ame h
t
able_delete() to ht
a
ble_remo
v
e()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kampe
r
i
s
Fix typo and remov
e
whit
e
space
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is Kamperis
Fix comment in p
r
evious comm
i
t
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamp
e
r
i
s
Add ht
a
bl
e
_delete()
f
unction
commit
|
commitdiff
|
tree
2007-09-07
S
tathis Ka
m
peris
s
t
r
->
key in djb_hash() function
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Include a
r
guments' names in function prototypes
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kam
p
eris
pass void *k
e
y ar
g
um
e
n
t i
n
htable_print()
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
i
s
K
a
mp
e
r
i
s
Add com
m
e
n
t
s for ht_si
z
e
v
a
ria
b
le
commit
|
commitdiff
|
tree
2007-09-07
Stath
i
s Kamperis
Cons
t
if
y
variabl
e
in
htable_print()
commit
|
commitdiff
|
tree
2007-09-07
Stathis
Ka
m
peris
Move
h
table
f
i
le
s
t
o
h
t
able/ s
u
bdirectory
commit
|
commitdiff
|
tree
next