Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 661 for AssignmentW (0.18 sec)

  1. 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)
  2. tensorflow/compiler/mlir/tensorflow/transforms/resource_device_inference.cc

          if (!result || result == it->second) {
            result = it->getSecond();
            continue;
          }
          // Got conflicting assignments
          return std::nullopt;
        }
        return result;
      }
    
      // Records the device assignment for a resource. If the new assignment
      // conflicts with an existing one, returns an error.
      //
      // If `changed` is provided, assign *changed to true if anything is modified.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  3. test/fixedbugs/issue23188.go

    package main
    
    func main() {
    	arr := []int{1, 2}
    
    	// The spec says that in an assignment statement the operands
    	// of all index expressions and pointer indirections on the
    	// left, and the expressions on the right, are evaluated in
    	// the usual order. The usual order means function calls and
    	// channel operations are done first. Then the assignments are
    	// carried out one at a time. The operands of an index
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 10 21:30:26 UTC 2018
    - 943 bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/EvaluationFailureMessageGenerator.kt

            is ErrorReason.ReadOnlyPropertyAssignment -> "assignment to read-only property '${errorReason.property.name}"
            ErrorReason.UnitAssignment -> "assignment of a Unit value"
            ErrorReason.UnresolvedAssignmentLhs -> "unresolved assignment target"
            ErrorReason.UnresolvedAssignmentRhs -> "unresolved assigned value"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cpumanager/state/state_checkpoint_test.go

    			}
    
    			state.SetDefaultCPUSet(tc.defaultCPUset)
    			state.SetCPUAssignments(tc.assignments)
    
    			state.ClearState()
    			if !cpuset.New().Equals(state.GetDefaultCPUSet()) {
    				t.Fatal("cleared state with non-empty default cpu set")
    			}
    			for pod := range tc.assignments {
    				for container := range tc.assignments[pod] {
    					if _, ok := state.GetCPUSet(pod, container); ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/context.kt

    }
    
    
    interface AnalysisContextView : TypeRefContext {
        val schema: AnalysisSchema
        val imports: Map<String, FqName>
        val currentScopes: List<AnalysisScopeView>
        val assignments: List<AssignmentRecord>
    }
    
    
    class SchemaTypeRefContext(val schema: AnalysisSchema) : TypeRefContext {
        override fun resolveRef(dataTypeRef: DataTypeRef): DataType = when (dataTypeRef) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/memorymanager/state/state_checkpoint.go

    	}
    }
    
    // SetMemoryAssignments sets ContainerMemoryAssignments by using the passed parameter
    func (sc *stateCheckpoint) SetMemoryAssignments(assignments ContainerMemoryAssignments) {
    	sc.Lock()
    	defer sc.Unlock()
    
    	sc.cache.SetMemoryAssignments(assignments)
    	err := sc.storeState()
    	if err != nil {
    		klog.InfoS("Store state to checkpoint error", "err", err)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 16:05:48 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  8. test/fixedbugs/issue23017.go

    // run
    
    // Copyright 2020 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.
    
    // assignment order in multiple assignments.
    // See issue #23017
    
    package main
    
    import "fmt"
    
    func main() {}
    
    func init() {
    	var m = map[int]int{}
    	var p *int
    
    	defer func() {
    		recover()
    		check(1, len(m))
    		check(42, m[2])
    	}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jan 03 19:48:18 UTC 2021
    - 1.5K 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. src/cmd/compile/internal/walk/complit.go

    		return false
    	}
    	if !isSimpleName(n.X) {
    		// not a special composite literal assignment
    		return false
    	}
    	x := n.X.(*ir.Name)
    	if !types.Identical(n.X.Type(), n.Y.Type()) {
    		// not a special composite literal assignment
    		return false
    	}
    	if x.Addrtaken() {
    		// If x is address-taken, the RHS may (implicitly) uses LHS.
    		// Not safe to do a special composite literal assignment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
Back to top