- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 577 for selection (0.04 sec)
-
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
} }, /** * Disables cycle detection. This option causes the factory to return unmodified lock * implementations provided by the JDK, and is provided to allow applications to easily * parameterize when cycle detection is enabled. * * <p>Note that locks created by a factory with this policy will not participate the * cycle detection performed by locks created by other factories. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 35.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
*/ @J2ktIncompatible @GwtIncompatible // reflection public static List<Method> getSetCountDuplicateInitializingMethods() { return asList( getMethod("testSetCount_threeToThree_removeSupported"), getMethod("testSetCount_threeToZero_supported"), getMethod("testSetCount_threeToOne_supported")); } @J2ktIncompatible @GwtIncompatible // reflection
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java
CrawlingInfoService crawlingInfoService = new CrawlingInfoService() { @Override public void deleteBefore(long time) { throw new RuntimeException("Crawling info deletion failed"); } }; SearchLogService searchLogService = new SearchLogService() { @Override public void deleteBefore(int days) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
} // Uses reflection to set internal array to null to exercise defensive branch in length() @Test @DisplayName("length(): handles internal null defensively") void length_handlesNullInternalArray() throws Exception { // Arrange SecurityBlob blob = new SecurityBlob(new byte[] { 1, 2, 3 }); // Force internal field to null via reflection to exercise defensive branch
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
long serverTimeZoneOffset = 3600000L; // 1 hour response = new SmbComQueryInformationResponse(mockConfig, serverTimeZoneOffset); // Set a test time using reflection long testTime = System.currentTimeMillis(); setFieldValue(response, "lastWriteTime", testTime); // All time methods should return the same converted time
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java
return newInputs != null && newOutput != null; } /** * Checks whether this mapping item is marked for deletion. * An item is considered deleted if it has updates pending and the new inputs array is empty. * * @return true if the item is marked for deletion */ public boolean isDeleted() { return isUpdated() && newInputs.length == 0; } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
when(negotiationResponse.isSigningNegotiated()).thenReturn(false); when(negotiationResponse.canReuse(any(CIFSContext.class), anyBoolean())).thenReturn(true); // Use reflection to set the negotiated response Field negotiatedField = SmbTransportImpl.class.getDeclaredField("negotiated"); negotiatedField.setAccessible(true); negotiatedField.set(initial, negotiationResponse);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java
loadBalancer.setStrategy(LoadBalancingStrategy.WEIGHTED_RANDOM); when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2)); // Test multiple selections to ensure it works for (int i = 0; i < 10; i++) { ChannelInfo selected = loadBalancer.selectChannel(mockMessage); assertTrue(Arrays.asList(channel1, channel2).contains(selected)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
@ParameterizedTest @MethodSource("flagsProvider") void verifiesCreateDisposition(int flags, int expected) { SmbComNTCreateAndX req = createRequest(flags, 0); // Use reflection to read the private field createDisposition int actual = (int) getPrivateField(req, "createDisposition"); assertEquals(expected, actual, "createDisposition should match"); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)