- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 3,288 for converts (0.2 sec)
-
src/internal/itoa/itoa.go
// license that can be found in the LICENSE file. // Simple conversions to avoid depending on strconv. package itoa // Itoa converts val to a decimal string. func Itoa(val int) string { if val < 0 { return "-" + Uitoa(uint(-val)) } return Uitoa(uint(val)) } // Uitoa converts val to a decimal string. func Uitoa(val uint) string { if val == 0 { // avoid string allocation return "0" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 11 02:53:50 UTC 2023 - 1.1K bytes - Viewed (0) -
pkg/config/schema/codegen/templates/gvk.go.tmpl
return schema.GroupVersionResource{}, false } // MustToGVR converts a GVK to a GVR, and panics if it cannot be converted // Warning: this is only safe for known types; do not call on arbitrary GVKs func MustToGVR(g config.GroupVersionKind) schema.GroupVersionResource { r, ok := ToGVR(g) if !ok { panic("unknown kind: " + g.String()) } return r } // FromGVR converts a GVR to a GVK.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 04 03:54:51 UTC 2023 - 2K bytes - Viewed (0) -
maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
} /** * Parses a sequence of XML elements and converts them to the appropriate array type. * * @param parser The XML parser * @return Converted array instance */ private Object parseArray(final MXParser parser, final TypeLiteral<?> toType) throws Exception { // convert to a collection first then convert that into an array
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Mar 18 00:24:53 UTC 2024 - 15.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/ir/QuantizeUtils.cc
quantizedElementType, converter); outConvertedType = converted.getType(); return converted; } // Nothing else matched: try to convert a primitive. return convertPrimitiveValueAttr(realValue, quantizedElementType, converter, outConvertedType); } /// Convert an attribute from a type based on
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/conversion/converter.go
// Meta is supplied by Scheme, when it calls Convert. type Meta struct { // Context is an optional field that callers may use to pass info to conversion functions. Context interface{} } // scope contains information about an ongoing conversion. type scope struct { converter *Converter meta *Meta } // Convert continues a conversion. func (s *scope) Convert(src, dest interface{}) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 25 16:23:43 UTC 2022 - 7.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/ir/Passes.td
def QuantConvertConst : Pass<"quant-convert-const", "func::FuncOp"> { let summary = "Converts constants followed by qbarrier to actual quantized " "values"; let constructor = "mlir::quantfork::createConvertConstPass()"; } def QuantConvertSimulatedQuant : Pass<"quant-convert-simulated-quantization", "func::FuncOp"> { let summary = "Converts training-time simulated quantization ops to "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 29 18:55:28 UTC 2022 - 1.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationPublicationsTest.groovy
} def "converts to OutgoingVariant when nothing defined"() { expect: def variants = getOutgoingVariants(publications) variants.size() == 1 def child = variants.first() child.displayName == displayName child.attributes == ImmutableAttributes.EMPTY child.artifacts == allArtifacts } def "converts to OutgoingVariant when artifacts declared"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:21:15 UTC 2024 - 9.6K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/helpers_linux.go
if milliCPU == 0 { return } // 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 } // sharesToMilliCPU converts CpuShares (cpu.shares) to milli-CPU value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 18:21:21 UTC 2023 - 2.5K bytes - Viewed (0) -
src/cmd/internal/pkgpath/pkgpath.go
func Run(x int) int { return 1 } ` // toSymbolV1 converts a package path using the original mangling scheme. func toSymbolV1(ppath string) string { clean := func(r rune) rune { switch { case 'A' <= r && r <= 'Z', 'a' <= r && r <= 'z', '0' <= r && r <= '9': return r } return '_' } return strings.Map(clean, ppath) } // toSymbolV2 converts a package path using the second mangling scheme.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.td
"CreateXlaDotV2OpFromTfEinsumOp($_builder, $_loc, $0...)">; def IsEinsumOpSupported : Constraint< CPred<"IsEinsumOpSupported($0, $1, $2)">, "Check if the given einsum op could be converted into a XlaDotV2 op.">; // Converts inlined Conv2D pattern to TF XlaConvV2 op. This pattern doesn't // support non-constant weights. def ConvertTFConv2DToXLAConvOp : Pat< (TF_Conv2DOp:$conv
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Dec 10 05:52:02 UTC 2023 - 21.1K bytes - Viewed (0)