Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for wasm (1.17 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

    /**
     * Static convenience methods that help a method or constructor check whether it was invoked
     * correctly (that is, whether its <i>preconditions</i> were met).
     *
     * <p>If the precondition is not met, the {@code Preconditions} method throws an unchecked exception
     * of a specified type, which helps the method in which the exception was thrown communicate that
     * its caller has made a mistake. This allows constructs such as
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/IteratorsTest.java

        try {
          Iterators.getOnlyElement(iterator);
          fail();
        } catch (IllegalArgumentException expected) {
          assertThat(expected).hasMessageThat().isEqualTo("expected one element but was: <one, two>");
        }
      }
    
      public void testGetOnlyElement_noDefault_fiveElements() {
        Iterator<String> iterator = asList("one", "two", "three", "four", "five").iterator();
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       *   <li>{@link Cancellation} terminal state, {@code cancel} was called.
       *   <li>{@link Failure} terminal state, {@code setException} was called.
       *   <li>{@link SetFuture} intermediate state, {@code setFuture} was called.
       *   <li>{@link #NULL} terminal state, {@code set(null)} was called.
       *   <li>Any other non-null value, terminal state, {@code set} was called with a non-null
       *       argument.
       * </ul>
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  6. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  7. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        step4Waiter.awaitStarted();
    
        // Step 1 is not cancelled because it was done.
        assertWithMessage("step1.statusFuture().isCancelled()")
            .that(step1.statusFuture().isCancelled())
            .isFalse();
        // But its closeable is closed.
        assertClosed(closeable1);
    
        // Step 2 is cancelled because it wasn't complete.
        assertWithMessage("step2.statusFuture().isCancelled()")
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        /**
         * Returns the current value being referenced, or {@code null} if there is none (e.g. because
         * either it got collected, or {@link #clear} was called, or it wasn't set in the first place).
         */
        @CheckForNull
        V get();
    
        /** Returns the entry which contains this {@link WeakValueReference}. */
        E getEntry();
    
    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)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        step4Waiter.awaitStarted();
    
        // Step 1 is not cancelled because it was done.
        assertWithMessage("step1.statusFuture().isCancelled()")
            .that(step1.statusFuture().isCancelled())
            .isFalse();
        // But its closeable is closed.
        assertClosed(closeable1);
    
        // Step 2 is cancelled because it wasn't complete.
        assertWithMessage("step2.statusFuture().isCancelled()")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
Back to top