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
Stathis
Kamp
e
ris
Use
size_t in
s
t
e
a
d
o
f
u
n
si
g
n
e
d
int when appropriate
commit
|
commitdiff
|
tree
2007-10-15
S
t
athis Kamperis
Put the stat functio
n
s in
a
separate
.
c files
commit
|
commitdiff
|
tree
2007-10-15
Stathis Kamperis
Fix many comments and
ot
h
er
m
inor stuff
commit
|
commitdiff
|
tree
2007-10-15
Stat
h
is Kamperis
C
h
a
n
g
e
err
o
r
namespace from MP
_
*
to MPOO
L
_*
commit
|
commitdiff
|
tree
2007-10-15
Sta
t
h
is Kamperis
ren
a
me next_block to n
e
xt_chun
k
in
b
l
k
node_t data structure
commit
|
commitdiff
|
tree
2007-10-15
S
t
a
thi
s
Kamperis
More validation i
n
mpo
o
l_alloc
commit
|
commitdiff
|
tree
2007-10-13
Stat
h
is K
a
mperis
Rep
l
ace
b
itwise o
p
erations wit
h
pr
o
per macros
commit
|
commitdiff
|
tree
2007-10-13
Sta
t
h
is Kam
p
eris
More clea
n
u
p
commit
|
commitdiff
|
tree
2007-10-13
Stathis
K
a
m
p
er
i
s
Little co
s
m
etic stuff
commit
|
commitdiff
|
tree
2007-10-13
St
a
thi
s
Kamperis
R
e
mo
v
e unused variable
p
commit
|
commitdiff
|
tree
2007-10-12
Stathis Kam
p
eris
no-malloc()
implementat
i
on works witho
u
t bugs, though
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stat
h
is Kamp
e
ris
First attempt to
a
m
alloc() free
i
mplementation
--
.
.
.
commit
|
commitdiff
|
tree
2007-10-11
Stat
h
is Kamperis
A
d
d a program that p
r
i
nts characters' fre
q
uencies
commit
|
commitdiff
|
tree
2007-10-10
S
tath
i
s
Kamper
i
s
Implement f
u
l
l
simulation
commit
|
commitdiff
|
tree
2007-10-09
Stathis Ka
m
pe
r
is
Add
f
irst attempt of simulatio
n
--
crashes r
i
gh
t
n
o
w
commit
|
commitdiff
|
tree
2007-10-08
Stathis Kamperi
s
Put
m
a
in()
i
n test
.
c
a
nd remove it from mpool
.
c
commit
|
commitdiff
|
tree
2007-10-08
Sta
t
his K
a
mperis
F
ix newpos calc in mpool_all
o
c() and
add mpool_stat_get_bl
o
c
.
.
.
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamper
i
s
Remov
e
bogus pr
i
n
t
f()
commit
|
commitdiff
|
tree
2007-10-07
Stathis
K
a
mperis
Fix typo i
n
comment
commit
|
commitdiff
|
tree
2007-10-07
Stathis K
a
mperis
F
ix typo in com
m
ent
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamp
e
ris
A
dd some comments for
m
pool
_
free(
)
commit
|
commitdiff
|
tree
2007-10-07
St
a
this
Kamperi
s
Remove bogus code
commit
|
commitdiff
|
tree
2007-10-07
S
tathis Kamperis
Im
p
leme
n
t inheritance --
w
orks, but needs cleanup
commit
|
commitdiff
|
tree
2007-10-07
Stathis Kamperis
General cleanup
commit
|
commitdiff
|
tree
2007-10-07
S
tathis Kam
p
e
ris
Change n
a
mes
p
ace from MPOOL_ to MP_
commit
|
commitdiff
|
tree
2007-10-06
Sta
t
his Kamperi
s
Add terminat
i
n
g
condition in mpo
o
l_free()
commit
|
commitdiff
|
tree
2007-10-06
Stat
h
is Kamp
e
ris
Cl
e
an mpool_free() m
e
ss
commit
|
commitdiff
|
tree
2007-10-06
Stathis Kamp
e
ris
A
d
d some
m
ore
D
PRINTF() cal
l
s in
mpool_free()
commit
|
commitdiff
|
tree
2007-10-06
Stathis Ka
m
peri
s
Tr
y
to coale
s
ce only if buddy
e
xists AND
is
f
ree
commit
|
commitdiff
|
tree
2007-10-06
Stathis
K
amperis
Add flags member
in
b
lknode data structu
r
e
commit
|
commitdiff
|
tree
2007-10-04
Stathis Ka
m
per
i
s
Fix ca
l
culation of `newp
o
s' when splitt
i
ng
commit
|
commitdiff
|
tree
2007-10-04
Stathis Kamperis
DEBUG symbol is now MPOOL_DEBUG
commit
|
commitdiff
|
tree
2007-10-04
Stat
h
i
s
Kamperis
Add m
e
rges and
splits stats if MP
O
O
L_STAT
S
i
s d
e
fined
commit
|
commitdiff
|
tree
2007-10-04
Stath
i
s Kamperis
Add some
D
P
RI
N
TF()
c
a
lls
in mpool_free() (still a stub)
commit
|
commitdiff
|
tree
2007-10-02
S
t
athis Kamperis
Replace prin
t
f() calls to DPR
I
NTF() m
a
cro
commit
|
commitdiff
|
tree
2007-10-02
Stathis Kamperis
Add some more
p
rintfs in m
p
ool_free(
)
commit
|
commitdiff
|
tree
2007-10-02
Stathis K
a
mperis
Re
m
o
ve wh
i
tespace in comment
commit
|
commitdiff
|
tree
2007-10-02
Stathis
Kamperis
Remo
v
e bo
g
us header fil
e
commit
|
commitdiff
|
tree
2007-10-02
Stathis K
a
mpe
r
is
Add basic impleme
n
t
a
t
ion of mpool_free()
.
No coalesce
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
St
a
t
his K
a
mperis
Minor co
s
met
i
c change in printf()
commit
|
commitdiff
|
tree
2007-10-02
Stathis K
a
mperis
Fix t
y
po
i
n comment
commit
|
commitdiff
|
tree
2007-10-02
Stathis K
a
m
p
eris
Major changes in
d
ata structu
r
es and add
i
tion of
profilin
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-02
Stathis K
a
m
peris
Use unsigned char i
n
stead of unsigned int for 'boolea
n
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
S
tathis Ka
m
peris
Don't do
v
oid pointer ar
i
thmetics
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamper
i
s
Put function prototypes, defs and cons
t
ants in mpool
.
h
commit
|
commitdiff
|
tree
2007-10-01
Stath
i
s K
a
mpe
r
is
Add a minsi
z
e
f
ield in
m
p
ool to in
d
icate min
i
mum chunk
.
.
.
commit
|
commitdiff
|
tree
2007-10-01
Stathis Kamperis
Initia
l
import of the buddy m
e
mory allocator
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamp
e
ris
M
e
r
ge branch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathi
s
K
a
m
p
eris
Don't
c
heck
< 0
f
or
unsign
e
d expre
s
sion
commit
|
commitdiff
|
tree
2007-09-20
S
tathis K
a
mperis
Mer
g
e bra
n
ch
'exp-hash'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Merge htable_ge
t
_first_el
m
() in htable_g
e
t_next_elm()
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Merge branch 'exp-hash
'
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Add htab
l
e_get_fir
s
t/nex
t
_
e
leme
n
t()
f
unctions fo
r
htabl
e
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kam
p
eris
Merge b
r
anch
'exp-
h
ash'
commit
|
commitdiff
|
tree
2007-09-19
St
a
this Kamperi
s
Upda
t
e TODO file
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Add test case for
h
table_travers
e
commit
|
commitdiff
|
tree
2007-09-19
S
t
a
this Kamper
i
s
A
dd
h
t
a
ble_get_siz
e
(), htable_get_used(),
htab
l
e_trave
r
se()
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
A
d
d stub for h
t
able_get
_
next_elm()
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kam
p
eris
F
i
x typo in
commen
t
commit
|
commitdiff
|
tree
2007-09-14
S
tathis Kamp
e
ris
Add flags HT_FR
E
EKEY and
H
T_FREE
D
ATA
i
n htable_
f
ree_*(
)
commit
|
commitdiff
|
tree
2007-09-11
S
t
athi
s
Kamperis
htable_free_objects
(
)
->
htable_free_all_obj
(
)
in
m
ain
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamper
i
s
printf callback -> myp
r
i
ntf so as not
to shadow stdio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
S
t
a
this
K
amperis
Remove redun
d
ant , when in en
u
meration list
commit
|
commitdiff
|
tree
2007-09-10
Stath
i
s Kamperis
HT_
R
EP
L
ACED
-
> HT_EXISTS
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
Implement htable
_
free_o
b
j() function
commit
|
commitdiff
|
tree
2007-09-10
Stathis
K
amperis
ht
a
ble_ins
e
rt() doesn't
o
ve
w
ri
t
e
existin
g
data
commit
|
commitdiff
|
tree
2007-09-10
Stathis
K
amperis
hta
b
le_inse
r
t
() returns HT_RE
P
LACED if ke
y
already
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
S
t
a
t
his Kamperis
Fre
e
hn_
k
ey
commit
|
commitdiff
|
tree
2007-09-10
Stath
i
s
Kamperis
Free old data when inserting new entry wi
t
h
e
xisting key
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
Add htable_free_objects(
)
tha fr
e
es pnode->data
commit
|
commitdiff
|
tree
2007-09-09
Stathi
s
Kampe
r
is
Pa
s
s callback fu
n
ction
i
n htable_
i
ni
t
()
commit
|
commitdiff
|
tree
2007-09-09
S
t
athis Kamper
i
s
#i
n
c
l
ude <std
d
e
f
.
h> in hta
b
le
.
h for size_t typ
e
commit
|
commitdiff
|
tree
2007-09-09
Sta
t
his Kamp
e
ris
htable_grow() should return
HT_OK on succe
s
s
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Ad
d
comment
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Consti
f
y variabl
e
i
n
htable_print()
commit
|
commitdiff
|
tree
2007-09-08
St
a
this
K
amperis
Add htable_grow()
commit
|
commitdiff
|
tree
2007-09-08
Stath
i
s
Kam
p
e
ris
u_i
n
t -> unsign
e
d int
commit
|
commitdiff
|
tree
2007-09-08
Stathis K
a
m
peris
A
d
d c
o
mment in mai
n
()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
c
h
ang
e
s in d
j
b_ha
s
h
commit
|
commitdiff
|
tree
2007-09-08
Stathis
Ka
m
peris
Con
s
tify som
e
va
r
iables
commit
|
commitdiff
|
tree
2007-09-08
Stat
h
i
s Kamperis
Add a hhead_t typedef for struct h
t
ablehea
d
commit
|
commitdiff
|
tree
2007-09-08
Sta
t
his Ka
m
peris
Ad
d
proper er
r
or
handling in htabl
e
_
*
() functions
commit
|
commitdiff
|
tree
2007-09-07
St
a
t
h
is
K
am
p
eris
ptabl
e
-> htable in main
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stathis K
a
m
p
e
ris
Add htable_fre
e
() and don't
forge
t
t
o
update ht_si
z
e
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamper
i
s
R
ena
m
e htable_delete() t
o
htab
l
e
_
r
emov
e
()
commit
|
commitdiff
|
tree
2007-09-07
St
a
this Kamperis
F
i
x typ
o
and remove whit
e
space
commit
|
commitdiff
|
tree
2007-09-07
S
tathis K
a
mperis
Fix comment in previous commit
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is
K
amperis
Add htabl
e
_delete() fun
c
t
i
o
n
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
his Ka
m
peri
s
str
-
>
k
e
y in djb_hash() function
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is Ka
m
pe
r
is
Include arg
u
m
e
nts' names in f
u
nction prototypes
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Kamperis
p
a
s
s void *key
a
r
gument in hta
b
le_print(
)
commit
|
commitdiff
|
tree
2007-09-07
Stathis
K
amp
e
ris
Add comments for ht_si
z
e var
i
able
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamperis
Const
i
fy variable
i
n htable_prin
t
()
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamperis
Move htable fi
l
es t
o
h
t
a
b
le/ subdirectory
commit
|
commitdiff
|
tree
2007-09-07
Stath
i
s
K
amperis
Split htable i
m
p
l
ementation
t
o htable
.
c
a
nd htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamp
e
ris
Add some comments
commit
|
commitdiff
|
tree
2007-09-07
Stathis
K
amperis
Constify some variables
commit
|
commitdiff
|
tree
2007-09-07
S
tathis Kamp
e
ris
h
t
_printf() has a void *da
t
a argument
commit
|
commitdiff
|
tree
2007-09-07
St
a
this
ht_cmpf() returns 0 if
args are eq
u
al
commit
|
commitdiff
|
tree
2007-09-06
Stathis
Add callback functi
o
n
s
for hash, compare and p
r
int
commit
|
commitdiff
|
tree
next