Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 395 for equivalent (0.06 sec)

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

      static <T extends @Nullable Object> T[] newArray(T[] reference, int length) {
        T[] empty = reference.length == 0 ? reference : Arrays.copyOf(reference, 0);
        return Arrays.copyOf(empty, length);
      }
    
      /** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */
      /*
       * Arrays are a mess from a nullness perspective, and Class instances for object-array types are
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Platform.java

      static <T extends @Nullable Object> T[] newArray(T[] reference, int length) {
        T[] empty = reference.length == 0 ? reference : Arrays.copyOf(reference, 0);
        return Arrays.copyOf(empty, length);
      }
    
      /** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */
      /*
       * Arrays are a mess from a nullness perspective, and Class instances for object-array types are
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/async-tests.md

    ///
    
    Then we can create an `AsyncClient` with the app, and send async requests to it, using `await`.
    
    {* ../../docs_src/async_tests/test_main.py hl[9:12] *}
    
    This is the equivalent to:
    
    ```Python
    response = client.get('/')
    ```
    
    ...that we used to make our requests with the `TestClient`.
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:43:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java

        /**
         * Sets the configuration to unmarshal into the bean. The configuration should be taken from
         * {@link org.apache.maven.model.ConfigurationContainer#getConfiguration()} or a similar source.
         * Fully equivalent to {@code setConfiguration(configuration, null)}.
         *
         * @param configuration The configuration to unmarshal, may be {@code null}.
         * @return This request for chaining, never {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RangeMap.java

      RangeMap<K, V> subRangeMap(Range<K> range);
    
      /**
       * Returns {@code true} if {@code obj} is another {@code RangeMap} that has an equivalent {@link
       * #asMapOfRanges()}.
       */
      @Override
      boolean equals(@CheckForNull Object o);
    
      /** Returns {@code asMapOfRanges().hashCode()}. */
      @Override
      int hashCode();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/EndpointPair.java

            return false;
          }
    
          EndpointPair<?> other = (EndpointPair<?>) obj;
          if (isOrdered() != other.isOrdered()) {
            return false;
          }
    
          // Equivalent to the following simple implementation:
          // boolean condition1 = nodeU().equals(other.nodeU()) && nodeV().equals(other.nodeV());
          // boolean condition2 = nodeU().equals(other.nodeV()) && nodeV().equals(other.nodeU());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 8.1K bytes
    - Viewed (0)
  7. docs/en/docs/deployment/manually.md

    </div>
    
    /// note
    
    The command `uvicorn main:app` refers to:
    
    * `main`: the file `main.py` (the Python "module").
    * `app`: the object created inside of `main.py` with the line `app = FastAPI()`.
    
    It is equivalent to:
    
    ```Python
    from main import app
    ```
    
    ///
    
    Each alternative ASGI server program would have a similar command, you can read more in their respective documentation.
    
    /// warning
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 25 02:44:06 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

      }
    
      static <T> T[] newArray(T[] reference, int length) {
        T[] empty = reference.length == 0 ? reference : Arrays.copyOf(reference, 0);
        return Arrays.copyOf(empty, length);
      }
    
      /** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */
      static <T> T[] copy(Object[] source, int from, int to, T[] arrayOfType) {
        T[] result = newArray(arrayOfType, to - from);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. cmd/benchmark-utils_test.go

    	defer removeRoots(disks)
    
    	// uses *testing.B and the object Layer to run the benchmark.
    	runPutObjectBenchmarkParallel(b, objLayer, objSize)
    }
    
    // randomly picks a character and returns its equivalent byte array.
    func getRandomByte() []byte {
    	const letterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
    	// seeding the random number generator.
    	rand.Seed(UTCNow().UnixNano())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ContiguousSet.java

       */
      public abstract ContiguousSet<C> intersection(ContiguousSet<C> other);
    
      /**
       * Returns a range, closed on both ends, whose endpoints are the minimum and maximum values
       * contained in this set. This is equivalent to {@code range(CLOSED, CLOSED)}.
       *
       * @throws NoSuchElementException if this set is empty
       */
      public abstract Range<C> range();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top