- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 114 for Assignment (0.29 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/constant_op_device_assignment.mlir
// RUN: tf-opt %s -constant-op-device-assignment | FileCheck %s // CHECK: func @replace_const_op_test func.func @replace_const_op_test() { // CHECK-NEXT: %[[RESULT_0:.*]] = "tf.Const"() <{value = dense<2.000000e+00> : tensor<f32>}> {device = "/job:worker/replica:0/task:0/device:CPU:1"} // CHECK-NEXT: %[[RESULT_1:.*]] = "tf.Const"() <{value = dense<2.000000e+00> : tensor<f32>}> {device = "/job:worker/replica:0/task:0/device:CPU:0"}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/conventions/conventions.kt
import org.gradle.plugin.software.internal.Convention import org.gradle.plugin.software.internal.ConventionReceiver /** * A convention that applies a property assignment operation (e.g. foo = "bar"). */ class AssignmentRecordConvention(private val assignmentRecord: AssignmentRecord) : Convention<AssignmentRecordConventionReceiver> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:47 UTC 2024 - 2.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/httpresponse/httpresponse.go
if ncalls > 1 { return true } asg, ok := stmts[0].(*ast.AssignStmt) if !ok { return true // the first statement is not assignment. } resp := rootIdent(asg.Lhs[0]) if resp == nil { return true // could not find the http.Response in the assignment. } def, ok := stmts[1].(*ast.DeferStmt) if !ok { return true // the following statement is not a defer. }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-plugins/build.gradle.kts
compileOnly(libs.inject) implementation(libs.kotlinStdlib) implementation(libs.futureKotlin("gradle-plugin")) implementation(libs.futureKotlin("sam-with-receiver")) implementation(libs.futureKotlin("assignment")) testImplementation(projects.logging) testImplementation(testFixtures(project(":kotlin-dsl"))) testImplementation(libs.slf4jApi) testImplementation(libs.mockitoKotlin) } packageCycles {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 25 22:44:42 UTC 2024 - 2.7K 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/cmd/vendor/golang.org/x/tools/go/analysis/passes/assign/assign.go
} le := analysisutil.Format(pass.Fset, lhs) re := analysisutil.Format(pass.Fset, rhs) if le == re { pass.Report(analysis.Diagnostic{ Pos: stmt.Pos(), Message: fmt.Sprintf("self-assignment of %s to %s", re, le), SuggestedFixes: []analysis.SuggestedFix{ {Message: "Remove", TextEdits: []analysis.TextEdit{ {Pos: stmt.Pos(), End: stmt.End(), NewText: []byte{}}, }}, }, })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 2.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) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/context.kt
val syntacticEnclosure: LanguageTreeElement fun findLocal(name: String): LocalValueAssignment? } data class LocalValueAssignment(val localValue: LocalValue, val assignment: ObjectOrigin) class AnalysisScope( private val previousScopeView: AnalysisScopeView?, override val receiver: ObjectOrigin.ReceiverOrigin, override val syntacticEnclosure: LanguageTreeElement
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:46 UTC 2024 - 5K bytes - Viewed (0) -
test/escape_calls.go
n := *np w := len(n.s) if n == nil { return 0 } wl := walk(&n.left) wr := walk(&n.right) if wl < wr { n.left, n.right = n.right, n.left // ERROR "ignoring self-assignment" wl, wr = wr, wl } *np = n return w + wl + wr } // Test for bug where func var f used prototype's escape analysis results. func prototype(xyz []string) {} // ERROR "xyz does not escape" func bar() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 22:06:07 UTC 2023 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/xla_rewrite_util.h
mlir::tf_device::ParallelExecuteOp old_parallel_execute, mlir::tf_device::ParallelExecuteOp* new_parallel_execute); // Wraps single op in `tf_device.launch` for explicit device assignment. mlir::tf_device::LaunchOp WrapOpInLaunch(mlir::OpBuilder* builder, mlir::Location loc, mlir::Operation* op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 2.7K bytes - Viewed (0)