Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for prea (0.13 sec)

  1. android/guava/src/com/google/common/collect/Comparators.java

        checkNotNull(comparator);
        Iterator<? extends T> it = iterable.iterator();
        if (it.hasNext()) {
          T prev = it.next();
          while (it.hasNext()) {
            T next = it.next();
            if (comparator.compare(prev, next) > 0) {
              return false;
            }
            prev = next;
          }
        }
        return true;
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  2. cmd/bucket-targets.go

    					//	var deploymentID string
    					sys.hMutex.RLock()
    					prev, ok := sys.hc[result.Endpoint.Host]
    					sys.hMutex.RUnlock()
    					if ok {
    						if prev.Online != result.Online || !result.Online {
    							if !prev.lastHCAt.IsZero() {
    								offline = time.Since(prev.lastHCAt) + prev.offlineDuration
    							} else {
    								offline = prev.offlineDuration
    							}
    						} else if result.Online {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

          FilteredKeyMultimap<K, V> prev = (FilteredKeyMultimap<K, V>) unfiltered;
          return new FilteredKeyMultimap<>(
              prev.unfiltered, Predicates.<K>and(prev.keyPredicate, keyPredicate));
        } else if (unfiltered instanceof FilteredMultimap) {
          FilteredMultimap<K, V> prev = (FilteredMultimap<K, V>) unfiltered;
          return filterFiltered(prev, Maps.<K>keyPredicateOnEntries(keyPredicate));
        } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolverTest.java

         * <pre>
         * a:1.0
         * a:2.0
         * </pre>
         */
        @Test
        void testEqual() {
            ResolutionNode a1n = createResolutionNode(a1);
            ResolutionNode a2n = createResolutionNode(a2);
    
            assertResolveConflict(a2n, a1n, a2n);
        }
    
        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
         * a:2.0
         * a:1.0
         * </pre>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Ordering.java

        Iterator<? extends T> it = iterable.iterator();
        if (it.hasNext()) {
          T prev = it.next();
          while (it.hasNext()) {
            T next = it.next();
            if (compare(prev, next) > 0) {
              return false;
            }
            prev = next;
          }
        }
        return true;
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    <pre>
    func(int) int
    </pre>
    
    <p>
    These two invocations are equivalent:
    </p>
    
    <pre>
    t.Mv(7)
    f := t.Mv; f(7)
    </pre>
    
    <p>
    Similarly, the expression
    </p>
    
    <pre>
    pt.Mp
    </pre>
    
    <p>
    yields a function value of type
    </p>
    
    <pre>
    func(float32) float32
    </pre>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolverTest.java

         * <pre>
         * a:1.0
         * a:2.0
         * </pre>
         */
        @Test
        void testEqual() {
            ResolutionNode a1n = createResolutionNode(a1);
            ResolutionNode a2n = createResolutionNode(a2);
    
            assertResolveConflict(a1n, a1n, a2n);
        }
    
        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
         * a:2.0
         * a:1.0
         * </pre>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolverTest.java

         * <pre>
         * a:1.0
         * a:2.0
         * </pre>
         */
        @Test
        void testEqual() {
            ResolutionNode a1n = createResolutionNode(a1);
            ResolutionNode a2n = createResolutionNode(a2);
    
            assertResolveConflict(a1n, a1n, a2n);
        }
    
        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
         * a:2.0
         * a:1.0
         * </pre>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. docs/it/docs/index.md

    <div class="termy">
    
    ```console
    $ pip install uvicorn[standard]
    
    ---> 100%
    ```
    
    </div>
    
    ## Esempio
    
    ### Crea un file
    
    * Crea un file `main.py` con:
    
    ```Python
    from fastapi import FastAPI
    from typing import Optional
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        }
        checkElementsNotNull(contents, n);
        Arrays.sort(contents, 0, n, comparator);
        int uniques = 1;
        for (int i = 1; i < n; i++) {
          E cur = contents[i];
          E prev = contents[uniques - 1];
          if (comparator.compare(cur, prev) != 0) {
            contents[uniques++] = cur;
          }
        }
        Arrays.fill(contents, uniques, n, null);
        if (uniques < contents.length / 2) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
Back to top