Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,481 for iteration (0.04 sec)

  1. android/guava/src/com/google/common/collect/RangeSet.java

       *
       * @throws UnsupportedOperationException if this range set does not support the {@code add}
       *     operation
       */
      void add(Range<C> range);
    
      /**
       * Removes the specified range from this {@code RangeSet} (optional operation). After this
       * operation, if {@code range.contains(c)}, {@code this.contains(c)} will return {@code false}.
       *
       * <p>If {@code range} is empty, this is a no-op.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

    import jcifs.context.BaseContext;
    import jcifs.smb.SmbTransportInternal;
    
    /**
     * Integration tests for RDMA functionality.
     *
     * This class contains both unit tests (that always run) and integration tests
     * (that require system properties to be set for execution).
     *
     * Integration tests require system properties:
     * - rdma.test.enabled=true (to enable RDMA integration tests)
     * - rdma.test.server=hostname/IP (target server for testing)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

          }
          return result.intValue();
        }
    
        @Override
        public UnmodifiableIterator<C> iterator() {
          return new AbstractIterator<C>() {
            final Iterator<Range<C>> rangeItr = ranges.iterator();
            Iterator<C> elemItr = emptyIterator();
    
            @Override
            protected @Nullable C computeNext() {
              while (!elemItr.hasNext()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/UnmodifiableIterator.java

    import com.google.errorprone.annotations.DoNotCall;
    import java.util.Iterator;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An iterator that does not support {@link #remove}.
     *
     * <p>{@code UnmodifiableIterator} is used primarily in conjunction with implementations of {@link
     * ImmutableCollection}, such as {@link ImmutableList}. You can, however, convert an existing
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

        void defaultConstructor_setsExpectedMessage_andNoCause() {
            // Arrange & Act
            SmbUnsupportedOperationException ex = new SmbUnsupportedOperationException();
    
            // Assert
            assertEquals("Operation is not supported with the negotiated capabilities", ex.getMessage(),
                    "Default message should match the class contract");
            assertNull(ex.getCause(), "No cause expected from default constructor");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

              final Method getAllStatesMethod =
                  getOnlyElement(asList(ConcurrentlyMutatedList.class.getDeclaredMethods()));
    
              final Iterator<ListFrobber> remainingActions = actionsToPerformConcurrently.iterator();
    
              final Set<List<Integer>> allStates = new HashSet<>();
    
              @Override
              public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

            };
    
            // When/Then
            assertFalse(iterator.hasNext(), "Should not have next when advance returns null");
            // The iterator returns null when no elements, doesn't throw exception
            assertNull(iterator.next(), "Should return null when no next element");
        }
    
        /**
         * Test multiple iterations with mixed filtering results.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/UnmodifiableListIterator.java

      protected UnmodifiableListIterator() {}
    
      /**
       * Guaranteed to throw an exception and leave the underlying data unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final void add(@ParametricNullness E e) {
        throw new UnsupportedOperationException();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            });
    
            // When: Create iterator with rejecting filter
            NetServerEnumIterator iterator = new NetServerEnumIterator(parent, treeHandle, "*", 0, nameFilter);
    
            // Then: Iterator should have no elements
            assertFalse(iterator.hasNext());
    
            // Cleanup
            iterator.close();
        }
    
        @Test
        @DisplayName("Iterator should handle filter that throws CIFSException")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableList.java

        }
        return new RegularImmutableList<E>(elements, length);
      }
    
      ImmutableList() {}
    
      // This declaration is needed to make List.iterator() and
      // ImmutableCollection.iterator() consistent.
      @Override
      public UnmodifiableIterator<E> iterator() {
        return listIterator();
      }
    
      @Override
      public UnmodifiableListIterator<E> listIterator() {
        return listIterator(0);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
Back to top