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 Kam
p
eris
Add 2D a
r
r
ay dynamic allocation tes
t
case
commit
|
commitdiff
|
tree
2007-10-15
Stath
i
s Ka
m
pe
r
is
tes
t
case f
i
le is not executa
b
le
commit
|
commitdiff
|
tree
2007-10-15
Sta
t
his Kamperis
F
ix pos
s
ible mem leak in test case
commit
|
commitdiff
|
tree
2007-10-15
St
a
t
h
i
s Kamperis
A
d
d a
simplest possible
testcase -- more will follow
commit
|
commitdiff
|
tree
2007-10-15
S
tathis
K
amperis
Us
e
proper in mpool
_
p
rint
b
l
k
s()
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamper
i
s
Return immed
i
ately if buddy is out of pool
commit
|
commitdiff
|
tree
2007-10-15
S
tat
h
is Kamperis
Use size_t i
n
stead of uns
i
gned int w
h
en appropriate
commit
|
commitdiff
|
tree
2007-10-15
Stat
h
is
K
amperis
Put the stat fu
n
ctions i
n
a separate
.
c files
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperi
s
Fix
m
a
ny comments and other
minor stuf
f
commit
|
commitdiff
|
tree
2007-10-15
Sta
t
h
i
s Kamperis
Change error nam
e
s
p
ace from M
P
_* to MPO
O
L_*
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
rename next_block t
o
n
e
xt_chunk in blknode_t data structur
e
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
More validatio
n
in m
p
ool_alloc
commit
|
commitdiff
|
tree
2007-10-13
S
t
a
this Kamperis
Replace bitwi
s
e ope
r
a
tions with proper macros
commit
|
commitdiff
|
tree
2007-10-13
Stath
i
s Kamp
e
ris
More
cle
a
n
u
p
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
Little cosmetic st
u
f
f
commit
|
commitdiff
|
tree
2007-10-13
Sta
t
h
i
s Ka
m
peris
Rem
o
v
e
un
u
sed
v
ariable
p
commit
|
commitdiff
|
tree
2007-10-12
Sta
t
his Kamperis
no-malloc
(
) implementation works without
b
u
g
s,
t
hough
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Sta
t
his Kamperi
s
Fir
s
t
a
tte
m
pt to a malloc
(
) free imp
l
ementa
t
ion
-
-
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis
Kamperis
Ad
d
a program that
p
rints
cha
r
a
cters' fre
q
uencies
commit
|
commitdiff
|
tree
2007-10-10
Stathis Kamp
e
r
is
Implement full simu
l
a
t
ion
commit
|
commitdiff
|
tree
2007-10-09
Stathis
K
amperis
Add first attempt of simulation --
c
rashes right now
commit
|
commitdiff
|
tree
2007-10-08
St
a
this
K
a
mperis
Put main(
)
in test
.
c and remo
v
e
it from
m
pool
.
c
commit
|
commitdiff
|
tree
2007-10-08
Stat
h
i
s
Kamp
e
ris
Fix newpos cal
c
i
n
m
pool_alloc() and a
d
d mp
o
ol_s
t
at_get_bloc
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
Stathi
s
Kamperis
Remove bogus pri
n
t
f()
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Fix typ
o
in co
m
ment
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kampe
r
is
Fix typo in comment
commit
|
commitdiff
|
tree
2007-10-07
St
a
this K
a
mp
e
r
is
Add so
m
e comments
for m
p
ool_
f
ree()
commit
|
commitdiff
|
tree
2007-10-07
S
t
athis
Kamp
e
ris
R
e
mov
e
bog
u
s code
commit
|
commitdiff
|
tree
2007-10-07
Stathis
K
a
mperis
Imp
l
ement inheritanc
e
-- w
o
rks, but needs
cleanup
commit
|
commitdiff
|
tree
2007-10-07
St
a
t
h
is Ka
m
peris
Gen
e
ral clean
u
p
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Change
n
amespa
c
e from MPO
O
L_ to MP_
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
Ad
d
termin
a
t
i
ng c
o
ndit
i
on in mpool_free()
commit
|
commitdiff
|
tree
2007-10-06
St
a
this
Kamperis
Clean
m
p
ool_free() mess
commit
|
commitdiff
|
tree
2007-10-06
S
tathis Kamperis
Add some more DP
R
INTF() calls i
n
mpo
o
l_free()
commit
|
commitdiff
|
tree
2007-10-06
St
a
this Kamperis
Try to
c
oalesce only if buddy exists AND is free
commit
|
commitdiff
|
tree
2007-10-06
Stathis K
a
m
p
eris
A
d
d flags membe
r
in
b
lkno
d
e
d
ata structure
commit
|
commitdiff
|
tree
2007-10-04
S
t
athis
Kamperis
Fix c
a
lcu
l
atio
n
of `n
e
w
p
o
s' when splitti
n
g
commit
|
commitdiff
|
tree
2007-10-04
Stat
h
is Kamperis
D
EBU
G
s
ymbol is now MP
O
OL_DEBUG
commit
|
commitdiff
|
tree
2007-10-04
S
t
athis
K
a
m
p
e
r
is
Add
merg
e
s
and
s
plits stats if MPOOL_STATS is defined
commit
|
commitdiff
|
tree
2007-10-04
Stathis K
a
mperis
Add some D
P
RINTF
(
) calls in m
p
ool_free() (still a stub)
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kam
p
eris
Replace printf() call
s
t
o
DP
R
INTF() ma
c
ro
commit
|
commitdiff
|
tree
2007-10-02
St
a
this Kamperis
Add some more p
r
intfs
i
n mpool
_
free()
commit
|
commitdiff
|
tree
2007-10-02
Stathis Ka
m
peris
Remove
w
hites
p
ace
i
n
com
m
ent
commit
|
commitdiff
|
tree
2007-10-02
Stat
h
is Kamperis
Remove bogus header
f
i
le
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Add
basic implementation of
m
pool_
f
ree()
.
No coalesce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stat
h
is Kamperis
M
ino
r
cosmetic change in pri
n
t
f()
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
F
i
x
t
yp
o
i
n
comment
commit
|
commitdiff
|
tree
2007-10-02
Stat
h
is Ka
m
peris
Major changes in d
a
ta structures a
n
d add
i
tio
n
o
f
profi
l
ing
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Use unsi
g
ned char
i
n
stead
o
f
u
n
s
igned int for 'boolean
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kam
p
e
r
is
Don't do void
pointer ar
i
thmetics
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamperi
s
Put
function prototyp
e
s
, de
f
s a
n
d co
n
stants in mpool
.
h
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamperis
A
dd a minsize fi
e
ld in m
p
ool to
i
ndicat
e
minimum c
h
unk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stat
h
is
Kamperis
Initial impo
r
t o
f
th
e
buddy memory a
l
locator
commit
|
commitdiff
|
tree
2007-09-20
Sta
t
his Kamperis
M
erge branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stath
i
s Kamperis
Don'
t
c
h
eck < 0 for
uns
i
gned expressio
n
commit
|
commitdiff
|
tree
2007-09-20
Stath
i
s Kam
p
er
i
s
Merge branch 'exp
-
hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis
Kamperi
s
Merge htable_get_firs
t
_elm(
)
in htabl
e
_
g
et
_
next_elm()
commit
|
commitdiff
|
tree
2007-09-20
Sta
t
h
i
s Kamp
e
ris
M
e
rge branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamper
i
s
Add h
t
able_get
_
firs
t
/next_elem
e
nt() functions for htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Sta
t
his Kamperis
Me
r
g
e branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-19
Stathis Ka
m
p
eris
U
p
date TODO file
commit
|
commitdiff
|
tree
2007-09-19
S
t
athis
K
amperis
Add te
s
t case for
htable_t
r
aver
s
e
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Add htable_get_s
i
ze(), hta
b
l
e
_
ge
t
_used(),
h
table_traverse()
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kam
p
eris
Add s
t
u
b
for
h
table_get_next_elm()
commit
|
commitdiff
|
tree
2007-09-19
Stathis K
a
mperis
Fix typo in c
o
m
ment
commit
|
commitdiff
|
tree
2007-09-14
Stathis Ka
m
peris
Add fla
g
s HT_F
R
EEKEY
a
n
d
HT_
F
REEDATA in htable_free_*()
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
htable
_
fre
e
_o
b
ject
s
() -> htabl
e
_f
r
ee
_
all
_
obj()
i
n
m
a
i
n
.
c
commit
|
commitdiff
|
tree
2007-09-11
S
tathis Kamperis
printf
ca
l
lback -> myprintf
s
o as not to
s
hadow stdio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamper
i
s
R
e
m
ov
e
r
e
dundan
t
,
w
hen in e
n
umeration list
commit
|
commitdiff
|
tree
2007-09-10
Sta
t
his Kampe
r
is
H
T
_REPLACED -> H
T
_
E
X
IST
S
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamp
e
ris
I
mplem
e
nt htable
_
free_obj(
)
function
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kam
p
e
r
is
htable_insert() doe
s
n't ovewrite e
x
isting
d
ata
commit
|
commitdiff
|
tree
2007-09-10
Stathis
K
a
mperis
htable_insert() returns HT_REPLACED if key
a
lrea
d
y
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Stathis Ka
m
pe
r
is
Free hn_key
commit
|
commitdiff
|
tree
2007-09-10
Stat
h
is Kam
p
eris
F
re
e
old data w
h
e
n in
s
erting new entry with exis
t
i
ng key
commit
|
commitdiff
|
tree
2007-09-09
Stath
i
s
K
amperis
A
d
d
hta
b
le
_
free
_
ob
j
ects() tha frees pno
d
e->dat
a
commit
|
commitdiff
|
tree
2007-09-09
Stat
h
i
s
Kamperis
Pass c
a
llback function in hta
b
l
e
_init
(
)
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
#
includ
e
<st
d
d
e
f
.
h> in
htable
.
h f
o
r
size_t type
commit
|
commitdiff
|
tree
2007-09-09
Stat
h
is
K
amperis
htable_gr
o
w() should ret
u
rn HT_OK on succ
e
s
s
commit
|
commitdiff
|
tree
2007-09-08
St
a
this Kamperis
Add co
m
ment
commit
|
commitdiff
|
tree
2007-09-08
Stathis
Kamperis
Constify variable in
h
table
_
print(
)
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Ad
d
htable_grow()
commit
|
commitdiff
|
tree
2007-09-08
Stathis K
a
mperis
u_int
-> unsigned
i
nt
commit
|
commitdiff
|
tree
2007-09-08
Stathis
K
amperis
Add
comment in main
(
)
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
c
h
anges in djb_hash
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Constify some vari
a
bles
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Add
a h
h
ead_t
t
ype
d
ef
for st
r
uct htab
l
eh
e
ad
commit
|
commitdiff
|
tree
2007-09-08
Stathis Ka
m
peris
A
dd proper error handling
in htable_*()
functions
commit
|
commitdiff
|
tree
2007-09-07
S
tathis
Kamperis
pta
b
l
e
-> htable in
main
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stath
i
s Kamperis
A
dd htable_free(
)
and
d
o
n
'
t forge
t
t
o
update
h
t_size
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Rename
h
table_delete() to htable_remove()
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Kamperis
Fix typo an
d
r
e
m
o
ve
whitespace
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamperis
F
ix co
m
ment
i
n p
r
e
v
iou
s
c
ommit
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
hi
s
K
a
mperis
A
dd htable_dele
t
e() function
commit
|
commitdiff
|
tree
2007-09-07
S
t
a
this
K
a
mperis
s
t
r -> key in djb_hash() func
t
i
on
commit
|
commitdiff
|
tree
2007-09-07
S
t
a
t
his Kamp
e
ris
Inc
l
ude
a
rgumen
t
s' names in func
t
ion p
r
ot
o
types
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Kamperis
pass void *key argume
n
t in htable_print()
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamperi
s
Add comments for
h
t_size v
a
ri
a
ble
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Constify
vari
a
ble in ht
a
b
l
e
_
print()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Ka
m
p
e
ri
s
Move htable files to htable/
s
ubdirectory
commit
|
commitdiff
|
tree
next