- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 631 for _Assign (0.22 sec)
-
tensorflow/cc/framework/cc_ops_test.cc
TF_EXPECT_OK(root.status()); } TEST(CCOpTest, ControlDeps) { Scope root = Scope::NewRootScope(); auto v = Variable(root, {}, DT_FLOAT); auto assign = Assign(root, v, 41.0f); Scope with_control_deps = root.WithControlDependencies(assign); auto add = Add(with_control_deps, v, 1.0f); Scope no_control_deps = with_control_deps.WithNoControlDependencies(); auto sub = Sub(no_control_deps, 3.0f, 2.0f);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 15 15:13:38 UTC 2023 - 8.7K bytes - Viewed (0) -
src/strconv/internal_test.go
// license that can be found in the LICENSE file. // export access to strconv internals for tests package strconv func NewDecimal(i uint64) *decimal { d := new(decimal) d.Assign(i) return d } func SetOptimize(b bool) bool { old := optimize optimize = b return old } func ParseFloatPrefix(s string, bitSize int) (float64, int, error) { return parseFloatPrefix(s, bitSize)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 15 08:44:21 UTC 2021 - 618 bytes - Viewed (0) -
test/fixedbugs/bug289.go
package main func f1() { a, b := f() // ERROR "assignment mismatch|does not match|cannot initialize" _, _ = a, b } func f2() { var a, b int a, b = f() // ERROR "assignment mismatch|does not match|cannot assign" _, _ = a, b } func f() int { return 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 28 14:28:33 UTC 2023 - 495 bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue3117.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 05 19:07:50 UTC 2023 - 343 bytes - Viewed (0) -
src/internal/types/testdata/check/stmt0.go
const c = 0 type d int a, b, c /* ERROR "cannot assign" */ , d /* ERROR "cannot assign" */ := 1, "zwei", 3.0, 4 var _ int = a // a is of type int var _ string = b // b is of type string } func incdecs() { const c = 3.14 c /* ERROR "cannot assign" */ ++ s := "foo" s /* ERROR "invalid operation" */ -- 3.14 /* ERROR "cannot assign" */ ++ var ( x int y float32 z complex128 )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 19K bytes - Viewed (0) -
src/cmd/vet/main.go
"flag" "golang.org/x/tools/go/analysis/unitchecker" "golang.org/x/tools/go/analysis/passes/appends" "golang.org/x/tools/go/analysis/passes/asmdecl" "golang.org/x/tools/go/analysis/passes/assign" "golang.org/x/tools/go/analysis/passes/atomic" "golang.org/x/tools/go/analysis/passes/bools" "golang.org/x/tools/go/analysis/passes/buildtag" "golang.org/x/tools/go/analysis/passes/cgocall"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 2.9K bytes - Viewed (0) -
test/fixedbugs/issue14010.go
// license that can be found in the LICENSE file. // Verify that built-in types don't get printed with // (empty) package qualification. package main func main() { true = false // ERROR "cannot assign to true|invalid left hand side" byte = 0 // ERROR "not an expression|invalid left hand side|invalid use of type"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 10 18:34:40 UTC 2020 - 449 bytes - Viewed (0) -
test/fixedbugs/issue6572.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 12 23:07:01 UTC 2021 - 452 bytes - Viewed (0) -
test/fixedbugs/issue13779.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 24 15:07:16 UTC 2016 - 483 bytes - Viewed (0) -
test/fixedbugs/bug487.go
package p func G() (int, int, int) { return 0, 0, 0 } func F() { a, b := G() // ERROR "mismatch|cannot initialize" a, b = G() // ERROR "mismatch|cannot assign" _, _ = a, b } func H() (int, int) { return G() // ERROR "too many|mismatch|wrong number"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 14 21:28:48 UTC 2020 - 570 bytes - Viewed (0)