Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 502 for Assignment (0.37 sec)

  1. 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)
  2. src/internal/types/testdata/examples/functions.go

    }
    
    // When calling our own `new`, we need to pass the type parameter
    // explicitly since there is no (value) argument from which the
    // result type could be inferred. We don't try to infer the
    // result type from the assignment to keep things simple and
    // easy to understand.
    var _ = new[int]()
    var _ *float64 = new[float64]() // the result type is indeed *float64
    
    // A function may have multiple type parameters, of course.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 30 20:19:38 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. src/internal/types/errors/codes.go

    	// WrongAssignCount occurs when the number of values on the right-hand side
    	// of an assignment or initialization expression does not match the number
    	// of variables on the left-hand side.
    	//
    	// Example:
    	//  var x = 1, 2
    	WrongAssignCount
    
    	// UnassignableOperand occurs when the left-hand side of an assignment is
    	// not assignable.
    	//
    	// Example:
    	//  func f() {
    	//  	const c = 1
    	//  	c = 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:50:48 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/atomic/atomic.go

    		broken = gofmt(left) == gofmt(uarg.X)
    	} else if star, ok := left.(*ast.StarExpr); ok {
    		broken = gofmt(star.X) == gofmt(arg)
    	}
    
    	if broken {
    		pass.ReportRangef(left, "direct assignment to atomic value")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/TimeoutFuture.java

       * SES.schedule is called. Therefore Fire.run has to check for null. However, it should be visible
       * if Fire.run is called by delegate.addListener since addListener is called after the assignment
       * to timer, and importantly this is the main situation in which we need to be able to see the
       * write.
       *
       * 2. visibility of the writes to an afterDone() call triggered by cancel():
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/fixedbugs_test.go

    var g T
    
    var sink interface{}
    
    func TestIssue15854(t *testing.T) {
    	for i := 0; i < 10000; i++ {
    		if g.x[0] != 0 {
    			t.Fatalf("g.x[0] clobbered with %x\n", g.x[0])
    		}
    		// The bug was in the following assignment. The return
    		// value of makeT() is not copied out of the args area of
    		// stack frame in a timely fashion. So when write barriers
    		// are enabled, the marshaling of the args for the write
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/index.go

    		x.mode = variable
    		x.typ = typ.elem
    
    	case *Map:
    		index := check.singleIndex(e)
    		if index == nil {
    			x.mode = invalid
    			return false
    		}
    		var key operand
    		check.expr(nil, &key, index)
    		check.assignment(&key, typ.key, "map index")
    		// ok to continue even if indexing failed - map element type is known
    		x.mode = mapindex
    		x.typ = typ.elem
    		x.expr = e
    		return false
    
    	case *Interface:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 16:16:58 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

       * SES.schedule is called. Therefore Fire.run has to check for null. However, it should be visible
       * if Fire.run is called by delegate.addListener since addListener is called after the assignment
       * to timer, and importantly this is the main situation in which we need to be able to see the
       * write.
       *
       * 2. visibility of the writes to an afterDone() call triggered by cancel():
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top