- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 529 for isLegal (0.14 sec)
-
src/vendor/golang.org/x/text/unicode/bidi/prop.go
return Lookup(buf[:n]) } // TODO: these lookup methods are based on the generated trie code. The returned // sizes have slightly different semantics from the generated code, in that it // always returns size==1 for an illegal UTF-8 byte (instead of the length // of the maximum invalid subsequence). Most Transformers, like unicode/norm, // leave invalid UTF-8 untouched, in which case it has performance benefits to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 20:28:54 UTC 2019 - 5.7K bytes - Viewed (0) -
test/solitaire.go
package main const N = 11 + 1 // length of a board row (+1 for newline) // The board must be surrounded by 2 illegal fields in each direction // so that move() doesn't need to check the board boundaries. Periods // represent illegal fields, ● are pegs, and ○ are holes. var board = []rune( `........... ........... ....●●●.... ....●●●.... ..●●●●●●●.. ..●●●○●●●.. ..●●●●●●●..
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 00:48:19 UTC 2012 - 2.9K bytes - Viewed (0) -
test/fixedbugs/bug300.go
package main type T struct { x, y *T } func main() { // legal composite literals _ = struct{}{} _ = [42]int{} _ = [...]int{} _ = []int{} _ = map[int]int{} _ = T{} // illegal composite literals: parentheses not allowed around literal type _ = (struct{}){} // ERROR "parenthesize" _ = ([42]int){} // ERROR "parenthesize" _ = ([...]int){} // ERROR "parenthesize"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 697 bytes - Viewed (0) -
src/go/scanner/scanner.go
r, w := rune(s.src[s.rdOffset]), 1 switch { case r == 0: s.error(s.offset, "illegal character NUL") case r >= utf8.RuneSelf: // not ASCII r, w = utf8.DecodeRune(s.src[s.rdOffset:]) if r == utf8.RuneError && w == 1 { s.error(s.offset, "illegal UTF-8 encoding") } else if r == bom && s.offset > 0 { s.error(s.offset, "illegal byte order mark") } } s.rdOffset += w s.ch = r } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 24.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/verify-tfxla-legalization-no-chlo.mlir
// RUN: tf-opt "-tfxla-verify-legalization=legalize-chlo=false" -verify-diagnostics -split-input-file %s | FileCheck %s --dump-input=fail // Tests the VerifyTFXLALegalization Pass, that just ensures we don't have // any illegal ops at the end of the pipeline. This runs with // legalize-chlo=false since errors can't be mixed with the legalize-chlo=True // version. // CHECK-LABEL: allows_chlo
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 30 22:07:53 UTC 2024 - 694 bytes - Viewed (0) -
src/internal/types/testdata/check/shifts.go
p = 1<<s == 1<<33 // illegal if ints are 32bits in size: 1 has type int, but 1<<33 overflows int u = 1.0 /* ERROR "must be integer" */ <<s // illegal: 1.0 has type float64, cannot shift u1 = 1.0 /* ERROR "must be integer" */ <<s != 0 // illegal: 1.0 has type float64, cannot shift u2 = 1 /* ERROR "must be integer" */ <<s != 1.0 // illegal: 1 has type float64, cannot shift
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 12.7K bytes - Viewed (0) -
pkg/util/coverage/coverage_disabled.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package coverage // InitCoverage is illegal when not running with coverage. func InitCoverage(name string) { panic("Called InitCoverage when not built with coverage instrumentation.") } // FlushCoverage is a no-op when not running with coverage.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 888 bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts
if (JavaVersion.current().isJava9Compatible) { //allow ProjectBuilder to inject legacy types into the system classloader jvmArgs("--add-opens", "java.base/java.lang=ALL-UNNAMED") jvmArgs("--illegal-access=deny") } useJUnitPlatform()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 03 15:32:00 UTC 2023 - 1.8K bytes - Viewed (0) -
src/syscall/errors_plan9.go
// what package os and others expect. EACCES = NewError("access permission denied") EAFNOSUPPORT = NewError("address family not supported by protocol") ESPIPE = NewError("illegal seek") ) // Notes const ( SIGABRT = Note("abort") SIGALRM = Note("alarm") SIGHUP = Note("hangup") SIGINT = Note("interrupt") SIGKILL = Note("kill") SIGTERM = Note("interrupt")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Apr 22 13:31:24 UTC 2017 - 1.6K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/EvaluationFailureMessageGenerator.kt
DocumentCheckFailureReason.PluginManagementBlockOrderViolated -> "illegal content before 'pluginManagement', which can only appear as the first element in the file" DocumentCheckFailureReason.PluginsBlockOrderViolated -> "illegal content before 'plugins', which can only be preceded by 'pluginManagement'"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:47 UTC 2024 - 8.3K bytes - Viewed (0)