Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 552 for reassignment (0.18 sec)

  1. src/cmd/compile/internal/types2/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.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoSimple/AssignmentResolverTest.kt

                assertIs<ObjectOrigin.ConstantOrigin>(valueOrigin)
                assertEquals("shared", valueOrigin.literal.value)
            }
        }
    
        @Test
        fun `reports assignment pointing to unassigned property`() {
            assignmentTrace(
                schema.resolve(
                    """
                    val c1 = c(1) { }
                    val c2 = c(2) { }
                    c2.d = c1.d
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:53:44 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. test/fixedbugs/bug284.go

    	c2 = C2(c0) // ERROR "cannot|invalid"
    	c2 = C2(c1) // ERROR "cannot|invalid"
    	c2 = c2
    
    	// internal compiler error (6g and gccgo)
    	type T interface{}
    	var _ T = 17 // assignment compatible
    	_ = T(17)    // internal compiler error even though assignment compatible
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:59 UTC 2012
    - 3.5K bytes
    - Viewed (0)
  4. 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)
  5. test/ken/intervar.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 interface assignment.
    
    package main
    
    type	Iputs	interface {
    	puts	(s string) string;
    }
    
    // ---------
    
    type	Print	struct {
    	whoami	int;
    	put	Iputs;
    }
    
    func (p *Print) dop() string {
    	r := " print " + string(p.whoami + '0')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 1010 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/tensorflow/tests/device_assignment_by_func_attr.mlir

    // RUN: tf-opt -tf-device-assignment-by-func-attr %s | FileCheck %s
    
    // CHECK-LABEL: func @device_test
    func.func @device_test(%arg0: tensor<3x1xf32>) -> (tensor<3x3xf32>) attributes {tf.device = "xpu"} {
    
      // CHECK: device = "xpu"
      %0 = "tf.Const"() {value = dense<[[1.0, 2.0, 3.0]]> : tensor<1x3xf32>} : () -> tensor<1x3xf32>
      // CHECK: device = "xpu"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 10 00:30:05 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. 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)
  10. test/range.go

    		break
    	}
    	if i != 0 || x[0] != 'a' || x[1] != 'c' {
    		println("wrong parallel assignment", i, x[0], x[1])
    		panic("fail")
    	}
    
    	y := []int{1, 2, 3}
    	r := rune(1)
    	for y[r], r = range "\x02" {
    		break
    	}
    	if r != 2 || y[0] != 1 || y[1] != 0 || y[2] != 3 {
    		println("wrong parallel assignment", r, y[0], y[1], y[2])
    		panic("fail")
    	}
    }
    
    func teststring1() {
    	s := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 05:50:54 UTC 2017
    - 8.1K bytes
    - Viewed (0)
Back to top