Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for J2CL (0.02 seconds)

  1. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       */
      private static char[] growBuffer(char[] dest, int index, int size) {
        if (size < 0) { // overflow - should be OutOfMemoryError but GWT/j2cl don't support it
          throw new AssertionError("Cannot increase internal buffer any further");
        }
        char[] copy = new char[size];
        if (index > 0) {
          System.arraycopy(dest, 0, copy, 0, index);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 24 04:06:11 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       *     greater than {@code b}; or zero if they are equal
       */
      @SuppressWarnings("InlineMeInliner") // Integer.compare unavailable under GWT+J2CL
      public static int compare(long a, long b) {
        return Longs.compare(flip(a), flip(b));
      }
    
      /**
       * Returns the least value present in {@code array}, treating values as unsigned.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      }
    
      /**
       * {@inheritDoc}
       *
       * @since NEXT. Note, however, that Java 19+ users can call this method with any version of Guava.
       */
      @SuppressWarnings("MissingOverride") // not an override under J2CL
      @ParametricNullness
      public V resultNow() {
        Object localValue = value();
        if (localValue == null | localValue instanceof DelegatingToFuture) {
          throw new IllegalStateException("Task has not completed");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/primitives/UnsignedInts.java

       *     greater than {@code b}; or zero if they are equal
       */
      @SuppressWarnings("InlineMeInliner") // Integer.compare unavailable under GWT+J2CL
      public static int compare(int a, int b) {
        return Ints.compare(flip(a), flip(b));
      }
    
      /**
       * Returns the value of the given {@code int} as a {@code long}, when treated as unsigned.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertThat(matcher.toString()).isEqualTo(expectedNormal);
        assertThat(matcher.negate().negate().toString()).isEqualTo(expectedNormal);
    
        // The precomputed form is different on regular platforms but the same on j2cl and j2kt.
        // Hence isAnyOf here.
        assertThat(matcher.precomputed().toString()).isAnyOf(expectedNormal, expectedPrecomputed);
        assertThat(matcher.negate().precomputed().negate().toString())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 32.4K bytes
    - Click Count (0)
Back to Top