Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 661 for AssignmentW (0.31 sec)

  1. platforms/core-configuration/declarative-dsl-tooling-models/src/main/kotlin/org/gradle/declarative/dsl/evaluation/OperationGenerationId.kt

     *
     * The order of generations is important as calls in later generations can override calls in earlier generations, but no the
     * other way around.
     * For instance, a property assignment can override a convention assignment, but a convention assignment cannot override a property assignment.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. test/fixedbugs/issue27595.go

    package main
    
    var a = twoResults()       // ERROR "assignment mismatch: 1 variable but twoResults returns 2 values|multiple-value twoResults\(\) .*in single-value context"
    var b, c, d = twoResults() // ERROR "assignment mismatch: 3 variables but twoResults returns 2 values|cannot initialize"
    var e, f = oneResult()     // ERROR "assignment mismatch: 2 variables but oneResult returns 1 value|cannot initialize"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 23 19:41:41 UTC 2021
    - 670 bytes
    - Viewed (0)
  3. pkg/kubelet/cm/memorymanager/memory_manager_test.go

    				mgr.AddContainer(testCase.podAllocate, &testCase.podAllocate.Spec.Containers[i], appContainer.Name)
    			}
    
    			assignments := mgr.state.GetMemoryAssignments()
    			if !areContainerMemoryAssignmentsEqual(t, assignments, testCase.expectedAssignments) {
    				t.Fatalf("Actual assignments %v are different from the expected %v", assignments, testCase.expectedAssignments)
    			}
    
    			machineState := mgr.state.GetMachineState()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 13:01:40 UTC 2023
    - 70.2K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/memorymanager/state/state_checkpoint_test.go

    }
    
    func TestCheckpointStateHelpers(t *testing.T) {
    	testCases := []struct {
    		description  string
    		machineState NUMANodeMap
    		assignments  ContainerMemoryAssignments
    	}{
    		{
    			description: "One container",
    			assignments: ContainerMemoryAssignments{
    				"pod": map[string][]Block{
    					"container1": {
    						{
    							NUMAAffinity: []int{0},
    							Type:         v1.ResourceMemory,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 10.6K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/ReadWriteAccessCheckerFirImpl.kt

            val function = assignment.operationReference.mainReference.resolve() as? KtNamedFunction ?: return null
            val name = function.name ?: return null
            return if (Name.identifier(name) in OperatorConventions.ASSIGNMENT_OPERATIONS.values)
                ReferenceAccess.READ to assignment
            else
                null
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Apr 10 16:23:23 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. test/assign.go

    		_ = x
    	}
    	{
    		var x, y [2]sync.Mutex
    		x = y // ok
    		_ = x
    	}
    	{
    		var x, y [2]T
    		x = y // ok
    		_ = x
    	}
    	{
    		x := sync.Mutex{0, 0} // ERROR "assignment.*Mutex"
    		_ = x
    	}
    	{
    		x := sync.Mutex{key: 0} // ERROR "(unknown|assignment).*Mutex"
    		_ = x
    	}
    	{
    		x := &sync.Mutex{} // ok
    		var y sync.Mutex   // ok
    		y = *x             // ok
    		*x = y             // ok
    		_ = x
    		_ = y
    	}
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 20:13:36 UTC 2020
    - 1K bytes
    - Viewed (0)
  7. 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)
  8. test/fixedbugs/bug324.dir/prog.go

    	var px p.Exported
    	px = p.X
    	
    	// this assignment is correctly illegal:
    	//	px.private undefined (cannot refer to unexported field or method private)
    	// px.private()
    
    	// this assignment is correctly illegal:
    	//	*Implementation does not implement p.Exported (missing p.private method)
    	// px = new(Implementation)
    
    	// this assignment is correctly illegal:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 07 16:37:05 UTC 2012
    - 1.2K bytes
    - Viewed (0)
  9. 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)
  10. pkg/kubelet/cm/cpumanager/policy_static_test.go

    			testCase.description, testCase.expErr, err)
    	}
    
    	if testCase.expCPUAlloc {
    		cset, found := st.assignments[string(testCase.pod.UID)][container.Name]
    		if !found {
    			t.Errorf("StaticPolicy Allocate() error (%v). expected container %v to be present in assignments %v",
    				testCase.description, container.Name, st.assignments)
    		}
    
    		if !reflect.DeepEqual(cset, testCase.expCSet) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 40.8K bytes
    - Viewed (0)
Back to top