- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 529 for illegally (0.42 sec)
-
test/fixedbugs/bug068.go
// errorcheck // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // RESOLUTION: This program is illegal. We should reject all unnecessary backslashes. package main const c = '\''; // this works const s = "\'"; // ERROR "invalid|escape" /* There is no reason why the escapes need to be different inside strings and chars.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:30 UTC 2012 - 520 bytes - Viewed (0) -
src/unicode/utf8/utf8.go
} else if c := s[i+3]; c < locb || hicb < c { return false } i += size } return true } // ValidRune reports whether r can be legally encoded as UTF-8. // Code points that are out of range or a surrogate half are illegal. func ValidRune(r rune) bool { switch { case 0 <= r && r < surrogateMin: return true case surrogateMax < r && r <= MaxRune: return true } return false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 02:00:36 UTC 2024 - 16.4K bytes - Viewed (0) -
test/fixedbugs/bug112.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 21:15:42 UTC 2012 - 301 bytes - Viewed (0) -
platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentBinariesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 13.8K bytes - Viewed (0) -
test/fixedbugs/bug151.go
// license that can be found in the LICENSE file. package bug151 type S string type Empty interface {} func (v S) Less(e Empty) bool { return v < e.(S); } /* bugs/bug151.go:10: illegal types for operand: CALL string S
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 21:15:42 UTC 2012 - 350 bytes - Viewed (0) -
src/math/big/hilbert_test.go
func (a *matrix) set(i, j int, x *Rat) { if !(0 <= i && i < a.n && 0 <= j && j < a.m) { panic("index out of range") } a.a[i*a.m+j] = x } func newMatrix(n, m int) *matrix { if !(0 <= n && 0 <= m) { panic("illegal matrix") } a := new(matrix) a.n = n a.m = m a.a = make([]*Rat, n*m) return a } func newUnit(n int) *matrix { a := newMatrix(n, n) for i := 0; i < n; i++ { for j := 0; j < n; j++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 2.9K bytes - Viewed (0) -
test/fixedbugs/bug098.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 21:15:42 UTC 2012 - 582 bytes - Viewed (0) -
test/fixedbugs/issue4348.go
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 4348. After switch to 64-bit ints the compiler generates // illegal instructions when using large array bounds or indexes. // Skip. We reject symbols larger that 2GB (Issue #9862). package main // 1<<32 on a 64-bit machine, 1 otherwise. const LARGE = ^uint(0)>>32 + 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 18:51:03 UTC 2020 - 584 bytes - Viewed (0) -
test/fixedbugs/bug016.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:48:57 UTC 2012 - 410 bytes - Viewed (0) -
test/varerr.go
// errorcheck // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Verify that a couple of illegal variable declarations are caught by the compiler. // Does not compile. package main func main() { _ = asdf // ERROR "undefined.*asdf" new = 1 // ERROR "use of builtin new not in function call|invalid left hand side|must be called"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 04 21:22:23 UTC 2020 - 449 bytes - Viewed (0)