Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 492 for YOffset (0.04 seconds)

  1. 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);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 22K bytes
    - Click Count (0)
  2. 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 */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

         *
         * @return the process ID
         */
        public int getPid() {
            return this.pid;
        }
    
        /**
         * Returns the starting byte offset of the lock range.
         *
         * @return the starting byte offset
         */
        public long getByteOffset() {
            return this.byteOffset;
        }
    
        /**
         * Returns the byte length of the lock range.
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

            void testReadAtDifferentOffsets(int offset) throws SMBProtocolDecodingException {
                byte[] buffer = new byte[1024];
                byte[] responseData = createValidWriteResponse(2048, 1024);
                System.arraycopy(responseData, 0, buffer, offset, responseData.length);
    
                int bytesRead = response.readBytesWireFormat(buffer, offset);
    
                assertEquals(16, bytesRead);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (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 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  6. 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;
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:48:28 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            // Create buffer with offset
            byte[] buffer = new byte[20];
            int offset = 5;
            original.encode(buffer, offset);
    
            // Decode from offset
            FileEndOfFileInformation decoded = new FileEndOfFileInformation();
            int decodedBytes = decoded.decode(buffer, offset, 8);
            assertEquals(8, decodedBytes);
    
            // Verify the values match
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  8. generics.go

    	return c.with(func(db *DB) *DB {
    		return db.Or(query, args...)
    	})
    }
    
    func (c chainG[T]) Limit(offset int) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    		return db.Limit(offset)
    	})
    }
    
    func (c chainG[T]) Offset(offset int) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    		return db.Offset(offset)
    	})
    }
    
    type joinBuilder struct {
    	db *DB
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

            bufferIndex += 2;
            final int ownerUOffset = SMBUtil.readInt4(buffer, bufferIndex); // offset to owner sid
            bufferIndex += 4;
            final int ownerGOffset = SMBUtil.readInt4(buffer, bufferIndex); // offset to group sid
            bufferIndex += 4;
            SMBUtil.readInt4(buffer, bufferIndex); // offset to sacl
            bufferIndex += 4;
            final int daclOffset = SMBUtil.readInt4(buffer, bufferIndex);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

                        final int pos = text.indexOf(term, offset);
                        if (pos > 0) {
                            final String tmp = text.substring(offset, pos);
                            readingBuf.append(transliterator.transliterate(tmp));
                            offset = pos;
                        } else if (pos == -1) {
                            continue;
                        }
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 17 14:28:21 GMT 2025
    - 6.7K bytes
    - Click Count (0)
Back to Top