- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 215 for FIVE (1.81 sec)
-
test/fixedbugs/bug366.go
// Issue 2206. Incorrect sign extension of div arguments. package main func five(x int64) { if x != 5 { panic(x) } } func main() { // 5 five(int64(5 / (5 / 3))) // 5 five(int64(byte(5) / (byte(5) / byte(3)))) // 5 var a, b byte = 5, 3 five(int64(a / (a / b))) // integer divide by zero in golang.org sandbox
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 799 bytes - Viewed (0) -
test/slicecap.go
checkString("x[5:]", x[5:]) checkString("x[five:]", x[five:]) checkString("x[5:five]", x[5:five]) checkString("x[five:5]", x[five:5]) checkString("x[five:five]", x[five:five]) checkString("x[1:][2:][2:]", x[1:][2:][2:]) y := x[4:] checkString("y[1:]", y[1:]) } { x := bytes checkBytes("x", x) checkBytes("x[5:]", x[5:]) checkBytes("x[five:]", x[five:]) checkBytes("x[5:five]", x[5:five])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 1.9K bytes - Viewed (0) -
test/const.go
assert((&five == interface{}(nil)) == pi(&five, nilN), "for interface{}==*int compiler == runtime") assert((interface{}(nil) == &five) == ip(nilN, &five), "for interface{}==*int compiler == runtime") assert((5 == interface{}(5)) == ni(five, five), "for int==interface{} compiler == runtime") assert((interface{}(5) == 5) == in(five, five), "for interface{}==int comipiler == runtime") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 26 23:54:29 UTC 2019 - 4.8K bytes - Viewed (0) -
test/interface/convert.go
hello(t.String()) // T2E e = t // E2T t = e.(T) hello(t.String()) // T2I again sl = t hello(sl.String()) five(sl.Length()) // I2I static s = sl hello(s.String()) // I2I dynamic sl = s.(StringLengther) hello(sl.String()) five(sl.Length()) // I2E (and E2T) e = s hello(e.(T).String()) // E2I s = e.(Stringer) hello(s.String())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 06:33:41 UTC 2012 - 1.9K bytes - Viewed (0) -
test/fixedbugs/bug427.go
// https://golang.org/issue/3351 package main // struct with four fields of basic type type S struct {a, b, c, d int} // struct with five fields of basic type type T struct {a, b, c, d, e int} // array with four elements type A [4]int // array with five elements type B [5]int func main() { var i interface{} var s1, s2 S i = s1 == s2 var t1, t2 T i = t1 == t2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jul 11 14:36:33 UTC 2015 - 614 bytes - Viewed (0) -
test/fixedbugs/bug273.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // https://golang.org/issue/589 package main import "unsafe" var bug = false var minus1 = -1 var five = 5 var big int64 = 10 | 1<<46 type block [1 << 19]byte var g1 []block func shouldfail(f func(), desc string) { defer func() { recover() }() f() if !bug { println("BUG") bug = true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 26 14:06:28 UTC 2018 - 1.3K bytes - Viewed (0) -
tests/test_multi_body_errors.py
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 7.6K bytes - Viewed (0) -
tests/test_multi_query_errors.py
response = client.get("/items/?q=5&q=6") assert response.status_code == 200, response.text assert response.json() == {"q": [5, 6]} def test_multi_query_incorrect(): response = client.get("/items/?q=five&q=six") assert response.status_code == 422, response.text assert response.json() == IsDict( { "detail": [ { "type": "int_parsing",
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 4.5K bytes - Viewed (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial004.py
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 6.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestStringListMultimapGenerator.java
Helpers.mapEntry("three", "March"), Helpers.mapEntry("four", "April"), Helpers.mapEntry("five", "May")); } @Override public SampleElements<String> sampleKeys() { return new SampleElements<>("one", "two", "three", "four", "five"); } @Override public SampleElements<String> sampleValues() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 26 19:46:10 UTC 2024 - 3K bytes - Viewed (0)