Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 110 for print (0.15 sec)

  1. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *   <li>execution will not stop until the task queue is empty.
       *   <li>tasks will begin execution with the thread marked as not interrupted - any interruption
       *       applies only to the task that was running at the point of interruption.
       *   <li>if the thread was interrupted before the SequentialExecutor's worker begins execution,
       *       the interrupt will be restored to the thread after it completes so that its {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        /*
         * Sum per-segment modCounts to avoid mis-reporting when elements are concurrently added and
         * removed in one segment while checking another, in which case the table was never actually
         * empty at any point. (The sum ensures accuracy up through at least 1<<31 per-segment
         * modifications before recheck.)  Method containsValue() uses similar constructions for
         * stability checks.
         */
        long sum = 0L;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IterablesTest.java

          assertEquals(expected, string);
          if (howManyChecked++ == 5) {
            break;
          }
        }
    
        // We left the last iterator pointing to "b". But a new iterator should
        // always point to "a".
        for (String string : cycle) {
          assertEquals("a", string);
          break;
        }
    
        assertEquals("[a, b] (cycled)", cycle.toString());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InetAddresses.java

       * this method is recommended over {@link InetAddress#toString()} when an IP address string
       * literal is desired. This is because {@link InetAddress#toString()} prints the hostname and the
       * IP address string joined by a "/".
       *
       * @param ip {@link InetAddress} to be converted to URI string literal
       * @return {@code String} containing URI-safe string literal
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/escape/UnicodeEscaper.java

      protected UnicodeEscaper() {}
    
      /**
       * Returns the escaped form of the given Unicode code point, or {@code null} if this code point
       * does not need to be escaped. When called as part of an escaping operation, the given code point
       * is guaranteed to be in the range {@code 0 <= cp <= Character#MAX_CODE_POINT}.
       *
       * <p>If an empty array is returned, this effectively strips the input character from the
       * resulting text.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

        Assert.assertEquals(expected, escaped);
      }
    
      /**
       * Asserts that a Unicode escaper escapes the given code point into the expected string.
       *
       * @param escaper the non-null escaper to test
       * @param expected the expected output string
       * @param cp the Unicode code point to escape
       */
      public static void assertEscaping(UnicodeEscaper escaper, String expected, int cp) {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Sets.java

      }
    
      /**
       * Creates a <i>mutable</i> {@code HashSet} instance initially containing the given elements.
       *
       * <p><b>Note:</b> if elements are non-null and won't be added or removed after this point, use
       * {@link ImmutableSet#of()} or {@link ImmutableSet#copyOf(Object[])} instead. If {@code E} is an
       * {@link Enum} type, use {@link EnumSet#of(Enum, Enum[])} instead. Otherwise, strongly consider
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Ticker.java

     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A time source; returns a time value representing the number of nanoseconds elapsed since some
     * fixed but arbitrary point in time. Note that most users should use {@link Stopwatch} instead of
     * interacting with this class directly.
     *
     * <p><b>Warning:</b> this interface can only be used to measure elapsed time, not wall time.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue May 23 23:27:53 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  9. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

      }
    
      private boolean allBmp(String string) {
        // Ordinarily we'd use something like i += Character.charCount(string.codePointAt(i)) here. But
        // we can get away with i++ because the whole point of this method is to return false if we find
        // a code point that doesn't fit in a char.
        for (int i = 0; i < string.length(); i++) {
          if (string.codePointAt(i) > 0xffff) {
            return false;
          }
        }
        return true;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 08 13:56:22 GMT 2021
    - 8.6K bytes
    - Viewed (0)
Back to top