Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,923 for Fits (0.18 sec)

  1. pkg/scheduler/framework/plugins/nodename/node_name.go

    func (pl *NodeName) Filter(ctx context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status {
    
    	if !Fits(pod, nodeInfo) {
    		return framework.NewStatus(framework.UnschedulableAndUnresolvable, ErrReason)
    	}
    	return nil
    }
    
    // Fits actually checks if the pod fits the node.
    func Fits(pod *v1.Pod, nodeInfo *framework.NodeInfo) bool {
    	return len(pod.Spec.NodeName) == 0 || pod.Spec.NodeName == nodeInfo.Node().Name
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 20 09:49:54 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/nodeports/node_ports.go

    	wantPorts, err := getPreFilterState(cycleState)
    	if err != nil {
    		return framework.AsStatus(err)
    	}
    
    	fits := fitsPorts(wantPorts, nodeInfo)
    	if !fits {
    		return framework.NewStatus(framework.Unschedulable, ErrReason)
    	}
    
    	return nil
    }
    
    // Fits checks if the pod fits the node.
    func Fits(pod *v1.Pod, nodeInfo *framework.NodeInfo) bool {
    	return fitsPorts(getContainerPorts(pod), nodeInfo)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 10:53:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption.go

    		fits := status.IsSuccess()
    		if !fits {
    			if err := removePod(pi); err != nil {
    				return false, err
    			}
    			rpi := pi.Pod
    			victims = append(victims, rpi)
    			logger.V(5).Info("Pod is a potential preemption victim on node", "pod", klog.KObj(rpi), "node", klog.KObj(nodeInfo.Node()))
    		}
    		return fits, nil
    	}
    	for _, p := range violatingVictims {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 25 19:36:04 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ObjectArrays.java

       * of the returned array is that of the specified array. If the collection fits in the specified
       * array, it is returned therein. Otherwise, a new array is allocated with the runtime type of the
       * specified array and the size of the specified collection.
       *
       * <p>If the collection fits in the specified array with room to spare (i.e., the array has more
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 12 15:59:22 UTC 2023
    - 9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ObjectArrays.java

       * of the returned array is that of the specified array. If the collection fits in the specified
       * array, it is returned therein. Otherwise, a new array is allocated with the runtime type of the
       * specified array and the size of the specified collection.
       *
       * <p>If the collection fits in the specified array with room to spare (i.e., the array has more
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 12 15:59:22 UTC 2023
    - 9K bytes
    - Viewed (0)
  6. test/abi/double_nested_struct.go

    	a, b string
    }
    
    type stringPairPair struct {
    	x, y stringPair
    }
    
    // The goal of this test is to be sure that the call arg/result expander works correctly
    // for a corner case of passing a 2-nested struct that fits in registers to/from calls.
    
    //go:registerparams
    //go:noinline
    func H(spp stringPairPair) string {
    	return spp.x.a + " " + spp.x.b + " " + spp.y.a + " " + spp.y.b
    }
    
    //go:registerparams
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. test/abi/double_nested_addressed_struct.go

    type stringPairPair struct {
    	x, y stringPair
    }
    
    // The goal of this test is to be sure that the call arg/result expander works correctly
    // for a corner case of passing a 2-nested struct that fits in registers to/from calls.
    // AND, the struct has its address taken.
    
    //go:registerparams
    //go:noinline
    func H(spp stringPairPair) string {
    	F(&spp)
    	return spp.x.a + " " + spp.x.b + " " + spp.y.a + " " + spp.y.b
    }
    
    //go:registerparams
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. pkg/scheduler/testing/framework/fake_extender.go

    		nodeInfo, _ := nodeInfos.Get(nodeName)
    		extenderVictimPods, extenderPDBViolations, fits, err := f.selectVictimsOnNodeByExtender(logger, pod, nodeInfo)
    		if err != nil {
    			return nil, err
    		}
    		// If it's unfit after extender's preemption, this node is unresolvable by preemption overall,
    		// let's remove it from potential preemption nodes.
    		if !fits {
    			delete(nodeNameToVictimsCopy, nodeName)
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. test/asmhdr.dir/main.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import "unsafe"
    
    const (
    	smallInt = 42
    
    	// For bigInt, we use a value that's too big for an int64, but still
    	// fits in uint64. go/constant uses a different representation for
    	// values larger than int64, but the cmd/asm parser can't parse
    	// anything bigger than a uint64.
    	bigInt = 0xffffffffffffffff
    
    	stringVal = "test"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 10 21:27:19 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/doc/c4/README.adoc

    image::images/C4_3_Component.svg[]
    
    NOTE: This diagram diverges from the C4 Model because the scope is the whole Kotlin DSL system instead of having one diagram per container.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Nov 19 00:01:54 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top