Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 566 for compare (0.06 sec)

  1. internal/etag/etag.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    // Package etag provides an implementation of S3 ETags.
    //
    // Each S3 object has an associated ETag that can be
    // used to e.g. quickly compare objects or check whether
    // the content of an object has changed.
    //
    // In general, an S3 ETag is an MD5 checksum of the object
    // content. However, there are many exceptions to this rule.
    //
    // # Single-part Upload
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. cmd/utils.go

    	if len(strs) == 1 {
    		return xfix
    	}
    	// compare first to rest
    	for _, str := range strs[1:] {
    		xfixl := len(xfix)
    		strl := len(str)
    		// short-circuit empty strings
    		if xfixl == 0 || strl == 0 {
    			return ""
    		}
    		// maximum possible length
    		maxl := xfixl
    		if strl < maxl {
    			maxl = strl
    		}
    		// compare letters
    		if pre {
    			// prefix, iterate left to right
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

        return new NullFriendlyComparator<>();
      }
    
      private static final class NullFriendlyComparator<T> implements Comparator<T>, Serializable {
        @Override
        public int compare(T left, T right) {
          return String.valueOf(left).compareTo(String.valueOf(right));
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

              castOrCopyToList(mapGenerator.order(castOrCopyToList(mapGenerator.getSampleElements(5))));
          sort(
              insertionOrder,
              new Comparator<V>() {
                @Override
                public int compare(V left, V right) {
                  // The indexes are small enough for the subtraction trick to be safe.
                  return indexOfEntryWithValue(left) - indexOfEntryWithValue(right);
                }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        }
      }
    
      public void testCompare() {
        for (char x : VALUES) {
          for (char y : VALUES) {
            assertWithMessage(x + ", " + y)
                .that(Math.signum(Chars.compare(x, y)))
                .isEqualTo(Math.signum(Character.valueOf(x).compareTo(y)));
          }
        }
      }
    
      public void testContains() {
        assertThat(Chars.contains(EMPTY, (char) 1)).isFalse();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/UniAddress.java

        }
    
        /**
         * Return the IP address of this address as a 32 bit integer.
         */
    
        public int hashCode() {
            return addr.hashCode();
        }
    
        /**
         * Compare two addresses for equality. Two <tt>UniAddress</tt>s are equal
         * if they are both <tt>UniAddress</tt>' and refer to the same IP address.
         */
        public boolean equals( Object obj ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  7. cni/test/install_cni.go

    	}
    	if !bytes.Equal(resultFile, expectedFile) {
    		return fmt.Errorf("expected != result. Diff: %v", cmp.Diff(string(expectedFile), string(resultFile)))
    	}
    	return nil
    }
    
    // compareConfResult does a string compare of 2 test files.
    func compareConfResult(result, expected string, t *testing.T) {
    	t.Helper()
    	retry.UntilSuccessOrFail(t, func() error {
    		return checkResult(result, expected)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        for (double x : VALUES) {
          for (double y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y)
                .that(Doubles.compare(x, y))
                .isEqualTo(Double.valueOf(x).compareTo(y));
          }
        }
      }
    
      public void testContains() {
        assertThat(Doubles.contains(EMPTY, (double) 1)).isFalse();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/QuantilesTest.java

       * - median with compute taking a double-collection and with computeInPlace;
       * - quartiles with index and with indexes taking int-varargs, and with compute taking a
       *   double-collection and with computeInPlace;
       * - scale with index and with indexes taking int-varargs, and with all overloads of compute
       *   taking a double-collection and with computeInPlace;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/riscv64.s

    	FMADDS	F1, F2, F3, F4				// 43822018
    	FMSUBS	F1, F2, F3, F4				// 47822018
    	FNMSUBS	F1, F2, F3, F4				// 4b822018
    	FNMADDS	F1, F2, F3, F4				// 4f822018
    
    	// 20.8: Single-Precision Floating-Point Compare Instructions
    	FEQS	F0, F1, X7				// d3a300a0
    	FLTS	F0, F1, X7				// d39300a0
    	FLES	F0, F1, X7				// d38300a0
    
    	// 20.9: Single-Precision Floating-Point Classify Instruction
    	FCLASSS	F0, X5					// d31200e0
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 25 12:05:29 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top