Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 56 for flushed (0.12 sec)

  1. src/net/http/clientserver_test.go

    func TestH12_FlushBeforeBody(t *testing.T) {
    	h12Compare{Handler: func(w ResponseWriter, r *Request) {
    		w.(Flusher).Flush()
    		io.WriteString(w, "foo")
    	}}.run(t)
    }
    
    func TestH12_FlushMidBody(t *testing.T) {
    	h12Compare{Handler: func(w ResponseWriter, r *Request) {
    		io.WriteString(w, "foo")
    		w.(Flusher).Flush()
    		io.WriteString(w, "bar")
    	}}.run(t)
    }
    
    func TestH12_Head_ExplicitLen(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  2. src/cmd/trace/gen.go

    				Resource: trace.GCP,
    				Stack:    ctx.Stack(viewerFrames(ar.stack)),
    				EndStack: ctx.Stack(viewerFrames(ev.Stack())),
    			})
    		}
    		delete(g.ranges, r.Name)
    	}
    }
    
    // Finish flushes any outstanding ranges at the end of the trace.
    func (g *globalRangeGenerator) Finish(ctx *traceContext) {
    	for name, ar := range g.ranges {
    		if !strings.Contains(name, "GC") {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. cmd/admin-bucket-handlers.go

    				return
    			}
    			if len(diffCh) == 0 {
    				// Flush if nothing is queued
    				w.(http.Flusher).Flush()
    			}
    		case <-keepAliveTicker.C:
    			if len(diffCh) > 0 {
    				continue
    			}
    			if _, err := w.Write([]byte(" ")); err != nil {
    				return
    			}
    			w.(http.Flusher).Flush()
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    			fnName             string
    			abi                string
    			localSize, argSize int
    			wroteSP            bool
    			noframe            bool
    			haveRetArg         bool
    			retLine            []int
    		)
    
    		flushRet := func() {
    			if fn != nil && fn.vars["ret"] != nil && !haveRetArg && len(retLine) > 0 {
    				v := fn.vars["ret"]
    				resultStr := fmt.Sprintf("%d-byte ret+%d(FP)", v.size, v.off)
    				if abi == "ABIInternal" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. src/runtime/mspanset.go

    		if spineLen <= uintptr(head)/spanSetBlockEntries {
    			// We're racing with a spine growth and the allocation of
    			// a new block (and maybe a new spine!), and trying to grab
    			// the span at the index which is currently being pushed.
    			// Instead of spinning, let's just notify the caller that
    			// there's nothing currently here. Spinning on this is
    			// almost definitely not worth it.
    			return nil
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/unicode/norm/normalize.go

    	ft := formTable[f]
    	n, ok := ft.quickSpan(src, 0, len(b), true)
    	if ok {
    		return b
    	}
    	out := make([]byte, n, len(b))
    	copy(out, b[0:n])
    	rb := reorderBuffer{f: *ft, src: src, nsrc: len(b), out: out, flushF: appendFlush}
    	return doAppendInner(&rb, n)
    }
    
    // String returns f(s).
    func (f Form) String(s string) string {
    	src := inputString(s)
    	ft := formTable[f]
    	n, ok := ft.quickSpan(src, 0, len(s), true)
    	if ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. cmd/storage-rest-server.go

    					} else {
    						write([]byte{0})
    					}
    					return
    				default:
    				}
    
    				// Response not ready, write a filler byte.
    				write([]byte{32})
    				if canWrite {
    					w.(http.Flusher).Flush()
    				}
    			case err := <-doneCh:
    				if err != nil {
    					write([]byte{1})
    					write([]byte(err.Error()))
    				} else {
    					write([]byte{0})
    				}
    				return
    			}
    		}
    	}()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  8. src/encoding/xml/marshal.go

    		}
    	}
    	return depth == 0 && inquote == 0 && !incomment
    }
    
    // Flush flushes any buffered XML to the underlying writer.
    // See the [Encoder.EncodeToken] documentation for details about when it is necessary.
    func (enc *Encoder) Flush() error {
    	return enc.p.w.Flush()
    }
    
    // Close the Encoder, indicating that no more data will be written. It flushes
    // any buffered XML to the underlying writer and returns an error if the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  9. pkg/log/config.go

    	})
    	// --vklog is non zero then KlogScope should be increased.
    	// klog is a special case.
    	if klogVerbose() {
    		KlogScope.SetOutputLevel(DebugLevel)
    	}
    
    	return nil
    }
    
    // Sync flushes any buffered log entries.
    // Processes should normally take care to call Sync before exiting.
    func Sync() error {
    	return funcs.Load().(patchTable).sync()
    }
    
    // Close implements io.Closer.
    func Close() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. architecture/networking/pilot.md

    determine which *types* may be impacted. For example, we know a `WasmPlugin` does not impact the `Cluster` type, so we can skip generating `Cluster` in this case. Warning: Envoy currently has a bug that *requires* `Endpoints` to be pushed any time the corresponding `Cluster` is pushed, so this optimization is intentionally turned off in this specific case.
    
    Finally, we determine which subset of the type we need to generate. XDS has two modes - "State of the World (SotW)" and "Delta". In SotW, we...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 17:53:24 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top