- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of about 10,000 for copy2 (2.32 sec)
-
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) -
platforms/core-configuration/model-core/src/main/java/org/gradle/util/internal/ClosureBackedAction.java
} else { Closure copy = (Closure) closure.clone(); copy.setResolveStrategy(resolveStrategy); copy.setDelegate(delegate); if (copy.getMaximumNumberOfParameters() == 0) { copy.call(); } else { copy.call(delegate); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.9K bytes - Viewed (0) -
Dockerfile.release
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: Fri Mar 29 19:10:49 UTC 2024 - 2.8K bytes - Viewed (0) -
Dockerfile.release.old_cpu
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 (0) -
subprojects/core/src/main/java/org/gradle/api/internal/attributes/AttributeContainerInternal.java
/** * Returns an immutable copy of this attribute set. Implementations are not required to return a distinct instance for each call. * Changes to this set are not reflected in the immutable copy. * * @return an immutable view of this container. */ ImmutableAttributes asImmutable(); /** * Returns a copy of this attribute container as a map. This is an expensive
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 06 16:25:37 UTC 2020 - 1.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/SnapshotSerializerTest.groovy
def original = ImplementationSnapshot.of("someClassName", null) write(original) expect: ImplementationSnapshot copy = written as ImplementationSnapshot copy.classIdentifier == original.classIdentifier copy.classLoaderHash == null copy.unknownReason == UnknownImplementationSnapshot.UnknownReason.UNKNOWN_CLASSLOADER }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:01 UTC 2024 - 8K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/execution/DefaultMavenExecutionTest.java
class DefaultMavenExecutionTest { @Test void testCopyDefault() { MavenExecutionRequest original = new DefaultMavenExecutionRequest(); MavenExecutionRequest copy = DefaultMavenExecutionRequest.copy(original); assertNotNull(copy); assertNotSame(copy, original); } @Test void testResultWithNullTopologicallySortedProjectsIsEmptyList() { MavenExecutionResult result = new DefaultMavenExecutionResult();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 1.9K bytes - Viewed (0) -
tests/test_dependency_normal_exceptions.py
from fastapi.testclient import TestClient initial_fake_database = {"rick": "Rick Sanchez"} fake_database = initial_fake_database.copy() initial_state = {"except": False, "finally": False} state = initial_state.copy() app = FastAPI() async def get_database(): temp_database = fake_database.copy() try: yield temp_database fake_database.update(temp_database) except HTTPException:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java
if (mutable) { for (int i = 0; i < reps; i++) { List<Integer> copy = new ArrayList<>(input); Collections.sort(copy); dummy += copy.get(0); } } else { for (int i = 0; i < reps; i++) { List<Integer> copy = new ArrayList<>(input); Collections.sort(copy); dummy += ImmutableList.copyOf(copy).get(0); } } return dummy; } @Benchmark
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.5K bytes - Viewed (0) -
src/internal/zstd/block.go
if lenBlock < offset { lenWindow := r.window.len() copy := offset - lenBlock if copy > lenWindow { return rbr.makeError("offset past window") } windowOffset := lenWindow - copy if copy > match { copy = match } r.buffer = r.window.appendTo(r.buffer, windowOffset, windowOffset+copy) match -= copy } else { bufferOffset = lenBlock - offset }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 28 17:57:43 UTC 2023 - 10.2K bytes - Viewed (0)