- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 554 for offset (0.54 sec)
-
src/cmd/asm/internal/asm/asm.go
if lastAddr, ok := p.dataAddr[name]; ok && nameAddr.Offset < lastAddr { p.errorf("overlapping DATA entry for %s", name) return } p.dataAddr[name] = nameAddr.Offset + int64(sz) switch valueAddr.Type { case obj.TYPE_CONST: switch sz { case 1, 2, 4, 8: nameAddr.Sym.WriteInt(p.ctxt, nameAddr.Offset, sz, valueAddr.Offset) default: p.errorf("bad int size for DATA argument: %d", sz)
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Oct 21 15:13:08 UTC 2025 - 26.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
byte[] buffer = new byte[10]; int offset = 2; // Act int bytesWritten = transPeekNamedPipe.writeSetupWireFormat(buffer, offset); // Assert assertEquals(4, bytesWritten); assertEquals(SmbComTransaction.TRANS_PEEK_NAMED_PIPE, buffer[offset]); assertEquals((byte) 0x00, buffer[offset + 1]); // Verify FID is written correctly (little-endian)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
}); } @Test @DisplayName("Should write consistent structure at different offsets") void testWriteBytesAtDifferentOffsets() throws Exception { // Test at different offsets int[] offsets = { 0, 10, 50, 100, 200 }; for (int offset : offsets) { // Given byte[] buffer = new byte[1024];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/NtlmMessage.java
final int offset = readULong(src, index + 4); final byte[] buffer = new byte[length]; System.arraycopy(src, offset, buffer, 0, length); return buffer; } static void writeULong(final byte[] dest, final int offset, final int ulong) { dest[offset] = (byte) (ulong & 0xff); dest[offset + 1] = (byte) (ulong >> 8 & 0xff);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSeekResponse.java
private long offset; /** * Constructs a seek response. * * @param config the configuration */ public SmbComSeekResponse(final Configuration config) { super(config); } /** * Gets the current file offset after the seek operation. * * @return the offset */ public long getOffset() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
@DisplayName("Should encode with offset correctly") void testEncodeWithOffset() { String path = "\\\\test"; int maxReferralLevel = 5; buffer = new DfsReferralRequestBuffer(path, maxReferralLevel); int offset = 10; byte[] dst = new byte[offset + buffer.size()]; int bytesEncoded = buffer.encode(dst, offset);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
@DisplayName("Should read response at various buffer offsets") @ValueSource(ints = { 0, 10, 100, 500 }) void testReadAtDifferentOffsets(int offset) throws SMBProtocolDecodingException { byte[] buffer = new byte[1024]; byte[] responseData = createValidWriteResponse(2048, 1024); System.arraycopy(responseData, 0, buffer, offset, responseData.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/ReferralTest.java
assertEquals(ttl, ref.getTtl()); } } // Buffer Offset Tests @Test public void testDecodeFromNonZeroIndex() { int offset = 100; ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN); bb.position(offset); bb.putShort((short) 1); bb.putShort((short) 24); bb.putShort((short) 1);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 22K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
@Test @DisplayName("Should decode at different buffer offset") void testDecodeWithOffset() throws SMBProtocolDecodingException { byte[] buffer = new byte[256]; int offset = 100; byte[] responseData = createValidCopyChunkResponse(10, 131072, 1310720); System.arraycopy(responseData, 0, buffer, offset, responseData.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
} @Test @DisplayName("Should format with specific offset and length") void testHexdumpWithOffsetAndLength() { // Given byte[] data = createTestData(64); int offset = 16; int length = 32; // When String result = Hexdump.toHexString(data, offset, length); // Then assertNotNull(result);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0)