- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,314 for copiedS (0.18 sec)
-
pkg/apis/flowcontrol/v1beta3/conversion.go
// - remove the roundtrip annotation for the 'NominalConcurrencyShares' field // - make sure we don't mutate the source (v1beta3) object's annotations annotations, copied := dropPriorityLevelConcurrencyShareDefaultAnnotation(out.ObjectMeta.Annotations) if copied { out.ObjectMeta.Annotations = annotations } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 22:22:51 UTC 2023 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
assertEquals(I18N.length(), copied); } public void testCopy_toWriter_fromReader() throws IOException { StringWriter writer = new StringWriter(); long copied = CharStreams.copy(new StringReader(ASCII), writer); assertEquals(ASCII, writer.toString()); assertEquals(ASCII.length(), copied); StringWriter writer2 = new StringWriter(); copied = CharStreams.copy(new StringReader(I18N), writer2);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
assertEquals(I18N.length(), copied); } public void testCopy_toWriter_fromReader() throws IOException { StringWriter writer = new StringWriter(); long copied = CharStreams.copy(new StringReader(ASCII), writer); assertEquals(ASCII, writer.toString()); assertEquals(ASCII.length(), copied); StringWriter writer2 = new StringWriter(); copied = CharStreams.copy(new StringReader(I18N), writer2);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 11.2K bytes - Viewed (0) -
pkg/config/model_test.go
Spec: &networking.Gateway{}, } copied := cfg.DeepCopy() if diff := cmp.Diff(copied, cfg, protocmp.Transform()); diff != "" { t.Fatalf("cloned config is not identical: %v", diff) } copied.Labels["app"] = "cloned-app" copied.Annotations["policy.istio.io/checkRetries"] = "0" if cfg.Labels["app"] == copied.Labels["app"] || cfg.Annotations["policy.istio.io/checkRetries"] == copied.Annotations["policy.istio.io/checkRetries"] {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 17:37:32 UTC 2024 - 7.9K bytes - Viewed (0) -
test/typeparam/sliceimp.dir/a.go
s = s[:tot] } else { news := make([]T, tot, tot+tot/2) Copy(news, s) s = news } Copy(s[lens:tot], t) return s } // Copy copies values from t to s, stopping when either slice is full, // returning the number of values copied. This is like the predeclared // copy function; it's an example of how to write it using generics. func Copy[T any](s, t []T) int { i := 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 30 01:55:58 UTC 2021 - 3.3K bytes - Viewed (0) -
src/sync/cond.go
func (c *copyChecker) check() { // Check if c has been copied in three steps: // 1. The first comparison is the fast-path. If c has been initialized and not copied, this will return immediately. Otherwise, c is either not initialized, or has been copied. // 2. Ensure c is initialized. If the CAS succeeds, we're done. If it fails, c was either initialized concurrently and we simply lost the race, or c has been copied.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 4.1K bytes - Viewed (0) -
src/archive/tar/stat_unix.go
case "linux": // Copied from golang.org/x/sys/unix/dev_linux.go. major := uint32((dev & 0x00000000000fff00) >> 8) major |= uint32((dev & 0xfffff00000000000) >> 32) minor := uint32((dev & 0x00000000000000ff) >> 0) minor |= uint32((dev & 0x00000ffffff00000) >> 12) h.Devmajor, h.Devminor = int64(major), int64(minor) case "darwin", "ios": // Copied from golang.org/x/sys/unix/dev_darwin.go.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 16:01:50 UTC 2024 - 3.2K bytes - Viewed (0) -
pilot/pkg/model/fuzz_test.go
} type deepCopier[T any] interface { DeepCopy() T } func fuzzDeepCopy[T deepCopier[T]](f test.Fuzzer) { fuzz.Fuzz(f, func(fg fuzz.Helper) { orig := fuzz.Struct[T](fg) copied := orig.DeepCopy() assert.Equal(fg.T(), orig, copied) })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 10 17:36:04 UTC 2023 - 1.3K bytes - Viewed (0) -
src/syscall/js/js.go
Type Type } func (e *ValueError) Error() string { return "syscall/js: call of " + e.Method + " on " + e.Type.String() } // CopyBytesToGo copies bytes from src to dst. // It panics if src is not a Uint8Array or Uint8ClampedArray. // It returns the number of bytes copied, which will be the minimum of the lengths of src and dst. func CopyBytesToGo(dst []byte, src Value) int { n, ok := copyBytesToGo(dst, src.ref)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 19.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/watch/filter.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 2.8K bytes - Viewed (0)