Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 159 for comparing (0.21 sec)

  1. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        return "z";
      }
    
      @Override
      protected String getValueNotInPopulatedMap() throws UnsupportedOperationException {
        return "26";
      }
    
      /** Helper assertion comparing two maps */
      private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) {
        assertEquals(expected, map);
        assertEquals(expected.hashCode(), map.hashCode());
        assertEquals(expected.entrySet(), map.entrySet());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

     * variables.
     *
     * <p><a id="bitEquals"></a>This class compares primitive {@code double} values in methods such as
     * {@link #compareAndSet} by comparing their bitwise representation using {@link
     * Double#doubleToRawLongBits}, which differs from both the primitive double {@code ==} operator and
     * from {@link Double#equals}, as if implemented by:
     *
     * {@snippet :
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

       *
       * ```
       * Content-Type: text/html
       * Content-Length: 050
       * ```
       *
       * Applications that require semantically equal headers should convert them into a canonical form
       * before comparing them for equality.
       */
      override fun equals(other: Any?): Boolean = commonEquals(other)
    
      override fun hashCode(): Int = commonHashCode()
    
      /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            assertFalse(status.equals(nullStatus));
    
            // null == Enum should be false
            assertFalse(nullStatus == status);
    
            // Verify no NullPointerException when comparing with ==
            boolean result = (nullStatus == CrawlerStatus.INITIALIZING);
            assertFalse(result);
        }
    
        /**
         * Test thread safety of enum
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

    import java.util.Arrays;
    import java.util.Objects;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * {@code ObjectCountHashMap} uses arrays to store key objects and count values. Comparing to using
     * a traditional {@code HashMap} implementation which stores keys and count values as map entries,
     * {@code ObjectCountHashMap} minimizes object allocation and reduces memory footprint.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TreeMultisetTest.java

            @Override
            public int compare(String o1, String o2) {
              return o1.length() - o2.length();
            }
          };
    
      /** Test a TreeMultiset with a comparator that can return 0 when comparing unequal values. */
      public void testDegenerateComparator() throws Exception {
        TreeMultiset<String> ms = TreeMultiset.create(DEGENERATE_COMPARATOR);
    
        ms.add("foo");
        ms.add("a");
        ms.add("bar");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         * convertible to another type represented by a class object using a
         * method invocation conversion, without matching object and primitive
         * types. This method is used to determine the more specific type when
         * comparing signatures of methods.
         *
         * @param formal the formal parameter type to which the actual
         *               parameter type should be convertible
         * @param actual the actual parameter type.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                ArtifactRepository localRepository)
                throws RepositoryMetadataStoreException {
            // TODO currently this is first wins, but really we should take the latest by comparing either the
            // snapshot timestamp, or some other timestamp later encoded into the metadata.
            // TODO this needs to be repeated here so the merging doesn't interfere with the written metadata
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/endtoend_test.go

    	"strconv"
    	"strings"
    	"testing"
    
    	"cmd/asm/internal/lex"
    	"cmd/internal/obj"
    )
    
    // An end-to-end test for the assembler: Do we print what we parse?
    // Output is generated by, in effect, turning on -S and comparing the
    // result against a golden file.
    
    func testEndToEnd(t *testing.T, goarch, file string) {
    	input := filepath.Join("testdata", file+".s")
    	architecture, ctxt := setArch(goarch)
    	architecture.Init(ctxt)
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Dec 23 18:45:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            if (!(obj instanceof final SmbResourceLocatorImpl o)) {
                return false;
            }
    
            /*
             * If uncertain, pathNamesPossiblyEqual returns true.
             * Comparing canonical paths is definitive.
             */
            if (pathNamesPossiblyEqual(this.url.getPath(), o.url.getPath()) && getURLPath().equalsIgnoreCase(o.getURLPath())) {
                try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
Back to top