Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,733 for converts (0.87 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/internal/trace/testdata/cmd/gotraceraw/main.go

    		fmt.Fprintf(flag.CommandLine.Output(), "Supported modes:")
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "* text2bytes - converts a text format trace to bytes\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "* bytes2text - converts a byte format trace to text\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    		flag.PrintDefaults()
    	}
    	log.SetFlags(0)
    }
    
    func main() {
    	flag.Parse()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. 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)
  9. pilot/pkg/config/kube/crd/conversion.go

    		return nil, err
    	}
    	return status, nil
    }
    
    // FromYAML converts a canonical YAML to a proto message
    func FromYAML(s resource.Schema, yml string) (config.Spec, error) {
    	c, err := s.NewInstance()
    	if err != nil {
    		return nil, err
    	}
    	if err = config.ApplyYAML(c, yml); err != nil {
    		return nil, err
    	}
    	return c, nil
    }
    
    // FromJSONMap converts from a generic map to a proto message using canonical JSON encoding
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 18:26:16 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/helpers_unsupported.go

    	MaxShares = 0
    
    	SharesPerCPU  = 0
    	MilliCPUToCPU = 0
    
    	QuotaPeriod    = 0
    	MinQuotaPeriod = 0
    )
    
    // MilliCPUToQuota converts milliCPU and period to CFS quota values.
    func MilliCPUToQuota(milliCPU, period int64) int64 {
    	return 0
    }
    
    // MilliCPUToShares converts the milliCPU to CFS shares.
    func MilliCPUToShares(milliCPU int64) int64 {
    	return 0
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top