- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 280 for Canonicalize (0.19 sec)
-
src/cmd/vendor/golang.org/x/text/internal/language/language.go
r = _UK } if (r.typ() & ccTLD) == 0 { return 0, errNoTLD } return r, nil } // Canonicalize returns the region or a possible replacement if the region is // deprecated. It will not return a replacement for deprecated regions that // are split into multiple regions. func (r Region) Canonicalize() Region { if cr := normRegion(r); cr != 0 { return cr } return r }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 16.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/third_party/forked/golang/reflect/deep_equal.go
return true } return false } if v1.CanAddr() && v2.CanAddr() && hard(v1.Kind()) { addr1 := v1.UnsafeAddr() addr2 := v2.UnsafeAddr() if addr1 > addr2 { // Canonicalize order to reduce number of entries in visited. addr1, addr2 = addr2, addr1 } // Short circuit if references are identical ... if addr1 == addr2 { return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 20 17:18:42 UTC 2022 - 10.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/strategy.go
for _, finalizer := range newAdded.List() { allWarnings = append(allWarnings, validateKubeFinalizerName(finalizer, fldPath)...) } return allWarnings } // Canonicalize normalizes the object after validation. func (customResourceStrategy) Canonicalize(obj runtime.Object) { } // AllowCreateOnUpdate is false for CustomResources; this means a POST is // needed to create one.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 21:22:34 UTC 2024 - 14.9K bytes - Viewed (0) -
src/go/types/context.go
// concurrent use it is convenient not to guarantee de-duplication. // // Nevertheless, in the future it could be helpful to allow users to leverage // contexts to canonicalize instances, and it would probably be possible to // achieve such a guarantee. // A Context is an opaque type checking context. It may be used to share // identical type instances across type-checked packages or calls to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 4.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util_test.cc
} TEST(CompileMlirUtil, CanonicalizationIsExplicitDuringInlining) { OpPassManager pass_manager; llvm::StringRef device_type = "XLA_CPU_JIT"; absl::string_view kInlinePass = "inline{default-pipeline=canonicalize " "inlining-threshold=4294967295 max-iterations=4 }"; CreateConvertMlirToXlaHloPipeline(pass_manager, device_type, /*enable_op_fallback=*/true,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 19:54:38 UTC 2024 - 9.7K bytes - Viewed (0) -
pkg/registry/core/service/strategy.go
func (svcStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string { return serviceapi.GetWarningsForService(obj.(*api.Service), nil) } // Canonicalize normalizes the object after validation. func (svcStrategy) Canonicalize(obj runtime.Object) { } func (svcStrategy) AllowCreateOnUpdate() bool { return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 13:09:36 UTC 2024 - 14.1K bytes - Viewed (0) -
pkg/ctrlz/ctrlz.go
router.PathPrefix("/debug/pprof/").HandlerFunc(pprof.Index) } registerHome(router, mainLayout) addr := o.Address if addr == "*" { addr = "" } // Canonicalize the address and resolve a dynamic port if necessary listener, err := net.Listen("tcp", fmt.Sprintf("%s:%d", addr, o.Port)) if err != nil { log.Errorf("Unable to start ControlZ: %v", err) return nil, err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 11 21:22:53 UTC 2024 - 5.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt
writeByte(' '.code) i++ continue } writeUtf8CodePoint(codePoint) i += Character.charCount(codePoint) } } internal fun String.canonicalize( pos: Int = 0, limit: Int = length, encodeSet: String, alreadyEncoded: Boolean = false, strict: Boolean = false, plusIsSpace: Boolean = false, unicodeAllowed: Boolean = false, ): String {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/device_canonicalize.mlir
// RUN: tf-opt %s -pass-pipeline='builtin.module(func.func(canonicalize))' | FileCheck %s // Test empty launch with no results is folded away. // CHECK-LABEL: func @empty_launch_no_results func.func @empty_launch_no_results() { "tf_device.launch"() ({ tf_device.return }) {device = "device"} : () -> () func.return } // CHECK-NOT: tf_device.launch // Test empty launch with some results is folded away.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Nov 04 14:07:37 UTC 2022 - 6.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/FileUtils.java
if (extensionPos > fileNameStart) { return filePath.substring(0, extensionPos); } return filePath; } /** * Canonicalizes the given file. */ public static File canonicalize(File src) { try { return src.getCanonicalFile(); } catch (IOException e) { throw new UncheckedIOException(e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 8.2K bytes - Viewed (0)