- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 252 for assignments (0.53 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) -
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/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) -
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) -
pkg/kubelet/cm/cpumanager/policy.go
import ( "k8s.io/api/core/v1" "k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/state" "k8s.io/kubernetes/pkg/kubelet/cm/topologymanager" "k8s.io/utils/cpuset" ) // Policy implements logic for pod container to CPU 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: Wed May 03 16:26:09 UTC 2023 - 1.8K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/addressed_test.go
default: panic("") } return } // gets is an address-mentioning way of implementing // structure assignment. // //go:noinline func (to *V) gets(from *V) { *to = *from } // gets is an address-and-interface-mentioning way of // implementing structure assignment. // //go:noinline func (to *V) getsI(from interface{}) { *to = *from.(*V) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 4.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/TypeCompatibilityModelProjectionSupport.java
if (type.getRawClass().getSuperclass() == null && type.getRawClass().getInterfaces().length == 0) { return type.toString(); } return type + " (or assignment compatible type thereof)"; } @Override public String toString() { return getClass().getSimpleName() + "[" + type + "]"; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 12:51:08 UTC 2024 - 3.1K bytes - Viewed (0)