- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 125 for Copyto (0.38 sec)
-
android/guava/src/com/google/common/io/CharSource.java
* one with {@link CharSequence#charAt(int)}. * <li>use {@link Appendable#append(CharSequence)} in {@link #copyTo(Appendable)} and {@link * #copyTo(CharSink)}. We know this is correct since strings are immutable and so the length * can't change, and it is faster because many writers and appendables are optimized for
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 22.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecActionFactory.java
public void setAllJvmArgs(Iterable<?> arguments) { throw new UnsupportedOperationException(); } @Override public JavaForkOptions copyTo(JavaForkOptions options) { return delegate.copyTo(options); } @Override public boolean isCompatibleWith(JavaForkOptions options) { return delegate.isCompatibleWith(options); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 10 06:16:11 UTC 2023 - 24K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
StringBuilder builder = new StringBuilder(); assertEquals(expected.length(), source.copyTo(builder)); assertExpectedString(builder.toString()); } public void testCopyTo_charSink() throws IOException { TestCharSink sink = new TestCharSink(); assertEquals(expected.length(), source.copyTo(sink)); assertExpectedString(sink.getString()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 6.8K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppBinariesRelocationIntegrationTest.groovy
when: succeeds("installDebug") then: def install = installation(installDir) install.assertInstalled() install.exec() when: installDir.copyTo(relocatedInstallDir) then: def relocatedInstall = installation(relocatedInstallDir) relocatedInstall.assertInstalled() relocatedInstall.exec() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/util/DefaultProcessForkOptionsTest.groovy
def canCopyToTargetOptions() { given: def target = Mock(ProcessForkOptions) when: options.executable('executable') options.environment('key', 12) options.copyTo(target) then: 1 * target.setWorkingDir(baseDir) 1 * target.setExecutable('executable') 1 * target.setEnvironment({ !it.empty }) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 2.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/copy/FileCopyAction.java
File target = fileResolver.resolve(details.getRelativePath().getPathString()); renameIfCaseChanged(target); boolean copied = details.copyTo(target); if (copied) { didWork = true; } } private void renameIfCaseChanged(File target) { if (target.exists()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 17:00:04 UTC 2019 - 2.2K bytes - Viewed (0) -
platforms/core-runtime/wrapper-shared/src/test/groovy/org/gradle/wrapper/InstallTest.groovy
homeDir == gradleHomeDir gradleHomeDir.assertIsDir() gradleHomeDir.file("bin/gradle").assertIsFile() and: 1 * download.download(configuration.distribution, _) >> { templateZipFile.copyTo(it[1]) } 0 * download._ when: homeDir = install.createDist(configuration) then: homeDir == gradleHomeDir and: 0 * download._ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:12:34 UTC 2023 - 9.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/FileCopyActionTest.groovy
final FileCopyDetailsInternal details = Mock(FileCopyDetailsInternal) _ * details.relativePath >> relativePath 1 * details.copyTo(targetFile) 0 * details._ return details }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 06 01:29:26 UTC 2020 - 1.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/DefaultExternalModuleDependency.java
@Override public ExternalModuleDependency copy() { DefaultExternalModuleDependency copiedModuleDependency = new DefaultExternalModuleDependency(getGroup(), getName(), getVersion(), getTargetConfiguration()); copyTo(copiedModuleDependency); return copiedModuleDependency; } @Override public boolean contentEquals(Dependency dependency) { if (this == dependency) { return true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTester.java
ByteArrayOutputStream out = new ByteArrayOutputStream(); source.copyTo(out); assertExpectedBytes(out.toByteArray()); } public void testCopyTo_byteSink() throws IOException { final ByteArrayOutputStream out = new ByteArrayOutputStream(); // HERESY! but it's ok just for this I guess source.copyTo( new ByteSink() { @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 8.6K bytes - Viewed (0)