Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 777 for decode (0.15 sec)

  1. android/guava/src/com/google/common/io/BaseEncoding.java

     *
     * <pre>{@code
     * BaseEncoding.base32().encode("foo".getBytes(Charsets.US_ASCII))
     * }</pre>
     *
     * <p>returns the string {@code "MZXW6==="}, and
     *
     * <pre>{@code
     * byte[] decoded = BaseEncoding.base32().decode("MZXW6===");
     * }</pre>
     *
     * <p>...returns the ASCII bytes of the string {@code "foo"}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HuffmanTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.util.Random
    import okhttp3.internal.http2.Huffman.decode
    import okhttp3.internal.http2.Huffman.encode
    import okhttp3.internal.http2.Huffman.encodedLength
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import okio.ByteString.Companion.toByteString
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

                        final String key = urlCodec.decode(pair.substring(0, pos), enc);
                        List<String> list = paramListMap.get(key);
                        if (list == null) {
                            list = new ArrayList<>();
                            paramListMap.put(key, list);
                        }
                        if (pos + 1 < pair.length()) {
                            list.add(urlCodec.decode(pair.substring(pos + 1), enc));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

         */
        public int getNextEntryOffset () {
            return this.nextEntryOffset;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            this.nextEntryOffset = SMBUtil.readInt4(buffer, bufferIndex);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.6K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/generate.go

    			Yaml:   true,
    			Pretty: true,
    			Strict: true,
    		})
    
    	whObject, _, err := deserializer.Decode([]byte(validatingWebhookYAML), nil, &admitv1.ValidatingWebhookConfiguration{})
    	if err != nil {
    		return "", fmt.Errorf("could not decode generated webhook: %w", err)
    	}
    	decodedWh := whObject.(*admitv1.ValidatingWebhookConfiguration)
    	for i := range decodedWh.Webhooks {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  6. cmd/batch-job-common-types_gen_test.go

    	v := BatchJobKV{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeBatchJobKV Msgsize() is inaccurate")
    	}
    
    	vn := BatchJobKV{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    		t.Error(err)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  7. 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")
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

                result = buf.dec_ndr_long();
            } else {                        /* Bind_ack or Response */
                decode_out(buf);
            }
        }
    
        public abstract int getOpnum();
        public abstract void encode_in(NdrBuffer buf) throws NdrException;
        public abstract void decode_out(NdrBuffer buf) throws NdrException;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

    
        /**
         * @param responseType
         * @return decoded data
         * @throws SmbException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends Decodable> T getOutputData ( Class<T> responseType ) throws SmbException {
    
            Decodable out = getOutputData();
    
            if ( out == null ) {
                throw new SmbException("Failed to decode output data");
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 7.4K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

      static class MaxCodePoint {
        final int value;
    
        /**
         * Convert the input string to a code point. Accepts regular decimal numerals, hex strings, and
         * some symbolic names meaningful to humans.
         */
        private static int decode(String userFriendly) {
          try {
            return Integer.decode(userFriendly);
          } catch (NumberFormatException ignored) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
Back to top