- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for forceJdk (0.05 sec)
-
guava/src/com/google/common/collect/ImmutableSet.java
impl = EmptySetBuilderImpl.instance(); } } Builder(@SuppressWarnings("unused") boolean subclass) { this.impl = null; // unused } @VisibleForTesting void forceJdk() { requireNonNull(impl); // see the comment on the field this.impl = new JdkBackedSetBuilderImpl<>(impl); } final void copyIfNecessary() { if (forceCopy) { copy();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 07 16:09:47 UTC 2025 - 35.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
* Share flag indicating that exclusive opens are restricted on this share. */ public static final int SMB2_SHAREFLAG_RESTRICT_EXCLUSIVE_OPENS = 0x100; /** * Share flag indicating that shared delete is forced for this share. */ public static final int SMB2_SHAREFLAG_FORCE_SHARED_DELETE = 0x200; /** * Share flag indicating that namespace caching is allowed on this share. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java
@Override public ImmutableBiMap<Object, Object> create(List<Entry<?, ?>> entries) { return ImmutableBiMap.builder().putAll(entries).buildOrThrow(); } }, FORCE_JDK { @Override public ImmutableBiMap<Object, Object> create(List<Entry<?, ?>> entries) { return ImmutableBiMap.builder().putAll(entries).buildJdkBacked(); } };Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 19:11:14 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java
} @Test void acceptPropagatesException() { SmbFile dir = Mockito.mock(SmbFile.class); SmbFilenameFilter filter = (d, n) -> { throw new SmbException("forced exception"); }; Exception e = assertThrows(Exception.class, () -> filter.accept(dir, "any")); assertTrue(e instanceof SmbException); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K 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/SMBProtocolDowngradeExceptionTest.java
// Arrange - mock cause to verify no interactions are needed to construct Throwable cause = Mockito.mock(Throwable.class); String message = "forced downgrade detected"; // Act SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(message, cause); // Assert - fields preserved assertSame(cause, ex.getCause());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
throw new UnsupportedOperationException(); } /** * {@inheritDoc} * * <p>This implementation of {@code getAllPresent} lacks any insight into the internal cache data * structure, and is thus forced to return the query keys instead of the cached keys. This is only * possible with an unsafe cast which requires {@code keys} to actually be of type {@code K}. * * @since 11.0 */ /*
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/PatternFilenameFilter.java
* return type is plain FilenameFilter. If we made such a change, then the annotation we choose * here would have no significance to end users, who would be forced to conform to the signature * used in FilenameFilter.) */ @Override public boolean accept(File dir, String fileName) { return pattern.matcher(fileName).matches(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.7K bytes - Viewed (1) -
src/main/java/jcifs/internal/SmbNegotiationResponse.java
/** * Checks whether a connection can be reused for the given configuration. * * @param tc the CIFS context to check compatibility with * @param forceSigning whether signing is being forced * @return whether a connection can be reused for this config */ boolean canReuse(CIFSContext tc, boolean forceSigning);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/cache/AbstractCache.java
throw new UnsupportedOperationException(); } /** * {@inheritDoc} * * <p>This implementation of {@code getAllPresent} lacks any insight into the internal cache data * structure, and is thus forced to return the query keys instead of the cached keys. This is only * possible with an unsafe cast which requires {@code keys} to actually be of type {@code K}. * * @since 11.0 */ /*
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0)