Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 193 for Draining (0.12 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.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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/internal/CommonServerMessageBlockRequest.java

         *
         * @return create cancel request
         */
        CommonServerMessageBlockRequest createCancel();
    
        /**
         * Checks if chaining is allowed with the next request.
         *
         * @param next the next request in the chain
         * @return whether to allow chaining
         */
        boolean allowChain(CommonServerMessageBlockRequest next);
    
        /**
         * Sets the tree ID.
         *
         * @param t the tree ID to set
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            assertEquals((byte) 0xFF, buf[1], "AndX command should be 0xFF when no chaining");
            assertEquals((byte) 0x00, buf[2], "Reserved byte must be 0");
            assertEquals((byte) 0xDE, buf[3], "Sentinel low offset when no chaining");
            assertEquals((byte) 0xDE, buf[4], "Sentinel high offset when no chaining");
            assertNull(block.andx, "andx should be cleared when not chaining");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/entity/HighlightInfo.java

            return type;
        }
    
        /**
         * Sets the highlighting type with fluent interface.
         *
         * @param type the highlighting type to set
         * @return this HighlightInfo instance for method chaining
         */
        public HighlightInfo type(final String type) {
            this.type = type;
            return this;
        }
    
        /**
         * Gets the fragment size.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 10:17:07 GMT 2026
    - 5.2K bytes
    - Click Count (0)
Back to Top