- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 342 for _offset (0.12 sec)
-
cmd/sftp-server-driver.go
} func (w *writerAt) WriteAt(b []byte, offset int64) (n int, err error) { w.m.Lock() defer w.m.Unlock() if w.nextOffset == offset { n, err = w.w.Write(b) w.nextOffset += int64(n) } else { if offset > w.nextOffset+ftpMaxWriteOffset { return 0, fmt.Errorf("write offset %d is too far ahead of next offset %d", offset, w.nextOffset) } w.buffer[offset] = make([]byte, len(b)) copy(w.buffer[offset], b)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 05 07:51:13 UTC 2024 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
if (mappingItemList == null) { reload(null); } if (offset >= mappingItemList.size() || offset < 0) { return new PagingList<>(Collections.<CharMappingItem> emptyList(), offset, size, mappingItemList.size()); } int toIndex = offset + size; if (toIndex > mappingItemList.size()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 10.2K bytes - Viewed (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 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat May 06 02:53:12 UTC 2023 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServicePacket.java
int start = dstIndex; if ( this.recordName == this.questionName ) { dst[ dstIndex++ ] = (byte) 0xC0; // label string pointer to dst[ dstIndex++ ] = (byte) 0x0C; // questionName (offset 12) } else { dstIndex += this.recordName.writeWireFormat(dst, dstIndex); } writeInt2(this.recordType, dst, dstIndex); dstIndex += 2;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 12K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServicePacket.java
int start = dstIndex; if( recordName == questionName ) { dst[dstIndex++] = (byte)0xC0; // label string pointer to dst[dstIndex++] = (byte)0x0C; // questionName (offset 12) } else { dstIndex += recordName.writeWireFormat( dst, dstIndex ); } writeInt2( recordType, dst, dstIndex ); dstIndex += 2;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 12.4K bytes - Viewed (0) -
src/archive/zip/writer.go
closed bool compressors map[uint16]Compressor comment string // testHookCloseSizeOffset if non-nil is called with the size // of offset of the central directory at Close. testHookCloseSizeOffset func(size, offset uint64) } type header struct { *FileHeader offset uint64 raw bool } // NewWriter returns a new [Writer] writing a zip file to w. func NewWriter(w io.Writer) *Writer {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 19.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/BenchmarkHelpers.java
+ "\u19d0\u1b50\u1bb0\u1c40\u1c50\ua620\ua8d0\ua900\uaa50\uff10"; for (char base : zeros.toCharArray()) { for (int offset = 0; offset < 10; offset++) { sb.append((char) (base + offset)); } } ALL_DIGITS = sb.toString(); } /** Sample CharMatcher instances for benchmarking. */ public enum SampleMatcherConfig {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/BenchmarkHelpers.java
+ "\u19d0\u1b50\u1bb0\u1c40\u1c50\ua620\ua8d0\ua900\uaa50\uff10"; for (char base : zeros.toCharArray()) { for (int offset = 0; offset < 10; offset++) { sb.append((char) (base + offset)); } } ALL_DIGITS = sb.toString(); } /** Sample CharMatcher instances for benchmarking. */ public enum SampleMatcherConfig {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/NtlmMessage.java
int length = readUShort(src, index); int offset = readULong(src, index + 4); byte[] buffer = new byte[length]; System.arraycopy(src, offset, buffer, 0, length); return buffer; } static void writeULong ( byte[] dest, int offset, int ulong ) { dest[ offset ] = (byte) ( ulong & 0xff ); dest[ offset + 1 ] = (byte) ( ulong >> 8 & 0xff );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWrite.java
public SmbComWrite ( Configuration config, int fid, int offset, int remaining, byte[] b, int off, int len ) { super(config, SMB_COM_WRITE); this.fid = fid; this.count = len; this.offset = offset; this.remaining = remaining; this.b = b; this.off = off; } /** * * @param fid * @param offset * @param remaining * @param b
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.7K bytes - Viewed (0)