Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 388 for preserve (0.07 sec)

  1. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            // Execute
            final InvalidQueryException exception = new InvalidQueryException(messageCode, message, middleCause);
    
            // Verify cause chain is preserved
            assertEquals(middleCause, exception.getCause());
            assertEquals(rootCause, exception.getCause().getCause());
        }
    
        public void test_emptyMessage() {
            // Setup
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.java

        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
        private static final int STRUCTURE_SIZE = 16;
    
        private long reserved; // Must be zero
    
        /**
         * Create a new durable handle request
         */
        public DurableHandleRequest() {
            this.reserved = 0;
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/xml/XmlEscapers.java

       * the XML specification.
       *
       * <p>This escaper does not escape non-ASCII characters to their numeric character references
       * (NCR). Any non-ASCII characters appearing in the input will be preserved in the output.
       * Specifically "\r" (carriage return) is preserved in the output, which may result in it being
       * silently converted to "\n" when the XML is parsed.
       *
       * <p>This escaper does not treat surrogate pairs specially and does not perform Unicode
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 20 17:15:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/spnego/NegTokenTargTest.java

            assertThrows(IOException.class, () -> new NegTokenTarg(bad), "Malformed byte[] should cause IOException");
        }
    
        @Test
        @DisplayName("mechanism token empty array – preserved after round‑trip")
        void testEmptyMechanismToken() throws IOException {
            NegTokenTarg nt = new NegTokenTarg();
            nt.setResult(NegTokenTarg.REQUEST_MIC);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java

            final int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            dst[dstIndex] = (byte) 0x00; // Reserved
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00; // Reserved
            SMBUtil.writeInt4(this.securityInformation, dst, dstIndex);
            dstIndex += 4;
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java

            bufferIndex += 4;
    
            this.leaseFlags = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // LeaseDuration (8 bytes) - reserved, skip
            bufferIndex += 8;
    
            byte[] parentKeyBytes = new byte[16];
            System.arraycopy(buffer, bufferIndex, parentKeyBytes, 0, 16);
            this.parentLeaseKey = new Smb2LeaseKey(parentKeyBytes);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

            int bytesWritten = smbComNtTransaction.writeParameterWordsWireFormat(dst, 0);
    
            // 1 (reserved) + 2 (reserved) + 4 (totalParameterCount) + 4 (totalDataCount) +
            // 4 (parameterCount) + 4 (parameterOffset) + 4 (parameterDisplacement) +
            // 4 (dataCount) + 4 (dataOffset) + 4 (dataDisplacement) + 1 (reserved)
            assertEquals(36, bytesWritten, "Number of bytes written should be 36 for secondary transaction");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            assertEquals((byte) (informationLevel & 0xFF), dst[0]);
            assertEquals((byte) ((informationLevel >> 8) & 0xFF), dst[1]);
            // Check reserved bytes
            for (int i = 2; i < 6; i++) {
                assertEquals((byte) 0x00, dst[i], "Reserved byte at index " + i + " should be 0.");
            }
            // Check filename
            byte[] filenameBytes = filename.getBytes();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            // dataDisplacement (4 bytes)
            SMBUtil.writeInt4(0, buffer, bufferIndex + 31);
    
            // setupCount (1 byte) + 1 reserved byte
            buffer[bufferIndex + 35] = 0x00; // setupCount = 0
            buffer[bufferIndex + 36] = 0x00; // reserved
    
            int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex);
    
            // Verify the correct number of bytes were read (37 bytes total)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComNtTransactionResponse.java

            final int start = bufferIndex;
    
            buffer[bufferIndex] = (byte) 0x00; // Reserved
            bufferIndex++;
            buffer[bufferIndex++] = (byte) 0x00; // Reserved
            buffer[bufferIndex++] = (byte) 0x00; // Reserved
    
            totalParameterCount = readInt4(buffer, bufferIndex);
            if (bufDataStart == 0) {
                bufDataStart = totalParameterCount;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top