- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 222 for SECOND (0.02 sec)
-
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
assertEquals("file1.txt", first.getName()); assertTrue(iterator.hasNext(), "Should have second element"); SmbResource second = iterator.next(); assertNotNull(second, "Second element should not be null"); assertEquals("file2.txt", second.getName()); assertTrue(iterator.hasNext(), "Should have third element"); SmbResource third = iterator.next();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
Subject first = auth.getSubject(); // Second call should return cached value (same as first) Subject second = auth.getSubject(); if (first == null && second == null) { // Both null - caching is working assertNull(second, "Second getSubject should return same result as first (both null)"); } else if (first != null && second != null) { // Both non-null - should be same instance
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
assertEquals(second, third.next()); assertEquals(referralData, second.next()); } @Test @DisplayName("Should handle next() correctly") void testNext() { DfsReferralDataImpl second = new DfsReferralDataImpl(); referralData.append(second); DfsReferralDataImpl next = referralData.next(); assertSame(second, next); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
if (first == null) { actionWhenFirstParamIsNull.act(); } if (second == null) { actionWhenSecondParamIsNull.act(); } } /** Two-arg method with no Nullable params. */ public void normalNormal(String first, Integer second) { reactToNullParameters(first, second); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 47.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
TestCallable secondCallable = new TestCallable(SettableFuture.create()); Future<?> second = serializer.submitAsync(secondCallable, directExecutor()); assertThat(secondCallable.called).isFalse(); assertThat(second.toString()).contains(secondCallable.toString()); firstFuture.set(null); assertThat(second.toString()).contains(secondCallable.future.toString()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 01:35:55 UTC 2025 - 16.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
implements Serializable { final Converter<A, B> first; final Converter<B, C> second; ConverterComposition(Converter<A, B> first, Converter<B, C> second) { this.first = first; this.second = second; } /* * These gymnastics are a little confusing. Basically this class has neither legacy norRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 21:43:06 UTC 2025 - 22.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
lock2 = factory2.newReentrantLock(MyOrder.SECOND); lock3 = factory2.newReentrantLock(MyOrder.THIRD); CycleDetectingLockFactory.WithExplicitOrdering<OtherOrder> factory3 = newInstanceWithExplicitOrdering(OtherOrder.class, Policies.THROW); lock01 = factory3.newReentrantLock(OtherOrder.FIRST); lock02 = factory3.newReentrantLock(OtherOrder.SECOND); lock03 = factory3.newReentrantLock(OtherOrder.THIRD); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
ByteBuffer buffer = ByteBuffer.allocate(200); buffer.order(ByteOrder.LITTLE_ENDIAN); // First notification with nextEntryOffset pointing to second int secondOffset = 48; buffer.putInt(secondOffset); // nextEntryOffset to second entry buffer.putInt(FileNotifyInformation.FILE_ACTION_ADDED); String fileName1 = "first.txt"; byte[] fileNameBytes1 = fileName1.getBytes("UTF-16LE");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
* that would have been produced in that idle time). So, if rate == 1 permit per second, and * arrivals come exactly one second after the previous, then storedPermits is _never_ increased -- * we would only increase it for arrivals _later_ than the expected one second. */ /** * This implements the following function where coldInterval = coldFactor * stableInterval. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 19.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/MoreObjects.java
* @since 18.0 (since 3.0 as {@code Objects.firstNonNull()}). */ public static <T> T firstNonNull(@Nullable T first, @Nullable T second) { if (first != null) { return first; } if (second != null) { return second; } throw new NullPointerException("Both parameters are null"); } /** * Creates an instance of {@link ToStringHelper}. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.1K bytes - Viewed (0)