Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 53 for factory (0.5 sec)

  1. pkg/config/validation/validation.go

    		return true // eliminates special-casing 2.
    	} else if (x & 1) == 0 {
    		return false // eliminates even numbers >2.
    	}
    
    	limit := uint64(math.Sqrt(float64(x)))
    	for factor := uint64(3); factor <= limit; factor += 2 {
    		if (x % factor) == 0 {
    			return false
    		}
    	}
    	return true
    }
    
    func validateSubset(subset *networking.Subset) error {
    	return appendErrors(validateSubsetName(subset.Name),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/optimize.cc

    }
    
    ElementsAttr ExpandTo4DForDepthwiseConv(Attribute a) {
      return ExpandTo4DForConvImpl(a, true);
    }
    
    TypeAttr RescaleQtype(Type input, Attribute factor) {
      return quant::RescaleQuantizedType(input, factor);
    }
    
    // Returns `true` if reducing `axes` in `input` with `keep_dims=true` results in
    // the specified `shape` and `false` otherwise.
    static bool ShapeMatchesReduceWithKeepAxes(Value input,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

     *  smb1://myworkgroup/angus/ &lt;-- ILLEGAL<br>(But if you first create an <tt>SmbFile</tt> with 'smb1://workgroup/' and use and use it as the first parameter to a constructor that accepts it with a second <tt>String</tt> parameter jCIFS will factor out the 'workgroup'.)
     * </code></td></tr>
     * 
     * </table>
     *
     * <p>Instances of the <code>SmbFile</code> class are immutable; that is,
     * once created, the abstract pathname represented by an SmbFile object
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    Given defined type <code>Point</code>, the declarations
    </p>
    
    <pre>
    func (p *Point) Length() float64 {
    	return math.Sqrt(p.x * p.x + p.y * p.y)
    }
    
    func (p *Point) Scale(factor float64) {
    	p.x *= factor
    	p.y *= factor
    }
    </pre>
    
    <p>
    bind the methods <code>Length</code> and <code>Scale</code>,
    with receiver type <code>*Point</code>,
    to the base type <code>Point</code>.
    </p>
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet.go

    	housekeepingTicker := time.NewTicker(housekeepingPeriod)
    	defer housekeepingTicker.Stop()
    	plegCh := kl.pleg.Watch()
    	const (
    		base   = 100 * time.Millisecond
    		max    = 5 * time.Second
    		factor = 2
    	)
    	duration := base
    	// Responsible for checking limits in resolv.conf
    	// The limits do not have anything to do with individual pods
    	// Since this is called in syncLoop, we don't need to call it anywhere else
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_test.go

    	}
    
    	return nil
    }
    
    func retryWithExponentialBackOff(initialDuration time.Duration, fn wait.ConditionFunc) error {
    	backoff := wait.Backoff{
    		Duration: initialDuration,
    		Factor:   3,
    		Jitter:   0,
    		Steps:    6,
    	}
    	return wait.ExponentialBackoff(backoff, fn)
    }
    
    func simulateVolumeInUseUpdate(
    	volumeName v1.UniqueVolumeName,
    	stopCh <-chan struct{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

    }
    
    def GroupByDialectPass : Pass<"tf-group-by-dialect", "mlir::ModuleOp"> {
      let summary = "Groups ops into functions that only contain one dialect.";
      let description = [{
          Factors operations into subroutines such that all functions only
          contain a single dialect. Which of the dialects are allowed in the
          "top" function is configurable.
    
          For example, the code
            x.a()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.5.md

    * bootstrap: Start hostNetwork pods even if network plugin not ready ([#33347](https://github.com/kubernetes/kubernetes/pull/33347), [@justinsb](https://github.com/justinsb))
    * Factor out post-init swagger and OpenAPI routes ([#32590](https://github.com/kubernetes/kubernetes/pull/32590), [@sttts](https://github.com/sttts))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 136.4K bytes
    - Viewed (0)
  9. cluster/gce/gci/configure-helper.sh

    # entropy pool has been initialized sufficiently for the desired operation
    # before reading from /dev/urandom.
    #
    # ARGS:
    #   #1: number of secure bytes to generate. We round up to the nearest factor of 32.
    function secure_random {
      local infobytes="${1}"
      if ((infobytes <= 0)); then
        echo "Invalid argument to secure_random: infobytes='${infobytes}'" 1>&2
        return 1
      fi
    
      local out=""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

        return new HashMap<>(capacity(expectedSize));
      }
    
      /**
       * Returns a capacity that is sufficient to keep the map from being resized as long as it grows no
       * larger than expectedSize and the load factor is ≥ its default (0.75).
       */
      static int capacity(int expectedSize) {
        if (expectedSize < 3) {
          checkNonnegative(expectedSize, "expectedSize");
          return expectedSize + 1;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
Back to top