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
Use size_t instead of unsigned int when appropriate
2007-10-15
S
tathis Kamperis
U
s
e
size_t i
n
stead of
unsigned in
t
when appropriate
commit
|
commitdiff
|
tree
2007-10-15
Stathis
Kamperis
Put the stat functions in a separa
t
e
.
c f
i
les
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
Fix many co
m
ments
a
nd other
minor st
u
ff
commit
|
commitdiff
|
tree
2007-10-15
S
t
athis
Kamperis
Change error namespace from MP_*
to MP
O
OL
_
*
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
rena
m
e next_bl
o
c
k
to nex
t
_chunk in blknode_t data stru
c
ture
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
More validation
i
n mpo
o
l_alloc
commit
|
commitdiff
|
tree
2007-10-13
Sta
t
h
i
s Kamperis
R
epla
c
e bit
w
i
s
e operations
w
ith proper macros
commit
|
commitdiff
|
tree
2007-10-13
S
tathis
Kamperis
More cleanup
commit
|
commitdiff
|
tree
2007-10-13
Stathis Kamperis
Little cosmetic st
u
ff
commit
|
commitdiff
|
tree
2007-10-13
Stathis
K
amperis
R
e
move unused variable
p
commit
|
commitdiff
|
tree
2007-10-12
Stath
i
s Kamperis
no
-
malloc(
)
imp
l
ementati
o
n
works wit
h
out bugs
,
thou
g
h
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stathis
K
amperis
Fi
r
st attempt to a ma
l
loc() free implementation --
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
St
a
this K
a
mperis
Add
a
program tha
t
prin
t
s characters' fre
q
uenc
i
es
commit
|
commitdiff
|
tree
2007-10-10
Stathi
s
Kamperis
Imple
m
e
nt full simulation
commit
|
commitdiff
|
tree
2007-10-09
Stat
h
i
s Kam
p
e
r
is
Add firs
t
a
t
tempt of s
i
mula
t
ion -- c
r
a
s
h
es ri
g
ht
n
ow
commit
|
commitdiff
|
tree
2007-10-08
S
t
athis Kamp
e
ris
Put main() i
n
t
est
.
c a
n
d r
e
move it
from mpool
.
c
commit
|
commitdiff
|
tree
2007-10-08
Sta
t
his
Kamper
i
s
Fi
x
ne
w
pos calc i
n
mpool_alloc() an
d
add mpool_s
t
at_get_bloc
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
S
t
athis K
a
mper
i
s
Remove bogus
p
rint
f
()
commit
|
commitdiff
|
tree
2007-10-07
S
t
athis Kamperis
Fix typo in commen
t
commit
|
commitdiff
|
tree
2007-10-07
Sta
t
hi
s
Kamperis
Fix typo in
comment
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Add some comments for mpo
o
l_free()
commit
|
commitdiff
|
tree
2007-10-07
St
a
t
h
is Kam
p
eris
Remove
bog
u
s cod
e
commit
|
commitdiff
|
tree
2007-10-07
St
a
t
his Kamperis
Impl
e
ment inheritance
--
w
orks, but needs cl
e
anup
commit
|
commitdiff
|
tree
2007-10-07
S
t
athis Kamperis
General
c
leanup
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
Change namesp
a
ce from MPOO
L
_ to MP_
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamper
i
s
Ad
d
terminati
n
g condition in
mpool_fre
e
()
commit
|
commitdiff
|
tree
2007-10-06
S
t
athis Kamperis
Clean mpo
o
l_free() mess
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamp
e
ris
Add some more DPR
I
NTF() c
a
lls in
m
pool_free()
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamperis
Try
to coalesce
o
n
l
y i
f
b
u
dd
y
ex
i
s
t
s
AND is free
commit
|
commitdiff
|
tree
2007-10-06
Stathi
s
Kamperis
Add
f
lags member in blkn
o
de d
a
t
a
stru
c
ture
commit
|
commitdiff
|
tree
2007-10-04
Sta
t
his K
a
mperis
Fix ca
l
cula
t
i
on of `newpos
'
when s
p
litting
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
DEBUG symbol is
n
ow MPOOL_DE
B
U
G
commit
|
commitdiff
|
tree
2007-10-04
Stathis Ka
m
p
eris
Add merg
e
s and split
s
s
t
ats if MP
O
OL_STA
T
S is defined
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperi
s
Add
some DPRINT
F
(
)
calls in
mpool_
f
ree() (
s
ti
l
l a stub)
commit
|
commitdiff
|
tree
2007-10-02
Stathi
s
Kamperis
R
e
p
l
a
c
e printf() c
a
lls to DPRINTF() macro
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Add some more printfs in mpo
o
l_free()
commit
|
commitdiff
|
tree
2007-10-02
S
tathis
K
a
mperi
s
Rem
o
v
e
whitesp
a
ce in
c
omment
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamper
i
s
Rem
o
ve bogus header file
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamper
i
s
Add basic implementatio
n
of mpool_
f
ree()
.
No coalesc
e
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Minor cosmetic change in printf()
commit
|
commitdiff
|
tree
2007-10-02
Stathi
s
Kamper
i
s
Fix typo in comment
commit
|
commitdiff
|
tree
2007-10-02
Stathis
K
a
mperis
Major chan
g
e
s
in
d
ata structures and add
i
ti
o
n of pr
o
filing
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
U
s
e unsigned c
h
a
r
instead of unsign
e
d int for 'bool
e
a
n
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
S
tathis
Kamperis
Don't do void pointer arithmetics
commit
|
commitdiff
|
tree
2007-10-01
Stathi
s
K
a
mperi
s
Put function prototypes,
defs and co
n
stants
i
n mpool
.
h
commit
|
commitdiff
|
tree
2007-10-01
St
a
this Kampe
r
is
A
d
d a minsize fie
l
d in mpool to i
n
dicate
m
in
i
mum ch
u
nk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis
K
a
mperis
In
i
t
ial impo
r
t
o
f
t
he
b
uddy memory allocat
o
r
commit
|
commitdiff
|
tree
2007-09-20
Stath
i
s Kamper
i
s
Merge branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathi
s
Kamp
e
r
i
s
Don't
check < 0 for
u
nsigned
express
i
on
commit
|
commitdiff
|
tree
2007-09-20
St
a
this Kamperis
M
e
rge
branch 'e
x
p-
h
ash'
commit
|
commitdiff
|
tree
2007-09-20
St
a
this Kam
p
eris
Merge htable_get_first_elm()
in htable_get_next_
e
l
m
()
commit
|
commitdiff
|
tree
2007-09-20
Stathis Ka
m
p
e
ris
Merge
b
ran
c
h
'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis
Kamperis
Add htable_get_fir
s
t/next_element() functions for hta
b
l
e
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Me
r
ge branch 'exp-has
h
'
commit
|
commitdiff
|
tree
2007-09-19
S
t
athis K
a
m
p
eris
Updat
e
TO
D
O file
commit
|
commitdiff
|
tree
2007-09-19
Stat
h
is
Kamperis
Add test
case for htable_traverse
commit
|
commitdiff
|
tree
2007-09-19
Stathis
Kamperis
A
dd htable_g
e
t
_
size(), htable_get
_
used(), htable_trav
e
r
s
e()
commit
|
commitdiff
|
tree
2007-09-19
S
tath
i
s Kamp
e
ri
s
Add stub
f
o
r
htable_get_next_el
m
()
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Fix
t
yp
o
in comment
commit
|
commitdiff
|
tree
2007-09-14
Stathis Kamperis
Add f
l
ags
HT_FR
E
EKEY and HT_FREEDATA in htable_fr
e
e_
*
()
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kam
p
e
r
is
ht
a
ble
_
fr
e
e_objects() -> htable_
f
ree
_
all_obj() in m
a
in
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
p
r
intf callback
-> myprintf so as
not to s
h
ad
o
w stdio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
Remove re
d
undant , when in enu
m
e
ration l
i
st
commit
|
commitdiff
|
tree
2007-09-10
S
tathis Kamperis
HT_REPLACED -> H
T
_EXISTS
commit
|
commitdiff
|
tree
2007-09-10
Sta
t
his Kampe
r
is
Implemen
t
h
table_f
r
ee_obj()
function
commit
|
commitdiff
|
tree
2007-09-10
S
tath
i
s Kamperis
htab
l
e
_
insert
(
) d
o
esn't ovewrite ex
i
sting dat
a
commit
|
commitdiff
|
tree
2007-09-10
St
a
this
K
amperis
htable_i
n
sert() ret
u
rns HT_REPL
A
CED if
k
ey
alread
y
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Stathis Ka
m
p
e
r
i
s
Free hn_key
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamper
i
s
Free old data when
inserting new
e
ntry with existing key
commit
|
commitdiff
|
tree
2007-09-09
S
ta
t
his Kamper
i
s
Ad
d
htable_free_objects() t
h
a
f
r
ees pnode->data
commit
|
commitdiff
|
tree
2007-09-09
S
tat
h
is Kamperis
Pass c
a
llback function in h
t
able_ini
t
()
commit
|
commitdiff
|
tree
2007-09-09
St
a
this Ka
m
peris
#include <
s
tddef
.
h
> in htable
.
h
f
or
s
ize_t type
commit
|
commitdiff
|
tree
2007-09-09
Stathi
s
Kamperis
hta
b
le_grow()
s
hould return HT_OK on success
commit
|
commitdiff
|
tree
2007-09-08
S
tathis Kamperis
Add comment
commit
|
commitdiff
|
tree
2007-09-08
S
tathis
K
amperis
C
o
ns
t
ify variable i
n
htable_print()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamp
e
ris
Add
htable_grow()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
u_int
->
unsig
n
e
d
int
commit
|
commitdiff
|
tree
2007-09-08
S
t
athis Kamperis
Add
c
omme
n
t in main()
commit
|
commitdiff
|
tree
2007-09-08
Stathis
K
amperis
changes in djb_hash
commit
|
commitdiff
|
tree
2007-09-08
St
a
this Kam
p
e
r
i
s
Con
s
tify some variables
commit
|
commitdiff
|
tree
2007-09-08
S
t
ath
i
s Kampe
r
i
s
A
dd a
hhead_t typedef for stru
c
t htable
h
ead
commit
|
commitdiff
|
tree
2007-09-08
St
a
t
his Kamper
i
s
Add proper
error handl
i
ng i
n
htable_*() functions
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
ptable -> htable in main
.
c
commit
|
commitdiff
|
tree
2007-09-07
S
tath
i
s K
a
mperis
Add htable_free() and
d
on't forget to update
h
t_siz
e
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Kamperis
Rena
m
e htable
_
d
elete() to htable_re
m
o
v
e()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Fix typo and remove whi
t
espa
c
e
commit
|
commitdiff
|
tree
2007-09-07
S
tathis
K
a
m
peris
Fix comme
n
t
i
n previous
c
omm
i
t
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Add
h
table_delete()
f
unctio
n
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
str -> key in
d
j
b
_
hash() func
t
ion
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
his Kamperis
In
c
l
u
de
arguments' names in functio
n
prototyp
e
s
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
his K
a
mperis
pass
void
*
key argument
i
n htable_print()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kam
p
eris
A
dd co
m
me
n
ts for ht_size va
r
ia
b
l
e
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is Kam
p
e
r
is
Cons
t
ify
v
ariable in
h
t
able_print()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Mov
e
htable files to htable/ subdire
c
tory
commit
|
commitdiff
|
tree
2007-09-07
Stathis
Kam
p
eris
Split htabl
e
imp
l
em
e
ntation to htable
.
c and htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kam
p
eris
A
dd
s
o
m
e comment
s
commit
|
commitdiff
|
tree
2007-09-07
Stathis Ka
m
peris
Constify some variables
commit
|
commitdiff
|
tree
2007-09-07
S
tathis Kampe
r
is
ht_printf()
h
as a void *data argume
n
t
commit
|
commitdiff
|
tree
2007-09-06
Stathis Ka
m
peris
htable_init
(
)
, h
t
ab
l
e
_insert(), h
t
a
b
le
_
print()
commit
|
commitdiff
|
tree
2007-09-06
Stathis Kamperi
s
Initial import of h
t
able
.
c
commit
|
commitdiff
|
tree
next