Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 491 for Offset (0.04 sec)

  1. docs/debugging/xl-meta/main.go

    									offset++
    									continue
    								}
    								for shardIdx, ok := range shardConfig {
    									if ok != 0 {
    										shards[shardIdx] = append(shards[shardIdx], splitData[shardIdx][offset])
    									}
    								}
    								offset++
    							}
    							if offset > startOffset && reconstructAbleConfig {
    								reconPartial(shards, k, parityOK, splitData, startOffset, offset, rs, shardConfig, splitFilled)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  2. cmd/erasure-metadata_test.go

    		// Error if offset is size.
    		{(1 + 2 + 4 + 5 + 7) + (5 * humanize.MiByte), 0, 0, InvalidRange{}},
    	}
    
    	// Test them.
    	for _, testCase := range testCases {
    		index, offset, err := fi.ObjectToPartOffset(t.Context(), testCase.offset)
    		if err != testCase.expectedErr {
    			t.Fatalf("%+v: expected = %s, got: %s", testCase, testCase.expectedErr, err)
    		}
    		if index != testCase.expectedIndex {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  3. chainable_api.go

    	return
    }
    
    // Offset specify the number of records to skip before starting to return the records
    //
    // Offset conditions can be cancelled by using `Offset(-1)`.
    //
    //	// select the third user
    //	db.Offset(2).First(&user)
    //	// select the first user by cancelling an earlier chained offset
    //	db.Offset(5).Offset(-1).First(&user)
    func (db *DB) Offset(offset int) (tx *DB) {
    	tx = db.getInstance()
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/HMACT64.java

            return md5.digest(digest);
        }
    
        @Override
        protected int engineDigest(final byte[] buf, final int offset, final int len) {
            final byte[] digest = md5.digest();
            md5.update(opad);
            md5.update(digest);
            try {
                return md5.digest(buf, offset, len);
            } catch (final Exception ex) {
                throw new IllegalStateException();
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/HMACT64.java

            return this.md5.digest(digest);
        }
    
        @Override
        protected int engineDigest(final byte[] buf, final int offset, final int len) {
            final byte[] digest = this.md5.digest();
            this.md5.update(this.opad);
            this.md5.update(digest);
            try {
                return this.md5.digest(buf, offset, len);
            } catch (final Exception ex) {
                throw new IllegalStateException();
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int SECURITY_USER = 0x01;
    
        /** Command offset in SMB header */
        int CMD_OFFSET = 4;
        /** Error code offset in SMB header */
        int ERROR_CODE_OFFSET = 5;
        /** Flags offset in SMB header */
        int FLAGS_OFFSET = 9;
        /** Signature offset in SMB header */
        int SIGNATURE_OFFSET = 14;
        /** TID offset in SMB header */
        int TID_OFFSET = 24;
        /** SMB header length */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            byte[] buffer = new byte[512];
            int bufferIndex = 0;
    
            // Set structure size to 9 (valid)
            SMBUtil.writeInt2(9, buffer, bufferIndex);
            // Set buffer offset (relative to header start)
            SMBUtil.writeInt2(80, buffer, bufferIndex + 2);
            // Set buffer length (empty directory)
            SMBUtil.writeInt4(0, buffer, bufferIndex + 4);
    
            // Mock getHeaderStart
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            // Execute the method with offset
            int bytesWritten = transaction.writeParameterWordsWireFormat(dst, startOffset);
    
            // Verify the bytes written
            assertTrue(bytesWritten > 0);
    
            // Verify data is written at correct offset
            assertEquals(3, dst[startOffset]);
    
            // Verify total parameter count at correct offset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            byte[] buffer = new byte[2048];
            int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
            assertTrue(bytesWritten > 0);
    
            // Verify name length field at offset 46 (after 44 bytes of fixed fields + 2 for name offset)
            byte[] nameBytes = longPath.getBytes(StandardCharsets.UTF_16LE);
            int nameLenInBuffer = (buffer[46] & 0xFF) | ((buffer[47] & 0xFF) << 8);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

        /**
         * Retrieves a paginated list of dictionary items.
         *
         * @param offset the starting offset for pagination
         * @param size the number of items to retrieve
         * @return a paginated list of dictionary items
         */
        public abstract PagingList<T> selectList(int offset, int size);
    
        /**
         * Retrieves a dictionary item by its ID.
         *
         * @param id the item ID
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top