Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 435 for _offset (0.11 sec)

  1. 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));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  2. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

        }
    
        /**
         * Reads up to len bytes of data from this input stream into an array of bytes.
         *
         * @param b the buffer into which the data is read
         * @param off the start offset in the array b at which the data is written
         * @param len the maximum number of bytes to read
         * @return the total number of bytes read into the buffer, or -1 if there is no more data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            bufferIndex += 4;
    
            // Write comment offset (4 bytes)
            int commentOffset = serverNameSize + versionSize + typeSize + offsetSize;
            SMBUtil.writeInt4(commentOffset, buffer, bufferIndex);
            bufferIndex += 4;
    
            // Write comment at the calculated offset
            byte[] commentBytes = comment.getBytes(StandardCharsets.US_ASCII);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. 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 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ObjectArrays.java

          @Nullable Object[] src, int offset, int len, T[] dst) {
        checkPositionIndexes(offset, offset + len, src.length);
        if (dst.length < len) {
          dst = newArray(dst, len);
        } else if (dst.length > len) {
          @Nullable Object[] unsoundlyCovariantArray = dst;
          unsoundlyCovariantArray[len] = null;
        }
        arraycopy(src, offset, dst, 0, len);
        return dst;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. 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 ID
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  8. 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()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int SECURITY_USER = 0x01;
    
        /** Command offset in SMB header */
        int CMD_OFFSET = 4;
        /** Error code offset in SMB header */
        int ERROR_CODE_OFFSET = 5;
        /** Flags offset in SMB header */
        int FLAGS_OFFSET = 9;
        /** Signature offset in SMB header */
        int SIGNATURE_OFFSET = 14;
        /** TID offset in SMB header */
        int TID_OFFSET = 24;
        /** SMB header length */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

        public synchronized PagingList<KuromojiItem> selectList(final int offset, final int size) {
            if (kuromojiItemList == null) {
                reload(null);
            }
    
            if (offset >= kuromojiItemList.size() || offset < 0) {
                return new PagingList<>(Collections.<KuromojiItem> emptyList(), offset, size, kuromojiItemList.size());
            }
    
            int toIndex = offset + size;
            if (toIndex > kuromojiItemList.size()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top