Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 301 for _gwt (0.02 seconds)

  1. android/guava/src/com/google/common/net/MediaType.java

        checkArgument(!token.isEmpty());
        return Ascii.toLowerCase(token);
      }
    
      private static String normalizeParameterValue(String attribute, String value) {
        checkNotNull(value); // for GWT
        checkArgument(ascii().matchesAllOf(value), "parameter values must be ASCII: %s", value);
        return attribute.equals(CHARSET_ATTRIBUTE) ? Ascii.toLowerCase(value) : value;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

        }
    
        @SuppressWarnings("unchecked")
        ImmutableList<ListenableFuture<T>> delegatesCast = (ImmutableList) delegates;
        return delegatesCast;
      }
    
      /** Can't use Iterables.toArray because it's not gwt compatible */
      @SuppressWarnings("unchecked")
      private static <T extends @Nullable Object> ListenableFuture<? extends T>[] gwtCompatibleToArray(
          Iterable<? extends ListenableFuture<? extends T>> futures) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 64.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

     * @author Louis Wasserman
     * @since 12.0
     */
    @GwtIncompatible // hasn't been tested yet
    public abstract class ImmutableSortedMultiset<E> extends ImmutableMultiset<E>
        implements SortedMultiset<E> {
      // TODO(lowasser): GWT compatibility
    
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code
       * ImmutableMultiset}. Elements are sorted by the specified comparator.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/BaseEncoding.java

        }
    
        /** Returns an equivalent {@code Alphabet} except it ignores case. */
        Alphabet ignoreCase() {
          if (ignoreCase) {
            return this;
          }
    
          // We can't use .clone() because of GWT.
          byte[] newDecodabet = Arrays.copyOf(decodabet, decodabet.length);
          for (int upper = 'A'; upper <= 'Z'; upper++) {
            int lower = upper | 0x20;
            byte decodeUpper = decodabet[upper];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 41.6K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/OrderingTest.java

    /**
     * Unit tests for {@code Ordering}.
     *
     * @author Jesse Wilson
     */
    @GwtCompatible
    @NullMarked
    public class OrderingTest extends TestCase {
      // TODO(cpovirk): some of these are inexplicably slow (20-30s) under GWT
    
      private final Ordering<Number> numberOrdering = new NumberOrdering();
    
      public void testAllEqual() {
        Ordering<@Nullable Object> comparator = Ordering.allEqual();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/CompactHashMap.java

     * to prioritize memory over CPU.
     *
     * @author Louis Wasserman
     * @author Jon Noack
     */
    @GwtIncompatible // not worth using in GWT for now
    class CompactHashMap<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMap<K, V> implements Serializable {
      /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 35.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/OrderingTest.java

    /**
     * Unit tests for {@code Ordering}.
     *
     * @author Jesse Wilson
     */
    @GwtCompatible
    @NullMarked
    public class OrderingTest extends TestCase {
      // TODO(cpovirk): some of these are inexplicably slow (20-30s) under GWT
    
      private final Ordering<Number> numberOrdering = new NumberOrdering();
    
      public void testAllEqual() {
        Ordering<@Nullable Object> comparator = Ordering.allEqual();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

            int count = 0;
            for (; count < size && iterator.hasNext(); count++) {
              array[count] = iterator.next();
            }
            for (int i = count; i < size; i++) {
              array[i] = null; // for GWT
            }
    
            List<@Nullable T> list = unmodifiableList(asList(array));
            // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
            if (pad || count == size) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Iterators.java

            int count = 0;
            for (; count < size && iterator.hasNext(); count++) {
              array[count] = iterator.next();
            }
            for (int i = count; i < size; i++) {
              array[i] = null; // for GWT
            }
    
            List<@Nullable T> list = unmodifiableList(asList(array));
            // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
            if (pad || count == size) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     */
    // TODO(dpb): Consider reusing one CloseableList for the entire pipeline, modulo combinations.
    @DoNotMock("Use ClosingFuture.from(Futures.immediate*Future)")
    @J2ktIncompatible
    @GwtIncompatible // TODO(dpb): GWT compatibility.
    public final class ClosingFuture<V extends @Nullable Object> {
    
      private static final LazyLogger logger = new LazyLogger(ClosingFuture.class);
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
Back to Top