Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 747 for negative (0.04 sec)

  1. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

            assertEquals(Integer.MAX_VALUE, negotiationResponse.getReceiveBufferSize());
            assertEquals(Integer.MAX_VALUE, negotiationResponse.getTransactionBufferSize());
    
            // Test negative values (though not typical, should be tested)
            when(negotiationResponse.getSendBufferSize()).thenReturn(-1);
            when(negotiationResponse.getReceiveBufferSize()).thenReturn(-1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            assertEquals(1, config.getChannelBindingPolicy());
        }
    
        @Test
        void testEdgeCaseValues() throws CIFSException {
            Properties props = new Properties();
    
            // Test zero and negative values
            props.setProperty("jcifs.smb.client.maxChannels", "0");
            PropertyConfiguration config = new PropertyConfiguration(props);
            assertEquals(4, config.getMaxChannels()); // Should use default when 0
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbResourceTest.java

                assertEquals(expectedFreeSpace, freeSpace, "Should return correct free space");
                assertTrue(length >= 0, "Length should be non-negative");
                assertTrue(freeSpace >= 0, "Free space should be non-negative");
            }
    
            @Test
            @DisplayName("fileIndex should return valid index")
            void testFileIndex() throws CIFSException {
                // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  4. internal/hash/crc.go

    // and len2 specifies the byte length that the crc2 hash covers.
    func crc32Combine(poly uint32, crc1, crc2 uint32, len2 int64) uint32 {
    	// degenerate case (also disallow negative lengths)
    	if len2 <= 0 {
    		return crc1
    	}
    
    	even := make([]uint64, 32) // even-power-of-two zeros operator
    	odd := make([]uint64, 32)  // odd-power-of-two zeros operator
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedInts.java

    import java.util.Arrays;
    import java.util.Comparator;
    
    /**
     * Static utility methods pertaining to {@code int} primitives that interpret values as
     * <i>unsigned</i> (that is, any negative value {@code x} is treated as the positive value {@code
     * 2^32 + x}). The methods for which signedness is not an issue are in {@link Ints}, as well as
     * signed versions of methods for which signedness is an issue.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Feb 09 16:22:33 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. pom.xml

    						<include>**/*TestSuite.java</include>
    					</includes>
    					<systemPropertyVariables>
    						<networkaddress.cache.ttl>-1</networkaddress.cache.ttl>
    						<networkaddress.cache.negative.ttl>-1</networkaddress.cache.negative.ttl>
    					</systemPropertyVariables>
    					<useSystemClassLoader>false</useSystemClassLoader>
    					<useModulePath>false</useModulePath>
    					<forkCount>1</forkCount>
    					<reuseForks>true</reuseForks>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java

     * This is only necessary for default components using @Typed that want to support overriding.
     *
     * As a non-default component this now gets a negative priority relative to other implementations
     * of the same interface. Since we want to allow overriding this doesn't matter in this case.
     * (if it did we could add @Priority of 0 to match the priority given to default components.)
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

            }
    
            @Test
            @DisplayName("Should throw exception on negative index")
            void testEncodeWithNegativeIndex() {
                assertThrows(IllegalArgumentException.class, () -> testRequest.encode(testBuffer, -1),
                        "Should throw exception for negative index");
            }
    
            @Test
            @DisplayName("Should throw exception on buffer overflow")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/LinkedHashMultiset.java

       * elements.
       *
       * @param distinctElements the expected number of distinct elements
       * @throws IllegalArgumentException if {@code distinctElements} is negative
       */
      public static <E extends @Nullable Object> LinkedHashMultiset<E> create(int distinctElements) {
        return new LinkedHashMultiset<>(distinctElements);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

        @Test
        @DisplayName("Test decode throws exception with negative length")
        void testDecodeThrowsExceptionWithNegativeLength() {
            byte[] buffer = new byte[28];
    
            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.decode(buffer, 0, -1),
                    "Should throw exception when length is negative");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top