Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 228 for Draining (0.11 seconds)

  1. android/guava/src/com/google/common/io/ReaderInputStream.java

        int totalBytesRead = 0;
        boolean doneEncoding = endOfInput;
    
        DRAINING:
        while (true) {
          // We stay in draining mode until there are no bytes left in the output buffer. Then we go
          // back to encoding/flushing.
          if (draining) {
            totalBytesRead += drain(b, off + totalBytesRead, len - totalBytesRead);
            if (totalBytesRead == len || doneFlushing) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/Striped.java

            if (existing != null) {
              return existing;
            }
          }
          drainQueue();
          return created;
        }
    
        // N.B. Draining the queue is only necessary to ensure that we don't accumulate empty references
        // in the array. We could skip this if we decide we don't care about holding on to Reference
        // objects indefinitely.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  3. internal/grid/connection.go

    func (c *Connection) reconnected() {
    	c.updateState(StateConnectionError)
    	c.reconnects.Add(1)
    
    	// Drain the outQueue, so any blocked messages can be sent.
    	// We keep the queue, but start draining it, if it gets full.
    	stopDraining := make(chan struct{})
    	var wg sync.WaitGroup
    	wg.Add(1)
    	defer func() {
    		close(stopDraining)
    		wg.Wait()
    	}()
    	go func() {
    		defer wg.Done()
    		for {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  4. CHANGELOG/CHANGELOG-1.27.md

    - Upgraded `go-jose` to `v2.6.0` ([#115893](https://github.com/kubernetes/kubernetes/pull/115893), [@mgoltzsche](https://github.com/mgoltzsche))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Jul 17 07:48:22 GMT 2024
    - 466.3K bytes
    - Click Count (2)
  5. CHANGELOG/CHANGELOG-1.28.md

    - [Kube-proxy]: Implemented connection draining for terminating nodes. ([#116470](https://github.com/kubernetes/kubernetes/pull/116470), [@alexanderConstantinescu](https://github.com/alexanderConstantinescu))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Fri Sep 05 03:47:18 GMT 2025
    - 456.9K bytes
    - Click Count (1)
  6. CHANGELOG/CHANGELOG-1.29.md

    - Fixed an issue related to not draining all the pods in a namespace when an empty selector, i.e., "{}," is specified in a Pod Disruption Budget (PDB). ([#119732](https://github.com/kubernetes/kubernetes/pull/119732), [@sairameshv](https://github.com/sairameshv))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Mar 12 00:36:01 GMT 2025
    - 429.6K bytes
    - Click Count (1)
  7. android/guava-tests/test/com/google/common/base/OptionalTest.java

      public void testIsPresent_yes() {
        assertTrue(Optional.of("training").isPresent());
      }
    
      public void testGet_absent() {
        Optional<String> optional = Optional.absent();
        assertThrows(IllegalStateException.class, optional::get);
      }
    
      public void testGet_present() {
        assertThat(Optional.of("training").get()).isEqualTo("training");
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/job/ExecJob.java

         * @return this ExecJob instance for method chaining
         */
        public ExecJob jobExecutor(final JobExecutor jobExecutor) {
            this.jobExecutor = jobExecutor;
            return this;
        }
    
        /**
         * Sets the session ID for this job execution.
         *
         * @param sessionId the unique session identifier
         * @return this ExecJob instance for method chaining
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. tests/test_multipart_installation.py

        monkeypatch.setattr("python_multipart.__version__", "0.0.12")
        with warnings.catch_warnings(record=True):
            warnings.simplefilter("always")
            monkeypatch.delattr("multipart.multipart.parse_options_header", raising=False)
        with pytest.raises(RuntimeError, match=multipart_incorrect_install_error):
            app = FastAPI()
    
            @app.post("/")
            async def root(username: str = Form()):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Oct 27 21:46:26 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java

             */
            public SearchResultBuilder addDocument(final Map<String, Object> doc) {
                documentList.add(doc);
                return this;
            }
    
            /**
             * Sets the facet response containing aggregated facet information.
             *
             * @param facetResponse The facet response
             * @return This builder instance for method chaining
             */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8.8K bytes
    - Click Count (0)
Back to Top