Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for interpreted (0.45 sec)

  1. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            assertEquals(0xFFFFFFFF, NtlmMessage.readULong(data, 0), "Should read max ULong correctly.");
    
            // Test with a negative int (should be interpreted as unsigned positive)
            buffer.putInt(0, -1); // -1 is 0xFFFFFFFF
            assertEquals(0xFFFFFFFF, NtlmMessage.readULong(data, 0), "Should interpret -1 as unsigned max ULong.");
        }
    
        @Test
        void testReadUShort() {
            // Test readUShort with various values
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java

        /** The total number of records that match the search criteria. */
        protected final long allRecordCount;
    
        /** The relation type indicating how the record count should be interpreted (e.g., "eq", "gte"). */
        protected final String allRecordCountRelation;
    
        /** The time taken to execute the search query in milliseconds. */
        protected final long queryTime;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/Traverser.java

         * <p>
         * If a root package is specified at instance construction, the specified class name is interpreted as a relative name from the root package.
         * </p>
         *
         * @param className the class name
         * @return <code>true</code> if the class file exists in the resources handled by this instance
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            SMBUtil.writeUTime(0, buffer, 2);
            SMBUtil.writeInt4(overflowSize, buffer, 6);
    
            response.readParameterWordsWireFormat(buffer, 0);
    
            // 0xFFFFFFFF becomes -1 when interpreted as signed int
            assertEquals(-1L, response.getSize());
        }
    
        @Test
        void testReadBytesWireFormat() {
            // Test readBytesWireFormat - should always return 0
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

        }
    
        @Test
        @DisplayName("Test decode with negative values")
        void testDecodeWithNegativeValues() throws SMBProtocolDecodingException {
            // Prepare test data with negative values (when interpreted as signed)
            byte[] buffer = new byte[16];
            int bufferIndex = 0;
    
            // Set up negative values
            int namedPipeState = -1;
            int readDataAvailable = -100;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            long expectedFree = (long) free * sectPerAlloc * bytesPerSect;
            assertEquals(expectedFree, smbInfoAllocation.getFree());
        }
    
        @Test
        @DisplayName("Test decode with negative values interpreted as unsigned")
        void testDecodeWithNegativeValues() throws SMBProtocolDecodingException {
            // Prepare test data with values that would be negative if signed
            byte[] buffer = new byte[22];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                byte[] buffer = new byte[256];
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
                // Negative value should be written as-is (interpreted as unsigned by receiver)
                assertEquals(-1L, SMBUtil.readInt8(buffer, 8));
            }
    
            @Test
            @DisplayName("Should handle zero-length file ID")
            void testZeroLengthFileId() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                request.setReadLength(1024);
    
                byte[] buffer = new byte[256];
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
                // Negative value should be written as-is (interpreted as unsigned by receiver)
                assertEquals(-1L, SMBUtil.readInt8(buffer, 8));
            }
    
            @Test
            @DisplayName("Should handle zero-length read")
            void testZeroLengthRead() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

        <sub-class-of type="text/plain"/>
      </mime-type>
    
      <mime-type type="text/asp" interpreted="true">
        <_comment>Active Server Page</_comment>
        <glob pattern="*.asp"/>
        <sub-class-of type="text/plain"/>
      </mime-type>
    
      <mime-type type="text/aspdotnet" interpreted="true">
        <_comment>ASP .NET</_comment>
        <glob pattern="*.aspx"/>
        <sub-class-of type="text/plain"/>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Oct 16 07:46:32 UTC 2025
    - 320.2K bytes
    - Viewed (2)
  10. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        @Test
        @DisplayName("readULong correctly interprets little endian")
        void testReadULong() {
            byte[] a = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0x04 };
            int result = NtlmMessage.readULong(a, 0);
            assertEquals(0x04030201, result, "ULong should be little‑endian");
        }
    
        @Test
        @DisplayName("readUShort correctly interprets little endian")
        void testReadUShort() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top