- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of about 10,000 for copy2 (0.08 sec)
-
staging/src/k8s.io/apimachinery/pkg/api/apitesting/fuzzer/valuefuzz.go
if obj.IsNil() { // TODO: set non-nil value } else { for _, k := range obj.MapKeys() { // map values are not addressable. We need a copy. v := obj.MapIndex(k) copy := reflect.New(v.Type()) copy.Elem().Set(v) valueFuzz(copy.Elem()) obj.SetMapIndex(k, copy.Elem()) } // TODO: set some new value } case reflect.Func: // ignore, we don't have function types in our API default:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 25 16:23:43 UTC 2022 - 2.3K bytes - Viewed (0) -
pilot/docker/Dockerfile.proxyv2
FROM ${BASE_DISTRIBUTION:-debug} WORKDIR / ARG proxy_version ARG SIDECAR=envoy # Copy Envoy bootstrap templates used by pilot-agent COPY envoy_bootstrap.json /var/lib/istio/envoy/envoy_bootstrap_tmpl.json COPY gcp_envoy_bootstrap.json /var/lib/istio/envoy/gcp_envoy_bootstrap_tmpl.json # Install Envoy. ARG TARGETARCH COPY ${TARGETARCH:-amd64}/${SIDECAR} /usr/local/bin/${SIDECAR}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 00:17:51 UTC 2024 - 1.3K bytes - Viewed (0) -
src/internal/fuzz/minimize.go
for i := 0; i < len(v)-1; i++ { if shouldStop() { return } candidate := tmp[:len(v)-1] copy(candidate[:i], v[:i]) copy(candidate[i:], v[i+1:]) if !try(candidate) { continue } // Update v to delete the value at index i. copy(v[i:], v[i+1:]) v = v[:len(candidate)] // v[i] is now different, so decrement i to redo this iteration // of the loop with the new value.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 07 21:15:51 UTC 2021 - 2.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
siblingCollection.add(sampleElement); Collection<E> copy = new ArrayList<>(); copy.addAll(collection); try { collection.add(sampleElement); fail("add succeeded on unmodifiable collection"); } catch (UnsupportedOperationException expected) { } assertCollectionsAreEquivalent(copy, collection); try { collection.addAll(siblingCollection);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 20:31:37 UTC 2024 - 14.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/defineAsKotlinDelegatedProperty/groovy/build.gradle
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 227 bytes - Viewed (0) -
pilot/docker/Dockerfile.pilot
# hadolint ignore=DL3006 FROM ${BASE_DISTRIBUTION:-debug} ARG TARGETARCH COPY ${TARGETARCH:-amd64}/pilot-discovery /usr/local/bin/pilot-discovery # Copy templates for bootstrap generation. COPY envoy_bootstrap.json /var/lib/istio/envoy/envoy_bootstrap_tmpl.json COPY gcp_envoy_bootstrap.json /var/lib/istio/envoy/gcp_envoy_bootstrap_tmpl.json USER 1337:1337
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 19 15:53:08 UTC 2022 - 1K bytes - Viewed (0) -
Dockerfile.hotfix
MINIO_CONFIG_ENV_FILE=config.env \ MC_CONFIG_DIR=/tmp/.mc COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=build /go/bin/minio /usr/bin/minio COPY --from=build /go/bin/mc /usr/bin/mc COPY --from=build /go/bin/cur* /usr/bin/ COPY CREDITS /licenses/CREDITS COPY LICENSE /licenses/LICENSE COPY dockerscripts/docker-entrypoint.sh /usr/bin/docker-entrypoint.sh EXPOSE 9000
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Mar 30 09:41:56 UTC 2024 - 2.8K bytes - Viewed (1) -
test/fixedbugs/issue44739.go
} func g(a T) { // test load of unaligned // 8 byte gostring, store // to unaligned static copy(a.y[:], gostring2) } func main() { var t1, t2 T // test copy to automatic storage, // load of unaligned gostring. copy(st.y[:], gostring2) copy(t1.y[:], st.y[:]) copy(t2.y[:], gostring3) // test initialization of params if !f(t1, 'a', t2) { // gostring1 added so it has a use
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 10 19:33:23 UTC 2021 - 1.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/rules/ClosureBackedRuleAction.java
} @Override public void execute(T subject, List<?> inputs) { Closure<?> copy = (Closure<?>) closure.clone(); copy.setResolveStrategy(Closure.DELEGATE_FIRST); copy.setDelegate(subject); if (closure.getMaximumNumberOfParameters() == 0) { copy.call(); } else { Object[] argList = new Object[inputs.size() + 1]; argList[0] = subject;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
// need a long enough string for the buffer to hit 0 remaining before the copy completes String string = Strings.repeat("0123456789", 100); StringBuilder b = new StringBuilder(); // the main assertion of this test is here... the copy will fail if the buffer size goes down // each time it is not filled completely long copied = CharStreams.copy(newNonBufferFillingReader(new StringReader(string)), b);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 11.2K bytes - Viewed (0)