repositories
/
ss1617.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5df1713
)
add notion about non-null
master
author
Mart Lubbers
<mart@martlubbers.net>
Wed, 25 Jan 2017 11:07:08 +0000
(12:07 +0100)
committer
Mart Lubbers
<mart@martlubbers.net>
Wed, 25 Jan 2017 11:07:08 +0000
(12:07 +0100)
mock/mock.txt
patch
|
blob
|
history
diff --git
a/mock/mock.txt
b/mock/mock.txt
index
9f687b0
..
054de8c
100644
(file)
--- a/
mock/mock.txt
+++ b/
mock/mock.txt
@@
-115,6
+115,8
@@
equal than 0 and smaller than 10. This can be done with an
"requires i >= 0" and a "requires i<10"
equal than 0 and smaller than 10. This can be done with an
"requires i >= 0" and a "requires i<10"
+ Moreover the array may never be null. Thus we add the non_null invariant to
+ the array contains.
12.
The execution time of i and ii will be the same because the PPC code will
not insert runtime checks. It will just statically analyse whether the code
12.
The execution time of i and ii will be the same because the PPC code will
not insert runtime checks. It will just statically analyse whether the code