Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1941 - 1950 of 3,818 for Avoid (0.03 sec)

  1. guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java

        unsafeImpl = UnsignedBytes.LexicographicalComparatorHolder.UnsafeComparator.INSTANCE;
      }
    
      @Benchmark
      void longEqualJava(int reps) {
        for (int i = 0; i < reps; ++i) {
          if (javaImpl.compare(ba1, ba2) != 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      @Benchmark
      void longEqualUnsafe(int reps) {
        for (int i = 0; i < reps; ++i) {
          if (unsafeImpl.compare(ba1, ba2) != 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                            public abstract class Task {
                                public String getSourceCompatibility() {
                                    return "";
                                }
                                public void setSourceCompatibility(String value) {
                                }
                            }
                        """
                    )
                },
                v2 = {
                    withFile(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

         */
        public void explicitlyActivate(List<String> profileIds) {
            for (String profileId1 : profileIds) {
                explicitlyActivate(profileId1);
            }
        }
    
        /* (non-Javadoc)
         * @see org.apache.maven.profiles.ProfileManager#explicitlyDeactivate(java.lang.String)
         */
        public void explicitlyDeactivate(String profileId) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

        }
    
        @Override
        public synchronized void insert(final CharMappingItem item) {
            try (MappingUpdater updater = new MappingUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
        public synchronized void update(final CharMappingItem item) {
            try (MappingUpdater updater = new MappingUpdater(item)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/ContributorTest.java

     * Tests {@code Contributor}.
     *
     */
    class ContributorTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Contributor().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Contributor().equals(null));
    
            new Contributor().equals(new Contributor());
        }
    
        @Test
        void testEqualsIdentity() {
            Contributor thing = new Contributor();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/ExtensionTest.java

    /**
     * Tests {@code Extension}.
     *
     */
    class ExtensionTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Extension().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Extension().equals(null));
    
            new Extension().equals(new Extension());
        }
    
        @Test
        void testEqualsIdentity() {
            Extension thing = new Extension();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/PluginContainerTest.java

     *
     */
    class PluginContainerTest {
    
        @Test
        void testHashCodeNullSafe() {
            new PluginContainer().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new PluginContainer().equals(null));
    
            new PluginContainer().equals(new PluginContainer());
        }
    
        @Test
        void testEqualsIdentity() {
            PluginContainer thing = new PluginContainer();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/RelocationTest.java

    /**
     * Tests {@code Relocation}.
     *
     */
    class RelocationTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Relocation().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Relocation().equals(null));
    
            new Relocation().equals(new Relocation());
        }
    
        @Test
        void testEqualsIdentity() {
            Relocation thing = new Relocation();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionListener.java

     * @since 3.1.2
     */
    public interface ProjectExecutionListener {
        void beforeProjectExecution(ProjectExecutionEvent event) throws LifecycleExecutionException;
    
        void beforeProjectLifecycleExecution(ProjectExecutionEvent event) throws LifecycleExecutionException;
    
        void afterProjectExecutionSuccess(ProjectExecutionEvent event) throws LifecycleExecutionException;
    
        void afterProjectExecutionFailure(ProjectExecutionEvent event);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeMultiset.java

          }
        }
    
        private void recomputeMultiset() {
          this.distinctElements =
              1 + TreeMultiset.distinctElements(left) + TreeMultiset.distinctElements(right);
          this.totalCount = elemCount + totalCount(left) + totalCount(right);
        }
    
        private void recomputeHeight() {
          this.height = 1 + max(height(left), height(right));
        }
    
        private void recompute() {
          recomputeMultiset();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top