Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 414 for Decode (0.21 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

        }
    
        public void test_encode() {
            assertNull(permissionHelper.encode(null));
            assertNull(permissionHelper.encode(""));
            assertNull(permissionHelper.encode(" "));
            assertNull(permissionHelper.encode("{user}"));
            assertNull(permissionHelper.encode("{role}"));
            assertNull(permissionHelper.encode("{group}"));
            assertNull(permissionHelper.encode("(allow)"));
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  3. 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)
  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. 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 Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.8K bytes
    - Viewed (1)
  6. 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)
  7. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.2K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/dcerpc/DcerpcMessage.java

    
        @Override
        public void decode ( NdrBuffer buf ) throws NdrException {
            decode_header(buf);
    
            if ( this.ptype != 12 && this.ptype != 2 && this.ptype != 3 && this.ptype != 13 )
                throw new NdrException("Unexpected ptype: " + this.ptype);
    
            if ( this.ptype == 2 || this.ptype == 3 ) { /* Response or Fault */
                this.alloc_hint = buf.dec_ndr_long();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/rpc.java

                _dst.advance(1 * _nodes);
    
                _dst = _dst.derive(_nodei);
                for (int _i = 0; _i < _nodes; _i++) {
                    _dst.enc_ndr_small(node[_i]);
                }
            }
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
                time_low = (int)_src.dec_ndr_long();
                time_mid = (short)_src.dec_ndr_short();
                time_hi_and_version = (short)_src.dec_ndr_short();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 8K bytes
    - Viewed (0)
Back to top