- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 1,497 for RESULT (1.45 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
String result = trans2QueryFSInfo.toString(); assertNotNull(result); assertTrue(result.contains("Trans2QueryFSInformation")); assertTrue(result.contains("informationLevel=0x")); // SMB_INFO_ALLOCATION is -1, which should be displayed properly assertTrue(result.contains("fff") || result.contains("FFF")); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
* Runnable}, and arrange that {@code get} will return the given result on successful completion. * * @param runnable the runnable task * @param result the result to return on successful completion. If you don't need a particular * result, consider using constructions of the form: {@code ListenableFuture<?> f = * ListenableFutureTask.create(runnable, null)}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
// put it back together String result = Joiner.on('/').join(path); if (pathname.charAt(0) == '/') { result = "/" + result; } while (result.startsWith("/../")) { result = result.substring(3); } if (result.equals("/..")) { result = "/"; } else if (result.isEmpty()) { result = "."; } return result; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeTest.java
when(smbTree.unwrap(SmbTree.class)).thenReturn(smbTree); SmbTree result = smbTree.unwrap(SmbTree.class); assertNotNull(result, "Unwrapped tree should not be null"); assertSame(smbTree, result, "Should return itself when unwrapping to SmbTree"); } /** * Test for unwrap() method with null result. * Verifies behavior when unwrap returns null. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
void hasCapability_variousCaps(int cap) throws SmbException { when(transport.hasCapability(anyInt())).thenAnswer(inv -> ((int) inv.getArgument(0)) >= 0); boolean result = transport.hasCapability(cap); assertEquals(cap >= 0, result); verify(transport, times(1)).hasCapability(cap); } // Invalid input: simulate underlying SmbException when capability check fails @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
checkNonnegative(distance, "distance"); long result = origin + distance; if (result < 0) { checkArgument(origin < 0, "overflow"); } return result; } @Override public long distance(Long start, Long end) { long result = end - start; if (end > start && result < 0) { // overflow return Long.MAX_VALUE; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocListTest.java
docList.addContentSize(1000); docList.addProcessingTime(500); String result = docList.toString(); assertTrue(result.contains("contentSize=1000")); assertTrue(result.contains("processingTime=500")); assertTrue(result.contains("elementData=[")); assertTrue(result.contains("id=1")); } public void test_serialization() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
// When String result = fileFsSizeInfo.toString(); // Then assertNotNull(result); assertTrue(result.contains("SmbInfoAllocation")); assertTrue(result.contains("alloc=0")); assertTrue(result.contains("free=0")); assertTrue(result.contains("sectPerAlloc=0")); assertTrue(result.contains("bytesPerSect=0")); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt
} return true } override fun hashCode(): Int { var result = 17 if (isTls) { result = 31 * result + (cipherSuitesAsString?.contentHashCode() ?: 0) result = 31 * result + (tlsVersionsAsString?.contentHashCode() ?: 0) result = 31 * result + if (supportsTlsExtensions) 0 else 1 } return result } override fun toString(): String {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
*/ fun newBuilder(): Builder { val result = Builder() result.scheme = scheme result.encodedUsername = encodedUsername result.encodedPassword = encodedPassword result.host = host // If we're set to a default port, unset it in case of a scheme change. result.port = if (port != defaultPort(scheme)) port else -1 result.encodedPathSegments.clear() result.encodedPathSegments.addAll(encodedPathSegments)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 63.5K bytes - Viewed (0)