Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 1,771 for must (0.04 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      /**
       * Returns an immutable array containing the given values, in order.
       *
       * <p>The array {@code rest} must not be longer than {@code Integer.MAX_VALUE - 1}.
       */
      // Use (first, rest) so that `of(someLongArray)` won't compile (they should use copyOf), which is
      // okay since we have to copy the just-created array anyway.
      public static ImmutableLongArray of(long first, long... rest) {
        checkArgument(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/ImmutableIntArray.java

      /**
       * Returns an immutable array containing the given values, in order.
       *
       * <p>The array {@code rest} must not be longer than {@code Integer.MAX_VALUE - 1}.
       */
      // Use (first, rest) so that `of(someIntArray)` won't compile (they should use copyOf), which is
      // okay since we have to copy the just-created array anyway.
      public static ImmutableIntArray of(int first, int... rest) {
        checkArgument(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Shorts.java

       * @throws IllegalArgumentException if {@code min > max}
       * @since 21.0
       */
      public static short constrainToRange(short value, short min, short max) {
        checkArgument(min <= max, "min (%s) must be less than or equal to max (%s)", min, max);
        return value < min ? min : value < max ? value : max;
      }
    
      /**
       * Returns the values from each provided array combined into a single array. For example, {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Shorts.java

       * @throws IllegalArgumentException if {@code min > max}
       * @since 21.0
       */
      public static short constrainToRange(short value, short min, short max) {
        checkArgument(min <= max, "min (%s) must be less than or equal to max (%s)", min, max);
        return value < min ? min : value < max ? value : max;
      }
    
      /**
       * Returns the values from each provided array combined into a single array. For example, {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        if (op_) {
          return errors::FailedPrecondition(
              "SetOpName called on already built op.");
        }
        if (op_type_.empty()) {
          return errors::FailedPrecondition(
              "GraphOperation::Reset must be called before calling SetOpName.");
        }
        // TODO(b/145674566): We use Graph::NewName to get a unique name here but
        // this may not be consistent with python's naming policy.
        mutex_lock l(g_->mu);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body_fields/test_tutorial001_an.py

                                "title": "Price",
                                "exclusiveMinimum": 0.0,
                                "type": "number",
                                "description": "The price must be greater than zero",
                            },
                            "tax": IsDict(
                                {
                                    "title": "Tax",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_body_fields/test_tutorial001_an_py39.py

                                "title": "Price",
                                "exclusiveMinimum": 0.0,
                                "type": "number",
                                "description": "The price must be greater than zero",
                            },
                            "tax": IsDict(
                                {
                                    "title": "Tax",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. internal/http/dial_dnscache.go

    // is given, it sets default dial function.
    //
    // You can use returned dial function for `http.Transport.DialContext`.
    //
    // In this function, it uses functions from `rand` package. To make it really random,
    // you MUST call `rand.Seed` and change the value from the default in your application
    func DialContextWithLookupHost(lookupHost LookupHost, baseDialCtx DialContext) DialContext {
    	if lookupHost == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 03 19:30:51 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

                    || FAIL_NEVER.equals(failureBehavior)) {
                this.failureBehavior = failureBehavior;
            } else {
                throw new IllegalArgumentException("Invalid failure behavior (must be one of: '" + FAIL_FAST + "', '"
                        + FAIL_AT_END + "', '" + FAIL_NEVER + "').");
            }
        }
    
        public String getFailureBehavior() {
            return failureBehavior;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/InetAddressesTest.java

        assertEquals("BigInteger must be greater than or equal to 0", expected.getMessage());
      }
    
      public void testFromIpv6BigIntegerThrowsLessThanZero() {
        IllegalArgumentException expected =
            assertThrows(
                IllegalArgumentException.class,
                () -> InetAddresses.fromIPv6BigInteger(BigInteger.valueOf(-1L)));
        assertEquals("BigInteger must be greater than or equal to 0", expected.getMessage());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
Back to top