Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 404 for AOffset (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoResponse.java

                if (next == 0) {
                    // Last entry - advance by the full structure size
                    bufferIndex += 152;
                    break;
                }
    
                // Move to next entry based on Next offset
                bufferIndex += next;
            }
    
            return bufferIndex - start;
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                int offset = 40;
                ByteBuffer bb = ByteBuffer.wrap(buffer, offset, 32).order(ByteOrder.LITTLE_ENDIAN);
                bb.putLong(5000L);
                bb.putLong(2500L);
                bb.putLong(2500L);
                bb.putInt(16);
                bb.putInt(1024);
    
                // When
                int bytesConsumed = fileFsFullSizeInfo.decode(buffer, offset, 32);
    
                // Then
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  3. tests/sql_builder_test.go

    	sql = DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
    		return tx.Model(&User{}).Where(&User{Name: "foo", Age: 20}).Limit(10).Offset(5).Order("name ASC").First(&User{})
    	})
    	assertEqualSQL(t, `SELECT * FROM "users" WHERE ("users"."name" = 'foo' AND "users"."age" = 20) AND "users"."deleted_at" IS NULL ORDER BY name ASC,"users"."id" LIMIT 1 OFFSET 5`, sql)
    
    	// last and unscoped
    	sql = DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  4. docs/ru/docs/tutorial/request-files.md

    * `write(data)`: Записать данные `data` (`str` или `bytes`) в файл.
    * `read(size)`: Прочитать количество `size` (`int`) байт/символов из файла.
    * `seek(offset)`: Перейти к байту на позиции `offset` (`int`) в файле.
        * Например, `await myfile.seek(0)` перейдет к началу файла.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

        }
    
        @Override
        public int encode(byte[] dst, int dstIndex) {
            int start = dstIndex;
    
            // Write context header
            SMBUtil.writeInt4(16, dst, dstIndex); // Next (offset to next context, 0 for last)
            dstIndex += 4;
    
            SMBUtil.writeInt2(4, dst, dstIndex); // NameOffset (from start of context)
            dstIndex += 2;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/com/ServerData.java

         * Maximum raw buffer size for raw read/write operations.
         */
        public int maxRawSize;
        /**
         * Server's system time.
         */
        public long serverTime;
        /**
         * Server's time zone offset in minutes from UTC.
         */
        public int serverTimeZone;
        /**
         * Length of the encryption key.
         */
        public int encryptionKeyLength;
        /**
         * Encryption key for password encryption.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

         */
        @Override
        public void getUserSessionKey(final CIFSContext tc, final byte[] chlng, final byte[] dest, final int offset) throws SmbException {
            if (this.hashesExternal) {
                return;
            }
            super.getUserSessionKey(tc, chlng, dest, offset);
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  8. internal/s3select/select_test.go

    )
    
    func newStringRSC(s string) io.ReadSeekCloser {
    	return newBytesRSC([]byte(s))
    }
    
    func newBytesRSC(b []byte) io.ReadSeekCloser {
    	r := bytes.NewReader(b)
    	segmentReader := func(offset int64) (io.ReadCloser, error) {
    		_, err := r.Seek(offset, io.SeekStart)
    		if err != nil {
    			return nil, err
    		}
    		return io.NopCloser(r), nil
    	}
    	return NewObjectReadSeekCloser(segmentReader, int64(len(b)))
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 76.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            byte[] hdr = new byte[64]; // SMB2 header is 64 bytes
            System.arraycopy(SMBUtil.SMB2_HEADER, 0, hdr, 0, 64);
            // Write Status (little-endian) at offset 8 in the SMB2 header
            SMBUtil.writeInt4(status, hdr, 8);
            // Write Command = SMB2_IOCTL (0x000B) at offset 12
            SMBUtil.writeInt2(0x000B, hdr, 12);
            // Mark as server response to be realistic (optional)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            d.parameterCount = 5; // Current parameter count matches total
            d.parameterOffset = 2; // Absolute offset in the SMB message
            d.parameterDisplacement = 0;
            d.dataCount = 4; // Current data count matches total
            d.dataOffset = 10; // Absolute offset in the SMB message
            d.dataDisplacement = 0;
            d.headerStart = 0; // Set headerStart (bufferIndex will be 0)
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top