Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 404 for negation (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                assertThrows(ArrayIndexOutOfBoundsException.class, () -> response.readBytesWireFormat(buffer, 9) // Not enough space to read 2 bytes
                );
            }
    
            @Test
            @DisplayName("Should handle negative values as unsigned")
            void testReadBytesWireFormatNegativeAsUnsigned() {
                // Given
                byte[] buffer = new byte[10];
                // Write -1 which will be read as 65535 unsigned
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. docs/debugging/inspect/export.go

    	}
    	versions, buf, e = msgp.ReadIntBytes(buf)
    	if e != nil {
    		return 0, buf, e
    	}
    	if versions < 0 {
    		return 0, buf, fmt.Errorf("decodeXLHeaders: Negative version count %d", versions)
    	}
    	return versions, buf, nil
    }
    
    // decodeVersions will decode a number of versions from a buffer
    // and perform a callback for each version in order, newest first.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 17 19:38:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
      public void testOverflowTimeout() throws Exception {
        // First, sanity check that naive multiplication would really overflow to a negative number:
        long nanosPerSecond = NANOSECONDS.convert(1, SECONDS);
        assertThat(nanosPerSecond * Long.MAX_VALUE).isLessThan(0L);
    
        // Check that we wait long enough anyway (presumably as long as MAX_VALUE nanos):
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dtyp/ACETest.java

                0x00100000, // SYNCHRONIZE
                0x10000000, // GENERIC_ALL
                0x20000000, // GENERIC_EXECUTE
                0x40000000, // GENERIC_WRITE
                0x80000000 // GENERIC_READ (as int will be negative)
        })
        void testVariousAccessMaskValues(int accessMask) {
            ace.access = accessMask;
            assertEquals(accessMask, ace.getAccessMask());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            if (expectEqual) {
                assertEquals(hA, hB);
                assertEquals(hA.hashCode(), hB.hashCode());
            } else {
                assertNotEquals(hA, hB);
            }
    
            // Test negative case with different tree id handles
            SmbTreeHandleImpl tC = mock(SmbTreeHandleImpl.class);
            lenient().when(tC.acquire()).thenReturn(tC);
            lenient().when(tC.getTreeId()).thenReturn(treeId + 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. cmd/bucket-listobjects-handlers.go

    //     the request is rejected.
    func validateListObjectsArgs(prefix, marker, delimiter, encodingType string, maxKeys int) APIErrorCode {
    	// Max keys cannot be negative.
    	if maxKeys < 0 {
    		return ErrInvalidMaxKeys
    	}
    
    	if encodingType != "" {
    		// AWS S3 spec only supports 'url' encoding type
    		if !strings.EqualFold(encodingType, "url") {
    			return ErrInvalidEncodingMethod
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 03 21:03:04 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMultimap.java

       * generated builder is equivalent to that returned by {@link #builder}, but may perform better if
       * {@code expectedKeys} is a good estimate.
       *
       * @throws IllegalArgumentException if {@code expectedKeys} is negative
       * @since 33.3.0
       */
      public static <K, V> Builder<K, V> builderWithExpectedKeys(int expectedKeys) {
        checkNonnegative(expectedKeys, "expectedKeys");
        return new Builder<>(expectedKeys);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

        }
    
        public void test_selectList_negativeOffset() {
            loadTestData();
    
            DictionaryFile.PagingList<StopwordsItem> result = stopwordsFile.selectList(-1, 2);
            // Negative offset is treated as 0
            assertTrue(result.size() >= 0);
            assertEquals(1, result.getCurrentPageNumber()); // Default page 1
            assertEquals(2, result.getPageSize());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  9. src/archive/tar/common.go

    	// the BSD tar utility.
    	if size < 0 {
    		return false
    	}
    	var pre sparseEntry
    	for _, cur := range sp {
    		switch {
    		case cur.Offset < 0 || cur.Length < 0:
    			return false // Negative values are never okay
    		case cur.Offset > math.MaxInt64-cur.Length:
    			return false // Integer overflow with large length
    		case cur.endOffset() > size:
    			return false // Region extends beyond the actual size
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        // Test command timeout edge cases
        public void test_timeout_values() throws Exception {
            // Test zero timeout
            generator.setCommandTimeout(0L);
            assertTrue(true);
    
            // Test negative timeout
            generator.setCommandTimeout(-1L);
            assertTrue(true);
    
            // Test very large timeout
            generator.setCommandTimeout(Long.MAX_VALUE);
            assertTrue(true);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
Back to top