Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Callable (0.09 sec)

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

       * @throws RejectedExecutionException if the task cannot be scheduled for execution
       * @since 28.2
       */
      public static <O extends @Nullable Object> ListenableFuture<O> submit(
          Callable<O> callable, Executor executor) {
        TrustedListenableFutureTask<O> task = TrustedListenableFutureTask.create(callable);
        executor.execute(task);
        return task;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        private final CountDownLatch returned = new CountDownLatch(1);
        private Object proxy;
    
        @SuppressWarnings("unchecked") // proxy for a generic class
        <V> Callable<V> waitFor(Callable<V> callable) {
          return waitFor(callable, Callable.class);
        }
    
        @SuppressWarnings("unchecked") // proxy for a generic class
        <V> ClosingCallable<V> waitFor(ClosingCallable<V> closingCallable) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(key, result.get(0));
        assertEquals(key, result.get(1));
        assertEquals(key + suffix, cache.getUnchecked(key));
      }
    
      static <T> Callable<T> throwing(Exception exception) {
        return new Callable<T>() {
          @Override
          public T call() throws Exception {
            throw exception;
          }
        };
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
  4. src/main/webapp/js/bootstrap.min.js

    s(i){return $(i,{delegateTarget:t}),s.oneOff&&F.off(t,i.type,e),e.apply(t,[i])}}(t,r);u.delegationSelector=o?s:null,u.callable=r,u.oneOff=n,u.uidEvent=d,c[d]=u,t.addEventListener(a,u,o)}function x(t,e,s,i,n){const o=D(e[s],i,n);o&&(t.removeEventListener(s,o,Boolean(n)),delete e[s][o.uidEvent])}function M(t,e,s,i){const n=e[s]||{};for(const[o,r]of Object.entries(n))o.includes(i)&&x(t,e,s,r.callable,r.delegationSelector)}function j(t){return t=t.replace(E,""),S[t]||t}const F={on(t,e,s,i){P(t,e,s,i,!1)},one...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 12 06:14:02 UTC 2025
    - 58.9K bytes
    - Viewed (0)
  5. tests/migrate_test.go

    		case "bonus":
    			// allow to change non-nullable to nullable
    			if nullable, _ := columnType.Nullable(); !nullable {
    				t.Fatalf("bonus's nullable should be true, bug got %t", nullable)
    			}
    		case "stock":
    			// do not allow to change nullable to non-nullable
    			if nullable, _ := columnType.Nullable(); !nullable {
    				t.Fatalf("stock's nullable should be true, bug got %t", nullable)
    			}
    		}
    	}
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

      private static class UnmodifiableMultimap<K extends @Nullable Object, V extends @Nullable Object>
          extends ForwardingMultimap<K, V> implements Serializable {
        final Multimap<K, V> delegate;
        @LazyInit transient @Nullable Collection<Entry<K, V>> entries;
        @LazyInit transient @Nullable Multiset<K> keys;
        @LazyInit transient @Nullable Set<K> keySet;
        @LazyInit transient @Nullable Collection<V> values;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Multimaps.java

      private static class UnmodifiableMultimap<K extends @Nullable Object, V extends @Nullable Object>
          extends ForwardingMultimap<K, V> implements Serializable {
        final Multimap<K, V> delegate;
        @LazyInit transient @Nullable Collection<Entry<K, V>> entries;
        @LazyInit transient @Nullable Multiset<K> keys;
        @LazyInit transient @Nullable Set<K> keySet;
        @LazyInit transient @Nullable Collection<V> values;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

       * @throws IllegalArgumentException if {@code size} is nonpositive
       */
      public static <T extends @Nullable Object>
          UnmodifiableIterator<List<@Nullable T>> paddedPartition(Iterator<T> iterator, int size) {
        return partitionImpl(iterator, size, true);
      }
    
      private static <T extends @Nullable Object> UnmodifiableIterator<List<@Nullable T>> partitionImpl(
          Iterator<T> iterator, int size, boolean pad) {
        checkNotNull(iterator);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Preconditions.java

       *
       * @since 20.0 (varargs overload since 2.0)
       */
      @CanIgnoreReturnValue
      public static <T> T checkNotNull(
          @Nullable T reference,
          String errorMessageTemplate,
          @Nullable Object p1,
          @Nullable Object p2,
          @Nullable Object p3,
          @Nullable Object p4) {
        if (reference == null) {
          throw new NullPointerException(Platform.lenientFormat(errorMessageTemplate, p1, p2, p3, p4));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        @Nullable Segment<K, V, E, S> currentSegment;
        @Nullable AtomicReferenceArray<E> currentTable;
        @Nullable E nextEntry;
        @Nullable WriteThroughEntry nextExternal;
        @Nullable WriteThroughEntry lastReturned;
    
        HashIterator() {
          nextSegmentIndex = segments.length - 1;
          nextTableIndex = -1;
          advance();
        }
    
        @Override
        public abstract T next();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
Back to top