- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 322 for Assignment (0.34 sec)
-
src/go/types/stmt.go
return } check.assignVar(s.X, nil, &x, "assignment") case *ast.AssignStmt: switch s.Tok { case token.ASSIGN, token.DEFINE: if len(s.Lhs) == 0 { check.error(s, InvalidSyntaxTree, "missing lhs in assignment") return } if s.Tok == token.DEFINE { check.shortVarDecl(inNode(s, s.TokPos), s.Lhs, s.Rhs) } else { // regular assignment check.assignVars(s.Lhs, s.Rhs) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 30.6K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/resolution/DefaultDocumentResolutionContainer.kt
} private fun propertyResolution(statement: Assignment) = when (val assignment = trace.assignmentResolution(statement)) { is ResolutionTrace.ResolutionOrErrors.Resolution -> { val receiver = assignment.result.lhs.receiverObject if (strictReceiverChecks && receiver is ObjectOrigin.ImplicitThisReceiver && !receiver.isCurrentScopeReceiver) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 13:47:10 UTC 2024 - 13.1K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeClassSourceGenerator.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 09:11:23 UTC 2024 - 11K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyAssignmentIntegrationTest.groovy
class PropertyAssignmentIntegrationTest extends AbstractIntegrationSpec { private static final String RESULT_PREFIX = "Result: " def "test Groovy eager object types assignment for #description"() { def inputDeclaration = "$inputType input" groovyBuildFile(inputDeclaration, inputValue, "=") expect: runAndAssert("myTask", expectedResult) where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 28 14:39:49 UTC 2023 - 36.6K bytes - Viewed (0) -
src/internal/types/testdata/check/issues0.go
var a2, b2 /* ERROR "cycle" */ = 0 /* ERROR "assignment mismatch" */ /* ERROR "assignment mismatch" */ > 0<<""[b2] var a3, b3 /* ERROR "cycle" */ = int /* ERROR "assignment mismatch" */ /* ERROR "assignment mismatch" */ (1<<""[b3]) // issue10260 // Check that error messages explain reason for interface assignment failures. type ( I0 interface{} I1 interface{ foo() } I2 interface{ foo(x int) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 05 18:13:11 UTC 2024 - 11.6K bytes - Viewed (0) -
src/internal/types/testdata/check/expr3.go
// unexported fields _ = time.Time{} _ = time.Time{sec /* ERROR "unknown field" */ : 0} _ = time.Time{ 0 /* ERROR "implicit assignment to unexported field wall in struct literal" */, 0 /* ERROR "implicit assignment" */ , nil /* ERROR "implicit assignment" */ , } } func array_literals() { type A0 [0]int _ = A0{} _ = A0{0 /* ERRORx `index .* out of bounds` */}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 16 22:41:49 UTC 2023 - 15.6K bytes - Viewed (0) -
src/reflect/abi.go
// at the top. a.stackBytes = align(a.stackBytes, uintptr(t.Align())) return nil } // Hold a copy of "a" so that we can roll back if // register assignment fails. aOld := *a if !a.regAssign(t, 0) { // Register assignment failed. Roll back any changes // and stack-assign. *a = aOld a.stackAssign(t.Size(), uintptr(t.Align())) return &a.steps[len(a.steps)-1] } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:08:32 UTC 2024 - 15K bytes - Viewed (0) -
callbacks/create.go
if field.AutoUpdateTime > 0 { assignment := clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: curTime} switch field.AutoUpdateTime { case schema.UnixNanosecond: assignment.Value = curTime.UnixNano() case schema.UnixMillisecond: assignment.Value = curTime.UnixMilli() case schema.UnixSecond: assignment.Value = curTime.Unix() }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Apr 08 03:29:55 UTC 2024 - 12.5K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/parsing/ErrorParsingTest.kt
) ) )""".trimIndent() parse(code).assert(expected) } @Test fun `missing assignment in one of a series of assignments`() { val code = """ val a = 1 val b = 2 val c 3 val d = 4 val e = 5 """.trimIndent() val expected = """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 09:41:25 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc
all_reduce.getGroupSize() .getDefiningOp<TF::CollectiveAssignGroupV2Op>(); if (assign_group) { // Found a group assignment. Use replica_groups to represent group // assignment. if (assign_group != all_reduce.getGroupKey() .getDefiningOp<TF::CollectiveAssignGroupV2Op>()) { return all_reduce->emitOpError()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16K bytes - Viewed (0)