- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 6,648 for copyOf (0.24 sec)
-
src/bytes/reader_test.go
var with, withOut nErr with.n, with.err = io.Copy(discard, NewReader(nil)) withOut.n, withOut.err = io.Copy(discard, justReader{NewReader(nil)}) if with != withOut { t.Errorf("behavior differs: with = %#v; without: %#v", with, withOut) } } // tests that Len is affected by reads, but Size is not. func TestReaderLenSize(t *testing.T) { r := NewReader([]byte("abc")) io.CopyN(io.Discard, r, 1) if r.Len() != 2 {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java
op.setup(form -> { webAuthenticationService.getWebAuthentication(id).ifPresent(entity -> { copyBeanToBean(entity, form, copyOp -> { copyOp.excludeNull(); }); form.crudMode = crudMode; }).orElse(() -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 20.3K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java
} return total; } }, NEW { @Override long copy(Readable from, Appendable to) throws IOException { return CharStreams.copy(from, to); } }; abstract long copy(Readable from, Appendable to) throws IOException; } enum TargetSupplier { STRING_WRITER { @Override Appendable get(int sz) { return new StringWriter(sz);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
final Smb2IoctlRequest copy = new Smb2IoctlRequest(sh.getConfig(), write ? Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK_WRITE : Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK, dfd.getFileId()); copy.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL); copy.setInputData(new SrvCopychunkCopy(resumeKey, chunkInfo));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java
op.setup(form -> { kuromojiService.getKuromojiItem(dictId, id).ifPresent(entity -> { copyBeanToBean(entity, form, copyOp -> { copyOp.excludeNull(); }); form.crudMode = crudMode; }).orElse(() -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 21.5K bytes - Viewed (0) -
guava-gwt/pom.xml
</fileset> </copy> <copy toDir="${project.build.directory}/guava-gwt-sources"> <fileset dir="${project.build.directory}/failureaccess-sources"> <include name="**/InternalFutures.java" /> </fileset> </copy> <copy toDir="${project.build.directory}/guava-gwt-sources">Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 21:35:58 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
} // Ensures clone() returns a deep copy; mutations are independent across instances @Test @DisplayName("clone: returns deep copy and independent state") void clone_returnsDeepCopy() { // Arrange byte[] data = new byte[] { 10, 20, 30 }; SecurityBlob original = new SecurityBlob(data); // ActRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.3K bytes - Viewed (0)