Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 330 for decoded (1.14 sec)

  1. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertThat(encoding.encode(decoded.getBytes(UTF_8), offset, len)).isEqualTo(encoded);
      }
    
      private static void testDecodes(BaseEncoding encoding, String encoded, String decoded) {
        assertThat(encoding.canDecode(encoded)).isTrue();
        assertThat(encoding.decode(encoded)).isEqualTo(decoded.getBytes(UTF_8));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 12:56:11 UTC 2023
    - 24.6K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                int pos = -1;
                while ((pos = decoded.indexOf('%', pos + 1)) >= 0) {
                    if (pos + 2 < decoded.length()) {
                        String hexStr = decoded.substring(pos + 1, pos + 3);
                        char ch = (char) Integer.parseInt(hexStr, 16);
                        decoded = decoded.substring(0, pos) + ch + decoded.substring(pos + 3);
                    }
                }
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 11K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/Strings.java

            }
        }
    
    
        /**
         * @param src
         * @param srcIndex
         * @param len
         * @return decoded string
         */
        public static String fromUNIBytes ( byte[] src, int srcIndex, int len ) {
            return new String(src, srcIndex, len, UNI_ENCODING);
        }
    
    
        /**
         * @param buffer
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/SerializedLambdaParametersCheckingCodec.kt

     * If some of them are not, it logs a problem.
     *
     * The lambda is encoded straightforwardly as a bean, and, upon decoding, the bean is expected to be the [SerializedLambda].
     * Beside the compliance checks, the values are encoded or decoded as beans without any special handling.
     *
     * @see [org.gradle.internal.serialize.beans.services.unsupportedFieldDeclaredTypes]
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Codec.kt

        val id = readSmallInt()
        val previousValue = identities.getInstance(id)
        return when {
            previousValue != null -> previousValue.uncheckedCast()
            else -> {
                decode(id).also {
                    require(identities.getInstance(id) === it) {
                        "`decode(id)` should register the decoded instance"
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/BaseEncoding.java

          }
        }
    
        @Override
        int decodeTo(byte[] target, CharSequence chars) throws DecodingException {
          checkNotNull(target);
          if (chars.length() % 2 == 1) {
            throw new DecodingException("Invalid input length " + chars.length());
          }
          int bytesWritten = 0;
          for (int i = 0; i < chars.length(); i += 2) {
            int decoded = alphabet.decode(chars.charAt(i)) << 4 | alphabet.decode(chars.charAt(i + 1));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 15 16:33:32 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/BaseEncoding.java

          }
        }
    
        @Override
        int decodeTo(byte[] target, CharSequence chars) throws DecodingException {
          checkNotNull(target);
          if (chars.length() % 2 == 1) {
            throw new DecodingException("Invalid input length " + chars.length());
          }
          int bytesWritten = 0;
          for (int i = 0; i < chars.length(); i += 2) {
            int decoded = alphabet.decode(chars.charAt(i)) << 4 | alphabet.decode(chars.charAt(i + 1));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 15 16:33:32 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Utf8.java

      /**
       * Returns {@code true} if {@code bytes} is a <i>well-formed</i> UTF-8 byte sequence according to
       * Unicode 6.0. Note that this is a stronger criterion than simply whether the bytes can be
       * decoded. For example, some versions of the JDK decoder will accept "non-shortest form" byte
       * sequences, but encoding never reproduces these. Such byte sequences are <i>not</i> considered
       * well-formed.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 14:11:51 UTC 2023
    - 7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Utf8.java

      /**
       * Returns {@code true} if {@code bytes} is a <i>well-formed</i> UTF-8 byte sequence according to
       * Unicode 6.0. Note that this is a stronger criterion than simply whether the bytes can be
       * decoded. For example, some versions of the JDK decoder will accept "non-shortest form" byte
       * sequences, but encoding never reproduces these. Such byte sequences are <i>not</i> considered
       * well-formed.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 14:11:51 UTC 2023
    - 7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

                    readn(this.in, buffer, Smb2Constants.SMB2_HEADER_LENGTH, rl - Smb2Constants.SMB2_HEADER_LENGTH);
    
                    len = cur.decode(buffer, 0, true);
                    if ( len > rl ) {
                        throw new IOException(String.format("WHAT? ( read %d decoded %d ): %s", rl, len, cur));
                    }
                    else if ( nextCommand != 0 && len > nextCommand ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
Back to top