Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 424 for OFFSET (0.04 sec)

  1. cmd/erasure-utils.go

    	for _, block := range enBlocks[:dataBlocks] {
    		// Skip blocks until we have reached our offset.
    		if offset >= int64(len(block)) {
    			// Decrement offset.
    			offset -= int64(len(block))
    			continue
    		}
    
    		// Skip until offset.
    		block = block[offset:]
    
    		// Reset the offset for next iteration to read everything
    		// from subsequent blocks.
    		offset = 0
    
    		// We have written all the blocks, write the last remaining block.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

              imports = ["okhttp3.RequestBody.Companion.toRequestBody"],
            ),
          level = DeprecationLevel.WARNING,
        )
        fun create(
          contentType: MediaType?,
          content: ByteArray,
          offset: Int = 0,
          byteCount: Int = content.size,
        ): RequestBody = content.toRequestBody(contentType, offset, byteCount)
    
        @JvmStatic
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. docs/smb3-features/04-directory-leasing-design.md

            byte[] data = response.getOutputBuffer();
            int offset = 0;
            
            while (offset < data.length) {
                int nextEntryOffset = readInt4(data, offset);
                int action = readInt4(data, offset + 4);
                int fileNameLength = readInt4(data, offset + 8);
                
                // Extract filename
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            byte[] buffer = new byte[512];
            int offset = 0;
    
            // Write setup
            offset += trans2QueryFSInfo.writeSetupWireFormat(buffer, offset);
            assertEquals(2, offset);
    
            // Write parameters
            offset += trans2QueryFSInfo.writeParametersWireFormat(buffer, offset);
            assertEquals(4, offset);
    
            // Write data
            offset += trans2QueryFSInfo.writeDataWireFormat(buffer, offset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/HighlightInfo.java

            return this;
        }
    
        /**
         * Gets the fragment offset.
         *
         * @return the fragment offset value
         */
        public int getFragmentOffset() {
            return fragmentOffset;
        }
    
        /**
         * Sets the fragment offset with fluent interface.
         *
         * @param fragmentOffset the fragment offset value
         * @return this HighlightInfo instance for method chaining
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/Type2Message.java

            int offset = 0;
            if (domainLength > 0) {
                writeUShort(targetInfo, offset, 2);
                offset += 2;
                writeUShort(targetInfo, offset, domainLength);
                offset += 2;
                System.arraycopy(domain, 0, targetInfo, offset, domainLength);
                offset += domainLength;
            }
            if (serverLength > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

        private int fid, count, offset, remaining, off;
        private byte[] b;
    
        SmbComWrite() {
            command = SMB_COM_WRITE;
        }
    
        SmbComWrite(final int fid, final int offset, final int remaining, final byte[] b, final int off, final int len) {
            this.fid = fid;
            this.count = len;
            this.offset = offset;
            this.remaining = remaining;
            this.b = b;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/ServerResponseValidator.java

            }
        }
    
        /**
         * Validate offset and length for file operations
         *
         * @param offset file offset
         * @param length operation length
         * @param fileSize total file size
         * @throws SmbException if parameters are invalid
         */
        public void validateFileOperation(long offset, long length, long fileSize) throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            assertEquals(SmbComTransaction.TRANS_CALL_NAMED_PIPE, dst[offset]);
            assertEquals((byte) 0x00, dst[offset + 1]);
            assertEquals((byte) 0x00, dst[offset + 2]);
            assertEquals((byte) 0x00, dst[offset + 3]);
        }
    
        @Test
        @DisplayName("Test readSetupWireFormat returns 0")
        void testReadSetupWireFormat() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            @DisplayName("Should handle buffer with offset correctly")
            void testReadWithBufferOffset() throws Exception {
                int offset = 10;
                byte[] buffer = new byte[64];
                byte[] fileId = createTestData(16);
                byte oplockLevel = 0x02;
    
                // Fill some random data before offset
                Arrays.fill(buffer, 0, offset, (byte) 0xAB);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top