Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 148 for getNext (0.06 sec)

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

         * @return the new first entry for the table
         */
        @GuardedBy("this")
        @Nullable E removeFromChain(E first, E entry) {
          int newCount = count;
          E newFirst = entry.getNext();
          for (E e = first; e != entry; e = e.getNext()) {
            E next = copyEntry(e, newFirst);
            if (next != null) {
              newFirst = next;
            } else {
              newCount--;
            }
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 89.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            list.addLast("3");
            SLinkedList<String>.Entry e = list.getFirstEntry();
            assertThat(e.getPrevious(), is(nullValue()));
            assertThat(e.getNext().getElement(), is("2"));
            e = list.getLastEntry();
            assertThat(e.getNext(), is(nullValue()));
            assertThat(e.getPrevious().getElement(), is("2"));
            list.getEntry(1).remove();
            assertThat(list.getFirst(), is("1"));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompactHashing.java

      /** Returns the hash prefix given the current mask. */
      static int getHashPrefix(int value, int mask) {
        return value & ~mask;
      }
    
      /** Returns the index, or 0 if the entry is "null". */
      static int getNext(int entry, int mask) {
        return entry & mask;
      }
    
      /** Returns a new value combining the prefix and suffix using the given mask. */
      static int maskCombine(int prefix, int suffix, int mask) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                assertEquals(second, testMessage.getNext());
                assertEquals(third, second.getNext());
            }
    
            @Test
            @DisplayName("Should set next message")
            void testSetNext() {
                TestServerMessageBlock2 nextMessage = new TestServerMessageBlock2(mockConfig);
                testMessage.setNext(nextMessage);
                assertEquals(nextMessage, testMessage.getNext());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractNavigableMap.java

      @Override
      public @Nullable Entry<K, V> firstEntry() {
        return Iterators.<@Nullable Entry<K, V>>getNext(entryIterator(), null);
      }
    
      @Override
      public @Nullable Entry<K, V> lastEntry() {
        return Iterators.<@Nullable Entry<K, V>>getNext(descendingEntryIterator(), null);
      }
    
      @Override
      public @Nullable Entry<K, V> pollFirstEntry() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/Request.java

         *
         * @return whether this is a cancel request
         */
        boolean isCancel();
    
        /**
         * Gets the next request in the chain.
         *
         * @return chained request
         */
        Request getNext();
    
        /**
         * Gets the response for this request.
         *
         * @return the response for this request
         */
        Response getResponse();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          assertEquals(hashOne, entryOne.getHash());
          assertThat(entryOne.getNext()).isNull();
          assertSame(valueOne, copyOne.getValue());
    
          InternalEntry<Object, Object, ?> copyTwo = segment.copyForTesting(entryTwo, copyOne);
          assertSame(keyTwo, copyTwo.getKey());
          assertEquals(hashTwo, copyTwo.getHash());
          assertSame(copyOne, copyTwo.getNext());
          assertSame(valueTwo, copyTwo.getValue());
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          assertEquals(hashOne, entryOne.getHash());
          assertThat(entryOne.getNext()).isNull();
          assertSame(valueOne, copyOne.getValue());
    
          InternalEntry<Object, Object, ?> copyTwo = segment.copyForTesting(entryTwo, copyOne);
          assertSame(keyTwo, copyTwo.getKey());
          assertEquals(hashTwo, copyTwo.getHash());
          assertSame(copyOne, copyTwo.getNext());
          assertSame(valueTwo, copyTwo.getValue());
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/CommonServerMessageBlockRequest.java

         *
         * @return request was handled asynchronously
         */
        boolean isResponseAsync();
    
        /**
         *
         * @return next chained message
         */
        @Override
        CommonServerMessageBlockRequest getNext();
    
        /**
         * Splits this request for processing.
         *
         * @return the following message
         */
        CommonServerMessageBlockRequest split();
    
        /**
         * Gets the size of this message.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

        }
    
        @Test
        @DisplayName("Test getNext returns null")
        void testGetNext() {
            // Given
            Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L);
    
            // When
            ServerMessageBlock2Request<?> next = request.getNext();
    
            // Then
            assertNull(next, "Cancel requests should not have next requests in chain");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top