Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4511 - 4520 of 4,820 for If (0.03 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testClearPropagatesToAsMapGet() {
        for (K key : sampleKeys()) {
          resetContainer();
          Collection<V> collection = multimap().asMap().get(key);
          if (collection != null) {
            multimap().clear();
            assertEmpty(collection);
          }
        }
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClearPropagatesToAsMap() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Supplier.java

       * instance, depending on the implementation.
       *
       * @return an instance of the appropriate type
       */
      @ParametricNullness
      T get();
    
      /**
       * <i>May</i> return {@code true} if {@code object} is a {@code Supplier} that behaves identically
       * to this supplier.
       *
       * <p><b>Warning: do not depend</b> on the behavior of this method.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jun 19 17:20:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java

        ByteSource source = newByteSource(0, 50);
        int[] counter = new int[1];
        ByteSource checker =
            new ByteSource() {
              @Override
              public InputStream openStream() throws IOException {
                if (counter[0]++ != 0) {
                  throw new IllegalStateException("More than one source open");
                }
                return new FilterInputStream(source.openStream()) {
                  @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          return new WrappedCallable<T>(callable);
        }
    
        @Override
        protected Runnable wrapTask(Runnable command) {
          return new WrappedRunnable(command);
        }
      }
    
      // TODO: If this test can ever depend on Mockito or the like, use it instead.
      private static final class MockExecutor implements ExecutorService {
        private String lastMethodCalled = "";
        private long lastTimeoutInMillis = -1;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

                                public Optional<Path> getPath(org.apache.maven.api.Artifact artifact) {
                                    Path path = paths.get(artifact.key());
                                    if (path == null && artifact instanceof DefaultArtifact defaultArtifact) {
                                        path = defaultArtifact.getArtifact().getPath();
                                    }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.26.md

    pods running with a service account may only reference secrets specified in the service account's secrets field. Kubernetes clusters are only affected if the ServiceAccount admission plugin and the `kubernetes.io/enforce-mountable-secrets` annotation are used together with ephemeral containers.
    
    **Note**: This only impacts the cluster if the ServiceAccount admission plugin is used (most cluster should have this on by default as recommended in https://kubernetes.io/docs/reference/acces...
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/webconfig/CreateForm.java

            includedDocUrls = fessConfig.getCrawlerDocumentHtmlDefaultIncludeSearchPatterns();
            excludedDocUrls = fessConfig.getCrawlerDocumentHtmlDefaultExcludeSearchPatterns();
            boost = 1.0f;
            if (StringUtil.isBlank(userAgent)) {
                userAgent = fessConfig.getUserAgentName();
            }
            numOfThread = Constants.DEFAULT_NUM_OF_THREAD_FOR_WEB;
            intervalTime = Constants.DEFAULT_INTERVAL_TIME_FOR_WEB;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            originalConfig = ComponentUtil.getFessConfig();
        }
    
        @Override
        public void tearDown() throws Exception {
            if (originalConfig != null) {
                ComponentUtil.register(originalConfig, "fessConfig");
            }
            super.tearDown();
        }
    
        public void test_getStatus_returnsCorrectValue() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/SourceSinkTester.java

        factory.tearDown();
      }
    
      static ImmutableList<Method> getTestMethods(Class<?> testClass) {
        List<Method> result = new ArrayList<>();
        for (Method method : testClass.getDeclaredMethods()) {
          if (Modifier.isPublic(method.getModifiers())
              && method.getReturnType() == void.class
              && method.getParameterTypes().length == 0
              && method.getName().startsWith("test")) {
            result.add(method);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        return copyFromCollection(Lists.newArrayList(elements));
      }
    
      public static <E> ImmutableList<E> copyOf(Collection<? extends E> elements) {
        if (elements instanceof ImmutableCollection) {
          /*
           * TODO: When given an ImmutableList that's a sublist, copy the referenced
           * portion of the array into a new array to save space?
           */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top