- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 559 for offsetX (0.17 seconds)
-
src/bytes/compare_test.go
buffer := make([]byte, len(tt.b)+numShifts) // vary the input alignment of tt.b for offset := 0; offset <= numShifts; offset++ { shiftedB := buffer[offset : len(tt.b)+offset] copy(shiftedB, tt.b) cmp := Compare(tt.a, shiftedB) if cmp != tt.i { t.Errorf(`Compare(%q, %q), offset %d = %v; want %v`, tt.a, tt.b, offset, cmp, tt.i) } } } } func TestCompareIdenticalSlice(t *testing.T) {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 13 23:11:42 GMT 2023 - 6.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
@Test @DisplayName("Test decode with offset") void testDecodeWithOffset() { // Prepare test data with offset testBuffer = new byte[150]; int offset = 50; testBuffer[offset] = 0x00; // Allow ACE testBuffer[offset + 1] = 0x08; // FLAGS_INHERIT_ONLY testBuffer[offset + 2] = 0x20; // Size low byte testBuffer[offset + 3] = 0x00; // Size high byteCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.6K bytes - Click Count (0) -
src/main/webapp/js/bootstrap.min.js
":"bottom-start",Ot=p()?"bottom-start":"bottom-end",It=p()?"left-start":"right-start",Dt=p()?"right-start":"left-start",Nt={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Pt={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class xt extends W{constructor(t,e){super(t,e),this._popper=null,this._parent=thi...Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 12 06:14:02 GMT 2025 - 58.9K bytes - Click Count (0) -
docs/smb3-features/02-persistent-handles-design.md
@Override public void encode(byte[] buffer, int offset) { // Context header int nameLen = getName().length(); writeInt4(buffer, offset, 16); // Next writeInt2(buffer, offset + 4, nameLen); // NameOffset writeInt2(buffer, offset + 6, nameLen); // NameLength writeInt2(buffer, offset + 8, 0); // Reserved writeInt2(buffer, offset + 10, STRUCTURE_SIZE); // DataOffsetCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacTest.java
writeLittleEndianInt(baos, 8); // minimal size writeLittleEndianLong(baos, 72); // offset (aligned) // Buffer 2: SERVER_CHECKSUM writeLittleEndianInt(baos, PacConstants.SERVER_CHECKSUM); writeLittleEndianInt(baos, 20); // signature size writeLittleEndianLong(baos, 80); // offset (aligned) // Buffer 3: PRIVSVR_CHECKSUM
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
} @Test @DisplayName("readParameterWordsWireFormat with offset beyond buffer - throws exception") void testReadParameterWordsWithOffsetBeyondBuffer() { byte[] buffer = new byte[] { 0x00, 0x01, 0x02, 0x03, 0x04 }; assertThrows(ArrayIndexOutOfBoundsException.class, () -> response.readParameterWordsWireFormat(buffer, 2) // Only 3 bytes available from offset 2 ); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
buffer[offset + 24] = 0x12; buffer[offset + 25] = 0x34; buffer[offset + 26] = 0x56; buffer[offset + 27] = 0x78; // Decode int bytesConsumed = response.decode(buffer, offset, 28); // Verify assertEquals(28, bytesConsumed, "Should consume exactly 28 bytes"); byte[] resumeKey = response.getResumeKey();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
cmd/streaming-v4-unsigned.go
func (cr *s3UnsignedChunkedReader) Read(buf []byte) (n int, err error) { // First, if there is any unread data, copy it to the client // provided buffer. if cr.offset > 0 { n = copy(buf, cr.buffer[cr.offset:]) if n == len(buf) { cr.offset += n return n, nil } cr.offset = 0 buf = buf[n:] } // mustRead reads from input and compares against provided slice. mustRead := func(b ...byte) error { for _, want := range b {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 03 14:55:52 GMT 2025 - 6.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/MD4.java
* @param offset starting position of sub-array. */ private void transform(final byte[] block, int offset) { // encodes 64 bytes from input block into an array of 16 32-bit // entities. Use A as a temp var. for (int i = 0; i < 16; i++) { X[i] = block[offset++] & 0xFF | (block[offset++] & 0xFF) << 8 | (block[offset++] & 0xFF) << 16 | (block[offset++] & 0xFF) << 24;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.6K bytes - Click Count (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)) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0)