Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 408 for Ftruncate (0.26 sec)

  1. pkg/controller/endpoint/endpoints_controller.go

    	// stored in an Endpoints resource. In a future release, this controller
    	// may truncate endpoints exceeding this length.
    	maxCapacity = 1000
    
    	// truncated is a possible value for `endpoints.kubernetes.io/over-capacity` annotation on an
    	// endpoint resource and indicates that the number of endpoints have been truncated to
    	// maxCapacity
    	truncated = "truncated"
    )
    
    // NewEndpointController returns a new *Controller.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Ascii.java

       * the sequence will be returned as a string with no changes to the content.
       *
       * <p>Examples:
       *
       * <pre>{@code
       * Ascii.truncate("foobar", 7, "..."); // returns "foobar"
       * Ascii.truncate("foobar", 5, "..."); // returns "fo..."
       * }</pre>
       *
       * <p><b>Note:</b> This method <i>may</i> work with certain non-ASCII text but is not safe for use
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jul 19 15:43:07 UTC 2021
    - 21.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/utils/utils.h

      return transposed_type;
    }
    
    // Returns shape of a ranked tensor.
    // Precondition: output_val's is ranked tensor.
    // Returns a truncated shape when `truncate` is set to true.
    inline DenseElementsAttr GetShape(Value output_val, bool truncate = false) {
      auto output_shape = output_val.getType().dyn_cast<ShapedType>().getShape();
    
      SmallVector<int32_t> shape;
      shape.reserve(output_shape.size());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/metrics/metrics.go

    func (m *AdmissionMetrics) ObserveWebhook(ctx context.Context, name string, elapsed time.Duration, rejected bool, attr admission.Attributes, stepType string, code int) {
    	// We truncate codes greater than 600 to keep the cardinality bounded.
    	if code > 600 {
    		code = 600
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 17:01:40 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Ascii.java

       * the sequence will be returned as a string with no changes to the content.
       *
       * <p>Examples:
       *
       * <pre>{@code
       * Ascii.truncate("foobar", 7, "..."); // returns "foobar"
       * Ascii.truncate("foobar", 5, "..."); // returns "fo..."
       * }</pre>
       *
       * <p><b>Note:</b> This method <i>may</i> work with certain non-ASCII text but is not safe for use
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jul 19 15:43:07 UTC 2021
    - 21.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/audit.go

    	config := o.TruncateConfig
    	if config.MaxEventSize <= 0 {
    		return fmt.Errorf("invalid audit truncate %s max event size %v, must be a positive number", pluginName, config.MaxEventSize)
    	}
    	if config.MaxBatchSize < config.MaxEventSize {
    		return fmt.Errorf("invalid audit truncate %s max batch size %v, must be greater than "+
    			"max event size (%v)", pluginName, config.MaxBatchSize, config.MaxEventSize)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 24 06:30:04 UTC 2022
    - 20.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/tests/bridge/convert-tf-quant-types.mlir

      // CHECK-DAG: %[[INPUT_QINT:.*]] = "tf.Cast"(%arg0) <{Truncate = false}> : (tensor<1x2x2x1xi32>) -> tensor<1x2x2x1x!tf_type.qint32>
      %q_input = "tf.Cast"(%arg0) {Truncate = false} : (tensor<1x2x2x1xi32>) -> tensor<1x2x2x1x!tf_type.qint32>
    
      // CHECK-DAG: %[[MIN_QINT:.*]] = "tf.Cast"(%arg1) <{Truncate = false}> : (tensor<i32>) -> tensor<!tf_type.qint32>
      // CHECK-DAG: %[[MAX_QINT:.*]] = "tf.Cast"(%arg1) <{Truncate = false}> : (tensor<i32>) -> tensor<!tf_type.qint32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 25.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/validating/dispatcher.go

    		// compute the timeout
    		if timeout := time.Until(deadline); timeout > 0 {
    			// if it's not an even number of seconds, round up to the nearest second
    			if truncated := timeout.Truncate(time.Second); truncated != timeout {
    				timeout = truncated + time.Second
    			}
    			// set the timeout
    			r.Timeout(timeout)
    		}
    	}
    
    	do := func() { err = r.Do(ctx).Into(response) }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 20:24:12 UTC 2023
    - 13K bytes
    - Viewed (0)
  9. src/fmt/format.go

    	f.pad(buf[i:])
    	f.zero = oldZero
    }
    
    // truncateString truncates the string s to the specified precision, if present.
    func (f *fmt) truncateString(s string) string {
    	if f.precPresent {
    		n := f.prec
    		for i := range s {
    			n--
    			if n < 0 {
    				return s[:i]
    			}
    		}
    	}
    	return s
    }
    
    // truncate truncates the byte slice b as a string of the specified precision, if present.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library.mlir

        %float_in_zp = "tf.Cast"(%input_zp) {Truncate = false} : (tensor<*xi32>) -> tensor<*xf32>
        %float_out_zp = "tf.Cast"(%out_zp) {Truncate = false} : (tensor<*xi32>) -> tensor<*xf32>
    
        %cast = "tf.Cast"(%input) {Truncate = false} : (tensor<*xi8>) -> tensor<*xf32>
        %sub = "tf.Sub"(%cast, %float_in_zp) : (tensor<*xf32>, tensor<*xf32>) -> tensor<*xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jan 08 01:16:10 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top