Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 552 for reassignment (0.23 sec)

  1. test/fixedbugs/issue48471.go

    	i = T4{}   // ERROR "cannot use T4\{\} \(.*type T4\) as I value in assignment: T4 does not implement I \(method M has pointer receiver\)"
    	i = new(I) // ERROR "cannot use new\(I\) \(.*type \*I\) as I value in assignment: \*I does not implement I \(type \*I is pointer to interface, not interface\)"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 28 14:28:33 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/ResolutionTracerTest.kt

        fun `collects successful resolution of assignment`() {
            val resolver = tracingCodeResolver()
            val result = schema.resolve(
                """
                s = "test"
                """.trimIndent(),
                resolver
            )
    
            val assignment = result.assignments.single().originElement as Assignment
            assertNotNull(resolver.trace.assignmentResolution(assignment).result)
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/vardecl.go

    var _, _ = 1 /* ERRORx `assignment mismatch: [1-9]+ variables but.*[1-9]+ value(s)?` */
    var _, _, _ /* ERROR "missing init expr for _" */ = 1, 2
    
    var _ = g /* ERROR "multiple-value g" */ ()
    var _, _ = g()
    var _, _, _ = g /* ERRORx `assignment mismatch: [1-9]+ variables but.*[1-9]+ value(s)?` */ ()
    
    var _ = m["foo"]
    var _, _ = m["foo"]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/resource_device_inference.cc

            // Existing assignment does not equal the new assignment.
            return failure();
          }
        }
        return success();
      }
    
     private:
      llvm::SmallDenseMap<int64_t, StringRef, 8> resource_id_to_device_;
      const TF::ResourceAliasAnalysis::Info& alias_analysis_;
    };
    
    // Tries to record device assignment for a resource.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/parsing/BasicParsingTest.kt

            val expected = """
                    Assignment [indexes: 0..5, line/column: 1/1..1/6, file: test] (
                        lhs = PropertyAccess [indexes: 0..1, line/column: 1/1..1/2, file: test] (
                            name = a
                        )
                        rhs = IntLiteral [indexes: 4..5, line/column: 1/5..1/6, file: test] (1)
                    )
                    Assignment [indexes: 6..16, line/column: 2/1..2/11, file: test] (
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  6. manifests/charts/istio-operator/values.yaml

            memory: 128Mi
        # Set to `type: RuntimeDefault` to use the default profile if available.
        seccompProfile: {}
    
      # Node labels for pod assignment
      nodeSelector: {}
    
      # Tolerations for pod assignment
      tolerations: []
    
      # Affinity for pod assignment
      affinity: {}
    
      # Additional labels and annotations to apply on the pod level for monitoring and logging configuration.
      podLabels: {}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/testdata/issue60599.go

    // license that can be found in the LICENSE file.
    
    package p
    
    func _(x, y, z int) {
    	if x /* ERROR cannot use assignment x = y as value */ = y {}
    	if x || y /* ERROR cannot use assignment \(x || y\) = z as value */ = z {}
    	if x /* ERROR cannot use assignment x = \(y || z\) as value */ = y || z {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 14:42:44 UTC 2023
    - 409 bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/stmt0.go

    func assignments1() {
    	b, i, f, c, s := false, 1, 1.0, 1i, "foo"
    	b = i /* ERRORx `cannot use .* in assignment` */
    	i = f /* ERRORx `cannot use .* in assignment` */
    	f = c /* ERRORx `cannot use .* in assignment` */
    	c = s /* ERRORx `cannot use .* in assignment` */
    	s = b /* ERRORx `cannot use .* in assignment` */
    
    	v0, v1, v2 := 1 /* ERROR "assignment mismatch" */ , 2, 3, 4
    	_, _, _ = v0, v1, v2
    
    	b = true
    
    	i += 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. callbacks/update.go

    							set = append(set, clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: now.UnixNano()})
    						} else if field.AutoUpdateTime == schema.UnixMillisecond {
    							set = append(set, clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: now.UnixMilli()})
    						} else if field.AutoUpdateTime == schema.UnixSecond {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 05:44:55 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/kotlinDsl/assignment/kotlin/build.gradle.kts

    plugins {
        `java-library`
    }
    
    // tag::assignment[]
    java {
        toolchain {
            languageVersion = JavaLanguageVersion.of(17)
        }
    }
    
    abstract class WriteJavaVersionTask : DefaultTask() {
        @get:Input
        abstract val javaVersion: Property<String>
        @get:OutputFile
        abstract val output: RegularFileProperty
    
        @TaskAction
        fun execute() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 740 bytes
    - Viewed (0)
Back to top