Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 373 for negation (0.05 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

        class EdgeCasesTests {
    
            @Test
            @DisplayName("Should handle negative time values")
            void testNegativeTimeValues() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[60];
                SMBUtil.writeInt2(60, buffer, 0);
    
                // Write negative times (as they would appear in the buffer)
                SMBUtil.writeInt8(-1L, buffer, 8);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

            byte[] dst = new byte[1024];
            int result = setupAndX.writeBytesWireFormat(dst, 0);
    
            // Verify that data was written
            assertTrue(result >= 0, "writeBytesWireFormat should return non-negative value");
        }
    
        @Test
        void testReadParameterWordsWireFormat() {
            byte[] buffer = new byte[1024];
    
            int result = setupAndX.readParameterWordsWireFormat(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/MIENameTest.java

                        buf[i + 3] = (byte) (fakeLen & 0xFF);
                        return buf;
                    }, IllegalArgumentException.class),
    
                    // Negative NAME_LEN (0xFFFFFFFF) causes StringIndexOutOfBoundsException
                    Arguments.of("negative name length triggers SIOOBE", (java.util.function.Supplier<byte[]>) () -> {
                        byte[] tok = new byte[] { 0x04, 0x01 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

            verify(mockAllocInfo, times(1)).getCapacity();
            verify(mockAllocInfo, times(1)).getFree();
        }
    
        /**
         * Parameterised test of capacity values, including edge cases such as
         * zero and negative capacities.
         */
        @ParameterizedTest
        @ValueSource(longs = { 0L, -1L, Long.MAX_VALUE })
        @DisplayName("capacity may be any long value")
        void testCapacityEdgeValues(long capacity) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/StatsAccumulator.java

       * is not guaranteed to return zero when the dataset consists of the same value multiple times,
       * due to numerical errors. However, it is guaranteed never to return a negative result.
       *
       * <h3>Non-finite values</h3>
       *
       * <p>If the dataset contains any non-finite values ({@link Double#POSITIVE_INFINITY}, {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Ints.java

       * equivalent {@link Integer#compare} method instead.
       *
       * @param a the first {@code int} to compare
       * @param b the second {@code int} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
      @InlineMe(replacement = "Integer.compare(a, b)")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            }
    
            @Test
            @DisplayName("Should handle negative referral level")
            void testConstructorWithNegativeReferralLevel() {
                String path = "\\\\server\\share";
                int maxReferralLevel = -1;
    
                buffer = new DfsReferralRequestBuffer(path, maxReferralLevel);
    
                assertNotNull(buffer);
                // Negative values will be cast to unsigned when encoded
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/Weigher.java

    public interface Weigher<K, V> {
    
      /**
       * Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply
       * relative to each other.
       *
       * @return the weight of the entry; must be non-negative
       */
      int weigh(K key, V value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top