Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 959 for Chan (0.02 seconds)

  1. android/guava/src/com/google/common/cache/Striped64.java

       * retries, there is increased contention and reduced locality,
       * which is still better than alternatives.
       *
       * Per-thread hash codes are initialized to random values.
       * Contention and/or table collisions are indicated by failed
       * CASes when performing an update operation (see method
       * retryUpdate). Upon a collision, if the table size is less than
       * the capacity, it is doubled in size unless some other thread
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 15 22:17:15 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/primitives/Doubles.java

       * to the JDK until JDK 7.
       *
       * @param a the first {@code double} to compare
       * @param b the second {@code double} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
      @InlineMe(replacement = "Double.compare(a, b)")
      public static int compare(double a, double b) {
        return Double.compare(a, b);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

            .test();
      }
    
      public void testRoundToDouble_twoToThe54PlusOne() {
        double twoToThe54 = Math.pow(2, 54);
        // the representable doubles are 2^54 and 2^54 + 4
        // 2^54+1 is less than halfway between, so HALF_DOWN and HALF_UP will both go down.
        new RoundToDoubleTester(BigDecimal.valueOf((1L << 54) + 1))
            .setExpectation(twoToThe54, DOWN, FLOOR, HALF_DOWN, HALF_UP, HALF_EVEN)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java

         * configuration). This is useful when you want to force the user to use common POM elements rather than plugin
         * configurations, as in the case where you want to use the artifact's final name as a parameter. In this case, you
         * want the user to modify <code>&lt;build&gt;&lt;finalName/&gt;&lt;/build&gt;</code> rather than specifying a value
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ContiguousSet.java

       * (inclusive) to {@code upper} (inclusive). (These are the same values contained in {@code
       * Range.closed(lower, upper)}.)
       *
       * @throws IllegalArgumentException if {@code lower} is greater than {@code upper}
       * @since 23.0
       */
      public static ContiguousSet<Integer> closed(int lower, int upper) {
        return create(Range.closed(lower, upper), DiscreteDomain.integers());
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

            .isEqualTo("end index (2) must not be greater than size (1)");
      }
    
      public void testCheckPositionIndexes_reversed() {
        IndexOutOfBoundsException expected =
            assertThrows(IndexOutOfBoundsException.class, () -> checkPositionIndexes(1, 0, 1));
        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("end index (0) must not be less than start index (1)");
      }
    
      @GwtIncompatible // Reflection
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/base/PreconditionsTest.java

            .isEqualTo("end index (2) must not be greater than size (1)");
      }
    
      public void testCheckPositionIndexes_reversed() {
        IndexOutOfBoundsException expected =
            assertThrows(IndexOutOfBoundsException.class, () -> checkPositionIndexes(1, 0, 1));
        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("end index (0) must not be less than start index (1)");
      }
    
      @GwtIncompatible // Reflection
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_body_fields/test_tutorial001.py

        assert response.json() == {
            "detail": [
                {
                    "type": "greater_than",
                    "loc": ["body", "item", "price"],
                    "msg": "Input should be greater than 0",
                    "input": -3.0,
                    "ctx": {"gt": 0.0},
                }
            ]
        }
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/cache/CacheBuilder.java

      @SuppressWarnings("GoodTime") // Duration decomposition
      @IgnoreJRERequirement // No more dangerous than wherever the caller got the Duration from
      private static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/hash/Hashing.java

       * by RFC 3720, Section 12.1.
       *
       * <p>This function is best understood as a <a
       * href="https://en.wikipedia.org/wiki/Checksum">checksum</a> rather than a true <a
       * href="https://en.wikipedia.org/wiki/Hash_function">hash function</a>.
       *
       * @since 18.0
       */
      public static HashFunction crc32c() {
        return Crc32cHashFunction.CRC_32_C;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 29.8K bytes
    - Click Count (0)
Back to Top