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
Stath
i
s Kamperi
s
A
d
d 2D array dynamic alloc
a
tion test case
commit
|
commitdiff
|
tree
2007-10-15
St
a
this
K
a
mperis
t
es
t
case f
i
le is not executa
b
le
commit
|
commitdiff
|
tree
2007-10-15
Sta
t
his Kam
p
eris
Fix
p
os
s
ib
l
e
m
e
m leak in test case
commit
|
commitdiff
|
tree
2007-10-15
S
t
at
h
is Kamperis
Add
a
s
i
mplest p
o
ssible test
c
ase -- more
will follow
commit
|
commitdiff
|
tree
2007-10-15
Sta
t
his Kamperi
s
Use proper in mpool_pri
n
tb
l
k
s
(
)
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kampe
r
is
Retu
r
n imme
d
i
ately if buddy
is out of poo
l
commit
|
commitdiff
|
tree
2007-10-15
Stat
h
is Kamperis
Use size_t
i
nstea
d
o
f
unsigned
i
n
t when
a
ppropriat
e
commit
|
commitdiff
|
tree
2007-10-15
S
tathis Kam
p
eris
Put the stat functions in a s
e
parate
.
c files
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
Fix m
a
ny comme
n
ts
a
nd
ot
h
er min
o
r stuff
commit
|
commitdiff
|
tree
2007-10-15
Stathis
Kamperis
Chan
g
e error na
m
es
p
ace from MP_* to
MPOOL
_
*
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
rename next
_
block t
o
ne
x
t_ch
u
nk in blk
n
ode
_
t data
s
t
r
ucture
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
M
o
r
e
v
a
l
idation in mpo
o
l_alloc
commit
|
commitdiff
|
tree
2007-10-13
Stath
i
s Kampe
r
is
Replace bitwise operati
o
ns with pr
o
per mac
r
os
commit
|
commitdiff
|
tree
2007-10-13
S
ta
t
his Kamperis
More cle
a
nup
commit
|
commitdiff
|
tree
2007-10-13
S
tathi
s
K
amperis
Li
t
tle co
s
me
t
i
c stuff
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
Remove
unused
v
ariable p
commit
|
commitdiff
|
tree
2007-10-12
St
a
t
h
is
Kamperis
no-malloc() implementation work
s
without
b
ugs, th
o
ugh
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathi
s
Kamperis
First attem
p
t
t
o a malloc() free imp
l
emen
t
ation
-
-
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis Kamperis
A
dd a
p
r
ogram that prints characters
'
frequencie
s
commit
|
commitdiff
|
tree
2007-10-10
S
tat
h
is Kamperis
Implement full si
m
ulation
commit
|
commitdiff
|
tree
2007-10-09
Stathis Kamperi
s
A
d
d
first attempt of simulation -- cr
a
shes right
now
commit
|
commitdiff
|
tree
2007-10-08
Stath
i
s Kamperis
Put main() in te
s
t
.
c and
remove it from mpool
.
c
commit
|
commitdiff
|
tree
2007-10-08
Stathis
K
amperis
F
ix n
e
wpos c
a
lc in mpool_alloc() and a
d
d mp
o
ol_stat_get_bl
o
c
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
Stat
h
is Kamperis
R
e
mov
e
bo
g
u
s
printf()
commit
|
commitdiff
|
tree
2007-10-07
S
t
athis Kamper
i
s
F
ix typo in comment
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Fix typo in
c
omment
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamper
i
s
Add som
e
comments for mpool_free()
commit
|
commitdiff
|
tree
2007-10-07
Stathis
K
amp
e
ris
Remove bogu
s
c
ode
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
I
mplement
inheritance -- wo
r
k
s,
b
ut needs c
l
eanu
p
commit
|
commitdiff
|
tree
2007-10-07
Stat
h
is Kamperis
G
e
ner
a
l cleanup
commit
|
commitdiff
|
tree
2007-10-07
Stathis
K
a
mperis
Change namespace fr
o
m MPOOL_ to MP_
commit
|
commitdiff
|
tree
2007-10-06
S
t
a
t
hi
s
Kamperis
A
dd terminating
conditio
n
in mpool
_
free()
commit
|
commitdiff
|
tree
2007-10-06
Stathis K
a
mper
i
s
Clea
n
mpool_fre
e
() mes
s
commit
|
commitdiff
|
tree
2007-10-06
Stathis K
a
mperis
A
dd
s
ome more DPRINTF()
calls in mpool_fre
e
()
commit
|
commitdiff
|
tree
2007-10-06
St
a
this Kam
p
eris
Try to c
o
alesce only i
f
buddy ex
i
sts AND
is f
r
ee
commit
|
commitdiff
|
tree
2007-10-06
Sta
t
hi
s
Kam
p
e
ris
A
d
d fla
g
s member in blknode
d
at
a
st
r
ucture
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamp
e
ris
Fix
calcu
l
ation of `newp
o
s' whe
n
splitti
n
g
commit
|
commitdiff
|
tree
2007-10-04
Stath
i
s Kamperis
DEBUG symbo
l
is
n
ow MPOOL_DEBU
G
commit
|
commitdiff
|
tree
2007-10-04
Sta
t
h
i
s Ka
m
peris
Add merges and splits stats if MPOOL_STATS is defin
e
d
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
Add
s
o
m
e DPRINTF() calls in mpool_f
r
ee()
(
sti
l
l a stub)
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperi
s
Replace printf() c
a
l
l
s to DPRINTF() macro
commit
|
commitdiff
|
tree
2007-10-02
Stathis Ka
m
peris
A
dd some more pr
i
n
t
fs
in
mpo
o
l
_free()
commit
|
commitdiff
|
tree
2007-10-02
S
tathis Kamperis
R
emove whites
p
ace i
n
comm
e
nt
commit
|
commitdiff
|
tree
2007-10-02
Stathis Ka
m
peris
Re
m
ove bog
u
s he
a
der file
commit
|
commitdiff
|
tree
2007-10-02
Stat
h
i
s K
a
mper
i
s
Add basi
c
i
m
pl
e
mentation of mpoo
l
_free(
)
.
No coal
e
sce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stath
i
s Kamperis
M
inor cosmet
i
c change in
printf()
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
his Kam
p
eri
s
Fix
t
ypo
i
n comment
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamp
e
ri
s
Majo
r
ch
a
nges in data
structures and
a
d
dition
o
f profiling
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis
K
a
m
pe
r
is
U
s
e unsigned
c
har
i
nstead of unsigned
int for 'bo
o
lean
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
S
t
a
this Kamper
i
s
Don't d
o
void p
o
inter arithmetics
commit
|
commitdiff
|
tree
2007-10-01
Stathi
s
Kamperis
P
ut function prototypes,
d
efs
and constan
t
s in
mpool
.
h
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kam
p
eris
Add a minsize field in mpo
o
l
to indi
c
ate minimum chunk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
S
t
athis
K
amperis
Initi
a
l
i
mport of
the b
u
ddy memory allocator
commit
|
commitdiff
|
tree
2007-09-20
Stathis Ka
m
p
eris
M
e
rge bran
c
h 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
St
a
this Kamperis
D
o
n
't check < 0 for unsigned expression
commit
|
commitdiff
|
tree
2007-09-20
Stath
i
s Kamperi
s
Merge
b
ranch
'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis
K
amperis
Merge
h
table_get_first_elm() in htable_get_next_elm()
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Merge branch 'exp-h
a
sh'
commit
|
commitdiff
|
tree
2007-09-20
S
t
athis Kamperis
Add
ht
a
ble_get_first/ne
x
t_element
(
) f
u
nctions fo
r
htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
St
a
this Kamperis
Merge
branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-19
Stathis
K
amperis
Update TOD
O
file
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Ad
d
t
est
c
ase for ht
a
ble_tra
v
e
r
s
e
commit
|
commitdiff
|
tree
2007-09-19
Stath
i
s
K
a
mperis
Add
h
t
able_get_size(), htable_get_used(), h
t
able_traverse()
commit
|
commitdiff
|
tree
2007-09-19
Stat
h
is Ka
m
peris
Add stu
b
for htab
l
e_get_next_elm()
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kampe
r
is
Fix typo in comme
n
t
commit
|
commitdiff
|
tree
2007-09-14
Stathis Ka
m
p
e
ris
Add flags
HT_FRE
E
KEY and
HT_FRE
E
DATA in htable_free_*()
commit
|
commitdiff
|
tree
2007-09-11
S
tathis K
a
mperis
htable_free_o
b
jec
t
s()
-
> htable_fre
e
_all_obj
(
) in ma
i
n
.
c
commit
|
commitdiff
|
tree
2007-09-11
S
tathis Kamperis
printf callback -
>
mypr
i
nt
f
so as not
t
o shadow st
d
i
o
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Stathis Ka
m
per
i
s
Rem
o
ve redun
d
an
t
, when in e
n
umeration list
commit
|
commitdiff
|
tree
2007-09-10
S
t
a
this Kamperis
HT_
R
EPLA
C
E
D -> HT_EXISTS
commit
|
commitdiff
|
tree
2007-09-10
S
t
athis Kamperis
Implement htable_f
r
ee_obj() funct
i
on
commit
|
commitdiff
|
tree
2007-09-10
S
tath
i
s
Kamper
i
s
ht
a
ble_insert() doesn'
t
ove
w
r
ite existing
data
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kampe
r
i
s
htable_insert()
returns HT_REPLACED if key
a
lready
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
S
t
athis Kamp
e
ris
Fre
e
hn_key
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
F
r
e
e
old
d
ata when inse
r
ting n
e
w ent
r
y wit
h
e
x
istin
g
key
commit
|
commitdiff
|
tree
2007-09-09
St
a
this Kam
p
eri
s
Add htable_f
r
ee_objects() t
h
a
f
r
ees
pno
d
e
-
>data
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kam
p
eris
Pas
s
callbac
k
funct
i
on in htable_init()
commit
|
commitdiff
|
tree
2007-09-09
Stathi
s
K
amperis
#
i
nclude <stddef
.
h> in h
t
able
.
h f
o
r size_t type
commit
|
commitdiff
|
tree
2007-09-09
S
t
athis K
a
mpe
r
is
ht
a
ble
_
grow(
)
should retu
r
n HT
_
OK on success
commit
|
commitdiff
|
tree
2007-09-08
St
a
this Kamperis
Add comment
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Con
s
tify
va
r
iable in htable_p
r
int()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Add htable_grow(
)
commit
|
commitdiff
|
tree
2007-09-08
S
t
athis Kampe
r
is
u_int -> unsi
g
ne
d
int
commit
|
commitdiff
|
tree
2007-09-08
Sta
t
his Kamperis
A
d
d
c
o
m
ment in main()
commit
|
commitdiff
|
tree
2007-09-08
S
tat
h
i
s
Kamperis
chang
e
s i
n
djb_
h
ash
commit
|
commitdiff
|
tree
2007-09-08
S
tathis K
a
mperis
C
onstify some variable
s
commit
|
commitdiff
|
tree
2007-09-08
Stathis
K
ampe
r
is
Add
a
hhead_
t
typedef
for
s
truct htablehe
a
d
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kam
p
eri
s
Add pro
p
e
r err
o
r
han
d
ling
i
n htable_*()
f
unctio
n
s
commit
|
commitdiff
|
tree
2007-09-07
St
a
this Kamperi
s
ptable -> htabl
e
in main
.
c
commit
|
commitdiff
|
tree
2007-09-07
St
a
this Kamp
e
ris
Add
htable_free() and don'
t
forget to update ht_
s
ize
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis Ka
m
per
i
s
Re
n
ame ht
a
b
le
_
de
l
ete()
to htable_
r
emove(
)
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Fix
t
ypo
a
nd remove white
s
pace
commit
|
commitdiff
|
tree
2007-09-07
St
a
this Kamperis
Fix comm
e
nt in prev
i
ous
c
omm
i
t
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
his
Kam
p
e
ris
Add htable_delete() function
commit
|
commitdiff
|
tree
2007-09-07
Stath
i
s Ka
m
peris
str -> key
i
n djb_ha
s
h
() function
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kampe
r
is
Inclu
d
e arguments' names in fu
n
ction prototy
p
es
commit
|
commitdiff
|
tree
2007-09-07
Stathis Ka
m
peris
pass
voi
d
*key ar
g
ument in htable_print()
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
his K
a
m
per
i
s
A
d
d comments for ht_size variabl
e
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Kamperis
Constify variable i
n
h
t
able_print()
commit
|
commitdiff
|
tree
2007-09-07
Stathis K
a
mperis
Move ht
a
ble files to htable/ subdire
c
tor
y
commit
|
commitdiff
|
tree
next