- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 552 for reassignment (0.14 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/device-arg-retval-attr.mlir
// RUN: tf-mlir-translate -mlir-to-graphdef %s -tf-graph-as-function -o - | FileCheck %s // Verify arg/ret attributes are exported as device assignment for arg/retval // nodes. module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 121 : i32}} { func.func @main(%arg0: tensor<*xf32> {tf.device = "/CPU:0"}, %arg1: tensor<2x4x6x8xi32>) -> (tensor<*xf32>, tensor<2x4x6x8xi32> {tf.device = "/CPU:1"})
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 25 12:28:56 UTC 2022 - 1.8K bytes - Viewed (0) -
src/go/ast/commentmap.go
// // NewCommentMap tries to associate a comment group to the "largest" // node possible: For instance, if the comment is a line comment // trailing an assignment, the comment is associated with the entire // assignment rather than just the last operand in the assignment. func NewCommentMap(fset *token.FileSet, node Node, comments []*CommentGroup) CommentMap { if len(comments) == 0 { return nil // no comments to map }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.9K bytes - Viewed (0) -
src/go/types/builtins.go
return false } key = map_.key return true }) { return } *x = *args[1] // key check.assignment(x, key, "argument to delete") if x.mode == invalid { return } x.mode = novalue if check.recordTypes() { check.recordBuiltinType(call.Fun, makeSig(nil, map_, key)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/KotlinGrammar.kt
} val unaryPrefix by debug { annotation + label } val assignment by debug { directlyAssignableExpression * token(EQ) * expression } val statement by debug { zeroOrMore(label + annotation) * (assignment + expression) } val statements: Parser<Any> by debug {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 8.4K bytes - Viewed (0) -
test/used.go
_ = f0() // ERROR "f0\(\) .*used as value" _ = f1() // ok _, _ = f2() // ok _ = f2() // ERROR "assignment mismatch: 1 variable but f2 returns 2 values|cannot assign" _ = f1(), 0 // ERROR "assignment mismatch: 1 variable but 2 values|cannot assign" T.M0 // ERROR "T.M0 .* not used" t.M0 // ERROR "t.M0 .* not used"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 28 08:39:17 UTC 2020 - 6K bytes - Viewed (0) -
test/ken/embed.go
s = new(S) s.Subp = new(Subp) s.Sub.SubSubp = new(SubSubp) s.Subp.SubpSubp = new(SubpSubp) // explicit assignment s.a = 1 s.Sub.a = 2 s.Subp.a = 3 s.Sub.SubSub.a = 4 s.Sub.SubSubp.a = 5 s.Subp.SubpSub.a = 6 s.Subp.SubpSubp.a = 7 // embedded (unique) assignment s.a1 = 1 s.a2 = 2 s.a3 = 3 s.a4 = 4 s.a5 = 5 s.a6 = 6 s.a7 = 7
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 03 17:03:15 UTC 2016 - 4.3K bytes - Viewed (0) -
test/fixedbugs/issue23017.go
// run // Copyright 2020 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. // assignment order in multiple assignments. // See issue #23017 package main import "fmt" func main() {} func init() { var m = map[int]int{} var p *int defer func() { recover() check(1, len(m)) check(42, m[2]) }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Jan 03 19:48:18 UTC 2021 - 1.5K bytes - Viewed (0) -
test/simassign.go
// run // 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. // Test simultaneous assignment. package main var a, b, c, d, e, f, g, h, i int func printit() { println(a, b, c, d, e, f, g, h, i) } func testit(permuteok bool) bool { if a+b+c+d+e+f+g+h+i != 45 { print("sum does not add to 45\n") printit()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 00:48:19 UTC 2012 - 1.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/call.go
} else { check.versionErrorf(instErrPos, go1_21, "implicitly instantiated function in assignment") } } gsig := NewSignatureType(nil, nil, nil, sig.params, sig.results, sig.variadic) params = []*Var{NewVar(x.Pos(), check.pkg, "", gsig)} // The type of the argument operand is tsig, which is the type of the LHS in an assignment
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31.5K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/policy.go
"k8s.io/kubernetes/pkg/kubelet/cm/topologymanager" ) // Type defines the policy type type policyType string // Policy implements logic for pod container to a memory assignment. type Policy interface { Name() string Start(s state.State) error // Allocate call is idempotent Allocate(s state.State, pod *v1.Pod, container *v1.Container) error // RemoveContainer call is idempotent
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 05 17:52:25 UTC 2021 - 1.8K bytes - Viewed (0)