- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 74 for force32 (0.04 sec)
-
guava-tests/test/com/google/common/math/IntMathTest.java
assertEquals(10, IntMath.saturatedAbs(10)); assertEquals(10, IntMath.saturatedAbs(-10)); } private static int force32(int value) { // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it. return value & 0xffffffff; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
assertTrue(addresses.length > 0, "Should return at least one address"); } @Test @DisplayName("Should handle NetBIOS name resolution with timeout") @Timeout(value = 2, unit = TimeUnit.SECONDS) // Force test timeout void testGetNbtByName() { // When/Then - Should throw UnknownHostException quickly due to short timeouts UnknownHostException exception = assertThrows(UnknownHostException.class, () -> {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
int keyHash = Hashing.smearedHash(key); int entryForKey = findEntryByKey(key, keyHash); if (entryForKey != ABSENT) { V oldValue = values[entryForKey]; if (Objects.equals(oldValue, value)) { return value; } else { replaceValueInEntry(entryForKey, value, force); return oldValue; } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 16 14:46:34 UTC 2025 - 37.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
// Assert assertEquals(expectedCredits, credits); verify(negotiationResponse).getInitialCredits(); } @Test @DisplayName("Test canReuse returns true with force signing") void testCanReuseWithForceSigning() { // Arrange when(negotiationResponse.canReuse(cifsContext, true)).thenReturn(true); // ActRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/Crawler.java
} } /** * Initializes OpenSearch monitoring probes. * Forces the loading of process, OS, and JVM monitoring probes * to ensure they are available for system monitoring during crawling. */ static void initializeProbes() { // Force probes to be loaded ProcessProbe.getInstance(); OsProbe.getInstance(); JvmInfo.jvmInfo(); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 31.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
assertEquals(transport, result); verify(transportPool).getSmbTransport(context, TEST_HOST, DEFAULT_PORT, true, false); } @Test @DisplayName("Should get transport by name with forced signing") void testGetSmbTransportByNameForceSigning() throws UnknownHostException, IOException { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
when(src.getContext()).thenReturn(ctx); // Force failure before any stream construction when(src.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenThrow(new SmbException("boom")); SmbTreeHandleImpl sh = newTreeHandle(false); // force non-SMB2 path to avoid server-side branch SmbTreeHandleImpl dh = newTreeHandle(false);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
* doesn't cache partial responses. * * ## Force a Network Response * * In some situations, such as after a user clicks a 'refresh' button, it may be necessary to skip * the cache, and fetch data directly from the server. To force a full refresh, add the `no-cache` * directive: * * ```java * Request request = new Request.Builder()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 26.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
case FILE_MODIFIED: // Remove from cache to force refresh entry.removeChild(childName); break; case DIRECTORY_RENAMED: // Full invalidation needed entry.invalidate(); break; case ATTRIBUTES_CHANGED: // Remove from cache to force refresh entry.removeChild(childName); break;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0)