Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for pollable (0.19 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      public void testSubmit_callable_returnsValue() throws Exception {
        Callable<Integer> callable =
            new Callable<Integer>() {
              @Override
              public Integer call() {
                return 42;
              }
            };
        ListenableFuture<Integer> future = submit(callable, directExecutor());
        assertThat(future.isDone()).isTrue();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      public void testSubmit_callable_returnsValue() throws Exception {
        Callable<Integer> callable =
            new Callable<Integer>() {
              @Override
              public Integer call() {
                return 42;
              }
            };
        ListenableFuture<Integer> future = submit(callable, directExecutor());
        assertThat(future.isDone()).isTrue();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

      @SuppressWarnings("unchecked")
      static <K extends @Nullable Object> Function<Entry<K, ?>, K> keyFunction() {
        return (Function) EntryFunction.KEY;
      }
    
      @SuppressWarnings("unchecked")
      static <V extends @Nullable Object> Function<Entry<?, V>, V> valueFunction() {
        return (Function) EntryFunction.VALUE;
      }
    
      static <K extends @Nullable Object, V extends @Nullable Object> Iterator<K> keyIterator(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  4. fastapi/applications.py

                ),
            ] = State()
            self.dependency_overrides: Annotated[
                Dict[Callable[..., Any], Callable[..., Any]],
                Doc(
                    """
                    A dictionary with overrides for the dependencies.
    
                    Each key is the original dependency callable, and the value is the
                    actual dependency that should be called.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 00:48:03 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

            final InstanceGenerator instantiator;
            final ServiceLookup services;
            @Nullable
            final Describable displayName;
            PropertyRoleAnnotationHandler roleHandler;
    
            ObjectCreationDetails(InstanceGenerator instantiator, ServiceLookup services, @Nullable Describable displayName, PropertyRoleAnnotationHandler roleHandler) {
                this.instantiator = instantiator;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

          } finally {
            statsCounter.recordMisses(1);
          }
        }
    
        @CheckForNull
        V compute(
            K key,
            int hash,
            BiFunction<? super K, ? super @Nullable V, ? extends @Nullable V> function) {
          ReferenceEntry<K, V> e;
          ValueReference<K, V> valueReference = null;
          ComputingValueReference<K, V> computingValueReference = null;
          boolean createNewEntry = true;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    	s.Generic.Default = schema.JSON{Object: dflt}
    	return s
    }
    
    func withNullable(nullable bool, s schema.Structural) schema.Structural {
    	s.Generic.Nullable = nullable
    	return s
    }
    
    func withNullablePtr(nullable bool, s schema.Structural) *schema.Structural {
    	s.Generic.Nullable = nullable
    	return &s
    }
    
    func nilInterfaceOfStringSlice() []interface{} {
    	var slice []interface{} = nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  8. src/database/sql/sql.go

    // the type of an empty interface.
    func (ci *ColumnType) ScanType() reflect.Type {
    	return ci.scanType
    }
    
    // Nullable reports whether the column may be null.
    // If a driver does not support this property ok will be false.
    func (ci *ColumnType) Nullable() (nullable, ok bool) {
    	return ci.nullable, ci.hasNullable
    }
    
    // DatabaseTypeName returns the database system name of the column type. If an empty
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnostics.kt

            override val diagnosticClass get() = CannotInferVisibility::class
            val callable: KaCallableSymbol
        }
    
        interface CannotInferVisibilityWarning : KaFirDiagnostic<KtDeclaration> {
            override val diagnosticClass get() = CannotInferVisibilityWarning::class
            val callable: KaCallableSymbol
        }
    
        interface MultipleDefaultsInheritedFromSupertypes : KaFirDiagnostic<KtElement> {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 11:41:05 UTC 2024
    - 172.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/LocalCache.java

    import java.util.AbstractSet;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.NoSuchElementException;
    import java.util.Queue;
    import java.util.Set;
    import java.util.concurrent.Callable;
    import java.util.concurrent.ConcurrentLinkedQueue;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
Back to top