- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 9,390 for boop (0.07 sec)
-
src/html/template/js_test.go
} } type jsonErrType struct{} func (e *jsonErrType) MarshalJSON() ([]byte, error) { return nil, errors.New("beep */ boop </script blip <!--") } func TestJSValEscaper(t *testing.T) { tests := []struct { x any js string skipNest bool }{ {int(42), " 42 ", false}, {uint(42), " 42 ", false}, {int16(42), " 42 ", false}, {uint16(42), " 42 ", false},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 02:20:11 UTC 2024 - 12.6K bytes - Viewed (0) -
src/html/template/escape_test.go
}, { "{{range .Items}}<a{{end}}", `z:1: on range loop re-entry: "<" in attribute name: "<a"`, }, { "\n{{range .Items}} x='<a{{end}}", "z:2:8: on range loop re-entry: {{range}} branches", }, { "{{range .Items}}<a{{if .X}}{{break}}{{end}}>{{end}}", "z:1:29: at range loop break: {{range}} branches end in different contexts", }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 16 03:29:27 UTC 2023 - 56.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/wait/loop.go
// cancelled. The returned error is the error returned by the last condition or the // context error if the context was terminated. // // This is the common loop construct for all polling in the wait package. func loopConditionUntilContext(ctx context.Context, t Timer, immediate, sliding bool, condition ConditionWithContextFunc) error { defer t.Stop() var timeCh <-chan time.Time doneCh := ctx.Done() if !sliding { timeCh = t.C()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 19 02:47:00 UTC 2023 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/noop.mlir
// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s func.func @main() { tf_executor.graph { tf_executor.island wraps "tf.NoOp"() {} : () -> () loc("noop") tf_executor.fetch } func.return } // CHECK: node { // CHECK-NEXT: name: "noop" // CHECK-NEXT: op: "NoOp" // CHECK-NEXT: experimental_debug_info { // CHECK-NEXT: }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 370 bytes - Viewed (0) -
src/cmd/vet/testdata/bool/bool.go
// Copyright 2014 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. // This file contains tests for the bool checker. package bool func _() { var f, g func() int if v, w := f(), g(); v == w || v == w { // ERROR "redundant or: v == w || v == w" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 20 15:46:42 UTC 2019 - 346 bytes - Viewed (0) -
test/codegen/bool.go
func convertNeq0B(x uint8, c bool) bool { // amd64:"ANDL\t[$]1",-"SETNE" // ppc64x:"RLDICL",-"CMPW",-"ISEL" b := x&1 != 0 return c && b } func convertNeq0W(x uint16, c bool) bool { // amd64:"ANDL\t[$]1",-"SETNE" // ppc64x:"RLDICL",-"CMPW",-"ISEL" b := x&1 != 0 return c && b } func convertNeq0L(x uint32, c bool) bool { // amd64:"ANDL\t[$]1",-"SETB"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 13 22:12:32 UTC 2023 - 6.7K bytes - Viewed (0) -
internal/config/bool-flag.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package config import ( "encoding/json" "fmt" "strconv" "strings" ) // BoolFlag - wrapper bool type. type BoolFlag bool // String - returns string of BoolFlag. func (bf BoolFlag) String() string { if bf { return "on" } return "off" } // MarshalJSON - converts BoolFlag into JSON data.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 07 15:10:40 UTC 2022 - 2.3K bytes - Viewed (0) -
internal/config/bool-flag_test.go
} } } // Test BoolFlag.UnmarshalJSON() func TestBoolFlagUnmarshalJSON(t *testing.T) { testCases := []struct { data []byte expectedResult BoolFlag expectedErr bool }{ {[]byte(`{}`), BoolFlag(false), true}, {[]byte(`["on"]`), BoolFlag(false), true}, {[]byte(`"junk"`), BoolFlag(false), true}, {[]byte(`""`), BoolFlag(true), false}, {[]byte(`"on"`), BoolFlag(true), false},
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/ref-while-loop.mlir
// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s // Verify the ops generated when Ref type is used in a while loop. func.func @main() { // CHECK: op: "RefEnter" // CHECK: op: "RefMerge" // CHECK: op: "RefSwitch" // CHECK: op: "RefExit" // CHECK: op: "RefNextIteration" tf_executor.graph { %0:3 = tf_executor.NextIteration.Source : tensor<*x!tf_type.int32ref> {device = "", T = "tfdtype$DT_INT32"} loc("while/NextIteration")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/while-loop.mlir
Adrian Kuegel <******@****.***> 1648469008 -0700
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 2.3K bytes - Viewed (0)