Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for flts (0.09 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. src/go/ast/filter.go

    		removedFields = true
    	}
    	fields.List = list[0:j]
    	return
    }
    
    func filterCompositeLit(lit *CompositeLit, filter Filter, export bool) {
    	n := len(lit.Elts)
    	lit.Elts = filterExprList(lit.Elts, filter, export)
    	if len(lit.Elts) < n {
    		lit.Incomplete = true
    	}
    }
    
    func filterExprList(list []Expr, filter Filter, export bool) []Expr {
    	j := 0
    	for _, exp := range list {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/security.go

    		return err
    	}
    	// Currently the only flag on the allow list that causes problems
    	// for the linker is "-flto"; check for it manually here.
    	for _, fl := range list {
    		if strings.HasPrefix(fl, "-flto") {
    			return fmt.Errorf("flag %q triggers external linking", fl)
    		}
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. istioctl/pkg/dashboard/dashboard.go

    				}
    
    				if len(pl.Items) < 1 {
    					return errors.New("no pods found")
    				}
    
    				if len(pl.Items) > 1 {
    					log.Warnf("more than 1 pods fits selector: %s; will use pod: %s", labelSelector, pl.Items[0].Name)
    				}
    
    				// only use the first pod in the list
    				podName = pl.Items[0].Name
    				ns = pl.Items[0].Namespace
    			} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  5. src/math/big/float.go

    	// m > 0 implies z.prec > 0 (checked by validate)
    
    	m := uint32(len(z.mant)) // present mantissa length in words
    	bits := m * _W           // present mantissa bits; bits > 0
    	if bits <= z.prec {
    		// mantissa fits => nothing to do
    		return
    	}
    	// bits > z.prec
    
    	// Rounding is based on two bits: the rounding bit (rbit) and the
    	// sticky bit (sbit). The rbit is the bit immediately before the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    			}
    		}
    	}
    }
    
    // checkCopyLocksCompositeLit detects lock copy inside a composite literal
    func checkCopyLocksCompositeLit(pass *analysis.Pass, cl *ast.CompositeLit) {
    	for _, x := range cl.Elts {
    		if node, ok := x.(*ast.KeyValueExpr); ok {
    			x = node.Value
    		}
    		if path := lockPathRhs(pass, x); path != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/UnsignedBytes.java

      /**
       * The largest power of two that can be represented as an unsigned {@code byte}.
       *
       * @since 10.0
       */
      public static final byte MAX_POWER_OF_TWO = (byte) 0x80;
    
      /**
       * The largest value that fits into an unsigned byte.
       *
       * @since 13.0
       */
      public static final byte MAX_VALUE = (byte) 0xFF;
    
      private static final int UNSIGNED_MASK = 0xFF;
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. cluster/gce/gci/configure-kubeapiserver.sh

          # Lumberjack doesn't offer any way to disable size-based rotation. It also
          # has an in-memory counter that doesn't notice if you truncate the file.
          # 2000000000 (in MiB) is a large number that fits in 31 bits. If the log
          # grows at 10MiB/s (~30K QPS), it will rotate after ~6 years if apiserver
          # never restarts. Please manually restart apiserver before this time.
          params+=" --audit-log-maxsize=2000000000"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 11:08:30 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedBytes.java

      /**
       * The largest power of two that can be represented as an unsigned {@code byte}.
       *
       * @since 10.0
       */
      public static final byte MAX_POWER_OF_TWO = (byte) 0x80;
    
      /**
       * The largest value that fits into an unsigned byte.
       *
       * @since 13.0
       */
      public static final byte MAX_VALUE = (byte) 0xFF;
    
      private static final int UNSIGNED_MASK = 0xFF;
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js

          }
        }
      }
    
      // fitText sets text and font-size clipped to the specified width w.
      function fitText(t, avail, textList) {
        // Find first entry in textList that fits.
        let width = avail;
        textContext.font = FONT_SIZE + 'pt Arial';
        for (let i = 0; i < textList.length; i++) {
          let text = textList[i];
          width = textContext.measureText(text).width;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top