Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for getNext (0.07 sec)

  1. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

        }
    
        @Test
        @DisplayName("Test getNext returns null when no chained message")
        void testGetNextWithNoChainedMessage() {
            // Given
            when(request.getNext()).thenReturn(null);
    
            // When
            CommonServerMessageBlockRequest result = request.getNext();
    
            // Then
            assertNull(result);
            verify(request, times(1)).getNext();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

            }
    
            @Test
            @DisplayName("getNext should return next request")
            void testGetNext() {
                TestServerMessageBlock2Request nextRequest = new TestServerMessageBlock2Request(mockConfig);
                testRequest.setNext(nextRequest);
    
                ServerMessageBlock2Request<?> result = testRequest.getNext();
    
                assertSame(nextRequest, result);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/RequestTest.java

        @DisplayName("Test Request methods inherited from CommonServerMessageBlockRequest")
        void testInheritedMethods() {
            // Given
            when(request.isResponseAsync()).thenReturn(true);
            when(request.getNext()).thenReturn(nextRequest);
            when(request.split()).thenReturn(nextRequest);
            when(request.allowChain(nextRequest)).thenReturn(true);
            when(request.createCancel()).thenReturn(nextRequest);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashSet.java

            if (CompactHashing.getHashPrefix(entry, mask) == hashPrefix
                && Objects.equals(object, elements[entryIndex])) {
              return false;
            }
            next = CompactHashing.getNext(entry, mask);
            bucketLength++;
          } while (next != UNSET);
    
          if (bucketLength >= MAX_HASH_BUCKET_LENGTH) {
            return convertToHashFloodingResistantImplementation().add(object);
          }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          assertEquals(hashOne, entryOne.getHash());
          assertNull(entryOne.getNext());
          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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          assertEquals(hashOne, entryOne.getHash());
          assertNull(entryOne.getNext());
          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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactHashMap.java

              V oldValue = (V) values[entryIndex];
    
              values[entryIndex] = value;
              accessEntry(entryIndex);
              return oldValue;
            }
            next = CompactHashing.getNext(entry, mask);
            bucketLength++;
          } while (next != UNSET);
    
          if (bucketLength >= MAX_HASH_BUCKET_LENGTH) {
            return convertToHashFloodingResistantImplementation().put(key, value);
          }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/transport/Transport.java

                Response curResp = response;
                Request curReq = request;
                while (curResp != null) {
                    this.response_map.remove(curResp.getMid());
                    final Request next = curReq.getNext();
                    if (next == null) {
                        break;
                    }
                    curReq = next;
                    curResp = next.getResponse();
                }
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
Back to top