Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 112 for flushed (0.14 sec)

  1. src/net/http/httputil/reverseproxy.go

    	var w io.Writer = dst
    
    	if flushInterval != 0 {
    		mlw := &maxLatencyWriter{
    			dst:     dst,
    			flush:   http.NewResponseController(dst).Flush,
    			latency: flushInterval,
    		}
    		defer mlw.stop()
    
    		// set up initial timer so headers get flushed even if body writes are delayed
    		mlw.flushPending = true
    		mlw.t = time.AfterFunc(flushInterval, mlw.delayedFlush)
    
    		w = mlw
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 23:37:42 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  2. src/net/http/httputil/reverseproxy_test.go

    		t.Errorf("got body %q; expected %q", bodyBytes, expected)
    	}
    }
    
    type mockFlusher struct {
    	http.ResponseWriter
    	flushed bool
    }
    
    func (m *mockFlusher) Flush() {
    	m.flushed = true
    }
    
    type wrappedRW struct {
    	http.ResponseWriter
    }
    
    func (w *wrappedRW) Unwrap() http.ResponseWriter {
    	return w.ResponseWriter
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  3. src/runtime/mprof.go

    // indicate whether future[cycle] in all buckets has been queued to flush into
    // the active profile.
    type mProfCycleHolder struct {
    	value atomic.Uint32
    }
    
    // read returns the current cycle count.
    func (c *mProfCycleHolder) read() (cycle uint32) {
    	v := c.value.Load()
    	cycle = v >> 1
    	return cycle
    }
    
    // setFlushed sets the flushed flag. It returns the current cycle count and the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    func (rb *reorderBuffer) setFlusher(out []byte, f func(*reorderBuffer) bool) {
    	rb.out = out
    	rb.flushF = f
    }
    
    // reset discards all characters from the buffer.
    func (rb *reorderBuffer) reset() {
    	rb.nrune = 0
    	rb.nbyte = 0
    }
    
    func (rb *reorderBuffer) doFlush() bool {
    	if rb.f.composing {
    		rb.compose()
    	}
    	res := rb.flushF(rb)
    	rb.reset()
    	return res
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/cmd/trace/gstate.go

    	// activeRanges is the set of all active ranges on the goroutine.
    	activeRanges map[string]activeRange
    
    	// completedRanges is a list of ranges that completed since before the
    	// goroutine stopped executing. These are flushed on every stop or block.
    	completedRanges []completedRange
    
    	// startRunning is the most recent event that caused a goroutine to
    	// transition to GoRunning.
    	startRunningTime trace.Time
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. pkg/proxy/nftables/proxier.go

    	tx.Flush(&knftables.Set{
    		Name: clusterIPsSet,
    	})
    	tx.Flush(&knftables.Map{
    		Name: firewallIPsMap,
    	})
    	tx.Flush(&knftables.Map{
    		Name: noEndpointServicesMap,
    	})
    	tx.Flush(&knftables.Map{
    		Name: noEndpointNodePortsMap,
    	})
    	tx.Flush(&knftables.Map{
    		Name: serviceIPsMap,
    	})
    	tx.Flush(&knftables.Map{
    		Name: serviceNodePortsMap,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

          webSocket!!.initReaderAndWriter(name, this)
        }
    
        /**
         * Peeks the number of bytes available for the client to read immediately. This doesn't block so
         * it requires that bytes have already been flushed by the server.
         */
        fun clientSourceBufferSize(): Long {
          source.request(1L)
          return source.buffer.size
        }
    
        fun processNextFrame(): Boolean {
          taskFaker.runTasks()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/net.go

    	}
    
    	if err := s.ztunnelServer.PodDeleted(ctx, string(pod.UID)); err != nil {
    		return err
    	}
    	return nil
    }
    
    // syncHostIPSets is called after the host node ipset has been created (or found + flushed)
    // during initial snapshot creation, it will insert every snapshotted pod's IP into the set.
    //
    // The set does not allow dupes (obviously, that would be undefined) - but in the real world due to misconfigured
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                if (response.getHttpStatusCode() == 200) {
                    logger.info("Flushed config files.");
                } else {
                    logger.warn("Failed to flush config files.");
                }
            } catch (final Exception e) {
                logger.warn("Failed to flush config files.", e);
            }
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  10. internal/logger/target/http/http.go

    		atomic.AddInt64(&h.totalMessages, 1)
    		atomic.AddInt64(&h.failedMessages, 1)
    		return errors.New("log buffer full")
    	}
    
    	return nil
    }
    
    // Cancel - cancels the target.
    // All queued messages are flushed and the function returns afterwards.
    // All messages sent to the target after this function has been called will be dropped.
    func (h *Target) Cancel() {
    	atomic.StoreInt32(&h.status, statusClosed)
    	h.storeCtxCancel()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top