Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 133 for comparison (0.14 sec)

  1. android/guava/src/com/google/common/base/Optional.java

       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> no differences.
       */
      public abstract boolean isPresent();
    
      /**
       * Returns the contained instance, which must be present. If the instance might be absent, use
       * {@link #or(Object)} or {@link #orNull} instead.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> when the value is absent, this method
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                        } else {
                            int comparison = res1.getLowerBound().compareTo(res2.getLowerBound());
                            if (comparison < 0) {
                                lower = res2.getLowerBound();
                                lowerInclusive = res2.isLowerBoundInclusive();
                            } else if (comparison == 0) {
                                lower = res1.getLowerBound();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

    import java.util.Deque;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Locale;
    import java.util.Objects;
    import java.util.Properties;
    
    /**
     * <p>
     * Generic implementation of version comparison.
     * </p>
     * <p>
     * Features:
     * <ul>
     * <li>mixing of '<code>-</code>' (hyphen) and '<code>.</code>' (dot) separators,</li>
     * <li>transition between characters and digits also constitutes a separator:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  4. internal/s3select/sql/value.go

    	case float64:
    		v.value = -x
    	case int64:
    		v.value = -x
    	}
    }
    
    // Value comparison functions: we do not expose them outside the
    // module. Logical operators "<", ">", ">=", "<=" work on strings and
    // numbers. Equality operators "=", "!=" work on strings,
    // numbers and booleans.
    
    // Supported comparison operators
    const (
    	opLt    = "<"
    	opLte   = "<="
    	opGt    = ">"
    	opGte   = ">="
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/arch/arm64.go

    // IsARM64ADR reports whether the op (as defined by an arm64.A* constant) is
    // one of the comparison instructions that require special handling.
    func IsARM64ADR(op obj.As) bool {
    	switch op {
    	case arm64.AADR, arm64.AADRP:
    		return true
    	}
    	return false
    }
    
    // IsARM64CMP reports whether the op (as defined by an arm64.A* constant) is
    // one of the comparison instructions that require special handling.
    func IsARM64CMP(op obj.As) bool {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Sep 29 09:04:58 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

                                result = -1;
                            }
                        }
                        if (result == 0) {
                            // We don't consider the version range in the comparison, just the resolved version
                            result = new DefaultArtifactVersion(version)
                                    .compareTo(new DefaultArtifactVersion(a.getVersion()));
                        }
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Collections2.java

          int permutations = 1;
          int n = 1;
          int r = 1;
          while (n < sortedInputList.size()) {
            int comparison = comparator.compare(sortedInputList.get(n - 1), sortedInputList.get(n));
            if (comparison < 0) {
              // We move to the next non-repeated element.
              permutations = IntMath.saturatedMultiply(permutations, IntMath.binomial(n, r));
              r = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

         * Works on known set that failed before fix, provided by {@link #uuidVersionStringStream()}.
         */
        @Test
        void testCompareUuidVersionStringStream() {
            // this operation below fails with IAEx if comparison is unstable
            uuidVersionStringStream().map(this::newVersion).sorted().collect(toList());
        }
    
        private Stream<String> uuidVersionStringStream() {
            return Stream.of(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. internal/s3select/sql/parser.go

    type ConditionRHS struct {
    	Compare *Compare `parser:"  @@"`
    	Between *Between `parser:"| @@"`
    	In      *In      `parser:"| \"IN\" @@"`
    	Like    *Like    `parser:"| @@"`
    }
    
    // Compare represents the RHS of a comparison expression
    type Compare struct {
    	Operator string   `parser:"@( \"<>\" | \"<=\" | \">=\" | \"=\" | \"<\" | \">\" | \"!=\" | \"IS\" \"NOT\" | \"IS\")"`
    	Operand  *Operand `parser:"  @@"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NbtAddress.java

            return this.address;
        }
    
    
        /**
         * Determines if this address is equal two another. Only the IP Addresses
         * are compared. Similar to the {@link #hashCode} method, the comparison
         * is based on the integer IP address and not the string representation.
         */
    
        @Override
        public boolean equals ( Object obj ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
Back to top