- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 839 for Zero (0.03 sec)
-
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
// Verify completion filter assertEquals(Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_FILE_NAME, SMBUtil.readInt4(buffer, offset + 24)); // Verify reserved field is zero assertEquals(0, SMBUtil.readInt4(buffer, offset + 28)); } @Test @DisplayName("Should read empty bytes from wire format") void testReadBytesWireFormat() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java
// Create channels with zero scores (failed state) channel1.setState(ChannelState.FAILED); channel2.setState(ChannelState.FAILED); when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2)); // Should still select a channel even with zero scores ChannelInfo selected = loadBalancer.selectChannel(mockMessage);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
/** Test an empty collection. */ ZERO(0), /** Test a one-element collection. */ ONE(1), /** Test a three-element collection. */ SEVERAL(3), /* * TODO: add VERY_LARGE, noting that we currently assume that the fourth * sample element is not in any collection */ ANY(ZERO, ONE, SEVERAL); private final Set<Feature<? super Collection>> implied;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FakeTicker.java
return advance(duration.toNanos()); } /** * Sets the increment applied to the ticker whenever it is queried. * * <p>The default behavior is to auto increment by zero. i.e: The ticker is left unchanged when * queried. */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
/** Test an empty collection. */ ZERO(0), /** Test a one-element collection. */ ONE(1), /** Test a three-element collection. */ SEVERAL(3), /* * TODO: add VERY_LARGE, noting that we currently assume that the fourth * sample element is not in any collection */ ANY(ZERO, ONE, SEVERAL); private final Set<Feature<? super Collection>> implied;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Strings.java
* * @param string the string which should appear at the end of the result * @param minLength the minimum length the resulting string must have. Can be zero or negative, in * which case the input string is always returned. * @param padChar the character to insert at the beginning of the result until the minimum length * is reached * @return the padded string
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 27 17:53:41 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
} public void test_getNewInputs_setNewInputs() { String[] inputs = { "old" }; CharMappingItem item = new CharMappingItem(1L, inputs, "output"); // Initially null for non-zero id assertNull(item.getNewInputs()); // Set new inputs String[] newInputs = { "new1", "new2" }; item.setNewInputs(newInputs); assertNotNull(item.getNewInputs());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
assertNotNull(result); assertTrue(result.startsWith("NtTransQuerySecurityResponse[")); assertTrue(result.endsWith("]")); } @Test @DisplayName("Test readParametersWireFormat with zero nextEntryOffset stops iteration") void testReadParametersWireFormatZeroNextEntryOffset() throws Exception { ByteBuffer buffer = ByteBuffer.allocate(200); buffer.order(ByteOrder.LITTLE_ENDIAN);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
log.debug(Hexdump.toHexString(buffer, bufferIndex, len)); } throw new RuntimeCIFSException("zero termination not found"); } } return len; } /** * Decodes a string from OEM-encoded bytes. * * @param src the byte array containing the encoded string
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/internal/CommonServerMessageBlockRequestTest.java
int result = request.size(); // Then assertEquals(expectedSize, result); verify(request, times(1)).size(); } @Test @DisplayName("Test size returns zero for empty message") void testSizeReturnsZero() { // Given when(request.size()).thenReturn(0); // When int result = request.size(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0)