Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 465 for OFFSET (2.6 sec)

  1. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            if (this.dialectRevision == 0x0311 && negotiateContextOffset != 0 && negotiateContextCount != 0) {
                // Validate negotiate context offset
                if (negotiateContextOffset < 0) {
                    throw new SMBProtocolDecodingException(
                            "Invalid negotiate context offset: " + negotiateContextOffset + " (must be non-negative)");
                }
    
                int ncpos = getHeaderStart() + negotiateContextOffset;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/jcifs/util/InputValidator.java

            }
        }
    
        /**
         * Validates array bounds for safe copying
         *
         * @param src source array
         * @param srcOffset source offset
         * @param dst destination array
         * @param dstOffset destination offset
         * @param length copy length
         * @throws IllegalArgumentException if bounds are invalid
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  6. cmd/streaming-signature-v4.go

    				fmt.Println("Read err:", err)
    			}
    		}
    	}()
    	// First, if there is any unread data, copy it to the client
    	// provided buffer.
    	if cr.offset > 0 {
    		n = copy(buf, cr.buffer[cr.offset:])
    		if n == len(buf) {
    			cr.offset += n
    			return n, nil
    		}
    		cr.offset = 0
    		buf = buf[n:]
    	}
    
    	var size int
    	for {
    		b, err := cr.reader.ReadByte()
    		if err == io.EOF {
    			err = io.ErrUnexpectedEOF
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top