- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 474 for negation (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
// When & Then assertThrows(ArrayIndexOutOfBoundsException.class, () -> response.readBytesWireFormat(buffer, 0)); } @Test @DisplayName("Should handle negative structure size as unsigned") void testReadBytesWireFormatNegativeAsUnsigned() { // Given byte[] buffer = new byte[10]; // Write -1 which will be read as 65535 unsignedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java
.toList(); private Impl(int maxCountLimit, Predicate<? super P> filter) { if (maxCountLimit < 0) { throw new IllegalArgumentException("maxCountLimit must be non-negative"); } this.maxCountLimit = maxCountLimit; this.totalCount = new AtomicInteger(); this.counters = new ConcurrentHashMap<>();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jul 18 17:30:19 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemBoundaryTest.java
} @Test public void test_negativeFrequencies() { String[] text = { "test" }; String[][] readings = { { "test" } }; // Negative frequencies might be allowed (though unusual) SuggestItem item = new SuggestItem(text, readings, null, -1L, -1L, 1.0f, null, null, null, SuggestItem.Kind.QUERY); assertEquals(-1L, item.getDocFreq());Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Jan 17 05:10:37 GMT 2026 - 22.2K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
assertEquals(0, request.threshold()); } @Test public void testThresholdWithNegative() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); // Negative threshold should be accepted (though may not make sense) request.threshold(-1); assertEquals(-1, request.threshold()); } @Test public void testThresholdWithLargeValue() {Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 24.7K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Ordering.java
* thisComparator))} instead. * * @return an immutable {@code RandomAccess} list of the {@code k} least elements in ascending * order * @throws IllegalArgumentException if {@code k} is negative * @since 8.0 */ public <E extends T> List<E> leastOf(Iterable<E> iterable, int k) { if (iterable instanceof Collection) { Collection<E> collection = (Collection<E>) iterable;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 39.4K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (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() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 11.2K bytes - Click Count (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); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 14:59:07 GMT 2025 - 8.4K bytes - Click Count (0)