Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 466 for YOffset (0.24 sec)

  1. src/main/java/jcifs/smb/compression/CompressionService.java

         *
         * @param data the data buffer
         * @param offset the offset in the buffer
         * @param length the length of data to compress
         * @param algorithm the compression algorithm to use
         * @return the compressed data
         * @throws CIFSException if compression fails
         */
        byte[] compress(byte[] data, int offset, int length, int algorithm) throws CIFSException;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                    System.arraycopy(data, 0, dst, offset, data.length);
                    offset += data.length;
                }
    
                // Pad to 8-byte boundary
                while ((offset - dstIndex) % 8 != 0) {
                    dst[offset++] = 0;
                }
    
                return offset - dstIndex;
            }
    
            @Override
            public int size() {
                sizeCallCount++;
                if (throwOnSize) {
    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/notify/Smb2ChangeNotifyRequestTest.java

            // Verify notify flags
            assertEquals(Smb2ChangeNotifyRequest.SMB2_WATCH_TREE, SMBUtil.readInt2(buffer, offset + 2));
    
            // Verify output buffer length
            assertEquals(8192, SMBUtil.readInt4(buffer, offset + 4));
    
            // Verify file ID
            byte[] readFileId = new byte[16];
            System.arraycopy(buffer, offset + 8, readFileId, 0, 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            // Length = 5, Offset = 8
            ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN);
            buffer.putShort(0, (short) content.length); // Length
            buffer.putShort(2, (short) content.length); // MaxLength (not used by readSecurityBuffer, but typically same as length)
            buffer.putInt(4, 8); // Offset
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. clause/limit_test.go

    			"SELECT * FROM `users` LIMIT ?",
    			[]interface{}{limit10},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Limit{Limit: &limit10, Offset: 20}, clause.Limit{Offset: 30}, clause.Limit{Limit: &limitNeg10}},
    			"SELECT * FROM `users` OFFSET ?",
    			[]interface{}{30},
    		},
    		{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Fingerprint2011.java

      }
    
      private static long hashLength33To64(byte[] bytes, int offset, int length) {
        long z = load64(bytes, offset + 24);
        long a = load64(bytes, offset) + (length + load64(bytes, offset + length - 16)) * K0;
        long b = rotateRight(a + z, 52);
        long c = rotateRight(a, 37);
        a += load64(bytes, offset + 8);
        c += rotateRight(a, 7);
        a += load64(bytes, offset + 16);
        long vf = a + z;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

         */
        public static final int SMB2_LOCKFLAG_FAIL_IMMEDIATELY = 0x10;
    
        private final long offset;
        private final long length;
        private final int flags;
    
        /**
         * Constructs an SMB2 lock element with the specified parameters.
         *
         * @param offset the byte offset in the file where the lock begins
         * @param length the number of bytes to lock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

            this.readLength = readLength;
        }
    
        /**
         * Sets the file offset from which to start reading
         *
         * @param offset
         *            the offset to set
         */
        public void setOffset(final long offset) {
            this.offset = offset;
        }
    
        /**
         * Sets the minimum number of bytes that must be read for the operation to succeed
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

            }
    
            @Test
            @DisplayName("Should decode at non-zero offset")
            void testDecodeWithOffset() throws SMBProtocolDecodingException {
                int offset = 50;
                SMBUtil.writeInt2(1, buffer, offset);
                SMBUtil.writeInt2(EncryptionNegotiateContext.CIPHER_AES128_GCM, buffer, offset + 2);
    
                EncryptionNegotiateContext context = new EncryptionNegotiateContext();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

        /**
         * Return the byte or character offset into the input source this location
         * is pointing to. If the input source is a file or a byte stream then
         * this is the byte offset into that stream, but if the input source is
         * a character media then the offset is the character offset.
         * Returns -1 if there is no offset available.
         * @return the current offset
         */
        int getCharacterOffset();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top