Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 465 for OFFSET (0.09 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            byte[] buffer = new byte[2048];
            int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
            assertTrue(bytesWritten > 0);
    
            // Verify name length field at offset 46 (after 44 bytes of fixed fields + 2 for name offset)
            byte[] nameBytes = longPath.getBytes(StandardCharsets.UTF_16LE);
            int nameLenInBuffer = (buffer[46] & 0xFF) | ((buffer[47] & 0xFF) << 8);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. chainable_api.go

    	return
    }
    
    // Offset specify the number of records to skip before starting to return the records
    //
    // Offset conditions can be cancelled by using `Offset(-1)`.
    //
    //	// select the third user
    //	db.Offset(2).First(&user)
    //	// select the first user by cancelling an earlier chained offset
    //	db.Offset(5).Offset(-1).First(&user)
    func (db *DB) Offset(offset int) (tx *DB) {
    	tx = db.getInstance()
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/smb1/util/HMACT64.java

            return md5.digest(digest);
        }
    
        @Override
        protected int engineDigest(final byte[] buf, final int offset, final int len) {
            final byte[] digest = md5.digest();
            md5.update(opad);
            md5.update(digest);
            try {
                return md5.digest(buf, offset, len);
            } catch (final Exception ex) {
                throw new IllegalStateException();
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/HMACT64.java

            return this.md5.digest(digest);
        }
    
        @Override
        protected int engineDigest(final byte[] buf, final int offset, final int len) {
            final byte[] digest = this.md5.digest();
            this.md5.update(this.opad);
            this.md5.update(digest);
            try {
                return this.md5.digest(buf, offset, len);
            } catch (final Exception ex) {
                throw new IllegalStateException();
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. src/bytes/reader.go

    	return nil
    }
    
    // Seek implements the [io.Seeker] interface.
    func (r *Reader) Seek(offset int64, whence int) (int64, error) {
    	r.prevRune = -1
    	var abs int64
    	switch whence {
    	case io.SeekStart:
    		abs = offset
    	case io.SeekCurrent:
    		abs = r.i + offset
    	case io.SeekEnd:
    		abs = int64(len(r.s)) + offset
    	default:
    		return 0, errors.New("bytes.Reader.Seek: invalid whence")
    	}
    	if abs < 0 {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jul 16 18:17:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/ReferralTest.java

                assertEquals(ttl, ref.getTtl());
            }
        }
    
        // Buffer Offset Tests
    
        @Test
        public void testDecodeFromNonZeroIndex() {
            int offset = 100;
            ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
            bb.position(offset);
            bb.putShort((short) 1);
            bb.putShort((short) 24);
            bb.putShort((short) 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/util/SMBUtilTest.java

            assertEquals(0xFFFF, SMBUtil.readInt2(buffer, 14));
    
            // Test different offsets
            for (int offset = 0; offset <= 8; offset++) {
                SMBUtil.writeInt4(0x12345678, buffer, offset);
                assertEquals(0x12345678, SMBUtil.readInt4(buffer, offset));
            }
        }
    
        @Test
        void testNegativeValueHandling() {
            byte[] buffer = new byte[8];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top