Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for decoder (7.09 sec)

  1. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        assertThat(UnsignedInts.decode("0xffffffff")).isEqualTo(0xffffffff);
        assertThat(UnsignedInts.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedInts.decode("#12345678")).isEqualTo(0x12345678);
        assertThat(UnsignedInts.decode("76543210")).isEqualTo(76543210);
        assertThat(UnsignedInts.decode("0x13579135")).isEqualTo(0x13579135);
        assertThat(UnsignedInts.decode("0X13579135")).isEqualTo(0x13579135);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

      }
    
      private static final Function<String, String> DECODE_FUNCTION =
          new Function<String, String>() {
            @Override
            public String apply(String input) {
              return new String(BaseEncoding.base64().decode(input), Charsets.UTF_8);
            }
          };
    
      private static final EntryTransformer<String, String, String> DECODE_ENTRY_TRANSFORMER =
          new EntryTransformer<String, String, String>() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/BaseEncoding.java

          }
          int bytesWritten = 0;
          for (int i = 0; i < chars.length(); ) {
            int chunk = alphabet.decode(chars.charAt(i++)) << 18;
            chunk |= alphabet.decode(chars.charAt(i++)) << 12;
            target[bytesWritten++] = (byte) (chunk >>> 16);
            if (i < chars.length()) {
              chunk |= alphabet.decode(chars.charAt(i++)) << 6;
              target[bytesWritten++] = (byte) ((chunk >>> 8) & 0xFF);
    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)
  4. android/guava/src/com/google/common/reflect/Types.java

      static ParameterizedType newParameterizedType(Class<?> rawType, Type... arguments) {
        return new ParameterizedTypeImpl(
            ClassOwnership.JVM_BEHAVIOR.getOwnerType(rawType), rawType, arguments);
      }
    
      /** Decides what owner type to use for constructing {@link ParameterizedType} from a raw class. */
      private enum ClassOwnership {
        OWNED_BY_ENCLOSING_CLASS {
          @Override
          @CheckForNull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          this.actionWhenFirstParamIsNull = actionWhenFirstParamIsNull;
          this.actionWhenSecondParamIsNull = actionWhenSecondParamIsNull;
        }
    
        /** Method that decides how to react to parameters. */
        public void reactToNullParameters(@Nullable Object first, @Nullable Object second) {
          if (first == null) {
            actionWhenFirstParamIsNull.act();
          }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * because caller has previously checked that guardToSkip.isSatisfied() returned false. An
       * optimization for the case that guardToSkip.isSatisfied() may be expensive.
       *
       * <p>We decided against using this method, since in practice, isSatisfied() is likely to be very
       * cheap (typically one field read). Resurrect this method if you find that not to be true.
       */
      //   @GuardedBy("lock")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        assertThat(UnsignedLongs.decode("0xffffffffffffffff")).isEqualTo(0xffffffffffffffffL);
        assertThat(UnsignedLongs.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedLongs.decode("#1234567890abcdef")).isEqualTo(0x1234567890abcdefL);
        assertThat(UnsignedLongs.decode("987654321012345678")).isEqualTo(987654321012345678L);
        assertThat(UnsignedLongs.decode("0x135791357913579")).isEqualTo(0x135791357913579L);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        assertThat(UnsignedInts.decode("0xffffffff")).isEqualTo(0xffffffff);
        assertThat(UnsignedInts.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedInts.decode("#12345678")).isEqualTo(0x12345678);
        assertThat(UnsignedInts.decode("76543210")).isEqualTo(76543210);
        assertThat(UnsignedInts.decode("0x13579135")).isEqualTo(0x13579135);
        assertThat(UnsignedInts.decode("0X13579135")).isEqualTo(0x13579135);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/SortedLists.java

       *
       * <p>If there are elements in the list which compare as equal to the key, the choice of {@link
       * KeyPresentBehavior} decides which index is returned. If no elements compare as equal to the
       * key, the choice of {@link KeyAbsentBehavior} decides which index is returned.
       *
       * <p>This method runs in log(n) time on random-access lists, which offer near-constant-time
       * access to each list element.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Synchronized.java

     *
     * <p>This class should be used by other collection classes only.
     *
     * @author Mike Bostock
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    /*
     * I have decided not to bother adding @ParametricNullness annotations in this class. Adding them is
     * a lot of busy work, and the annotation matters only when the APIs to be annotated are visible to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
Back to top