Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 225 for greeter (0.07 sec)

  1. guava/src/com/google/common/math/ToDoubleRounder.java

    @ElementTypesAreNonnullByDefault
    abstract class ToDoubleRounder<X extends Number & Comparable<X>> {
      /**
       * Returns x rounded to either the greatest double less than or equal to the precise value of x,
       * or the least double greater than or equal to the precise value of x.
       */
      abstract double roundToDoubleArbitrarily(X x);
    
      /** Returns the sign of x: either -1, 0, or 1. */
      abstract int sign(X x);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. utils/utils.go

    	return strings.Join(relationNames, nestedRelationSplit)
    }
    
    // RTrimSlice Right trims the given slice by given length
    func RTrimSlice[T any](v []T, trimLen int) []T {
    	if trimLen >= len(v) { // trimLen greater than slice len means fully sliced
    		return v[:0]
    	}
    	if trimLen < 0 { // negative trimLen is ignored
    		return v[:]
    	}
    	return v[:len(v)-trimLen]
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/bytes/example_test.go

    	var a, b []byte
    	if bytes.Compare(a, b) < 0 {
    		// a less b
    	}
    	if bytes.Compare(a, b) <= 0 {
    		// a less or equal b
    	}
    	if bytes.Compare(a, b) > 0 {
    		// a greater b
    	}
    	if bytes.Compare(a, b) >= 0 {
    		// a greater or equal b
    	}
    
    	// Prefer Equal to Compare for equality comparisons.
    	if bytes.Equal(a, b) {
    		// a equal b
    	}
    	if !bytes.Equal(a, b) {
    		// a not equal b
    	}
    }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/ValueGraph.java

       *
       * <p>For undirected graphs, this is equal to {@code incidentEdges(node).size()} + (number of
       * self-loops incident to {@code node}).
       *
       * <p>If the count is greater than {@code Integer.MAX_VALUE}, returns {@code Integer.MAX_VALUE}.
       *
       * @throws IllegalArgumentException if {@code node} is not an element of this graph
       */
      @Override
      int degree(N node);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java

     * for building a project in a specific environment.</p>
     *
     * <p>Toolchains are defined in the Maven toolchains.xml file and can be
     * referenced in the project's POM file. This allows for greater flexibility
     * and control over the build environment, enabling developers to specify
     * the exact versions of tools they wish to use.</p>
     *
     * <p>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/path-params-numeric-validations.md

    ## 数值校验:大于等于
    
    使用 `Query` 和 `Path`(以及你将在后面看到的其他类)可以声明字符串约束,但也可以声明数值约束。
    
    像下面这样,添加 `ge=1` 后,`item_id` 将必须是一个大于(`g`reater than)或等于(`e`qual)`1` 的整数。
    
    ```Python hl_lines="8"
    {!../../docs_src/path_params_numeric_validations/tutorial004.py!}
    ```
    
    ## 数值校验:大于和小于等于
    
    同样的规则适用于:
    
    * `gt`:大于(`g`reater `t`han)
    * `le`:小于等于(`l`ess than or `e`qual)
    
    ```Python hl_lines="9"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. ci/official/utilities/rename_and_verify_wheels.sh

      ls -t *.whl | tail -n +2 | xargs rm
    fi
    
    # Check if size is too big. TFCI_WHL_SIZE_LIMIT is in find's format, which can be
    # 'k' for kilobytes, 'M' for megabytes, or 'G' for gigabytes, and the + to indicate
    # "anything greater than" is added by the script.
    if [[ "$TFCI_WHL_SIZE_LIMIT_ENABLE" == "1" ]] && [[ -n "$(find . -iname "*.whl" -size "+$TFCI_WHL_SIZE_LIMIT")" ]]; then
      echo "Error: Generated wheel is too big! Limit is $TFCI_WHL_SIZE_LIMIT"
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 21:18:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/ToDoubleRounder.java

    @ElementTypesAreNonnullByDefault
    abstract class ToDoubleRounder<X extends Number & Comparable<X>> {
      /**
       * Returns x rounded to either the greatest double less than or equal to the precise value of x,
       * or the least double greater than or equal to the precise value of x.
       */
      abstract double roundToDoubleArbitrarily(X x);
    
      /** Returns the sign of x: either -1, 0, or 1. */
      abstract int sign(X x);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TopKSelector.java

      private final @Nullable T[] buffer;
      private int bufferSize;
    
      /**
       * The largest of the lowest k elements we've seen so far relative to this comparator. If
       * bufferSize ≥ k, then we can ignore any elements greater than this value.
       */
      @CheckForNull private T threshold;
    
      @SuppressWarnings("unchecked") // TODO(cpovirk): Consider storing Object[] instead of T[].
      private TopKSelector(Comparator<? super T> comparator, int k) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Ints.java

       *
       * @param value any value in the range of the {@code int} type
       * @return the {@code int} value that equals {@code value}
       * @throws IllegalArgumentException if {@code value} is greater than {@link Integer#MAX_VALUE} or
       *     less than {@link Integer#MIN_VALUE}
       */
      public static int checkedCast(long value) {
        int result = (int) value;
        checkArgument(result == value, "Out of range: %s", value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
Back to top