Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 136 for decode (0.41 sec)

  1. cmd/erasure-decode.go

    	}
    
    	// If we cannot decode, just return read quorum error.
    	return nil, fmt.Errorf("%w (offline-disks=%d/%d)", errErasureReadQuorum, disksNotFound, len(p.readers))
    }
    
    // Decode reads from readers, reconstructs data if needed and writes the data to the writer.
    // A set of preferred drives can be supplied. In that case they will be used and the data reconstructed.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  2. 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].
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (2)
  3. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

            assertEquals("{role}guest", permissionHelper.decode("Rguest"));
            assertEquals("{group}guest", permissionHelper.decode("2guest"));
            assertEquals("(deny){user}guest", permissionHelper.decode("D1guest"));
            assertEquals("(deny){role}guest", permissionHelper.decode("DRguest"));
            assertEquals("(deny){group}guest", permissionHelper.decode("D2guest"));
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/Base64Util.java

        private static final char PAD = '=';
    
        private static final byte[] DECODE_TABLE = new byte[128];
        static {
            for (int i = 0; i < DECODE_TABLE.length; i++) {
                DECODE_TABLE[i] = Byte.MAX_VALUE;
            }
            for (int i = 0; i < ENCODE_TABLE.length; i++) {
                DECODE_TABLE[ENCODE_TABLE[i]] = (byte) i;
            }
        }
    
        /**
         * Base64でエンコードします。
         *
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/idn/PunycodeTest.kt

        assertNull(Punycode.decode("xn--a-9b.net"))
        assertEquals("a՚.net", Punycode.decode("xn--a-99b.net"))
        assertEquals("a溠.net", Punycode.decode("xn--a-999b.net"))
        assertEquals("a\uD8E2\uDF5C.net", Punycode.decode("xn--a-9999b.net"))
        assertNull(Punycode.decode("xn--a-99999b.net"))
      }
    
      @Test fun dashInPrefix() {
        testEncodeDecode(
          unicode = "klmnöpqrst-uvwxy",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/user/exentity/User.java

            return stream(getRoles()).get(stream -> stream.map(this::decode).toArray(n -> new String[n]));
        }
    
        @Override
        public String[] getGroupNames() {
            return stream(getGroups()).get(stream -> stream.map(this::decode).toArray(n -> new String[n]));
        }
    
        private String decode(final String value) {
            return new String(Base64.getDecoder().decode(value), Constants.CHARSET_UTF_8);
        }
    
        @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.8K bytes
    - Viewed (1)
  7. common-protos/k8s.io/api/apiserverinternal/v1alpha1/generated.proto

      // Spec is an empty spec. It is here to comply with Kubernetes API style.
      optional StorageVersionSpec spec = 2;
    
      // API server instances report the version they can decode and the version they
      // encode objects to when persisting objects in the backend.
      optional StorageVersionStatus status = 3;
    }
    
    // Describes the state of the storageVersion at a certain point.
    message StorageVersionCondition {
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

      val tag: Long,
      /** Encode and decode the value once tags are handled. */
      private val codec: Codec<T>,
      /** True if the default value should be used if this value is absent during decoding. */
      val isOptional: Boolean = false,
      /** The value to return if this value is absent. Undefined unless this is optional. */
      val defaultValue: T? = null,
      /** True to set the encoded or decoded value as the type hint for the current SEQUENCE. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top