Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 1,926 for Add (0.01 sec)

  1. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            }
    
            // Check if we should add/remove channels
            adjustChannelCount();
        }
    
        private void adjustChannelCount() {
            int currentChannels = channels.size();
            int targetChannels = Math.min(maxChannels, Math.min(localInterfaces.size(), remoteInterfaces.size()));
    
            if (currentChannels < targetChannels) {
                // Add more channels
                establishAdditionalChannels();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/RecordingCallback.kt

      override fun onFailure(
        call: Call,
        e: IOException,
      ) {
        responses.add(RecordedResponse(call.request(), null, null, null, e))
        (this as Object).notifyAll()
      }
    
      @Synchronized
      override fun onResponse(
        call: Call,
        response: Response,
      ) {
        val body = response.body.string()
        responses.add(RecordedResponse(call.request(), response, null, body, null))
        (this as Object).notifyAll()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. 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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharSourceTest.java

                  final List<String> list = new ArrayList<>();
    
                  @Override
                  public boolean processLine(String line) throws IOException {
                    list.add(line);
                    return true;
                  }
    
                  @Override
                  public List<String> getResult() {
                    return list;
                  }
                });
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CloserTest.java

          return Objects.hash(closeable, thrown, suppressed);
        }
    
        @Override
        public String toString() {
          return MoreObjects.toStringHelper(this)
              .add("closeable", closeable)
              .add("thrown", thrown)
              .add("suppressed", suppressed)
              .toString();
        }
      }
    
      private static class TestCloseable implements Closeable {
    
        private final Throwable throwOnClose;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          Collection<E> collection, E sampleElement) {
        Collection<E> siblingCollection = new ArrayList<>();
        siblingCollection.add(sampleElement);
    
        Collection<E> copy = new ArrayList<>();
        copy.addAll(collection);
    
        try {
          collection.add(sampleElement);
          fail("add succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  7. cmd/endpoint-ellipses.go

    			}
    			uniqueArgs.Add(arg)
    		}
    	}
    
    	return setArgs, nil
    }
    
    // Override set drive count for manual distribution.
    const (
    	EnvErasureSetDriveCount = "MINIO_ERASURE_SET_DRIVE_COUNT"
    )
    
    type node struct {
    	nodeName string
    	disks    []string
    }
    
    type endpointsList []node
    
    func (el *endpointsList) add(arg string) error {
    	u, err := url.Parse(arg)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. 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
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. android/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() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  10. 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() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top