- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 479 for _offset (0.06 sec)
-
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
loadTestData(); DictionaryFile.PagingList<StopwordsItem> result = stopwordsFile.selectList(10, 2); // When offset is out of bounds, all items may still be returned assertTrue(result.size() <= 5); assertEquals(6, result.getCurrentPageNumber()); // offset 10 with size 2 = page 6 assertEquals(2, result.getPageSize()); assertEquals(5, result.getAllRecordCount()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
byte[] buffer = new byte[256]; int offset = 10; int size = 100; when(response.verifySignature(buffer, offset, size)).thenReturn(true); // When boolean verified = response.verifySignature(buffer, offset, size); // Then assertTrue(verified); verify(response).verifySignature(buffer, offset, size); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java
int charCount = str.length(); // NDR string structure: MaximumCount, Offset, ActualCount, then data buf.enc_ndr_long(charCount + 1); // MaximumCount (including null terminator) buf.enc_ndr_long(0); // Offset buf.enc_ndr_long(charCount + 1); // ActualCount (including null terminator) // String data in UTF-16LE
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
/** Number of parameter bytes in this response */ protected int parameterCount; /** Offset from the start of the SMB header to the parameter bytes */ protected int parameterOffset; /** Displacement of these parameter bytes from the start of the total parameter block */ protected int parameterDisplacement; /** Offset from the start of the SMB header to the data bytes */ protected int dataOffset;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
byte[] buffer = new byte[1024]; int written = request.writeBytesWireFormat(buffer, 0); // Verify file ID is copied correctly (starts at offset 8) for (int i = 0; i < 16; i++) { assertEquals(customFileId[i], buffer[8 + i]); } assertEquals(56, written); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SID.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.5K bytes - Viewed (0) -
src/cmd/asm/internal/arch/arm.go
func ARMMRCOffset(op obj.As, cond string, x0, x1, x2, x3, x4, x5 int64) (offset int64, op0 obj.As, ok bool) { op1 := int64(0) if op == arm.AMRC { op1 = 1 } bits, ok := ParseARMCondition(cond) if !ok { return } offset = (0xe << 24) | // opcode (op1 << 20) | // MCR/MRC ((int64(bits) ^ arm.C_SCOND_XOR) << 28) | // scond
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Oct 23 15:18:14 UTC 2024 - 6.1K bytes - Viewed (0) -
cmd/storage-rest_test.go
objectName string offset int64 expectedResult []byte expectErr bool }{ {"foo", "myobject", 0, []byte("foo"), false}, {"foo", "myobject", 1, []byte("oo"), false}, // file not found error. {"foo", "yourobject", 0, nil, true}, } result := make([]byte, 100) for i, testCase := range testCases { result = result[testCase.offset:3]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 11.4K bytes - Viewed (0) -
src/archive/zip/reader_test.go
done <- true }(j, ft) n++ } } for ; n > 0; n-- { <-done } } func equalTimeAndZone(t1, t2 time.Time) bool { name1, offset1 := t1.Zone() name2, offset2 := t2.Zone() return t1.Equal(t2) && name1 == name2 && offset1 == offset2 } func readTestFile(t *testing.T, zt ZipTest, ft ZipTestFile, f *File, raw []byte) { if f.Name != ft.Name { t.Errorf("name=%q, want %q", f.Name, ft.Name)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 56.6K bytes - Viewed (0) -
src/archive/tar/format.go
// This matches the limit used by libarchive. maxSpecialFileSize = 1 << 20 ) // blockPadding computes the number of bytes needed to pad offset up to the // nearest block edge where 0 <= n < blockSize. func blockPadding(offset int64) (n int64) { return -offset & (blockSize - 1) } var zeroBlock block type block [blockSize]byte // Convert block to any number of formats.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 11.3K bytes - Viewed (0)