Misc. typos
found via `codespell` and `grep`
This commit is contained in:
parent
3eb41c9beb
commit
60dfa31a67
90 changed files with 155 additions and 155 deletions
|
|
@ -6,7 +6,7 @@ import sys
|
|||
if len(sys.argv) >= 2 and sys.argv[1] == "benchmark":
|
||||
# run the benchmark
|
||||
import time
|
||||
k = 1000000 # number of times to excute the functions
|
||||
k = 1000000 # number of times to execute the functions
|
||||
|
||||
t = time.time()
|
||||
a = bytearray(b'hello world')
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@ import sys
|
|||
|
||||
p = return_const_value.Foo_ptr_getPtr()
|
||||
if (p.getVal() != 17):
|
||||
print "Runtime test1 faild. p.getVal()=", p.getVal()
|
||||
print "Runtime test1 failed. p.getVal()=", p.getVal()
|
||||
sys.exit(1)
|
||||
|
||||
p = return_const_value.Foo_ptr_getConstPtr()
|
||||
if (p.getVal() != 17):
|
||||
print "Runtime test2 faild. p.getVal()=", p.getVal()
|
||||
print "Runtime test2 failed. p.getVal()=", p.getVal()
|
||||
sys.exit(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue