Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 677 for assignments (0.23 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/objectGraph/AssignmentTrace.kt

            val assignmentResolver = assignmentResolverFactory()
            val elementResults = buildList {
                val assignments = resolutionResult.conventionAssignments + resolutionResult.assignments
                assignments.forEach { (lhs, rhs, callId, method) ->
                    add(
                        when (val additionResult = assignmentResolver.addAssignment(lhs, rhs, method, callId.generationId)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 19 16:59:01 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/SubtypingTest.kt

            )
        )
    
        @Test
        fun `type-checks assignment of subtype to superclass type`() {
            val result = schema.resolve(
                """
                superClassProp = sub()
                """.trimIndent()
            )
    
            assertEquals(1, result.assignments.size)
        }
    
        @Test
        fun `type-checks assignment of subtype to super interface type`() {
            val result = schema.resolve(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/memorymanager/state/state.go

    }
    
    // NUMANodeState contains NUMA node related information
    type NUMANodeState struct {
    	// NumberOfAssignments contains a number memory assignments from this node
    	// When the container requires memory and hugepages it will increase number of assignments by two
    	NumberOfAssignments int `json:"numberOfAssignments"`
    	// MemoryTable contains NUMA node memory related information
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 08 23:10:00 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/cpumanager/topology_hints_test.go

    	tcases := returnTestCases()
    
    	for _, tc := range tcases {
    		topology, _ := topology.Discover(&machineInfo)
    
    		var activePods []*v1.Pod
    		for p := range tc.assignments {
    			pod := v1.Pod{}
    			pod.UID = types.UID(p)
    			for c := range tc.assignments[p] {
    				container := v1.Container{}
    				container.Name = c
    				pod.Spec.Containers = append(pod.Spec.Containers, container)
    			}
    			activePods = append(activePods, &pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/assign/doc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package assign defines an Analyzer that detects useless assignments.
    //
    // # Analyzer assign
    //
    // assign: check for useless assignments
    //
    // This checker reports assignments of the form x = x or a[i] = a[i].
    // These are almost always useless, and even when they aren't they are
    // usually a mistake.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 481 bytes
    - Viewed (0)
  6. pkg/kubelet/cm/cpumanager/state/state_checkpoint.go

    	checkpoint.PolicyName = sc.policyName
    	checkpoint.DefaultCPUSet = sc.cache.GetDefaultCPUSet().String()
    
    	assignments := sc.cache.GetCPUAssignments()
    	for pod := range assignments {
    		checkpoint.Entries[pod] = make(map[string]string, len(assignments[pod]))
    		for container, cset := range assignments[pod] {
    			checkpoint.Entries[pod][container] = cset.String()
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 00:59:30 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/memorymanager/policy_static_test.go

    			}
    
    			if err != nil {
    				return
    			}
    
    			assignments := s.GetMemoryAssignments()
    			if !areContainerMemoryAssignmentsEqual(t, assignments, testCase.expectedAssignments) {
    				t.Fatalf("Actual assignments: %v is different from the expected one: %v", assignments, testCase.expectedAssignments)
    			}
    
    			machineState := s.GetMachineState()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 05:49:15 UTC 2023
    - 100.4K bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/conventions/SoftwareTypeRegistryIntegration.kt

            // TODO: optimize O(n) lookup
            softwareTypeRegistry.softwareTypeImplementations.find { it.softwareType == softwareTypeName }?.let { softwareType ->
                val assignments = buildList {
                    softwareType.conventions.filterIsInstance<AssignmentRecordConvention>().forEach { it.apply(::add) }
                }
                val additions = buildList {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/cpumanager/cpu_manager_test.go

    	if _, exists := s.assignments[podUID]; !exists {
    		s.assignments[podUID] = make(map[string]cpuset.CPUSet)
    	}
    	s.assignments[podUID][containerName] = cset
    }
    
    func (s *mockState) SetDefaultCPUSet(cset cpuset.CPUSet) {
    	s.defaultCPUSet = cset
    }
    
    func (s *mockState) Delete(podUID string, containerName string) {
    	delete(s.assignments[podUID], containerName)
    	if len(s.assignments[podUID]) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 42.9K bytes
    - Viewed (0)
Back to top