- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 738 for ZERO (0.02 sec)
-
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) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
} @Test public void hasMoreElements_errorCodeNonZero_returnsFalse() { DummyResponse d = new DummyResponse(); d.setErrorCode(123); // non-zero error assertFalse(d.hasMoreElements(), "errorCode non-zero overrides hasMore flag"); } @Test public void nextElement_firstCall_flipsIsPrimary() { DummyResponse d = new DummyResponse();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
for (int i = 0; i < 24; i++) { assertEquals((byte) (i + 1), resumeKey[i], "Resume key byte " + i + " should match"); } } @Test @DisplayName("Test decode with non-zero buffer offset") void testDecodeWithOffset() throws SMBProtocolDecodingException { // Prepare test data with offset byte[] buffer = new byte[100]; int offset = 50;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EvictingQueue.java
* * <p>When {@code maxSize} is zero, elements will be evicted immediately after being added to the * queue. */ public static <E> EvictingQueue<E> create(int maxSize) { return new EvictingQueue<>(maxSize); } /** * Returns the number of additional elements that this queue can accept without evicting; zero if * the queue is currently full. * * @since 16.0 */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.6K bytes - Viewed (0) -
guava/src/com/google/common/math/DoubleUtils.java
long bits = (long) (exponent + EXPONENT_BIAS) << SIGNIFICAND_BITS; bits += signifRounded; /* * If signifRounded == 2^53, we'd need to set all of the significand bits to zero and add 1 to * the exponent. This is exactly the behavior we get from just adding signifRounded to bits * directly. If the exponent is MAX_DOUBLE_EXPONENT, we round up (correctly) to * Double.POSITIVE_INFINITY.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/NtlmFlags.java
* signing and sealing authenticated communication. */ int NTLMSSP_NEGOTIATE_LM_KEY = 0x00000080; /** * ??? According to spec this is a reserved bit and must be set to zero */ int NTLMSSP_NEGOTIATE_NETWARE = 0x00000100; /** * Indicates support for NTLM authentication. */ int NTLMSSP_NEGOTIATE_NTLM = 0x00000200; /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0) -
utils/utils_test.go
trimLen: 3, expected: []int{}, }, { name: "Trim length greater than slice length", input: []int{1, 2, 3}, trimLen: 5, expected: []int{}, }, { name: "Zero trim length", input: []int{1, 2, 3}, trimLen: 0, expected: []int{1, 2, 3}, }, { name: "Trim one element from end", input: []int{1, 2, 3}, trimLen: 1,Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java
SmbComLogoffAndX msg = new SmbComLogoffAndX(null); assertEquals(0, msg.writeParameterWordsWireFormat(new byte[10], index), "Expected zero returned regardless of index"); assertEquals(0, msg.writeParameterWordsWireFormat(null, index), "Expected zero even when dst array is null"); } @ParameterizedTest @ValueSource(ints = { 0, 3, 9, -5 }) @DisplayName("writeBytesWireFormat always returns 0")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
schema/field.go
v = v.Elem() } else { return nil, true } } } fv, zero := v.Interface(), v.IsZero() return fv, zero } } if field.Serializer != nil { oldValuerOf := field.ValueOf field.ValueOf = func(ctx context.Context, v reflect.Value) (interface{}, bool) { value, zero := oldValuerOf(ctx, v) s, ok := value.(SerializerValuerInterface) if !ok {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Aug 20 04:51:17 UTC 2025 - 32K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt
* Each connection can carry a varying number of streams, depending on the underlying protocol being * used. HTTP/1.x connections can carry either zero or one streams. HTTP/2 connections can carry any * number of streams, dynamically configured with `SETTINGS_MAX_CONCURRENT_STREAMS`. A connection * currently carrying zero streams is an idle stream. We keep it alive because reusing an existing * connection is typically faster than establishing a new one. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.3K bytes - Viewed (0)