Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for print (0.12 sec)

  1. android/guava-tests/test/com/google/common/base/Utf8Test.java

        utf8Lengths.put(0x7f, 1);
        utf8Lengths.put(0x80, 2);
        utf8Lengths.put(0x7ff, 2);
        utf8Lengths.put(0x800, 3);
        utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT - 1, 3);
        utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT, 4);
        utf8Lengths.put(MAX_CODE_POINT, 4);
    
        Integer[] codePoints = utf8Lengths.keySet().toArray(new Integer[] {});
        StringBuilder sb = new StringBuilder();
        Random rnd = new Random();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       SHORT is always discriminable from zero time, and always allows enough time for the small
     *       amounts of computation (creating a thread, calling a few methods, etc) needed to reach a
     *       timeout point. Similarly, a SMALL is always discriminable as larger than SHORT and smaller
     *       than MEDIUM. And so on. These constants are set to conservative values, but even so, if
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/HashBiMap.java

            removeEntryKeyHashKnown(keyEntry, keyHash);
          }
        } else {
          checkArgument(keyEntry == ABSENT, "Key already present: %s", key);
        }
    
        // insertion point for new entry is after predecessor
        // note predecessor must still be a valid entry: either we deleted an entry that was *not*
        // predecessor, or we didn't delete anything
    
        ensureCapacity(size + 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * the first duplicate.
       */
    
      // This entry point is for callers other than ImmutableMap.Builder.
      static <K, V> RegularImmutableMap<K, V> create(
          int n, @Nullable Object[] alternatingKeysAndValues) {
        return create(n, alternatingKeysAndValues, /* builder= */ null);
      }
    
      // This entry point is used by the other create method but also directly by
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/Quantiles.java

       *     must be positive
       */
      public static Scale scale(int scale) {
        return new Scale(scale);
      }
    
      /**
       * Describes the point in a fluent API chain where only the scale (i.e. the q in q-quantiles) has
       * been specified.
       *
       * @since 20.0
       */
      public static final class Scale {
    
        private final int scale;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      @GwtIncompatible // Floats.tryParse
      public void testTryParseAllCodePoints() {
        // Exercise non-ASCII digit test cases and the like.
        char[] tmp = new char[2];
        for (int i = Character.MIN_CODE_POINT; i < Character.MAX_CODE_POINT; i++) {
          Character.toChars(i, tmp, 0);
          checkTryParse(String.copyValueOf(tmp, 0, Character.charCount(i)));
        }
      }
    
      @GwtIncompatible // Floats.tryParse
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/HashBiMap.java

        }
    
        /*
         * The ordering here is important: if we deleted the key entry and then the value entry,
         * the key entry's prev or next pointer might point to the dead value entry, and when we
         * put the new entry in the key entry's position in iteration order, it might invalidate
         * the linked list.
         */
    
        if (oldEntryForValue != null) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Ascii.java

       * next printing line. (Applicable also to display devices.) Where appropriate, this character may
       * have the meaning "New Line" (NL), a format effector which controls the movement of the printing
       * point to the first printing position on the next printing line. Use of this convention requires
       * agreement between sender and recipient of data.
       *
       * @since 8.0
       */
      public static final byte LF = 10;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Monitor.java

      //    it's the same lock being acquired underneath. Always using
      //    monitor.enterXXX()/monitor.leave() will make it really clear
      //    which lock is held at any point in the code.
      //
      // 3. I think "enterWhen(notEmpty)" reads better than "notEmpty.enter()".
      //
      // TODO(user): Implement ReentrantLock features:
      //    - toString() method
      //    - getOwner() method
    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)
  10. android/guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(type::isInstance).map(type::cast)}.
       * This does perform a little more work than necessary, so another option is to insert an
       * unchecked cast at some later point:
       *
       * <pre>
       * {@code @SuppressWarnings("unchecked") // safe because of ::isInstance check
       * ImmutableList<NewType> result =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
Back to top