- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 8,390 for copyTo (0.04 sec)
-
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
nameBuf.writeByte(utf8ByteCount.toInt()) nameBuf.writeUtf8(label) } nameBuf.writeByte(0) // end nameBuf.copyTo(this, 0, nameBuf.size) writeShort(type) writeShort(1) // CLASS_IN }.readByteString() @Throws(Exception::class) fun decodeAnswers( hostname: String, byteString: ByteString,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
* @deprecated Prefer {@code asCharSource(from, charset).copyTo(to)}. */ @Deprecated @InlineMe( replacement = "Files.asCharSource(from, charset).copyTo(to)", imports = "com.google.common.io.Files") public static void copy(File from, Charset charset, Appendable to) throws IOException { asCharSource(from, charset).copyTo(to); } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 20:24:13 UTC 2025 - 32.8K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt
} file.isBuildReceipt() -> { Files.copy(file, buildReceipt) } file.isUnseenManifestFilePath() -> { seenManifest = true Files.copy(file, manifest) } } return FileVisitResult.CONTINUERegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Sat Mar 22 03:48:38 UTC 2025 - 7.3K bytes - Viewed (0) -
guava/src/com/google/common/io/Resources.java
* * @param from the URL to read from * @param to the output stream * @throws IOException if an I/O error occurs */ public static void copy(URL from, OutputStream to) throws IOException { asByteSource(from).copyTo(to); } /** * Returns a {@code URL} pointing to {@code resourceName} if the resource is found using theRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
} @Override @J2ktIncompatible // Incompatible return type change. Use inherited (unoptimized) implementation public Object[] toArray() { Object[] copyTo = new Object[size]; arraycopy(queue, 0, copyTo, 0, size); return copyTo; } /** * Returns the comparator used to order the elements in this queue. Obeys the general contract of
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 33.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
@Test @DisplayName("copy operation should work correctly") void testCopyTo() throws CIFSException { // Given SmbResource destination = mock(SmbResource.class); // When/Then assertDoesNotThrow(() -> mockResource.copyTo(destination), "Copy operation should not throw exception"); verify(mockResource).copyTo(destination); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
if (!cacheRequestClosed) { cacheRequestClosed = true cacheBody.close() // The cache response is complete! } return -1 } sink.copyTo(cacheBody.buffer, sink.size - bytesRead, bytesRead) cacheBody.emitCompleteSegments() return bytesRead } override fun timeout(): Timeout = source.timeout()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
assertFalse(targetFile.exists(), "Target file should not exist initially"); // Copy file sourceFile.copyTo(targetFile); assertTrue(sourceFile.exists(), "Source file should still exist after copy"); assertTrue(targetFile.exists(), "Target file should exist after copy"); // Verify content in both files try (InputStream in = sourceFile.getInputStream()) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
/** * This method will copy the file or directory represented by this * <code>SmbResource</code> and it's sub-contents to the location specified by the * <code>dest</code> parameter. This file and the destination file do not * need to be on the same host. This operation does not copy extended * file attributes such as ACLs but it does copy regular attributes asRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* @throws SmbException if an error occurs during the copy operation */ public void copyTo(final SmbFile dest) throws SmbException { SmbComReadAndX req; SmbComReadAndXResponse resp; WriterThread w; int bsize; byte[][] b; /* Should be able to copy an entire share actually */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0)