Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 965 for promise (0.14 sec)

  1. guava/src/com/google/common/html/ElementTypesAreNonnullByDefault.java

    import javax.annotation.meta.TypeQualifierDefault;
    
    /**
     * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this
     * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to
     * "undo" it as best we can.
     */
    @GwtCompatible
    @Retention(RUNTIME)
    @Target(TYPE)
    @TypeQualifierDefault({FIELD, METHOD, PARAMETER})
    @Nonnull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 14 22:08:54 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  2. manifests/addons/dashboards/ztunnel.libsonnet

              Count of XDS messages, by type.
            |||
          ),
          panels.timeSeries.base('Workload Manager', queries.workloadManager, |||
            Count of active and pending proxies managed by each instance.
            Pending is expected to converge to zero.
          |||
          ),
        ]),
      ], panelHeight=8)
    )
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

        call: Call,
        url: HttpUrl,
      ) = logEvent(ProxySelectStart(System.nanoTime(), call, url))
    
      override fun proxySelectEnd(
        call: Call,
        url: HttpUrl,
        proxies: List<Proxy>,
      ) = logEvent(ProxySelectEnd(System.nanoTime(), call, url, proxies))
    
      override fun dnsStart(
        call: Call,
        domainName: String,
      ) = logEvent(DnsStart(System.nanoTime(), call, domainName))
    
      override fun dnsEnd(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

                   * case we ever switch to JUnit 4:
                   */
                  fail();
                }
              }
            });
      }
    
      // TODO(cpovirk): promote to Uninterruptibles, and add untimed version
      private static void joinUninterruptibly(Thread thread, long timeout, TimeUnit unit) {
        boolean interrupted = false;
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/MapRetrievalCache.java

        entry = cacheEntry1;
        if (entry != null && entry.key == key) {
          return entry.value;
        }
        entry = cacheEntry2;
        if (entry != null && entry.key == key) {
          // Promote second cache entry to first so the access pattern
          // [K1, K2, K1, K3, K1, K4...] still hits the cache half the time.
          addToCache(entry);
          return entry.value;
        }
        return null;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/AbstractHasher.java

    import java.nio.charset.Charset;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An abstract implementation of {@link Hasher}, which only requires subtypes to implement {@link
     * #putByte}. Subtypes may provide more efficient implementations, however.
     *
     * @author Dimitris Andreou
     */
    @ElementTypesAreNonnullByDefault
    abstract class AbstractHasher implements Hasher {
      @Override
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      public void testFromNullable() {
        Optional<String> optionalName = Optional.fromNullable("bob");
        assertEquals("bob", optionalName.get());
      }
    
      public void testFromNullable_null() {
        // not promised by spec, but easier to test
        assertSame(Optional.absent(), Optional.fromNullable(null));
      }
    
      public void testIsPresent_no() {
        assertFalse(Optional.absent().isPresent());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/SortedLists.java

              List<? extends E> list,
              int foundIndex) {
            // Of course, we have to use binary search to find the precise
            // breakpoint...
            int lower = 0;
            int upper = foundIndex;
            // Of course, we have to use binary search to find the precise breakpoint...
            // Everything between lower and upper inclusive compares at <= 0.
            while (lower < upper) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

    /**
     * A utility similar to {@link IteratorTester} for testing a {@link ListIterator} against a known
     * good reference implementation. As with {@code IteratorTester}, a concrete subclass must provide
     * target iterators on demand. It also requires three additional constructor parameters: {@code
     * elementsToInsert}, the elements to be passed to {@code set()} and {@code add()} calls; {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Writer.java

    import java.io.IOException;
    import java.io.OutputStream;
    import java.io.Writer;
    
    import org.apache.maven.artifact.repository.metadata.Metadata;
    import org.apache.maven.metadata.v4.MetadataStaxWriter;
    
    /**
     * Provide public methods from {@link MetadataStaxWriter}
     *
     * @deprecated Maven 3 compatability - please use {@link MetadataStaxWriter}
     */
    @Deprecated
    public class MetadataXpp3Writer {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top