- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 562 for Offset (0.04 seconds)
-
cmd/bitrot-streaming.go
func (b *streamingBitrotReader) ReadAt(buf []byte, offset int64) (int, error) { var err error if offset%b.shardSize != 0 { // Offset should always be aligned to b.shardSize // Can never happen unless there are programmer bugs return 0, errUnexpected } if b.rc == nil { // For the first ReadAt() call we need to open the stream for reading. b.currOffset = offset streamOffset := (offset/b.shardSize)*int64(b.h.Size()) + offset
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jan 17 19:19:30 GMT 2025 - 6.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
* @param offset * The starting offset in the input data * @param len * The length of data to process */ public void update(final byte[] input, final int offset, final int len) { if (log.isTraceEnabled()) { log.trace("update: " + this.updates + " " + offset + ":" + len);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/QueryResponseList.java
* @param pageSize the number of records per page * @param offset the offset value for pagination */ protected QueryResponseList(final List<Map<String, Object>> documentList, final int start, final int pageSize, final int offset) { parent = documentList; this.offset = offset; this.start = start; this.pageSize = pageSize; } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
* Verifies that the method returns the correct time zone offset. * @throws CIFSException */ @Test void testGetServerTimeZoneOffset() throws CIFSException { when(smbTreeHandle.getServerTimeZoneOffset()).thenReturn(0L); assertEquals(0L, smbTreeHandle.getServerTimeZoneOffset(), "Server time zone offset should be 0"); when(smbTreeHandle.getServerTimeZoneOffset()).thenReturn(3600000L);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSeek.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
@Test @DisplayName("Test writeSetupWireFormat with offset") void testWriteSetupWireFormatWithOffset() { trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo); byte[] buffer = new byte[256]; int offset = 50; int written = trans2SetFileInfo.writeSetupWireFormat(buffer, offset); // Should write 2 bytes at offset assertEquals(2, written);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
@DisplayName("Should handle hexdump with offset") void testHexdumpWithOffset() { ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintStream ps = new PrintStream(baos); // Create test data and dump from offset byte[] data = createTestData(64); int offset = 16; int length = 32; Hexdump.hexdump(ps, data, offset, length);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/ListForm.java
} return start; } @Override public int getOffset() { if (offset == null) { offset = 0; } return offset; } @Override public int getPageSize() { final FessConfig fessConfig = ComponentUtil.getFessConfig(); if (num == null) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/LoggingOutputStream.java
/** The buffer of bytes sent to the stream */ private byte[] buffer = new byte[DEFAULT_BUFFER_LENGTH]; /** Offset of the start of unwritten data in the buffer */ private int start = 0; /** Offset of the end (semi-open) of unwritten data in the buffer */ private int end = 0; @Override public void write(final int b) throws IOException {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
// Verify all chunks int offset = HEADER_SIZE; assertEquals(0L, SMBUtil.readInt8(buffer, offset)); assertEquals(1024L, SMBUtil.readInt8(buffer, offset + 8)); assertEquals(4096, SMBUtil.readInt4(buffer, offset + 16)); offset += CHUNK_SIZE; assertEquals(4096L, SMBUtil.readInt8(buffer, offset));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.1K bytes - Click Count (0)