Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 144 for variant (0.06 sec)

  1. guava/src/com/google/common/collect/ImmutableBiMap.java

       */
      public static <K, V> ImmutableBiMap<K, V> copyOf(
          Iterable<? extends Entry<? extends K, ? extends V>> entries) {
        @SuppressWarnings("unchecked") // we'll only be using getKey and getValue, which are covariant
        Entry<K, V>[] entryArray = (Entry<K, V>[]) Iterables.toArray(entries, EMPTY_ENTRY_ARRAY);
        switch (entryArray.length) {
          case 0:
            return of();
          case 1:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  2. src/archive/tar/common.go

    	return append(dst, pre)
    }
    
    // fileState tracks the number of logical (includes sparse holes) and physical
    // (actual in tar archive) bytes remaining for the current file.
    //
    // Invariant: logicalRemaining >= physicalRemaining
    type fileState interface {
    	logicalRemaining() int64
    	physicalRemaining() int64
    }
    
    // allowedFormats determines which formats can be used.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. docs/de/docs/async.md

    ---
    
    **Hinweis**: Sie können `def` und `async def` in Ihren *Pfadoperation-Funktionen* beliebig mischen, so wie Sie es benötigen, und jede einzelne Funktion in der für Sie besten Variante erstellen. FastAPI wird damit das Richtige tun.
    
    Wie dem auch sei, in jedem der oben genannten Fälle wird FastAPI immer noch asynchron arbeiten und extrem schnell sein.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. doc/go_mem.html

    be observed by <code>main</code>, since there are no synchronization
    events between the two threads.  The loop in <code>main</code> is not
    guaranteed to finish.
    </p>
    
    <p>
    There are subtler variants on this theme, such as this program.
    </p>
    
    <pre>
    type T struct {
    	msg string
    }
    
    var g *T
    
    func setup() {
    	t := new(T)
    	t.msg = "hello, world"
    	g = t
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

        checkNotNull(iterable);
        if (iterable instanceof UnmodifiableIterable || iterable instanceof ImmutableCollection) {
          @SuppressWarnings("unchecked") // Since it's unmodifiable, the covariant cast is safe
          Iterable<T> result = (Iterable<T>) iterable;
          return result;
        }
        return new UnmodifiableIterable<>(iterable);
      }
    
      /**
       * Simply returns its argument.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  6. docs/fr/docs/async.md

    ## `async` et `await`
    
    Les versions modernes de Python ont une manière très intuitive de définir le code asynchrone, tout en gardant une apparence de code "séquentiel" classique en laissant Python faire l'attente pour vous au bon moment.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

          Comparator<? super E> comparator, Iterable<? extends E> elements) {
        if (elements instanceof ImmutableSortedMultiset) {
          @SuppressWarnings("unchecked") // immutable collections are always safe for covariant casts
          ImmutableSortedMultiset<E> multiset = (ImmutableSortedMultiset<E>) elements;
          if (comparator.equals(multiset.comparator())) {
            if (multiset.isPartialView()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        boolean longWait = NANOSECONDS.toSeconds(thread.timeSpentBlocked) >= 5;
        // Count how long it actually took to return; we'll accept any number between the expected delay
        // and the approximate actual delay, to be robust to variance in thread scheduling.
        char overWaitNanosFirstDigit =
            Long.toString(thread.timeSpentBlocked - MILLISECONDS.toNanos(longWait ? 5000 : 3000))
                .charAt(0);
        if (overWaitNanosFirstDigit < '4') {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.2.md

    addition, we’ve introduced a new “soft” kind of node selector that is just a
    hint to the scheduler; the scheduler will try to satisfy these requests but it
    does not guarantee they will be satisfied. Both the “hard” and “soft” variants
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Fri Dec 04 06:36:19 UTC 2020
    - 41.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMap.java

       */
      public static <K, V> ImmutableMap<K, V> copyOf(
          Iterable<? extends Entry<? extends K, ? extends V>> entries) {
        @SuppressWarnings("unchecked") // we'll only be using getKey and getValue, which are covariant
        Entry<K, V>[] entryArray = (Entry<K, V>[]) Iterables.toArray(entries, EMPTY_ENTRY_ARRAY);
        switch (entryArray.length) {
          case 0:
            return of();
          case 1:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
Back to top