Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 401 for negate (0.6 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            assertNotNull(response);
            assertEquals(ServerMessageBlock.SMB_COM_QUERY_INFORMATION, getCommand(response));
        }
    
        @Test
        void testConstructorWithNegativeTimezone() {
            // Test constructor with negative timezone offset
            long serverTimeZoneOffset = -7200000L; // -2 hours in milliseconds
            response = new SmbComQueryInformationResponse(mockConfig, serverTimeZoneOffset);
    
            assertNotNull(response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. 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)
  3. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       *   <li>If the first character was a high surrogate value, then an attempt is made to read the
       *       next character.
       *       <ol>
       *         <li><b>If the end of the sequence was reached, the negated value of the trailing high
       *             surrogate is returned.</b>
       *         <li><b>If the next character was a valid low surrogate, the code point value of the
       *             high/low surrogate pair is returned.</b>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/escape/UnicodeEscaper.java

       *   <li>If the first character was a high surrogate value, then an attempt is made to read the
       *       next character.
       *       <ol>
       *         <li><b>If the end of the sequence was reached, the negated value of the trailing high
       *             surrogate is returned.</b>
       *         <li><b>If the next character was a valid low surrogate, the code point value of the
       *             high/low surrogate pair is returned.</b>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top