Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 566 for decodes (0.06 sec)

  1. docs/en/docs/tutorial/security/oauth2-jwt.md

    ## Update the dependencies { #update-the-dependencies }
    
    Update `get_current_user` to receive the same token as before, but this time, using JWT tokens.
    
    Decode the received token, verify it, and return the current user.
    
    If the token is invalid, return an HTTP error right away.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[90:107] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/util/StringUtilTest.java

            // First: "" (sb becomes "")
            // Second: sb.length() is 0, no delimiter, append null (sb becomes "null")
            // Third: sb.length() > 0, add "-" + "value" (sb becomes "null-value")
            // Fourth: sb.length() > 0, add "-" + "" (sb becomes "null-value-")
            // Fifth: sb.length() > 0, add "-" + null (sb becomes "null-value--null")
            assertEquals("null-value--null", result);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/rpc.java

                _dst = _dst.derive(_nodei);
                for (int _i = 0; _i < _nodes; _i++) {
                    _dst.enc_ndr_small(this.node[_i]);
                }
            }
    
            @Override
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
                this.time_low = _src.dec_ndr_long();
                this.time_mid = (short) _src.dec_ndr_short();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

            offset += 4;
    
            return offset - start;
        }
    
        /**
         * Decode directory lease context from buffer
         *
         * @param buffer the buffer containing the context data
         * @param offset offset in the buffer
         * @param length length of the context data
         */
        public void decode(byte[] buffer, int offset, int length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

            int encodedSize = context.encode(buffer, 0);
    
            // Create new context for decoding
            CompressionNegotiateContext decodedContext = new CompressionNegotiateContext();
            int decodedSize = decodedContext.decode(buffer, 0, encodedSize);
    
            assertEquals(encodedSize, decodedSize);
            assertArrayEquals(context.getCompressionAlgorithms(), decodedContext.getCompressionAlgorithms());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. 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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed May 21 18:05:26 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

                dstIndex += this.salt.length;
            }
    
            return dstIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            final int nalgos = SMBUtil.readInt2(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

         */
        public long getLengthInBytes() {
            return this.lengthInBytes;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException {
            if (this.largeFile) {
                this.pid = SMBUtil.readInt2(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. okhttp-tls/api/okhttp-tls.api

    	public fun <init> (Ljava/security/KeyPair;Ljava/security/cert/X509Certificate;)V
    	public final fun certificate ()Ljava/security/cert/X509Certificate;
    	public final fun certificatePem ()Ljava/lang/String;
    	public static final fun decode (Ljava/lang/String;)Lokhttp3/tls/HeldCertificate;
    	public final fun keyPair ()Ljava/security/KeyPair;
    	public final fun privateKeyPkcs1Pem ()Ljava/lang/String;
    	public final fun privateKeyPkcs8Pem ()Ljava/lang/String;
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Feb 26 19:17:33 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

            return dstIndex - start;
        }
    
        /**
         * Decode a transform header from byte array
         *
         * @param buffer
         *            buffer to decode from
         * @param bufferIndex
         *            offset in buffer
         * @return new transform header instance
         */
        public static Smb2TransformHeader decode(final byte[] buffer, int bufferIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top