Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 4,638 for Same (0.09 sec)

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

      // TODO(cpovirk): enable when ready (apparently after a change to our GWT emulation)
      public void xtestInitialCapacity_setTwice() {
        MapMaker maker = new MapMaker().initialCapacity(16);
        try {
          // even to the same value is not allowed
          maker.initialCapacity(16);
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testReturnsPlainConcurrentHashMapWhenPossible() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Interner.java

      /**
       * Chooses and returns the representative instance for any of a collection of instances that are
       * equal to each other. If two {@linkplain Object#equals equal} inputs are given to this method,
       * both calls will return the same instance. That is, {@code intern(a).equals(a)} always holds,
       * and {@code intern(a) == intern(b)} if and only if {@code a.equals(b)}. Note that {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/ReflectionTest.java

        }
      }
    
      private static class C {
        static {
          ++classesInitialized;
        }
      }
    
      public void testInitialize() {
        assertEquals("This test can't be included twice in the same suite.", 0, classesInitialized);
    
        Reflection.initialize(A.class);
        assertEquals(1, classesInitialized);
    
        Reflection.initialize(
            A.class, // Already initialized (above)
            B.class, C.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionDataRepository.java

    package org.apache.maven.execution;
    
    import org.apache.maven.project.MavenProject;
    
    /**
     * Instances of this interface retrieve and store data for the --resume / -r feature. This data is used to ensure newer
     * builds of the same project, that have the -r command-line flag, skip successfully built projects during earlier
     * invocations of Maven.
     */
    public interface BuildResumptionDataRepository {
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedMap.java

          Comparator<? super K> comparator) {
        return fromEntries(checkNotNull(comparator), false, entries);
      }
    
      /**
       * Returns an immutable map containing the same entries as the provided sorted map, with the same
       * ordering.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

            1 ^ e0().hashCode(),
            getMultiset().entrySet().hashCode());
      }
    
      public void testEquals_yes() {
        assertTrue(
            "multiset doesn't equal a multiset with the same elements",
            getMultiset().equals(HashMultiset.create(getSampleElements())));
      }
    
      public void testEquals_differentSize() {
        Multiset<E> other = HashMultiset.create(getSampleElements());
        other.add(e0());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

            1 ^ e0().hashCode(),
            getMultiset().entrySet().hashCode());
      }
    
      public void testEquals_yes() {
        assertTrue(
            "multiset doesn't equal a multiset with the same elements",
            getMultiset().equals(HashMultiset.create(getSampleElements())));
      }
    
      public void testEquals_differentSize() {
        Multiset<E> other = HashMultiset.create(getSampleElements());
        other.add(e0());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/TypeResolver.java

          return capture(type);
        }
      }
    
      /**
       * Wraps around {@code TypeVariable<?>} to ensure that any two type variables are equal as long as
       * they are declared by the same {@link java.lang.reflect.GenericDeclaration} and have the same
       * name, even if their bounds differ.
       *
       * <p>While resolving a type variable from a {@code var -> type} map, we don't care whether the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

            protected ActivationOS.Builder transformActivationOS_Name(
                    Supplier<? extends ActivationOS.Builder> creator, ActivationOS.Builder builder, ActivationOS target) {
                stk.push(nextFrame("name"));
                try {
                    return super.transformActivationOS_Name(creator, builder, target);
                } finally {
                    stk.pop();
                }
            }
    
            @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  10. bin/build_ztunnel.sh

      exit 1
    }
    
    # Params:
    #   $1: The URL of the ztunnel binary to be downloaded.
    #   $2: The full path of the output binary.
    #   $3: Non-versioned name to use
    function download_ztunnel_if_necessary () {
      if [[ -f "$2" ]]; then
        return
      fi
      # Enter the output directory.
      mkdir -p "$(dirname "$2")"
      pushd "$(dirname "$2")"
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Apr 02 21:46:06 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top