- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 188 for offlet (3.06 sec)
-
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(context.Background(), testCase.offset) if err != testCase.expectedErr { t.Fatalf("%+v: expected = %s, got: %s", testCase, testCase.expectedErr, err) } if index != testCase.expectedIndex {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 26 00:31:12 GMT 2024 - 9.1K bytes - Viewed (0) -
cmd/httprange.go
// Case 2: bytes=1-10 (absolute start and end offsets) -> RangeSpec{false, 1, 10} // Case 3: bytes=10- (absolute start offset with end offset unspecified) -> RangeSpec{false, 10, -1} // Case 4: bytes=-30 (suffix length specification) -> RangeSpec{true, -30, -1} type HTTPRangeSpec struct { // Does the range spec refer to a suffix of the object? IsSuffixLength bool // Start and end offset specified in range spec Start, End int64 }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun May 05 16:56:21 GMT 2024 - 5.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWrite.java
public SmbComWrite ( Configuration config, int fid, int offset, int remaining, byte[] b, int off, int len ) { super(config, SMB_COM_WRITE); this.fid = fid; this.count = len; this.offset = offset; this.remaining = remaining; this.b = b; this.off = off; } /** * * @param fid * @param offset * @param remaining * @param b
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 3.7K bytes - Viewed (0) -
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.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Jan 31 02:11:45 GMT 2024 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java
* @param offset * @param remaining * @param b * @param off * @param len */ public final void setParam ( int fid, long offset, int remaining, byte[] b, int off, int len ) { this.fid = fid; this.offset = offset; this.remaining = remaining; this.b = b; this.off = off; this.dataLength = len; this.digest = null; /*
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java
*/ public void setWriteFlags ( int writeFlags ) { this.writeFlags = writeFlags; } /** * @param offset * the offset to set */ public void setOffset ( long offset ) { this.offset = offset; } /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#size() */ @Override
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/SMBSigningDigest.java
* @param data * The data. * @param offset * The starting offset at which the SMB header begins. * @param length * The length of the SMB data starting at offset. * @param request * request message * @param response * response message */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Aug 05 09:45:59 GMT 2018 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MD4.java
* * @param input input block * @param offset start of meaningful bytes in input * @param len count of bytes in input block to consider */ public void engineUpdate (byte[] input, int offset, int len) { // make sure we don't exceed input's allocated size/length if (offset < 0 || len < 0 || (long)offset + len > input.length) throw new ArrayIndexOutOfBoundsException();
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 9.3K bytes - Viewed (0) -
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;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Dec 28 17:50:25 GMT 2021 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWrite.java
private int fid, count, offset, remaining, off; private byte[] b; SmbComWrite() { super(); command = SMB_COM_WRITE; } SmbComWrite( int fid, int offset, int remaining, byte[] b, int off, int len ) { this.fid = fid; this.count = len; this.offset = offset; this.remaining = remaining; this.b = b;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 3K bytes - Viewed (0)