- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 492 for YOffset (0.27 sec)
-
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 3.1K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
} @Override public byte[] compress(byte[] data, int offset, int length, int algorithm) throws CIFSException { if (data == null) { throw new CIFSException("Data cannot be null"); } if (offset < 0 || length < 0 || offset + length > data.length) { throw new CIFSException("Invalid offset or length"); } if (!isAlgorithmSupported(algorithm)) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
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 Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 14:16:29 UTC 2025 - 9.3K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
SMBUtil.writeInt4(0, buffer, offset + 4); // sin6_flowinfo System.arraycopy(address.getAddress(), 0, buffer, offset + 8, 16); // sin6_addr SMBUtil.writeInt4(0, buffer, offset + 24); // sin6_scope_id } else { // IPv4 sockaddr_in structure (Windows AF_INET = 2) SMBUtil.writeInt2(2, buffer, offset); // sa_family: AF_INET
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java
@DisplayName("writeBytesWireFormat writes StructureSize=4 and Reserved=0 at given offset") void writeBytesWireFormat_writesExpectedValuesAtOffset(int offset) { // Arrange Smb2LogoffRequest req = newRequest(); byte[] buf = new byte[offset + 8]; // extra space for safety // Act int written = req.writeBytesWireFormat(buf, offset); // Assert: should write exactly 4 bytesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0)