Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 542 for decodes (0.06 sec)

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

      } catch (nsee: NoSuchElementException) {
        throw IllegalArgumentException("failed to decode certificate", nsee)
      } catch (iae: IllegalArgumentException) {
        throw IllegalArgumentException("failed to decode certificate", iae)
      } catch (e: GeneralSecurityException) {
        throw IllegalArgumentException("failed to decode certificate", e)
      }
    }
    
    /**
     * Returns the certificate encoded in [PEM format][rfc_7468].
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. cmd/erasure-coding.go

    	if err != nil {
    		return nil, err
    	}
    	if err = e.encoder().Encode(encoded); err != nil {
    		return nil, err
    	}
    	return encoded, nil
    }
    
    // DecodeDataBlocks decodes the given erasure-coded data.
    // It only decodes the data blocks but does not verify them.
    // It returns an error if the decoding failed.
    func (e *Erasure) DecodeDataBlocks(data [][]byte) error {
    	isZero := 0
    	for _, b := range data {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

        }
      }
    
      /**
       * This decodes a value into its contents using a preceding member of the same SEQUENCE. For
       * example, extensions type IDs specify what types to use for the corresponding values.
       *
       * If the hint is unknown [chooser] should return null which will cause the value to be decoded as
       * an opaque byte string.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java

     */
    package jcifs.internal.dfs;
    
    import java.util.Arrays;
    
    import jcifs.Decodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * DFS (Distributed File System) referral response buffer parser.
     * Decodes server responses to DFS referral requests, extracting information about
     * available DFS targets, path consumption details, and referral flags.
     *
     * @author mbechler
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/FacetResponse.java

             */
            protected Map<String, Long> valueCountMap = new LinkedHashMap<>();
    
            /**
             * The decoded name of the field.
             */
            protected String name;
    
            /**
             * Constructs a Field from OpenSearch Terms aggregation.
             * Decodes the field name and processes all term buckets to extract
             * field values and their document counts.
             *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

            AvTargetName avTargetName = new AvTargetName(rawBytes);
    
            // Verify that getTargetName correctly decodes the raw bytes
            assertEquals(originalString, avTargetName.getTargetName(), "Retrieved target name should correctly decode raw bytes");
        }
    
        /**
         * Test with an empty string for both constructors.
         */
        @Test
        void testEmptyString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

        }
    
        /**
         * Decodes a security descriptor from a byte buffer.
         *
         * @param buffer the byte buffer containing the security descriptor data
         * @param bufferIndex the starting offset in the buffer
         * @param len the length of data to decode
         * @return the number of bytes decoded
         * @throws SMBProtocolDecodingException if the data cannot be properly decoded
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. cmd/streaming-v4-unsigned.go

    	buffer []byte
    	offset int
    	err    error
    	debug  bool
    }
    
    func (cr *s3UnsignedChunkedReader) Close() (err error) {
    	return cr.err
    }
    
    // Read - implements `io.Reader`, which transparently decodes
    // the incoming AWS Signature V4 streaming signature.
    func (cr *s3UnsignedChunkedReader) Read(buf []byte) (n int, err error) {
    	// First, if there is any unread data, copy it to the client
    	// provided buffer.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 03 14:55:52 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

        }
    
        @ParameterizedTest
        @MethodSource("int32Provider")
        @DisplayName("readParameterWordsWireFormat correctly decodes 32-bit offset")
        void testReadParameterWords(int expectedInt, byte[] bytes) {
            // The implementation reads via SMBUtil.readInt4 which returns an int
            // When assigned to a long field, it gets sign-extended
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

      val normalized = normalizeNfc(bufferB.readUtf8())
      bufferA.writeUtf8(normalized)
    
      // 3. For each label, convert/validate Punycode.
      val decoded = Punycode.decode(bufferA.readUtf8()) ?: return null
    
      // 4.1 Validate.
    
      // Must be NFC.
      if (decoded != normalizeNfc(decoded)) return null
    
      // TODO: Must not begin with a combining mark.
      // TODO: Each character must be 'valid' or 'deviation'. Not mapped.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top