Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 517 for offsets (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

            byte[] buffer = new byte[50];
    
            // Test with offset at beginning
            System.arraycopy(sourceData, 0, buffer, 0, sourceData.length);
            int result1 = response.readDataWireFormat(buffer, 0, sourceData.length);
            assertEquals(sourceData.length, result1);
    
            // Test with offset in middle
            byte[] outputBuffer2 = new byte[1024];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/request-files.md

    * `write(data)`: Writes `data` (`str` or `bytes`) to the file.
    * `read(size)`: Reads `size` (`int`) bytes/characters of the file.
    * `seek(offset)`: Goes to the byte position `offset` (`int`) in the file.
        * E.g., `await myfile.seek(0)` would go to the start of the file.
        * This is especially useful if you run `await myfile.read()` once and then need to read the contents again.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/request-files.md

    * `write(data)`: Escreve `data` (`str` ou `bytes`) no arquivo.
    * `read(size)`: Lê `size` (`int`) bytes/caracteres do arquivo.
    * `seek(offset)`: Vai para o byte na posição `offset` (`int`) no arquivo.
        * Por exemplo, `await myfile.seek(0)` irá para o início do arquivo.
        * Isso é especialmente útil se você executar `await myfile.read()` uma vez e precisar ler o conteúdo novamente.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java

        private final Smb2RdmaTransform transform;
    
        /**
         * Create new RDMA channel info
         *
         * @param remoteKey remote memory key for RDMA access (token)
         * @param address remote memory address (offset)
         * @param length length of the memory region
         */
        public RdmaChannelInfo(int remoteKey, long address, int length) {
            // Create SMB2_RDMA_TRANSFORM structure
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/arm64error.s

    	VST1.P	[V4.S4,V5.S4], 48(R1)                            // ERROR "invalid post-increment offset"
    	VST1.P	[V4.S4], 8(R1)                                   // ERROR "invalid post-increment offset"
    	VLD1.P	32(R1), [V8.S4, V9.S4, V10.S4]                   // ERROR "invalid post-increment offset"
    	VLD1.P	48(R1), [V7.S4, V8.S4, V9.S4, V10.S4]            // ERROR "invalid post-increment offset"
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Mar 26 10:48:50 UTC 2025
    - 37.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            byte[] dst = new byte[100];
    
            int bytesWritten = querySecurityDesc.writeParametersWireFormat(dst, 10);
    
            // Verify structure:
            // Offset 0-1: FID (2 bytes)
            // Offset 2-3: Reserved (2 bytes, should be 0x00)
            // Offset 4-7: Security Information (4 bytes)
            assertEquals(8, bytesWritten);
    
            // Check FID
            assertEquals(0xABCD, SMBUtil.readInt2(dst, 10));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         *            placed.
         * @param offset
         *            The offset in the destination array at which the
         *            session key will start.
         * @throws SmbException if an SMB error occurs
         */
        public void getUserSessionKey(CIFSContext tc, byte[] chlng, byte[] dest, int offset) throws SmbException {
            try {
                MessageDigest md4 = Crypto.getMD4();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

                int charCount = str.length();
    
                // NDR string structure: MaximumCount, Offset, ActualCount, then data
                buf.enc_ndr_long(charCount + 1); // MaximumCount (including null terminator)
                buf.enc_ndr_long(0); // Offset
                buf.enc_ndr_long(charCount + 1); // ActualCount (including null terminator)
    
                // String data in UTF-16LE
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            loadTestData();
    
            DictionaryFile.PagingList<StopwordsItem> result = stopwordsFile.selectList(10, 2);
            // When offset is out of bounds, all items may still be returned
            assertTrue(result.size() <= 5);
            assertEquals(6, result.getCurrentPageNumber()); // offset 10 with size 2 = page 6
            assertEquals(2, result.getPageSize());
            assertEquals(5, result.getAllRecordCount());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            byte[] buffer = new byte[256];
            int offset = 10;
            int size = 100;
            when(response.verifySignature(buffer, offset, size)).thenReturn(true);
    
            // When
            boolean verified = response.verifySignature(buffer, offset, size);
    
            // Then
            assertTrue(verified);
            verify(response).verifySignature(buffer, offset, size);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
Back to top