Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1901 - 1910 of 2,768 for Add (0.01 seconds)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt

        requestedUris.add(uri)
        return proxies
      }
    
      fun assertRequests(vararg expectedUris: URI?) {
        assertThat(requestedUris).containsExactly(*expectedUris)
        requestedUris.clear()
      }
    
      override fun connectFailed(
        uri: URI,
        sa: SocketAddress,
        ioe: IOException,
      ) {
        val socketAddress = sa as InetSocketAddress
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/eventbus/outside/BaseSubscriberFinderTest.java

        final List<Object> subscriberEvents = new ArrayList<>();
    
        public void notASubscriber(Object o) {
          nonSubscriberEvents.add(o);
        }
    
        @Subscribe
        public void subscriber(Object o) {
          subscriberEvents.add(o);
        }
      }
    
      public void testNonSubscriber() {
        assertThat(getSubscriber().nonSubscriberEvents).isEmpty();
      }
    
      public void testSubscriber() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapForEachTester.java

        List<Entry<K, V>> entries = new ArrayList<>();
        multimap().forEach((k, v) -> entries.add(mapEntry(k, v)));
        assertEqualIgnoringOrder(getSampleElements(), multimap().entries());
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testForEachOrder() {
        List<Entry<K, V>> entries = new ArrayList<>();
        multimap().forEach((k, v) -> entries.add(mapEntry(k, v)));
        assertEqualIgnoringOrder(getSampleElements(), multimap().entries());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

            List<String> webConfigIds = new ArrayList<>();
            List<String> fileConfigIds = new ArrayList<>();
    
            for (int i = 0; i < 100; i++) {
                webConfigIds.add("webConfig" + i);
                fileConfigIds.add("fileConfig" + i);
            }
    
            // Mock CrawlingConfigHelper
            CrawlingConfigHelper crawlingConfigHelper = new CrawlingConfigHelper() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

          if (map.recordsAccess()) {
            entry.setAccessTime(now);
          }
          if (map.recordsWrite()) {
            entry.setWriteTime(now);
          }
          accessQueue.add(entry);
          writeQueue.add(entry);
        }
    
        /**
         * Drains the recency queue, updating eviction metadata that the entries therein were read in
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

        for (String entry : Splitter.on(PATH_SEPARATOR.value()).split(JAVA_CLASS_PATH.value())) {
          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalTestArtifactExtension.java

            project.getPlugins().withType(JavaPlugin.class, javaPlugin -> {
                Dependency projectDependency = dependencies.create(project);
                dependencies.add(sourceSet.getApiElementsConfigurationName(), projectDependency);
                dependencies.add(sourceSet.getRuntimeElementsConfigurationName(), projectDependency);
            });
            // PolicyUtil doesn't handle classifier notation well probably.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 29 07:15:49 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/cache/LongAdderTest.java

       */
      public void testNulls() {}
    
      public void testOverflows() {
        LongAdder longAdder = new LongAdder();
        longAdder.add(Long.MAX_VALUE);
        assertThat(longAdder.sum()).isEqualTo(Long.MAX_VALUE);
        longAdder.add(1);
        // silently overflows; is this a bug?
        // See https://github.com/google/guava/issues/3503
        assertThat(longAdder.sum()).isEqualTo(-9223372036854775808L);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/eventbus/outside/AnnotatedAndAbstractInSuperclassTest.java

        @Subscribe
        @Override
        public void overriddenAndAnnotatedInSubclass(Object o) {
          overriddenAndAnnotatedInSubclassEvents.add(o);
        }
    
        @Override
        public void overriddenInSubclass(Object o) {
          overriddenInSubclassEvents.add(o);
        }
      }
    
      public void testOverriddenAndAnnotatedInSubclass() {
        assertThat(getSubscriber().overriddenAndAnnotatedInSubclassEvents).contains(EVENT);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. .teamcity/scripts/CheckRemoteProjectRef.java

                if (key.isEmpty()) continue;
                if (!props.containsKey(key)) {
                    missing.add(key);
                    continue;
                }
                String value = props.get(key);
                if (value == null || value.trim().isEmpty()) {
                    empty.add(key);
                }
            }
    
            if (!missing.isEmpty() || !empty.isEmpty()) {
                if (!missing.isEmpty()) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 20 03:53:25 GMT 2026
    - 3.4K bytes
    - Click Count (0)
Back to Top