Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 354 for wasm (0.65 sec)

  1. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      private final ListMultimap<Class<?>, Object> sampleInstances = ArrayListMultimap.create();
    
      /**
       * The freshness level at which the {@link Empty @Empty} annotated method was invoked to generate
       * instance.
       */
      private final Map<Type, Integer> emptyInstanceGenerated = new HashMap<>();
    
      final <T> void addSampleInstances(Class<T> type, Iterable<? extends T> instances) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

        try {
          Shorts.ensureCapacity(ARRAY1, -1, 1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // notice that this should even fail when no growth was needed
          Shorts.ensureCapacity(ARRAY1, 1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testJoin() {
        assertThat(Shorts.join(",", EMPTY)).isEmpty();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        try {
          Floats.ensureCapacity(ARRAY1, -1, 1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // notice that this should even fail when no growth was needed
          Floats.ensureCapacity(ARRAY1, 1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      @GwtIncompatible // Float.toString returns different value in GWT.
    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)
  4. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

            assertThrows(ExecutionException.class, () -> cacheChecked.getAll(asList(new Object())));
        assertThat(caughtEe).hasCauseThat().isSameInstanceAs(ee);
      }
    
      @AndroidIncompatible // Bug? expected:<1> but was:<2>
      public void testConcurrentLoading() throws InterruptedException {
        testConcurrentLoading(CacheBuilder.newBuilder());
      }
    
      private static void testConcurrentLoading(CacheBuilder<Object, Object> builder)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          }
        }
    
        /**
         * Throws UnsupportedOperationException. A future version may support this operation. Then the
         * value for any given key will be the one that was last supplied in a {@code put} operation for
         * that key.
         *
         * @throws UnsupportedOperationException always
         * @since 31.1
         * @deprecated This method is not currently implemented, and may never be.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/MediaType.java

          createConstant(APPLICATION_TYPE, "dash+xml");
    
      /**
       * WASM applications. For more information see <a href="https://webassembly.org/">the Web Assembly
       * overview</a>.
       *
       * @since 27.0
       */
      public static final MediaType WASM_APPLICATION = createConstant(APPLICATION_TYPE, "wasm");
    
      /**
       * NaCl applications. For more information see <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * granted only 100ms ago, then we wait for another 100ms. At this rate, serving 15 fresh permits
       * (i.e. for an acquire(15) request) naturally takes 3 seconds.
       *
       * It is important to realize that such a RateLimiter has a very superficial memory of the past:
       * it only remembers the last request. What if the RateLimiter was unused for a long period of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/RemovalCause.java

    import java.util.Iterator;
    import java.util.Map;
    import java.util.concurrent.ConcurrentMap;
    
    /**
     * The reason why a cached entry was removed.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public enum RemovalCause {
      /**
       * The entry was manually removed by the user. This can result from the user invoking {@link
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 2.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/TestStreamSupplier.java

     * stream was closed. Intended for use in a test where only a single stream should be opened and
     * possibly closed.
     *
     * @author Colin Decker
     */
    public interface TestStreamSupplier {
    
      /** Returns whether or not a new stream was opened. */
      boolean wasStreamOpened();
    
      /** Returns whether or not an open stream was closed. */
      boolean wasStreamClosed();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ComputationException.java

     *
     * @author Bob Lee
     * @since 2.0
     * @deprecated This exception is no longer thrown by {@code com.google.common}. Previously, it was
     *     thrown by {@link MapMaker} computing maps. When support for computing maps was removed from
     *     {@code MapMaker}, it was added to {@code CacheBuilder}, which throws {@code
     *     ExecutionException}, {@code UncheckedExecutionException}, and {@code ExecutionError}. Any
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Aug 04 13:28:27 GMT 2021
    - 1.7K bytes
    - Viewed (0)
Back to top