Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3411 - 3420 of 4,618 for alse (0.02 sec)

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

        public T apply(T key) {
          awaitUninterruptibly(delayLatch);
          return key;
        }
      }
    
      /*
       * TODO(cpovirk): eliminate duplication between these tests and those in LegacyMapMakerTests and
       * anywhere else
       */
    
      public void testInitialCapacity_negative() {
        MapMaker maker = new MapMaker();
        assertThrows(IllegalArgumentException.class, () -> maker.initialCapacity(-1));
      }
    
    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. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

        for (int n = 0; n < replacementArray.length; ++n) {
          char c = (char) n;
          if (replacementArray[n] != null) {
            assertEquals(map.get(c), new String(replacementArray[n]));
          } else {
            assertFalse(map.containsKey(c));
          }
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Absent.java

      static <T> Optional<T> withType() {
        return (Optional<T>) INSTANCE;
      }
    
      private Absent() {}
    
      @Override
      public boolean isPresent() {
        return false;
      }
    
      @Override
      public T get() {
        throw new IllegalStateException("Optional.get() cannot be called on an absent value");
      }
    
      @Override
      public T or(T defaultValue) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/SettableFuture.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link ListenableFuture} whose result can be set by a {@link #set(Object)}, {@link
     * #setException(Throwable)} or {@link #setFuture(ListenableFuture)} call. It can also, like any
     * other {@code Future}, be {@linkplain #cancel cancelled}.
     *
     * <p>{@code SettableFuture} is the recommended {@code ListenableFuture} implementation when your
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Present.java

      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object instanceof Present) {
          Present<?> other = (Present<?>) object;
          return reference.equals(other.reference);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return 0x598df91c + reference.hashCode();
      }
    
      @Override
      public String toString() {
        return "Optional.of(" + reference + ")";
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java

         *
         * @param version the version to test, must not be {@code null}
         * @return {@code true} if this range contains the specified version, {@code false} otherwise
         */
        boolean contains(@Nonnull Version version);
    
        /**
         * Returns the upper boundary of this range, or {@code null} if none.
         */
        @Nullable
        Boundary getUpperBoundary();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java

            addTransfer("get " + resourceName);
    
            insideGet = true;
    
            super.get(resourceName, destination);
    
            insideGet = false;
        }
    
        private void addTransfer(String resourceName) {
            if (testTransferListener != null) {
                testTransferListener.addTransfer(resourceName);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12/ProjectInheritanceTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     * Verifies that plugin execution sections in the parent POM that have
     * inherit == false are not inherited to the child POM.
     */
    @Deprecated
    class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase {
        // ----------------------------------------------------------------------
        //
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

            this.settingsBuilder = settingsBuilder;
        }
    
        @Override
        public void validate(Settings settings, SettingsProblemCollector problems) {
            validate(settings, false, problems);
        }
    
        @Override
        public void validate(Settings settings, boolean isProjectSettings, SettingsProblemCollector problems) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. tests/test_dependency_cache.py

    ):
        return {"counter": count, "subcounter": subcount}
    
    
    @app.get("/sub-counter-no-cache/")
    async def get_sub_counter_no_cache(
        subcount: int = Depends(super_dep),
        count: int = Depends(dep_counter, use_cache=False),
    ):
        return {"counter": count, "subcounter": subcount}
    
    
    @app.get("/scope-counter")
    async def get_scope_counter(
        count: int = Security(dep_counter),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 23 13:30:24 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top