- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,012 for next (0.01 sec)
-
src/test/java/jcifs/EmptyIteratorTest.java
assertFalse(iterator3.hasNext(), "Third instance should have no elements"); assertNull(iterator1.next(), "First instance next() should return null"); assertNull(iterator2.next(), "Second instance next() should return null"); assertNull(iterator3.next(), "Third instance next() should return null"); } catch (CIFSException e) { throw new RuntimeException(e); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/smb/FileEntryAdapterIterator.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
// Given Trans2FindNext2 next = new Trans2FindNext2(0x0101, 0, "name"); byte[] buf = new byte[16]; // When/Then assertEquals(0, next.readSetupWireFormat(buf, 0, buf.length)); assertEquals(0, next.readParametersWireFormat(buf, 0, buf.length)); assertEquals(0, next.readDataWireFormat(buf, 0, buf.length)); assertEquals(0, next.writeDataWireFormat(buf, 0)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
SmbResource result = iterator.next(); assertNotNull(result, "Should still be able to get element"); assertEquals("file1.txt", result.getName()); assertFalse(iterator.hasNext(), "Should not have more elements"); // Verify delegate.next() was only called once verify(mockDelegate, times(1)).next(); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/ShareEnumIterator.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
assertTrue(cycle.hasNext()); assertEquals("a", cycle.next()); cycle.remove(); assertEquals(singletonList("b"), iterable); assertTrue(cycle.hasNext()); assertEquals("b", cycle.next()); assertTrue(cycle.hasNext()); assertEquals("b", cycle.next()); cycle.remove(); assertEquals(emptyList(), iterable); assertFalse(cycle.hasNext()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
@Override @ParametricNullness public T next() { T next = iterator.next(); iterator.remove(); return next; } @Override public String toString() { return "Iterators.consumingIterator(...)"; } }; } /** * Deletes and returns the next value from the iterator, or returns {@code null} if there is no
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 50.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/NetServerEnumIterator.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
FileEntry entry3 = mock(FileEntry.class); // Constructor gets entry1, first next() returns it and gets entry2, // second next() returns entry2 and gets entry3, // third next() returns entry3 and exhausts when(delegate.hasNext()).thenReturn(true, true, true, false); when(delegate.next()).thenReturn(entry1, entry2, entry3); TestIterator iterator = new TestIterator(null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0)