- Sort Score
- Result 10 results
- Languages All
Results 1081 - 1090 of 4,619 for _new (0.02 sec)
-
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
public void testCancel_interrupted() throws Exception { AtomicBoolean interruptedExceptionThrown = new AtomicBoolean(); CountDownLatch enterLatch = new CountDownLatch(1); CountDownLatch exitLatch = new CountDownLatch(1); TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create( new Callable<Integer>() { @Override public Integer call() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
*/ @Test void testAvSingleHostCustomDataMachineIdConstructor() { byte[] customData = new byte[8]; customData[0] = 0x01; customData[7] = 0x08; byte[] machineId = new byte[32]; machineId[0] = 0x10; machineId[31] = 0x20; AvSingleHost avSingleHost = new AvSingleHost(customData, machineId); assertNotNull(avSingleHost);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
class PacTest { private Map<Integer, KerberosKey> keys; @BeforeEach void setUp() { keys = new HashMap<>(); // Use ARCFOUR-HMAC encryption type (23) which matches KERB_CHECKSUM_HMAC_MD5 KerberosKey serverKey = new KerberosKey(new KerberosPrincipal("******@****.***"), "serverKey1234567".getBytes(), PacSignature.ETYPE_ARCFOUR_HMAC, 1);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
SmbException ex = new SmbException(0, root); assertSame(root, ex.getRootCause()); } /** * Verify that the string-ctor sets status to {@code NT_STATUS_UNSUCCESSFUL}. */ @Test @DisplayName("String constructor sets NT_STATUS_UNSUCCESSFUL status") void testStringConstructor() { SmbException ex = new SmbException("custom message");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(ForwardingSortedMultisetTest.class); suite.addTest( SortedMultisetTestSuiteBuilder.using( new TestStringMultisetGenerator() { @Override protected Multiset<String> create(String[] elements) { return new StandardImplForwardingSortedMultiset<>(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
ListenableFuture<String> f = new SimpleForwardingListenableFuture<String>(immediateFuture("a")) {}; verify(!(f instanceof FluentFuture)); assertThat(FluentFuture.from(f).get()).isEqualTo("a"); // TODO(cpovirk): Test forwarding more extensively. } public void testAddCallback() { FluentFuture<String> f = FluentFuture.from(immediateFuture("a")); boolean[] called = new boolean[1]; f.addCallback(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
} @Test void testHasDefaultCredentials_withNull() { context = new TestAbstractCIFSContext(null); // Test with null credentials assertFalse(context.hasDefaultCredentials()); } @Test void testRenewCredentials() { assertFalse(context.renewCredentials("someLocation", new Exception("someError"))); } @Test void testClose() throws CIFSException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectPreconditions.java
if (key == null) { throw new NullPointerException("null key in entry: null=" + value); } else if (value == null) { throw new NullPointerException("null value in entry: " + key + "=null"); } } @CanIgnoreReturnValue static int checkNonnegative(int value, String name) { if (value < 0) { throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java
private static final CacheLoader<Key, String> KEY_TO_STRING_LOADER = new CacheLoader<Key, String>() { @Override public String load(Key key) { return key.toString(); } }; private CacheBuilderFactory factoryWithAllKeyStrengths() { return new CacheBuilderFactory() .withKeyStrengths(ImmutableSet.of(STRONG, Strength.WEAK))
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
private CIFSContext transportContext; @Override public void init() throws ServletException { final StringBuilder sb = new StringBuilder(); final byte[] buf = new byte[1024]; int n; String name; final Properties p = new Properties(); p.putAll(System.getProperties()); p.setProperty("jcifs.smb.client.soTimeout", "600000");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0)