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
Stathis Kam
p
e
ris
test case file is
not e
x
ec
u
table
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
Fix possible
m
em
le
a
k in test
case
commit
|
commitdiff
|
tree
2007-10-15
S
ta
t
his Kamperi
s
Add a simplest
p
ossible testcase
-
- more will
f
o
llow
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kampe
r
is
U
se
prope
r
i
n mpool_prin
t
blks()
commit
|
commitdiff
|
tree
2007-10-15
Stathis K
a
mper
i
s
Return imme
d
i
ately if buddy is out of pool
commit
|
commitdiff
|
tree
2007-10-15
S
tathis Kamperis
Use size_t
i
nst
e
ad of unsigned
int when ap
p
r
opriate
commit
|
commitdiff
|
tree
2007-10-15
Stat
h
is Kamperis
Put the stat f
u
nctions in
a
separate
.
c
files
commit
|
commitdiff
|
tree
2007-10-15
St
a
this Kamperis
Fix many comments an
d
o
ther minor
stuff
commit
|
commitdiff
|
tree
2007-10-15
Sta
t
h
is Kamperis
Ch
a
nge er
r
or names
p
ac
e
from MP_* to MPOOL_*
commit
|
commitdiff
|
tree
2007-10-15
St
a
this K
a
mperis
ren
a
me next_block to next_chunk in blkn
o
de
_
t dat
a
structure
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kam
p
eris
M
or
e
v
alidation in mpool_alloc
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kampe
r
is
Replace bitw
i
se operation
s
with proper macros
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
More cleanup
commit
|
commitdiff
|
tree
2007-10-13
Stathi
s
Kamper
i
s
L
i
ttl
e
c
o
smetic stuff
commit
|
commitdiff
|
tree
2007-10-13
Stat
h
is Kamp
e
ris
Rem
o
v
e
unused variable p
commit
|
commitdiff
|
tree
2007-10-12
Sta
t
hi
s
Ka
m
peris
no-
m
a
l
l
o
c() implementa
t
ion wo
r
ks with
o
ut bugs
,
thou
g
h
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis Kamperis
Firs
t
attempt to a malloc() fre
e
implementation --
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathi
s
Kamperis
Add a progra
m
that p
r
ints cha
r
acters' frequencies
commit
|
commitdiff
|
tree
2007-10-10
Stathis Kamperis
I
m
p
l
e
ment
f
ull simu
l
ation
commit
|
commitdiff
|
tree
2007-10-09
Stathi
s
Kamper
i
s
Add fir
s
t attempt of s
i
mula
t
i
o
n -- crashes rig
h
t now
commit
|
commitdiff
|
tree
2007-10-08
Stathis K
a
mperis
Put main()
in test
.
c and remo
v
e
it from mpool
.
c
commit
|
commitdiff
|
tree
2007-10-08
Stathis Kamperis
Fix newp
o
s c
a
l
c
in mpool_alloc() a
n
d add mpool
_
stat_get_bloc
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
Stathis
K
amperis
Remove bogus printf()
commit
|
commitdiff
|
tree
2007-10-07
S
t
athis Ka
m
p
e
ris
F
ix t
y
p
o
i
n
comment
commit
|
commitdiff
|
tree
2007-10-07
Stathis K
a
mperis
Fix
typo in c
o
m
m
ent
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kam
p
e
ri
s
Add so
m
e comments for mpo
o
l_fre
e
(
)
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Re
m
ove bo
g
u
s
code
commit
|
commitdiff
|
tree
2007-10-07
St
a
t
h
is Kamperi
s
Implement inh
e
ritanc
e
-
- work
s
, but ne
e
ds cleanup
commit
|
commitdiff
|
tree
2007-10-07
S
t
athis Kamp
e
ris
Ge
n
eral cleanup
commit
|
commitdiff
|
tree
2007-10-07
Sta
t
his Kamperis
Change na
m
espace fr
o
m MPOOL_ t
o
MP_
commit
|
commitdiff
|
tree
2007-10-06
S
tathis Kamperis
Add
te
r
m
i
n
a
t
ing condition i
n
mpool_free()
commit
|
commitdiff
|
tree
2007-10-06
S
tath
i
s Kamperis
C
lean
mp
o
ol_free() me
s
s
commit
|
commitdiff
|
tree
2007-10-06
St
a
this Kamperis
A
dd some mo
r
e DPRINTF() c
a
lls in mpool_f
r
ee()
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperi
s
Try
t
o coale
s
ce on
l
y if bud
d
y
exists AND is f
r
ee
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
A
dd flags member in blkn
o
de data structure
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
F
i
x calculation of `newpos' when splitting
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kampe
r
is
DEBUG symbol
i
s now
M
POOL_DEBUG
commit
|
commitdiff
|
tree
2007-10-04
Stathi
s
Kamperis
Add merge
s
and splits stats if MPOOL_ST
A
TS is
defi
n
ed
commit
|
commitdiff
|
tree
2007-10-04
S
t
athis
Kamperis
Add some DPRINT
F
() calls in
m
pool_
f
ree() (still a st
u
b)
commit
|
commitdiff
|
tree
2007-10-02
Stathi
s
K
amperis
Replace
printf()
c
a
l
ls to DPRI
N
TF() mac
r
o
commit
|
commitdiff
|
tree
2007-10-02
Stathis K
a
m
peris
Ad
d
so
m
e more printfs in mpool_fr
e
e()
commit
|
commitdiff
|
tree
2007-10-02
S
t
athi
s
Ka
m
peris
Rem
o
ve whitespace in co
m
ment
commit
|
commitdiff
|
tree
2007-10-02
S
t
athis Kamperis
R
emove bogu
s
header file
commit
|
commitdiff
|
tree
2007-10-02
S
t
athis
Kam
p
er
i
s
A
d
d b
a
sic
i
m
p
lemen
t
ation o
f
mpool_free
(
)
.
No
c
oales
c
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stath
i
s Kamperis
M
i
n
o
r cosme
t
ic ch
a
nge
in printf()
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Fix typo
i
n comme
n
t
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Major changes in dat
a
s
t
ruct
u
res
a
n
d addition of profilin
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
his
Kamperis
Us
e
u
nsigned
c
har ins
t
ead of unsigned int f
o
r 'boolean
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Sta
t
h
i
s Kamperis
Don
'
t do void pointer
arithmeti
c
s
commit
|
commitdiff
|
tree
2007-10-01
St
a
th
i
s Kamperis
Put function
pro
t
otypes,
d
e
f
s
a
nd constant
s
in mpool
.
h
commit
|
commitdiff
|
tree
2007-10-01
Stathis Ka
m
peris
Add a minsize field in mpoo
l
t
o
ind
i
cate minimum ch
u
nk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
St
a
t
his Ka
m
peris
Initia
l
import o
f
th
e
b
uddy memory
a
l
l
o
cator
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Merge branch 'ex
p
-has
h
'
commit
|
commitdiff
|
tree
2007-09-20
S
t
athis
K
a
m
peris
Don't chec
k
< 0 for uns
i
g
ned expr
e
ssion
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamp
e
ris
M
e
rge bra
n
ch '
e
xp-h
a
sh'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Ka
m
peris
Mer
g
e htabl
e
_get_first_elm() in
h
t
a
b
le
_
get_next_elm
(
)
commit
|
commitdiff
|
tree
2007-09-20
Stathis Ka
m
peri
s
Merge
branch 'exp-ha
s
h'
commit
|
commitdiff
|
tree
2007-09-20
Stat
h
is Kamperis
Add htable_get
_
fi
r
s
t/
n
ext_el
e
ment(
)
f
u
n
c
t
ions for
h
t
able
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Stath
i
s
Kampe
r
is
Merge branch 'e
x
p-has
h
'
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Update
TO
D
O file
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kam
p
eris
Add
t
e
s
t case fo
r
h
table_traverse
commit
|
commitdiff
|
tree
2007-09-19
Sta
t
h
is Kampe
r
is
A
d
d htab
l
e_get_size(), htable_get_use
d
()
,
htable_traverse()
commit
|
commitdiff
|
tree
2007-09-19
St
a
this Kamperis
A
d
d stub
f
o
r htable_get_next_elm()
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kam
p
eris
Fix
t
ypo i
n
comment
commit
|
commitdiff
|
tree
2007-09-14
S
tathis Kamperis
Add f
l
ags HT_F
R
EEKE
Y
and HT_
F
REE
D
ATA in htable_free_*()
commit
|
commitdiff
|
tree
2007-09-11
S
t
a
this Kamp
e
ris
hta
b
le_free_obje
c
ts() -
>
ht
a
b
le_free_all_obj() in
main
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stathis K
a
mperis
printf cal
l
back -> myprint
f
so as not to
s
hadow stdio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Stathis
Ka
m
p
e
r
is
Rem
o
v
e red
u
ndant , when in enumeration
list
commit
|
commitdiff
|
tree
2007-09-10
S
tathis
K
amperis
HT_RE
P
L
ACED -> HT_EX
I
S
TS
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
Implement htable_free_obj() fun
c
ti
o
n
commit
|
commitdiff
|
tree
2007-09-10
St
a
th
i
s Kampe
r
is
hta
b
le_in
s
er
t
(
)
doesn'
t
o
v
e
w
rite
e
xisti
n
g data
commit
|
commitdiff
|
tree
2007-09-10
S
t
athis Kamper
i
s
htable_insert()
r
e
t
u
rns
H
T
_REPL
A
CED i
f
k
e
y alre
a
d
y
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Stath
i
s
K
amp
e
ris
F
r
e
e hn_key
commit
|
commitdiff
|
tree
2007-09-10
Stathis K
a
mperi
s
Free old data when inserting
n
ew
e
n
t
r
y with e
x
i
sting
k
e
y
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
A
d
d
h
table_fre
e
_
objects()
t
ha
fr
e
es p
n
ode
-
>data
commit
|
commitdiff
|
tree
2007-09-09
S
t
a
this
Kamperis
Pass callback fu
n
ction in h
t
able_init()
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
#
i
n
cl
u
de <
s
tddef
.
h> in h
t
able
.
h
for
size_t type
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperi
s
htable_grow()
s
hould
return
HT_OK o
n
succ
e
ss
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Add comment
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
is Kamperi
s
Constify variable
i
n
htable_pr
i
n
t
()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
A
d
d ht
a
b
l
e_grow()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
u_int -> u
n
signed int
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Add comment in main()
commit
|
commitdiff
|
tree
2007-09-08
Sta
t
h
is Kamperis
chan
g
es
i
n djb_hash
commit
|
commitdiff
|
tree
2007-09-08
Stathi
s
Kamperis
Cons
t
i
fy some va
r
iables
commit
|
commitdiff
|
tree
2007-09-08
Stathis Ka
m
p
eri
s
A
d
d
a
h
he
a
d_t typedef fo
r
st
r
uct htableh
e
a
d
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
is
K
amperis
Add proper er
r
or handlin
g
in
h
table
_
*()
functions
commit
|
commitdiff
|
tree
2007-09-07
S
t
at
h
is Kamperi
s
ptable -> htable in main
.
c
commit
|
commitdiff
|
tree
2007-09-07
St
a
this Ka
m
peris
Ad
d
htable_free()
a
n
d
don't forg
e
t to update ht_size
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
S
tathis Kamper
i
s
Rename htable
_
delete() to htable_re
m
ove()
commit
|
commitdiff
|
tree
2007-09-07
Stathis
K
a
mperis
Fix typo a
n
d remove whitespace
commit
|
commitdiff
|
tree
2007-09-07
Stathis
K
ampe
r
is
Fi
x
c
o
mme
n
t
i
n previous commit
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
h
i
s Kamperis
A
d
d
h
table_dele
t
e()
f
unc
t
ion
commit
|
commitdiff
|
tree
2007-09-07
Stathis
K
amp
e
ris
str -> key in djb_hash()
f
unction
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
his Kamperis
Include argumen
t
s' names in function prototype
s
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
p
a
ss
v
oid *key arg
u
m
e
nt
in htable_print()
commit
|
commitdiff
|
tree
2007-09-07
S
t
a
this Ka
m
peris
Ad
d
co
m
ments
f
or ht_size variabl
e
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis
K
a
m
p
eris
Cons
t
ify variable in htable_print()
commit
|
commitdiff
|
tree
2007-09-07
S
tathis Kamp
e
r
i
s
M
o
ve h
t
abl
e
f
iles
t
o htable/ subdirectory
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Split htable i
m
p
lementation to
h
table
.
c and
h
tabl
e
.
.
.
commit
|
commitdiff
|
tree
next