- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 310 for negate (0.03 sec)
-
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
readParams.setAccessible(true); assertEquals(0, readParams.invoke(cancel, emptyArray, 0)); } @Test @DisplayName("Should handle negative MID values") void testWithNegativeMid() throws Exception { // Given Configuration config = mock(Configuration.class); when(config.getPid()).thenReturn(12345);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
assertEquals("share$", result.getShare()); assertEquals("path", result.getPath()); } @Test @DisplayName("Should handle negative expiration times") void testNegativeExpiration() { when(mockReferral.getTtl()).thenReturn(300); when(mockReferral.getRFlags()).thenReturn(0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
fail(); } catch (NumberFormatException expected) { } catch (IllegalArgumentException expected) { // Kotlin native, see above } // The radix is used as an array index, so try a negative value. try { UnsignedInts.parseUnsignedInt("0", -1); fail(); } catch (NumberFormatException expected) { } catch (IllegalArgumentException expected) { // Kotlin native, see above
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterators.java
* @throws IllegalArgumentException if {@code limitSize} is negative * @since 3.0 */ public static <T extends @Nullable Object> Iterator<T> limit( Iterator<T> iterator, int limitSize) { checkNotNull(iterator); checkArgument(limitSize >= 0, "limit is negative"); return new Iterator<T>() { private int count; @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 12:42:11 UTC 2025 - 51.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
throw new IllegalArgumentException("Data buffer cannot be null"); } if (offset < 0 || length < 0) { throw new IllegalArgumentException("Offset and length must be non-negative"); } if (offset + length > data.length) { throw new IllegalArgumentException("Offset + length exceeds data buffer size"); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.Nullable; /** * Tests {@link MapTestSuiteBuilder} by using it against maps that have various negative behaviors. * * @author George van den Driessche */ @AndroidIncompatible // test-suite builders public final class MapTestSuiteBuilderTests extends TestCase { private MapTestSuiteBuilderTests() {}Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu May 22 16:18:11 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
* @return a new, empty {@code CompactLinkedHashMap} with enough capacity to hold {@code * expectedSize} elements without resizing * @throws IllegalArgumentException if {@code expectedSize} is negative */ public static <K extends @Nullable Object, V extends @Nullable Object> CompactLinkedHashMap<K, V> createWithExpectedSize(int expectedSize) { return new CompactLinkedHashMap<>(expectedSize); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 14:59:07 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
assertEquals(Integer.MAX_VALUE, response.getCount()); assertEquals(Integer.MAX_VALUE, response.getRemaining()); } @Test @DisplayName("Should handle negative values as unsigned") void testNegativeValuesAsUnsigned() throws SMBProtocolDecodingException { byte[] buffer = new byte[64]; SMBUtil.writeInt2(17, buffer, 0); // Structure size
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayTable.java
* @param columnIndex position of the row key in {@link #columnKeyList()} * @return the value with the specified row and column * @throws IndexOutOfBoundsException if either index is negative, {@code rowIndex} is greater than * or equal to the number of allowed row keys, or {@code columnIndex} is greater than or equal * to the number of allowed column keys */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 26.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
* This is either a mapping decision or the length of the mapped output, according to this table: * * ``` * 0..63 : Length of the UTF-16 sequence that this range maps to. The offset is b2b3. * 64..79 : Offset by a fixed negative offset. The bottom 4 bits of b1 are the top 4 bits of the offset. * 80..95 : Offset by a fixed positive offset. The bottom 4 bits of b1 are the top 4 bits of the offset. * 119 : Ignored. * 120 : Valid.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 9K bytes - Viewed (0)