Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
bd50b31c
Commit
bd50b31c
authored
Apr 08, 2009
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
a1cbd37f
662e5883
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
tests/compile/typecast.pyx
tests/compile/typecast.pyx
+1
-1
tests/run/index.pyx
tests/run/index.pyx
+6
-6
No files found.
tests/compile/typecast.pyx
View file @
bd50b31c
cdef
void
f
(
obj
):
cdef
void
f
(
obj
):
cdef
in
t
i
=
0
cdef
size_
t
i
=
0
cdef
char
*
p
cdef
char
*
p
p
=
<
char
*>
i
p
=
<
char
*>
i
p
=
<
char
*>&
i
p
=
<
char
*>&
i
...
...
tests/run/index.pyx
View file @
bd50b31c
...
@@ -65,10 +65,10 @@ def test_unsigned_long():
...
@@ -65,10 +65,10 @@ def test_unsigned_long():
cdef
int
i
cdef
int
i
cdef
unsigned
long
ix
cdef
unsigned
long
ix
cdef
D
=
{}
cdef
D
=
{}
for
i
from
0
<=
i
<
sizeof
(
unsigned
long
)
*
8
:
for
i
from
0
<=
i
<
<
int
>
sizeof
(
unsigned
long
)
*
8
:
ix
=
(
<
unsigned
long
>
1
)
<<
i
ix
=
(
<
unsigned
long
>
1
)
<<
i
D
[
ix
]
=
True
D
[
ix
]
=
True
for
i
from
0
<=
i
<
sizeof
(
unsigned
long
)
*
8
:
for
i
from
0
<=
i
<
<
int
>
sizeof
(
unsigned
long
)
*
8
:
ix
=
(
<
unsigned
long
>
1
)
<<
i
ix
=
(
<
unsigned
long
>
1
)
<<
i
assert
D
[
ix
]
is
True
assert
D
[
ix
]
is
True
del
D
[
ix
]
del
D
[
ix
]
...
@@ -78,10 +78,10 @@ def test_unsigned_short():
...
@@ -78,10 +78,10 @@ def test_unsigned_short():
cdef
int
i
cdef
int
i
cdef
unsigned
short
ix
cdef
unsigned
short
ix
cdef
D
=
{}
cdef
D
=
{}
for
i
from
0
<=
i
<
sizeof
(
unsigned
short
)
*
8
:
for
i
from
0
<=
i
<
<
int
>
sizeof
(
unsigned
short
)
*
8
:
ix
=
(
<
unsigned
short
>
1
)
<<
i
ix
=
(
<
unsigned
short
>
1
)
<<
i
D
[
ix
]
=
True
D
[
ix
]
=
True
for
i
from
0
<=
i
<
sizeof
(
unsigned
short
)
*
8
:
for
i
from
0
<=
i
<
<
int
>
sizeof
(
unsigned
short
)
*
8
:
ix
=
(
<
unsigned
short
>
1
)
<<
i
ix
=
(
<
unsigned
short
>
1
)
<<
i
assert
D
[
ix
]
is
True
assert
D
[
ix
]
is
True
del
D
[
ix
]
del
D
[
ix
]
...
@@ -91,10 +91,10 @@ def test_long_long():
...
@@ -91,10 +91,10 @@ def test_long_long():
cdef
int
i
cdef
int
i
cdef
long
long
ix
cdef
long
long
ix
cdef
D
=
{}
cdef
D
=
{}
for
i
from
0
<=
i
<
sizeof
(
long
long
)
*
8
:
for
i
from
0
<=
i
<
<
int
>
sizeof
(
long
long
)
*
8
:
ix
=
(
<
long
long
>
1
)
<<
i
ix
=
(
<
long
long
>
1
)
<<
i
D
[
ix
]
=
True
D
[
ix
]
=
True
for
i
from
0
<=
i
<
sizeof
(
long
long
)
*
8
:
for
i
from
0
<=
i
<
<
int
>
sizeof
(
long
long
)
*
8
:
ix
=
(
<
long
long
>
1
)
<<
i
ix
=
(
<
long
long
>
1
)
<<
i
assert
D
[
ix
]
is
True
assert
D
[
ix
]
is
True
del
D
[
ix
]
del
D
[
ix
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment