Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 682 for decoded (0.03 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03);
    
            assertNull(response.getResults());
        }
    
        @Test
        @DisplayName("Test getResults returns decoded file entries")
        void testGetResultsReturnsDecodedEntries() throws Exception {
            response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03);
    
            // Use reflection to set the results field
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  2. src/bufio/scan.go

    	}
    
    	// Fast path 2: Correct UTF-8 decode without error.
    	_, width := utf8.DecodeRune(data)
    	if width > 1 {
    		// It's a valid encoding. Width cannot be one for a correctly encoded
    		// non-ASCII rune.
    		return width, data[0:width], nil
    	}
    
    	// We know it's an error: we have width==1 and implicitly r==utf8.RuneError.
    	// Is the error because there wasn't a full rune to be decoded?
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed May 21 18:05:26 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            assertNotNull(response);
            assertNull(response.getInfo()); // Should be null before decoding
        }
    
        @Test
        @DisplayName("Test getInfo returns decoded information")
        void testGetInfo() throws Exception {
            response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2);
    
            // Use reflection to set the info field
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

                    readn(this.in, buffer, Smb2Constants.SMB2_HEADER_LENGTH, rl - Smb2Constants.SMB2_HEADER_LENGTH);
    
                    len = cur.decode(buffer, 0, true);
                    if (len > rl) {
                        throw new IOException(String.format("WHAT? ( read %d decoded %d ): %s", rl, len, cur));
                    }
                    if (nextCommand != 0 && len > nextCommand) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  5. cmd/auth-handler.go

    	if newGlobalAuthZPluginFn() != nil {
    		return claims, nil
    	}
    
    	// Check if a session policy is set. If so, decode it here.
    	sp, spok := claims.Lookup(policy.SessionPolicyName)
    	if spok {
    		// Looks like subpolicy is set and is a string, if set then its
    		// base64 encoded, decode it. Decoding fails reject such
    		// requests.
    		spBytes, err := base64.StdEncoding.DecodeString(sp)
    		if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    	}
    
    	// decode the response body.
    	decoder := xml.NewDecoder(rec.Body)
    	multipartResponse := &InitiateMultipartUploadResponse{}
    
    	err = decoder.Decode(multipartResponse)
    	if err != nil {
    		t.Fatalf("Error decoding the recorded response Body")
    	}
    	// verify the uploadID my making an attempt to list parts.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  7. cmd/utils.go

    	return input, nil
    }
    
    // xmlDecoder provide decoded value in xml.
    func xmlDecoder(body io.Reader, v any, size int64) error {
    	var lbody io.Reader
    	if size > 0 {
    		lbody = io.LimitReader(body, size)
    	} else {
    		lbody = body
    	}
    	d := xml.NewDecoder(lbody)
    	// Ignore any encoding set in the XML body
    	d.CharsetReader = nopCharsetConverter
    	err := d.Decode(v)
    	if errors.Is(err, io.EOF) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 33K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * @param buffer the buffer containing the message data
         * @param bufferIndex the starting offset in the buffer
         * @return the number of bytes read
         * @throws SMBProtocolDecodingException if the data cannot be decoded
         */
        protected abstract int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException;
    
        @Override
        public int hashCode() {
            return this.mid;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            objAttr.decode(mockNdrBuffer);
    
            assertEquals(100, objAttr.length);
            assertEquals(3, objAttr.attributes);
            assertEquals(4, objAttr.security_descriptor);
    
            verify(objAttr.root_directory).decode(mockDeferredNdrBuffer);
            verify(objAttr.object_name).decode(mockDeferredNdrBuffer);
            verify(objAttr.security_quality_of_service).decode(mockDeferredNdrBuffer);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  10. CHANGELOG.md

        capability.
    
     *  Fix: Don't crash on `trailers()` if the response doesn't have a body. We broke [Retrofit] users
        who read the trailers on the `raw()` OkHttp response, after its body was decoded.
    
    
    ## Version 5.0.0
    
    _2025-07-02_
    
    This is our first stable release of OkHttp since 2023. Here's the highlights if you're upgrading
    from OkHttp 4.x:
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 05 16:02:59 UTC 2025
    - 36.2K bytes
    - Viewed (2)
Back to top