- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 428 for COffset (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
byte[] buffer = new byte[512]; int bufferIndex = 0; // Set structure size to 9 (valid) SMBUtil.writeInt2(9, buffer, bufferIndex); // Set buffer offset (relative to header start) SMBUtil.writeInt2(80, buffer, bufferIndex + 2); // Set buffer length (empty directory) SMBUtil.writeInt4(0, buffer, bufferIndex + 4); // Mock getHeaderStartCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java
if (stopwordsItemList == null) { reload(null); } if (offset >= stopwordsItemList.size() || offset < 0) { return new PagingList<>(Collections.<StopwordsItem> emptyList(), offset, size, stopwordsItemList.size()); } int toIndex = offset + size; if (toIndex > stopwordsItemList.size()) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 13K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/DictionaryFile.java
/** * Retrieves a paginated list of dictionary items. * * @param offset the starting offset for pagination * @param size the number of items to retrieve * @return a paginated list of dictionary items */ public abstract PagingList<T> selectList(int offset, int size); /** * Retrieves a dictionary item by its ID. * * @param id the item IDCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 11.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
void testReadAtDifferentOffsets(int offset) throws SMBProtocolDecodingException { byte[] buffer = new byte[1024]; byte[] responseData = createValidWriteResponse(2048, 1024); System.arraycopy(responseData, 0, buffer, offset, responseData.length); int bytesRead = response.readBytesWireFormat(buffer, offset); assertEquals(16, bytesRead);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
cmd/naughty-disk_test.go
func (d *naughtyDisk) ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error) { if err := d.calcError(); err != nil { return 0, err } return d.disk.ReadFile(ctx, volume, path, offset, buf, verifier) } func (d *naughtyDisk) ReadFileStream(ctx context.Context, volume, path string, offset, length int64) (io.ReadCloser, error) { if err := d.calcError(); err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 25 05:41:04 GMT 2025 - 10.1K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java
} h1 ^= mixK1(k1); return fmix(h1, len); } private static int getIntLittleEndian(byte[] input, int offset) { return Ints.fromBytes(input[offset + 3], input[offset + 2], input[offset + 1], input[offset]); } private static int mixK1(int k1) { k1 *= C1; k1 = Integer.rotateLeft(k1, 15); k1 *= C2; return k1; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 11.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSourceTester.java
suite.addTest(suiteForBytes(sliced, bytes, name + ".slice[long, long]", desc, false)); // test a slice() of the ByteSource starting at a random offset with a length of // Long.MAX_VALUE ByteSourceFactory slicedLongMaxValue = SourceSinkFactories.asSlicedByteSourceFactory(factory, off, Long.MAX_VALUE); suite.addTest( suiteForBytes(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.6K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
int offset = 10; // Mark the buffer before offset for (int i = 0; i < offset; i++) { dst[i] = (byte) 0xFF; } int bytesWritten = packet.writeTrailerWireFormat(dst, offset); assertTrue(bytesWritten > 0); // Check that bytes before offset are unchanged for (int i = 0; i < offset; i++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
@Test @DisplayName("Should handle buffer offset correctly") void testDecodeWithOffset() throws SMBProtocolDecodingException { byte[] buffer = new byte[100]; int offset = 50; // Set data at offset buffer[offset + 16] = 0x04; // sectPerAlloc buffer[offset + 20] = 0x00; buffer[offset + 21] = 0x02; // bytesPerSectCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java
private final long sourceOffset; private final long targetOffset; private final int length; /** * Constructs a server copy chunk descriptor * @param soff the source file offset * @param toff the target file offset * @param len the length of data to copy */ public SrvCopychunk(final long soff, final long toff, final int len) { this.sourceOffset = soff; this.targetOffset = toff;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0)