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
Kamperis
Add 2D array dyna
m
i
c
a
llocation test ca
s
e
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
test case f
i
le is not
e
xecutable
commit
|
commitdiff
|
tree
2007-10-15
S
t
athis Kamperis
Fix poss
i
b
le
m
em leak
i
n tes
t
case
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
A
d
d a simples
t
possible test
c
as
e
-- mor
e
w
ill follow
commit
|
commitdiff
|
tree
2007-10-15
S
tathi
s
K
a
mperis
Use pro
p
e
r
in
m
po
o
l_pr
i
ntblks()
commit
|
commitdiff
|
tree
2007-10-15
St
a
this Kam
p
e
r
i
s
Return
i
mmediately if b
u
ddy is out of pool
commit
|
commitdiff
|
tree
2007-10-15
Stath
i
s
K
amperis
U
s
e size_t instead of unsigned int when appr
o
priate
commit
|
commitdiff
|
tree
2007-10-15
Stathi
s
Ka
m
p
eri
s
Put
t
h
e
s
tat
f
unctions
in a separ
a
te
.
c fi
l
es
commit
|
commitdiff
|
tree
2007-10-15
Sta
t
his Kam
p
eris
Fix m
a
ny c
o
mments
and ot
h
er min
o
r stuff
commit
|
commitdiff
|
tree
2007-10-15
Stathis Ka
m
p
e
ris
Change error na
m
espace
from MP
_
* to MPOOL_*
commit
|
commitdiff
|
tree
2007-10-15
S
t
athis
K
a
mperis
rename next_block to n
e
xt_ch
u
n
k in
b
lknode_
t
data structure
commit
|
commitdiff
|
tree
2007-10-15
Stathi
s
Kampe
r
is
More validatio
n
in
mpool_allo
c
commit
|
commitdiff
|
tree
2007-10-13
Stathis Ka
m
peris
Repl
a
ce bitwise operations
w
ith proper macros
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
M
ore cleanup
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
L
i
tt
l
e cosmetic stuff
commit
|
commitdiff
|
tree
2007-10-13
St
a
this
K
amperis
R
e
move unused variable
p
commit
|
commitdiff
|
tree
2007-10-12
S
t
athis Kamperis
n
o
-mallo
c
() implement
a
tion works without bug
s
, thoug
h
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis K
a
mperis
First
a
t
te
m
pt
t
o a m
a
lloc
(
)
f
r
e
e imp
l
ementation --
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis K
a
m
peris
Add a program that prints
characters' fr
e
quencies
commit
|
commitdiff
|
tree
2007-10-10
Stathi
s
Ka
m
peris
Implement
f
ull si
m
u
l
ati
o
n
commit
|
commitdiff
|
tree
2007-10-09
S
t
athis Ka
m
p
e
ris
Ad
d
f
i
r
st attempt of simulat
i
on
-
-
crashes
r
ight now
commit
|
commitdiff
|
tree
2007-10-08
Stathis Kamperi
s
Put main() in te
s
t
.
c
and remove it from
mpo
o
l
.
c
commit
|
commitdiff
|
tree
2007-10-08
Stathis Ka
m
peris
Fix n
e
wpos calc in mp
o
ol_all
o
c(
)
and ad
d
mpool_stat_get_bloc
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
Stathis
Kamperis
Re
m
o
ve bogus
pri
n
tf
(
)
commit
|
commitdiff
|
tree
2007-10-07
S
tat
h
i
s
Kamperi
s
Fix typ
o
in comment
commit
|
commitdiff
|
tree
2007-10-07
Stat
h
is Kamperis
Fix
t
y
po in com
m
ent
commit
|
commitdiff
|
tree
2007-10-07
Stath
i
s Kamperis
A
d
d
some
c
omments fo
r
mpool_free()
commit
|
commitdiff
|
tree
2007-10-07
Stathi
s
Kampe
r
is
R
emove bogus co
d
e
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Implem
e
nt
i
nh
e
ritan
c
e
--
works, but ne
e
ds c
l
eanup
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kam
p
eris
General clea
n
up
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Change n
a
mespace from MPOOL_
t
o
MP_
commit
|
commitdiff
|
tree
2007-10-06
Sta
t
his Kamperi
s
A
d
d terminati
n
g condition
i
n mpool_f
r
ee()
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
Clean mpoo
l
_free()
mes
s
commit
|
commitdiff
|
tree
2007-10-06
St
a
this Kamperis
Ad
d
s
o
me more DPRI
N
TF() ca
l
ls i
n
mpool_free()
commit
|
commitdiff
|
tree
2007-10-06
S
tathis Ka
m
pe
r
i
s
Try to c
o
alesce o
n
l
y if buddy exists A
N
D is free
commit
|
commitdiff
|
tree
2007-10-06
S
t
a
t
hi
s
Kamperis
Add flags member in
blknode data struc
t
u
r
e
commit
|
commitdiff
|
tree
2007-10-04
Sta
t
his Kamperis
Fix calc
u
lation of
`
newpos' when spli
t
ting
commit
|
commitdiff
|
tree
2007-10-04
Sta
t
his Kam
p
er
i
s
DEBUG
s
ymbol is now MP
O
OL_DEBUG
commit
|
commitdiff
|
tree
2007-10-04
Stathis
K
a
m
peris
Ad
d
merges an
d
splits
s
tats
i
f MPOOL_STATS is defined
commit
|
commitdiff
|
tree
2007-10-04
S
tathis
K
a
m
peris
Add some
D
PRINTF() calls i
n
mp
o
ol_free() (still
a stub)
commit
|
commitdiff
|
tree
2007-10-02
Stathis
Kamper
i
s
Replace pr
i
ntf
(
) call
s
to DP
R
INTF() macro
commit
|
commitdiff
|
tree
2007-10-02
Stathi
s
Kamperis
Add some more printfs in mpool_free()
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
h
is Kamperis
R
e
move whitesp
a
ce in c
o
mment
commit
|
commitdiff
|
tree
2007-10-02
St
a
thi
s
Kamperis
R
e
m
o
v
e bogus header file
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Add basic
imp
l
ementation of mpool_f
r
ee()
.
No
coalesce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
S
t
athis Kam
p
eris
Minor
cosmetic change in printf()
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamp
e
ris
Fix typo in comment
commit
|
commitdiff
|
tree
2007-10-02
St
a
this Kamperis
Major c
h
ange
s
in data
structures
a
nd addition of profiling
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
S
tathis K
a
mperis
Use unsigned char instead of unsigne
d
int for 'bool
e
an
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Sta
t
h
is Kamperi
s
Don
'
t
do v
o
id pointer arithmetics
commit
|
commitdiff
|
tree
2007-10-01
Stat
h
is Kamperis
P
ut function protot
y
pes,
d
e
f
s and constants in mpool
.
h
commit
|
commitdiff
|
tree
2007-10-01
Stathis
K
a
m
peri
s
Add a
m
insize fi
e
ld i
n
mpool
to indicate minimu
m
chunk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis
K
amperi
s
Initial
i
mport
o
f
t
he buddy memory allocator
commit
|
commitdiff
|
tree
2007-09-20
Stathis
Kamperis
Merge branch 'exp-has
h
'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Don't
check < 0
f
or unsigned expres
s
ion
commit
|
commitdiff
|
tree
2007-09-20
S
t
a
t
h
is
K
am
p
eris
Mer
g
e bra
n
ch 'exp
-
hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Mer
g
e ht
a
ble_get_first_elm() in htable_get_next_elm
(
)
commit
|
commitdiff
|
tree
2007-09-20
Stath
i
s Ka
m
per
i
s
Merge branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
S
t
a
t
h
i
s Kamperis
A
dd htable_get_first/next_element
(
) functions for h
t
able
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kam
p
eris
M
erge branch 'exp
-
hash
'
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kam
p
eris
U
pdate TODO file
commit
|
commitdiff
|
tree
2007-09-19
Stathis K
a
mperis
Add test case fo
r
ht
a
ble
_
traverse
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Add hta
b
l
e
_get_size(), htable_
g
e
t_used(), htab
l
e_t
r
averse()
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperi
s
Add s
t
u
b for hta
b
l
e
_get_
n
ext_elm()
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamp
e
r
i
s
Fix typo in comment
commit
|
commitdiff
|
tree
2007-09-14
S
tathis K
a
mperis
A
dd fl
a
gs HT_FREEKEY a
n
d HT_FREEDATA in htab
l
e_free_*
(
)
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
htable_free_objects() -> htable_free_
a
l
l_obj() in main
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
p
r
intf callback -> m
y
printf so as not to sha
d
ow std
i
o
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
S
t
athis Kamperis
Remove redund
a
nt , when in enumeration list
commit
|
commitdiff
|
tree
2007-09-10
S
t
a
this Kamperis
HT_
R
E
PLACED -> H
T
_EXISTS
commit
|
commitdiff
|
tree
2007-09-10
Stathis
K
a
m
pe
r
is
Imple
m
e
n
t htabl
e
_fre
e
_obj() function
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperi
s
htable_inser
t
() do
e
sn't ovewrite ex
i
sting data
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
htable_insert() retu
r
ns HT_REPLACED if
k
ey already
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
F
r
ee hn_key
commit
|
commitdiff
|
tree
2007-09-10
S
t
athis Kam
p
eris
Free old da
t
a wh
e
n inserting new entry wi
t
h existing key
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kam
p
eris
Add ht
a
ble_free_ob
j
e
c
ts() tha fr
e
es p
n
ode->data
commit
|
commitdiff
|
tree
2007-09-09
Stathis
Kamper
i
s
P
a
ss callback fu
n
ction in htable_
i
nit()
commit
|
commitdiff
|
tree
2007-09-09
Stath
i
s Kamp
e
ri
s
#inclu
d
e <stddef
.
h> in htabl
e
.
h for
s
ize_
t
type
commit
|
commitdiff
|
tree
2007-09-09
S
t
a
this
Kampe
r
is
htable_grow()
sh
o
uld retu
r
n HT_OK on
s
uc
c
ess
commit
|
commitdiff
|
tree
2007-09-08
Sta
t
his Kampe
r
is
Add
c
o
mment
commit
|
commitdiff
|
tree
2007-09-08
Stathis
Kamperi
s
Constify variable in h
t
able_print(
)
commit
|
commitdiff
|
tree
2007-09-08
Stathis K
a
mperis
A
dd htable_gro
w
()
commit
|
commitdiff
|
tree
2007-09-08
Sta
t
h
i
s
K
amperi
s
u_int
-
> unsigned int
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kam
p
eris
Add comment in main()
commit
|
commitdiff
|
tree
2007-09-08
S
ta
t
his
Kamp
e
ris
chang
e
s i
n
djb_ha
s
h
commit
|
commitdiff
|
tree
2007-09-08
Stath
i
s
Kamperis
Consti
f
y some variables
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Add a
hhead_t typedef f
o
r struct h
t
a
b
lehead
commit
|
commitdiff
|
tree
2007-09-08
S
t
a
this
Kampe
r
is
A
d
d proper error han
d
ling in htable_*
(
)
functions
commit
|
commitdiff
|
tree
2007-09-07
St
a
this Ka
m
peris
ptable -> htabl
e
in
m
ain
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Ad
d
htable_free(
)
and
don't forget t
o
u
p
d
ate ht_size
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
his K
a
mperis
R
e
name ht
a
ble_d
e
lete() t
o
h
t
a
ble_remove()
commit
|
commitdiff
|
tree
2007-09-07
Stath
i
s
Kamperis
Fix typo and r
e
move
w
hite
s
p
a
ce
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
his Ka
m
p
eris
Fix comment i
n
pr
e
v
i
o
us commit
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is Kamperis
Ad
d
htable_delet
e
() functio
n
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Ka
m
peris
str -> key
i
n djb_
h
ash() function
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Include arguments'
names in function prot
o
types
commit
|
commitdiff
|
tree
2007-09-07
S
tathis K
a
mperis
pa
s
s void *ke
y
argu
m
ent in htable_print(
)
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
K
a
mperi
s
A
d
d co
m
ments for ht_size variable
commit
|
commitdiff
|
tree
2007-09-07
Stathis K
a
mperis
Constify vari
a
ble in htable_p
r
int()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kampe
r
is
Mov
e
htable files to htable/ subdirecto
r
y
commit
|
commitdiff
|
tree
next