- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for Copyto (0.13 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/initialization/DefaultClassLoaderScopeTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 24 13:56:30 UTC 2022 - 13.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
assertFalse(writer.closed()); source.copyTo(writer); assertFalse(writer.closed()); } public void testClosesOnErrors_copyingToCharSinkThatThrows() { for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { TestCharSource okSource = new TestCharSource(STRING); assertThrows(IOException.class, () -> okSource.copyTo(new TestCharSink(option)));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileOperationsTest.java
try ( SmbFile f = createTestFile() ) { try ( SmbFile d1 = createTestDirectory(); SmbFile t = new SmbFile(d1, makeRandomName()) ) { try { f.copyTo(t); assertTrue(f.exists()); assertEquals(f.length(), t.length()); assertEquals(f.getAttributes(), t.getAttributes()); }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu Jan 05 13:17:59 UTC 2023 - 16.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
assertFalse(out.closed()); source.copyTo(out); assertFalse(out.closed()); } public void testClosesOnErrors_copyingToByteSinkThatThrows() { for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { TestByteSource okSource = new TestByteSource(bytes); assertThrows(IOException.class, () -> okSource.copyTo(new TestByteSink(option)));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 15.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/process/internal/JvmOptionsTest.groovy
expect: createOpts().allJvmArgs.contains("-Dfile.encoding=${defaultCharset}".toString()); } def "copyTo respects defaultFileEncoding"() { JavaForkOptions target = Mock(JavaForkOptions) when: parse("-Dfile.encoding=UTF-8 -Dfoo.encoding=blah -Dfile.encoding=UTF-16").copyTo(target) then: 1 * target.systemProperties({
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 10.8K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/JavaExec.java
@Override public ModularitySpec getModularity() { return modularity; } /** * {@inheritDoc} */ @Override public JavaExec copyTo(JavaForkOptions options) { javaExecSpec.copyTo(options); return this; } /** * Returns the version of the Java executable specified by {@link #getJavaLauncher()}. * * @since 5.2 */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 19.4K bytes - Viewed (0) -
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) -
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) -
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 - 25.1K bytes - Viewed (0)