Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 566 for decodes (0.2 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          return decode(certificatePem, pkcs8Base64)
        }
    
        private fun decode(
          certificatePem: String,
          pkcs8Base64Text: String,
        ): HeldCertificate {
          val certificate = certificatePem.decodeCertificatePem()
    
          val pkcs8Bytes =
            pkcs8Base64Text.decodeBase64()
              ?: throw IllegalArgumentException("failed to decode private key")
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

                for (int i = 0; i < padding; i++) {
                    buf.enc_ndr_small(0);
                }
            }
        }
    
        /**
         * Decodes a wide string pointer from NDR format.
         *
         * @param buf the NDR buffer
         * @return the decoded string (or null if NULL pointer)
         * @throws NdrException if decoding fails
         */
        private String decodeWideStringPointer(NdrBuffer buf) throws NdrException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

        }
    
        /**
         * Decodes a Base64 string to bytes.
         *
         * @param base64String the Base64 string to decode
         * @return the decoded bytes, or null if input is null
         */
        protected byte[] decodeBase64(String base64String) {
            if (base64String == null) {
                return null;
            }
            try {
                return BASE64_DECODER.decode(base64String);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

        class IntegrationTests {
    
            @Test
            @DisplayName("Should maintain state after multiple decodes")
            void testMultipleDecodes() throws SMBProtocolDecodingException {
                // First decode
                byte[] buffer1 = createValidCopyChunkResponse(1, 1024, 1024);
                response.decode(buffer1, 0, buffer1.length);
                assertEquals(1, response.getChunksWritten());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            }
        }
    
        /**
         * Decodes a similar document hash from its compressed and encoded form.
         * Reverses the encoding process applied by encodeSimilarDocHash.
         *
         * @param hash the encoded hash string to decode
         * @return the decoded hash string, or the original hash if decoding fails
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteSource.java

    @J2ktIncompatible
    @GwtIncompatible
    public abstract class ByteSource {
    
      /** Constructor for use by subclasses. */
      protected ByteSource() {}
    
      /**
       * Returns a {@link CharSource} view of this byte source that decodes bytes read from this source
       * as characters using the given {@link Charset}.
       *
       * <p>If {@link CharSource#asByteSource} is called on the returned source with the same charset,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  7. cmd/streaming-signature-v4.go

    // out of HTTP "chunked" format before returning it.
    // The s3ChunkedReader returns io.EOF when the final 0-length chunk is read.
    //
    // NewChunkedReader is not needed by normal applications. The http package
    // automatically decodes chunking when reading response bodies.
    func newSignV4ChunkedReader(req *http.Request, trailer bool) (io.ReadCloser, APIErrorCode) {
    	cred, seedSignature, region, seedDate, errCode := calculateSeedSignature(req, trailer)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            if (rem == 0) {
                return 0;
            }
            return 8 - rem;
        }
    
        @Override
        public int decode(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException {
            return decode(buffer, bufferIndex, false);
        }
    
        /**
         * Decodes the SMB2 message from the buffer.
         *
         * @param buffer the buffer containing the message
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

        }
    
        @Test
        @DisplayName("Test decode with owner SID only")
        void testDecodeWithOwnerSidOnly() throws SMBProtocolDecodingException {
            // Prepare buffer with owner SID only
            prepareMinimalSecurityDescriptorBuffer(testBuffer, 0, true, false, false);
    
            int size = securityDescriptor.decode(testBuffer, 0, testBuffer.length);
    
            // decode returns 0 when no DACL is present (falls through)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            assertEquals("c", raf.readLine());
    
            when(raf.read()).thenReturn(-1);
            assertNull(raf.readLine());
        }
    
        @Test
        @DisplayName("readUTF(): decodes bytes after size prefix")
        void readUTF_decodes() throws Exception {
            SmbRandomAccessFile raf = spy(newInstance("r", false, false, false));
            // Size prefix 3, then bytes for "abc"
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top