Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for Anabel (0.32 sec)

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

       * Enqueues an event to be run on currently known listeners, with a label.
       *
       * @param event the callback to execute on {@link #dispatch}
       * @param label a description of the event to use in the case of an error
       */
      public void enqueue(Event<L> event, String label) {
        enqueueHelper(event, label);
      }
    
      private void enqueueHelper(Event<L> event, Object label) {
        checkNotNull(event, "event");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapMakerTest.java

        MapMaker maker = new MapMaker();
        try {
          maker.initialCapacity(-1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      // TODO(cpovirk): enable when ready (apparently after a change to our GWT emulation)
      public void xtestInitialCapacity_setTwice() {
        MapMaker maker = new MapMaker().initialCapacity(16);
        try {
          // even to the same value is not allowed
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/DeadEvent.java

       *
       * @return the source of this event.
       */
      public Object getSource() {
        return source;
      }
    
      /**
       * Returns the wrapped, 'dead' event, which the system was unable to deliver to any registered
       * subscriber.
       *
       * @return the 'dead' event that could not be delivered.
       */
      public Object getEvent() {
        return event;
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

          sizeRemaining -= count;
          hashMultiset.add(value, count);
          linkedHashMultiset.add(value, count);
          treeMultiset.add(value, count);
        }
    
        // TODO(kevinb): convert to assert once benchmark tests enable asserts by default
        Preconditions.checkState(hashMultiset.size() == size);
      }
    
      @Benchmark
      int hashMultiset(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

    /**
     * Unit tests for {@link Callables}.
     *
     * @author Isaac Shum
     */
    @GwtCompatible(emulated = true)
    public class CallablesTest extends TestCase {
    
      @J2ktIncompatible // TODO(b/324550390): Enable
      public void testReturning() throws Exception {
        assertNull(Callables.returning(null).call());
    
        Object value = new Object();
        Callable<Object> callable = Callables.returning(value);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/IoTestCase.java

        if (testDir != null) {
          return testDir;
        }
    
        URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt");
        if (testFileUrl == null) {
          throw new RuntimeException("unable to locate testdata directory");
        }
    
        if (testFileUrl.getProtocol().equals("file")) {
          try {
            File testFile = new File(testFileUrl.toURI());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractMultiset.java

     * implementation can be created easily by extending this class and implementing the {@link
     * Multiset#entrySet()} method, plus optionally overriding {@link #add(Object, int)} and {@link
     * #remove(Object, int)} to enable modifications to the multiset.
     *
     * <p>The {@link #count} and {@link #size} implementations all iterate across the set returned by
     * {@link Multiset#entrySet()}, as do many methods acting on the set returned by {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

            UnsignedLong value = UnsignedLong.fromLongBits(l);
            assertThat(value.toString(radix)).isEqualTo(value.bigIntegerValue().toString(radix));
          }
        }
      }
    
      @AndroidIncompatible // b/28251030, re-enable when the fix is everywhere we run this test
      public void testFloatValue() {
        for (long value : TEST_LONGS) {
          UnsignedLong unsignedValue = UnsignedLong.fromLongBits(value);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

            validClasses.add(new WeakReference<Class<? extends Exception>>(exceptionClass));
          }
        }
    
        /**
         * Returns the ClassValue-using validator, or falls back to the "weak Set" implementation if
         * unable to do so.
         */
        static GetCheckedTypeValidator getBestValidator() {
          return weakSetValidator();
        }
      }
    
      // TODO(cpovirk): change parameter order to match other helper methods (Class, Throwable)?
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

        }
    
        protected File getFile() {
          return fileThreadLocal.get();
        }
    
        public final void tearDown() throws IOException {
          if (!fileThreadLocal.get().delete()) {
            logger.warning("Unable to delete file: " + fileThreadLocal.get());
          }
          fileThreadLocal.remove();
        }
      }
    
      private static class FileByteSourceFactory extends FileFactory implements ByteSourceFactory {
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 12.7K bytes
    - Viewed (0)
Back to top