Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,288 for converts (0.15 sec)

  1. pkg/kubelet/kuberuntime/helpers.go

    	return runtimeapi.Protocol_TCP
    }
    
    // toKubeContainer converts runtimeapi.Container to kubecontainer.Container.
    func (m *kubeGenericRuntimeManager) toKubeContainer(c *runtimeapi.Container) (*kubecontainer.Container, error) {
    	if c == nil || c.Id == "" || c.Image == nil {
    		return nil, fmt.Errorf("unable to convert a nil pointer to a runtime container")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/helpers_linux.go

    		period = QuotaPeriod
    	}
    
    	// we then convert your milliCPU to a value normalized over a period
    	quota = (milliCPU * period) / MilliCPUToCPU
    
    	// quota needs to be a minimum of 1ms.
    	if quota < MinQuotaPeriod {
    		quota = MinQuotaPeriod
    	}
    	return
    }
    
    // MilliCPUToShares converts the milliCPU to CFS shares.
    func MilliCPUToShares(milliCPU int64) uint64 {
    	if milliCPU == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 11:52:28 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/TextUtil.java

            return path.replaceAll(Pattern.quote(File.separator), "/");
        }
    
        /**
         * Converts all line separators in the specified string to a single new line character.
         */
        public static String normaliseLineSeparators(String str) {
            return str == null ? null : convertLineSeparators(str, "\n");
        }
    
        /**
         * Converts all line separators in the specified string to the specified line separator.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. pkg/jwt/jwt.go

    	Envoy
    )
    
    // String converts JwksFetchMode to readable string.
    func (mode JwksFetchMode) String() string {
    	switch mode {
    	case Istiod:
    		return "Istiod"
    	case Hybrid:
    		return "Hybrid"
    	case Envoy:
    		return "Envoy"
    	default:
    		return "Unset"
    	}
    }
    
    // ConvertToJwksFetchMode converts from string value mode to enum JwksFetchMode value.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 25 00:53:18 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/README.md

    - Import from GraphDef, in .pb or .pbtxt  format, into MLIR.
    - Raise to Control-flow-graph. Converts TF Control Flow dialect to TF dialect.
    - The Canonicalization pass iteratively applies canonicalization
    transformations in a greedy way until no further changes occur.
    Canonicalization includes constant folding.
    - The Legalize pass converts TensorFlow operations to TensorFlow Lite
    ones. The operations that cannot be mapped to TensorFlow Lite dialect
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 29 11:30:32 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/PosixFilePermissionConverterTest.groovy

    import static java.nio.file.attribute.PosixFilePermission.OWNER_READ
    import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE
    
    class PosixFilePermissionConverterTest extends Specification {
        def "converts Set<PosixFilePermission to int representation"() {
    
            expect:
            PosixFilePermissionConverter.convertToInt(perms) == intValue
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/ir/Passes.h

    namespace func {
    class FuncOp;
    }  // namespace func
    
    namespace quantfork {
    
    /// Creates a pass that converts quantization simulation operations (i.e.
    /// FakeQuant and those like it) to casts into/out of supported QuantizedTypes.
    std::unique_ptr<OperationPass<func::FuncOp>> createConvertSimulatedQuantPass();
    
    /// Creates a pass that converts constants followed by a qbarrier to a
    /// constant whose value is quantized. This is typically one of the last
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 29 18:55:28 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.td

    }
    
    def ConvertFuncToBfloat16Pass : Pass<"stablehlo-convert-func-to-bfloat16", "mlir::func::FuncOp"> {
      let summary = "Convert a StableHLO function to bfloat16";
      let dependentDialects = ["mlir::stablehlo::StablehloDialect"];
    }
    
    def ConvertXlaCallModuleOpToBfloat16Pass : Pass<"stablehlo-convert-xla-call-module-op-to-bfloat16", "mlir::func::FuncOp"> {
      let summary = "Convert serialized XlaCallModuleOp to bfloat16";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java

        }
    
        /**
         * Converts all line separators in the specified string to the specified line separator.
         */
        @Nullable
        public static String convertLineSeparators(@Nullable String str, String sep) {
            return str == null ? null : replaceLineSeparatorsOf(str, sep);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. src/database/sql/driver/types.go

    		}
    		return nil, fmt.Errorf("sql/driver: couldn't convert %d into type bool", iv)
    	case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
    		uv := sv.Uint()
    		if uv == 1 || uv == 0 {
    			return uv == 1, nil
    		}
    		return nil, fmt.Errorf("sql/driver: couldn't convert %d into type bool", uv)
    	}
    
    	return nil, fmt.Errorf("sql/driver: couldn't convert %v (%T) into type bool", src, src)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 16:30:20 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top