Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 5,923 for Fits (0.12 sec)

  1. pkg/scheduler/framework/plugins/noderesources/fit.go

    	return framework.QueueSkip, nil
    }
    
    // isFit checks if the pod fits the node. If the node is nil, it returns false.
    // It constructs a fake NodeInfo object for the node and checks if the pod fits the node.
    func isFit(pod *v1.Pod, node *v1.Node) bool {
    	if node == nil {
    		return false
    	}
    	nodeInfo := framework.NewNodeInfo()
    	nodeInfo.SetNode(node)
    	return len(Fits(pod, nodeInfo)) == 0
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  2. platforms/jvm/jvm-services/src/main/java/org/gradle/api/internal/artifacts/JavaEcosystemSupport.java

                Usage producerValue = details.getProducerValue();
                if (consumerValue == null) {
                    // consumer didn't express any preferences, everything fits
                    details.compatible();
                    return;
                }
                if (consumerValue.getName().equals(Usage.JAVA_API)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 19:13:00 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    	}{
    		{
    			pod: &v1.Pod{},
    			nodeInfo: framework.NewNodeInfo(
    				newResourcePod(framework.Resource{MilliCPU: 10, Memory: 20})),
    			name:                      "no resources requested always fits",
    			wantInsufficientResources: []InsufficientResource{},
    		},
    		{
    			pod: newResourcePod(framework.Resource{MilliCPU: 1, Memory: 1}),
    			nodeInfo: framework.NewNodeInfo(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/idna/trieval.go

    //	1..0  mapped category
    //
    // See the definitions below for a more detailed description of the various
    // bits.
    type info uint16
    
    const (
    	catSmallMask = 0x3
    	catBigMask   = 0xF8
    	indexShift   = 3
    	xorBit       = 0x4    // interpret the index as an xor pattern
    	inlineXOR    = 0xE000 // These bits are set if the XOR pattern is inlined.
    
    	joinShift = 8
    	joinMask  = 0x07
    
    	// Attributes
    	attributesMask = 0x1800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 04:45:15 UTC 2022
    - 3K bytes
    - Viewed (0)
  5. src/database/sql/driver/types.go

    //
    //   - converting from the [Value] types as provided by the sql package
    //     into a database table's specific column type and making sure it
    //     fits, such as making sure a particular int64 fits in a
    //     table's uint16 column.
    //
    //   - converting a value as given from the database into one of the
    //     driver [Value] types.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 16:30:20 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. src/strconv/fp_test.go

    		if err != nil {
    			return 0, false
    		}
    		e, err1 := strconv.Atoi(exp)
    		if err1 != nil {
    			println("bad e", exp)
    			return 0, false
    		}
    		v := float64(n)
    		// We expect that v*pow2(e) fits in a float64,
    		// but pow2(e) by itself may not. Be careful.
    		if e <= -1000 {
    			v *= pow2(-1000)
    			e += 1000
    			for e < 0 {
    				v /= 2
    				e++
    			}
    			return v, true
    		}
    		if e >= 1000 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/ppc64/a.out.go

    	C_16CON    /* Any constant which fits into 16 bits. Can be signed or unsigned */
    	C_U31CON   /* 31 bit unsigned constant */
    	C_S32CON   /* 32 bit signed constant */
    	C_U32CON   /* 32 bit unsigned constant */
    	C_32CON    /* Any constant which fits into 32 bits. Can be signed or unsigned */
    	C_S34CON   /* 34 bit signed constant */
    	C_64CON    /* Any constant which fits into 64 bits. Can be signed or unsigned */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 18:50:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. src/crypto/internal/edwards25519/field/fe_generic.go

    // license that can be found in the LICENSE file.
    
    package field
    
    import "math/bits"
    
    // uint128 holds a 128-bit number as two 64-bit limbs, for use with the
    // bits.Mul64 and bits.Add64 intrinsics.
    type uint128 struct {
    	lo, hi uint64
    }
    
    // mul64 returns a * b.
    func mul64(a, b uint64) uint128 {
    	hi, lo := bits.Mul64(a, b)
    	return uint128{lo, hi}
    }
    
    // addMul64 returns v + a * b.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/MathBenchmarking.java

      static final int ARRAY_MASK = 0x0ffff;
      static final Random RANDOM_SOURCE = new Random(314159265358979L);
      static final int MAX_EXPONENT = 100;
    
      /*
       * Duplicated from LongMath.
       * binomial(biggestBinomials[k], k) fits in a long, but not
       * binomial(biggestBinomials[k] + 1, k).
       */
      static final int[] biggestBinomials = {
        Integer.MAX_VALUE,
        Integer.MAX_VALUE,
        Integer.MAX_VALUE,
        3810779,
        121977,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/ModelBlockTransformer.java

            This means we actually have to execute the code block in order to find the rule information within.
            This is also problematic because it means we have to serialize this information into some form that fits into annotations.
    
            Later, we will extract all the “up-front” information we need to know during compile time.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top