Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 491 for Offset (0.03 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            assertEquals(offset, getFieldValue(write, "offset"), "Offset should match constructor arg");
            assertEquals(remaining, getFieldValue(write, "remaining"), "Remaining should match constructor arg");
            assertEquals(buffer, getFieldValue(write, "b"), "Buffer reference should be set");
            assertEquals(off, getFieldValue(write, "off"), "Off should match constructor arg");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. generics.go

    	return c.with(func(db *DB) *DB {
    		return db.Or(query, args...)
    	})
    }
    
    func (c chainG[T]) Limit(offset int) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    		return db.Limit(offset)
    	})
    }
    
    func (c chainG[T]) Offset(offset int) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    		return db.Offset(offset)
    	})
    }
    
    type joinBuilder struct {
    	db *DB
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

         */
        public LockingAndXRange(final boolean largeFile) {
            this.largeFile = largeFile;
        }
    
        /**
         * Returns the process ID associated with this lock range.
         *
         * @return the process ID
         */
        public int getPid() {
            return this.pid;
        }
    
        /**
         * Returns the starting byte offset of the lock range.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

        @Test
        @DisplayName("Test encode with offset")
        void testEncodeWithOffset() {
            ValidateNegotiateInfoRequest request =
                    new ValidateNegotiateInfoRequest(DEFAULT_CAPABILITIES, defaultClientGuid, DEFAULT_SECURITY_MODE, defaultDialects);
    
            int offset = 100;
            byte[] buffer = new byte[offset + request.size()];
            int encodedLength = request.encode(buffer, offset);
    
            // Verify encoded length
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

            this.writeFlags = writeFlags;
        }
    
        /**
         * Sets the file offset where the write operation should begin.
         *
         * @param offset the offset to set
         */
        public void setOffset(final long offset) {
            this.offset = offset;
        }
    
        /**
         * Add RDMA channel information for direct memory access
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. lib/wasm/wasm_exec.js

    			let offset = 4096;
    
    			const strPtr = (str) => {
    				const ptr = offset;
    				const bytes = encoder.encode(str + "\0");
    				new Uint8Array(this.mem.buffer, offset, bytes.length).set(bytes);
    				offset += bytes.length;
    				if (offset % 8 !== 0) {
    					offset += 8 - (offset % 8);
    				}
    				return ptr;
    			};
    
    			const argc = this.argv.length;
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sun Dec 08 15:34:47 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

            this.fid = fid;
            this.offset = offset;
            this.remaining = remaining;
            this.b = b;
            this.off = off;
            dataLength = len;
            command = SMB_COM_WRITE_ANDX;
        }
    
        void setParam(final int fid, final long offset, final int remaining, final byte[] b, final int off, final int len) {
            this.fid = fid;
            this.offset = offset;
            this.remaining = remaining;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

                return;
            }
    
            int offset = 0;
    
            while (offset < outputBuffer.length) {
                // Parse FILE_NOTIFY_INFORMATION structure
                int nextEntryOffset = SMBUtil.readInt4(outputBuffer, offset);
                int action = SMBUtil.readInt4(outputBuffer, offset + 4);
                int fileNameLength = SMBUtil.readInt4(outputBuffer, offset + 8);
    
                // Extract filename
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top