Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for overwritten (0.55 sec)

  1. src/main/java/jcifs/internal/SMBSigningDigest.java

     *
     * @author mbechler
     */
    public interface SMBSigningDigest {
    
        /**
         * Performs MAC signing of the SMB. This is done as follows.
         * The signature field of the SMB is overwritten with the sequence number;
         * The MD5 digest of the MAC signing key + the entire SMB is taken;
         * The first 8 bytes of this are placed in the signature field.
         *
         * @param data
         *            The data.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

            byte[] dst = new byte[15]; // Increased buffer size to accommodate offset + 8 bytes
            int offset = 3; // start in the middle to ensure no tail is overwritten
            int bytesWritten = cmd.writeParametersWireFormat(dst, offset);
            assertEquals(8, bytesWritten, "writeParametersWireFormat should write 8 bytes");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            assertEquals(0, responseLength);
        }
    
        @Test
        void testMultipleReadDataWireFormatCalls() throws SMBProtocolDecodingException {
            // Test multiple calls to readDataWireFormat to ensure buffer is overwritten
            byte[] firstData = "First data set".getBytes();
            byte[] secondData = "Second data set".getBytes();
            byte[] buffer1 = new byte[100];
            byte[] buffer2 = new byte[100];
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/EncodableTest.java

        void encodeCopiesAndReportsSize(byte[] src, int off, int len, int dstIndex) {
            Encodable enc = new ByteEncodable(src, off, len);
    
            // Destination has guard space to verify non-overwritten regions.
            byte[] dst = new byte[dstIndex + len + 5];
            Arrays.fill(dst, (byte) 0x55);
    
            // Act
            int written = enc.encode(dst, dstIndex);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

        /**
         * Verify that decode invokes NdrBuffer.dec_ndr_short.
         */
        @Test
        void decodeWithSpiedBufferCallsDecMethod() throws NdrException {
            NdrShort ns = new NdrShort(0); // value will be overwritten
            // Pre-populate buffer with the encoding of a short value
            NdrBuffer prepare = new NdrBuffer(new byte[10], 0);
            prepare.enc_ndr_short(0x34); // Encode value 0x34
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/util/FieldConfigs.java

            }
    
            /**
             * Checks if the overwrite option is enabled in the configuration.
             * Returns true if "overwrite" is present in the values.
             *
             * @return true if overwriting is enabled, false otherwise
             */
            public boolean isOverwrite() {
                for (final String value : values) {
                    if ("overwrite".equalsIgnoreCase(value)) {
                        return true;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

         * aka OPEN_ALWAYS
         */
    
        static final int FILE_OPEN_IF = 0x3;
    
        /* Open the file and overwrite it's contents or fail if it does not exist
         * aka TRUNCATE_EXISTING
         */
    
        static final int FILE_OVERWRITE = 0x4;
    
        /* Open the file and overwrite it's contents or create it if it does not exist
         * aka CREATE_ALWAYS (according to the wire when calling CreateFile)
         */
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

        public void updateSessionId(final String oldSessionId, final String newSessionId) {
            // not MT-safe
            final Queue<UrlQueueImpl<Long>> urlQueueList = dataHelper.getUrlQueueList(oldSessionId);
            // overwrite
            dataHelper.addUrlQueueList(newSessionId, urlQueueList);
            dataHelper.removeUrlQueueList(oldSessionId);
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

         * aka OPEN_ALWAYS
         */
    
        static final int FILE_OPEN_IF = 0x3;
    
        /*
         * Open the file and overwrite it's contents or fail if it does not exist
         * aka TRUNCATE_EXISTING
         */
    
        static final int FILE_OVERWRITE = 0x4;
    
        /*
         * Open the file and overwrite it's contents or create it if it does not exist
         * aka CREATE_ALWAYS (according to the wire when calling CreateFile)
         */
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SigningDigest.java

                log.flush();
            }
            updates = 0;
    
            return b;
        }
    
        /**
         * Performs MAC signing of the SMB.  This is done as follows.
         * The signature field of the SMB is overwritted with the sequence number;
         * The MD5 digest of the MAC signing key + the entire SMB is taken;
         * The first 8 bytes of this are placed in the signature field.
         *
         * @param data The data.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top