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
Implement full simulation
2007-10-10
S
tat
h
is Kamperis
I
mplement f
u
ll si
m
ul
a
tion
commit
|
commitdiff
|
tree
2007-10-09
Stathis
K
a
mp
e
ri
s
Add
f
irst at
t
empt of simulation -- crashes rig
h
t now
commit
|
commitdiff
|
tree
2007-10-08
Stathis K
a
mperis
P
u
t main
(
) in test
.
c a
n
d remove it from mpoo
l
.
c
commit
|
commitdiff
|
tree
2007-10-08
Stathis Kamperis
F
ix
newpo
s
calc in mpool_all
o
c() and add mpool_stat_get_b
l
o
c
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
St
a
th
i
s Kamperis
Rem
o
ve bog
u
s pr
i
nt
f
(
)
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamp
e
ris
F
ix typ
o
in comment
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamp
e
r
i
s
Fix
t
yp
o
in comment
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Add some c
o
mments for
m
p
ool_fre
e
()
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperi
s
R
e
mo
v
e
b
ogu
s
code
commit
|
commitdiff
|
tree
2007-10-07
S
t
at
h
is Kamperis
I
m
plement
i
n
h
eritance -- wo
r
ks, but needs
cleanup
commit
|
commitdiff
|
tree
2007-10-07
S
tat
h
is Kamperis
General cleanup
commit
|
commitdiff
|
tree
2007-10-07
S
tat
h
is Kamper
i
s
Change name
s
pace fro
m
MPOOL_ to
M
P_
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kampe
r
is
Ad
d
term
i
nating condition i
n
mpool_free()
commit
|
commitdiff
|
tree
2007-10-06
Stathis
K
am
p
eris
Clean m
p
ool_f
r
ee() mess
commit
|
commitdiff
|
tree
2007-10-06
Stathis K
a
mperis
Add
s
ome more DPRI
N
TF() calls in mpool_fr
e
e()
commit
|
commitdiff
|
tree
2007-10-06
Stath
i
s
Ka
m
peris
Try
t
o coalesce
o
nly if buddy exists AND is free
commit
|
commitdiff
|
tree
2007-10-06
St
a
this
Kamperis
A
d
d flag
s
memb
e
r in blknode da
t
a st
r
ucture
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kam
p
eris
Fix calculation
of `new
p
os
'
when
s
plitt
i
n
g
commit
|
commitdiff
|
tree
2007-10-04
S
t
at
h
is Kamperis
DEBUG symbol is now M
P
OOL_
D
EBU
G
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
Add me
r
ges and splits stats if
M
POOL_STAT
S
i
s
def
i
ne
d
commit
|
commitdiff
|
tree
2007-10-04
S
t
at
h
is
K
amperis
Add some D
P
R
INTF() calls in mpool_free() (sti
l
l a
s
tub)
commit
|
commitdiff
|
tree
2007-10-02
Stathis Ka
m
peris
Replace print
f
() calls to
DPRINTF(
)
m
a
cro
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kampe
r
is
Add some
m
ore
p
rintfs i
n
mpool_free()
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Remo
v
e wh
i
tespa
c
e in comment
commit
|
commitdiff
|
tree
2007-10-02
Stat
h
is Kamperis
Remove bogus header file
commit
|
commitdiff
|
tree
2007-10-02
S
tathis Kamperis
A
dd
b
asic implementation of m
p
ool_free()
.
N
o
co
a
lesce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
S
tathis Kam
p
e
r
is
Minor cosmetic change
i
n printf()
commit
|
commitdiff
|
tree
2007-10-02
Sta
t
his Kamperis
Fi
x
typ
o
in co
m
me
n
t
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kampe
r
is
M
ajo
r
changes
in data structure
s
and addition of
p
r
ofiling
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stat
h
is K
a
mperis
Use
un
s
igned char i
n
stead of un
s
ign
e
d
int for '
b
oolean
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
S
tathis Ka
m
peris
Don't do void poi
n
ter ar
i
thmetic
s
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamper
i
s
Put func
t
ion pr
o
totypes, def
s
and constants in mpool
.
h
commit
|
commitdiff
|
tree
2007-10-01
Stathis K
a
mperis
Ad
d
a minsize field in
m
p
ool to indicate minimu
m
chunk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamperis
Initial imp
o
rt
of the
buddy memory allocator
commit
|
commitdiff
|
tree
2007-09-20
S
t
a
this Kamperis
M
e
r
g
e branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamper
i
s
Don't
check <
0 fo
r
u
nsig
n
ed
e
xpr
e
ssion
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kampe
r
is
Me
r
ge b
r
a
nch
'
e
xp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathi
s
Kamp
e
ris
M
erge htable_get_first_elm() in htabl
e
_get
_
n
ext_elm()
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperi
s
Merge b
r
anch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
A
d
d
htabl
e
_get_first/ne
x
t_el
e
ment() func
t
ions for htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Stathis K
a
m
peri
s
Merge branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
U
pdate T
O
D
O
file
commit
|
commitdiff
|
tree
2007-09-19
Sta
t
h
is Ka
m
peris
Add test case for htable
_
trav
e
rse
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Ad
d
htable_get_size(), hta
b
le_get_used(), htable_traverse()
commit
|
commitdiff
|
tree
2007-09-19
Stath
i
s K
a
mperis
A
d
d
stub f
o
r htable_
g
et_
n
ext_elm()
commit
|
commitdiff
|
tree
2007-09-19
S
t
athis Kampe
r
is
Fix t
y
po in commen
t
commit
|
commitdiff
|
tree
2007-09-14
Stathis Kamperis
Add fla
g
s HT_FREEKE
Y
and HT
_
FR
E
EDATA in htab
l
e_free_*()
commit
|
commitdiff
|
tree
2007-09-11
Stat
h
is Ka
m
pe
r
is
htable_free_
o
bjects() -> htabl
e
_
free_a
l
l_obj()
i
n main
.
c
commit
|
commitdiff
|
tree
2007-09-11
St
a
this Kampe
r
is
pr
i
n
tf callback -> myprintf so as no
t
to
shadow stdio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Stathis
K
am
p
e
r
is
Remove redund
a
n
t , when in enu
m
e
r
ation
l
i
s
t
commit
|
commitdiff
|
tree
2007-09-10
Stathis
K
a
mp
e
ris
HT
_
REPLA
C
ED -> HT
_
EXISTS
commit
|
commitdiff
|
tree
2007-09-10
S
t
a
this Ka
m
peris
Implement h
t
able_free
_
obj() function
commit
|
commitdiff
|
tree
2007-09-10
Sta
t
hi
s
K
a
mperis
htable_insert() doesn't
o
vewri
t
e existing data
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
ht
a
bl
e
_
i
nse
r
t() returns HT_REPLACED if key already
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
S
tath
i
s Kamperis
Free
h
n
_
k
ey
commit
|
commitdiff
|
tree
2007-09-10
S
t
a
this K
a
mperis
Free old data when insertin
g
new entry wi
t
h exi
s
ting key
commit
|
commitdiff
|
tree
2007-09-09
Stathis K
a
mperis
Add
htable_free_objec
t
s() tha fre
e
s pnode->data
commit
|
commitdiff
|
tree
2007-09-09
Stathis
K
amperis
P
a
ss
c
allbac
k
function i
n
htabl
e
_init
(
)
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kam
p
eri
s
#in
c
lude <std
d
ef
.
h> in ht
a
ble
.
h for
s
ize_t type
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kampe
r
is
ht
a
ble_grow(
)
should retur
n
HT
_
OK
o
n
succ
e
ss
commit
|
commitdiff
|
tree
2007-09-08
Stath
i
s Kamperis
Add comment
commit
|
commitdiff
|
tree
2007-09-08
S
tathis
K
a
mp
e
ri
s
Const
i
fy variable
in htable_print()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Add
h
table_
g
row
(
)
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
u_int ->
unsign
e
d
int
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
is Kam
p
eris
Add commen
t
in main()
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
is Kamper
i
s
ch
a
nges in djb
_
hash
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamper
i
s
Co
n
stify some var
i
abl
e
s
commit
|
commitdiff
|
tree
2007-09-08
S
tathi
s
Kam
p
e
r
is
Ad
d
a
hhe
a
d_t typedef for struct hta
b
lehe
a
d
commit
|
commitdiff
|
tree
2007-09-08
Stathis
K
amperis
Add proper error ha
n
dlin
g
in
h
table
_
*()
fu
n
ctions
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamper
i
s
p
t
able -> htable in main
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Add htable_fr
e
e()
and
d
on't forget
to update ht_size
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Rename ht
a
b
le_de
l
ete() t
o
h
t
able_remove(
)
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamper
i
s
Fix ty
p
o
and remove whitespace
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
hi
s
Kampe
r
is
F
i
x c
o
mmen
t
in previou
s
com
m
it
commit
|
commitdiff
|
tree
2007-09-07
S
tathi
s
K
a
m
per
i
s
Add h
t
able_delete(
)
function
commit
|
commitdiff
|
tree
2007-09-07
Stathis
Kamper
i
s
s
t
r
-> key in dj
b
_hash() fun
c
tion
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
his Kamperis
In
c
lude arg
u
ment
s
'
names in functio
n
proto
t
ypes
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
his Kamperis
pass void *key argument in htable_p
r
int()
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Kamperis
Add
co
m
ments for ht_
s
i
z
e variable
commit
|
commitdiff
|
tree
2007-09-07
Stathis
K
amperis
Constify variabl
e
in htable_
p
rint()
commit
|
commitdiff
|
tree
2007-09-07
St
a
this Kamper
i
s
Move htable
f
iles to htable/ subdi
r
ect
o
r
y
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Split htable
implementation
to ht
a
ble
.
c and htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis
K
amperi
s
Add
some comme
n
ts
commit
|
commitdiff
|
tree
2007-09-07
Stathis
Kamperis
Constify
s
ome variables
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kam
p
eris
ht
_
printf() has a void *data argument
commit
|
commitdiff
|
tree
2007-09-07
Stathis
ht
_
cmpf
(
)
retu
r
ns 0 if
a
rgs
are equal
commit
|
commitdiff
|
tree
2007-09-06
Stath
i
s
Add callback functions for hash, compa
r
e and print
commit
|
commitdiff
|
tree
2007-09-06
St
a
this
Add
ht
a
b
le_lookup()
commit
|
commitdiff
|
tree
2007-09-06
Stat
h
is
Fix a segfault
commit
|
commitdiff
|
tree
2007-09-06
Stathis
Fix buffer overruns
commit
|
commitdiff
|
tree
2007-09-06
S
t
athis
Constify v
a
ria
b
le
commit
|
commitdiff
|
tree
2007-09-05
St
a
this
Fix m
i
nor grammatical
e
rr
o
r in comme
n
t
commit
|
commitdiff
|
tree
2007-09-05
S
t
athis
R
emove white
s
pac
e
commit
|
commitdiff
|
tree
2007-09-05
Stathis
C
ons
t
ify some variables
commit
|
commitdiff
|
tree
2007-09-05
S
t
athis
Merge branch 'master' o
f
git+ssh://repo
.
or
.
cz/srv/git
.
.
.
commit
|
commitdiff
|
tree
2007-09-05
Sta
t
h
is
Mak
e
htable_* function
s
, hash table size agnostic
commit
|
commitdiff
|
tree
2007-09-05
Stathi
s
Make htable_* f
u
nction
s
, hast t
a
ble siz
e
agno
s
tic
commit
|
commitdiff
|
tree
2007-09-05
Stathis
Ad
d
comm
e
nts to sourc
e
commit
|
commitdiff
|
tree
2007-09-05
Stathis
Fi
x
h
o
pefully all segfaults
:
)
commit
|
commitdiff
|
tree
2007-09-05
Stathis
Fix
chaining and a
d
d ht
a
ble_pri
n
t()
commit
|
commitdiff
|
tree
next