Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 263 for flushed (0.22 sec)

  1. cmd/admin-handlers.go

    				return
    			}
    			grid.PutByteBuffer(entry)
    			if len(traceCh) == 0 {
    				// Flush if nothing is queued
    				w.(http.Flusher).Flush()
    			}
    		case <-keepAliveTicker.C:
    			if len(traceCh) > 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
    - 98K 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. src/cmd/internal/test2json/test2json.go

    		if c == '\n' {
    			return i, 1
    		}
    		if c == marker && i > 0 { // test -v=json emits ^V at start of framing lines
    			return i, 0
    		}
    	}
    	return -1, 0
    }
    
    // flush flushes the line buffer.
    func (l *lineBuffer) flush() {
    	if len(l.b) > 0 {
    		// Must be a line without a \n, so a partial line.
    		l.part(l.b)
    		l.b = l.b[:0]
    	}
    }
    
    var benchmark = []byte("Benchmark")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 14.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modfetch/codehost/git_test.go

    }
    
    // A testWriter is an io.Writer that writes to a test's log.
    //
    // The writer batches written data until the last byte of a write is a newline
    // character, then flushes the batched data as a single call to Logf.
    // Any remaining unflushed data is logged during Cleanup.
    type testWriter struct {
    	t testing.TB
    
    	mu  sync.Mutex
    	buf bytes.Buffer
    }
    
    func newTestWriter(t testing.TB) *testWriter {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-components/1.1.6/plexus-components-1.1.6.pom

      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-components</artifactId>
      <packaging>pom</packaging>
      <version>1.1.6</version>
      <name>Plexus Components Parent Project</name>
      <!--
        TODO: should this be pushed down to all the dependencies?
          - a more stable API JAR may be useful, for the interfaces and classes such as AbstractLogEnabled
      -->
      <dependencies>
        <dependency>
          <groupId>org.codehaus.plexus</groupId>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-components/1.1.6/plexus-components-1.1.6.pom

      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-components</artifactId>
      <packaging>pom</packaging>
      <version>1.1.6</version>
      <name>Plexus Components Parent Project</name>
      <!--
        TODO: should this be pushed down to all the dependencies?
          - a more stable API JAR may be useful, for the interfaces and classes such as AbstractLogEnabled
      -->
      <dependencies>
        <dependency>
          <groupId>org.codehaus.plexus</groupId>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Dec 24 18:09:10 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  7. test/fixedbugs/issue16249.go

    // run
    
    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Liveness calculations were wrong for a result parameter pushed onto
    // the heap in a function that used defer.  Program would crash with
    //     runtime: bad pointer in frame main.A at 0xc4201e6838: 0x1
    
    package main
    
    import "errors"
    
    var sink interface{}
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 02 00:40:40 UTC 2016
    - 1.3K bytes
    - Viewed (0)
  8. internal/http/response-recorder.go

    		lrw.writeHeaders(&lrw.headers, code, lrw.ResponseWriter.Header())
    		lrw.headersLogged = true
    		lrw.ResponseWriter.WriteHeader(code)
    	}
    }
    
    // Flush - Calls the underlying Flush.
    func (lrw *ResponseRecorder) Flush() {
    	lrw.ResponseWriter.(http.Flusher).Flush()
    }
    
    // Size - returns  the number of bytes written
    func (lrw *ResponseRecorder) Size() int {
    	return lrw.bytesWritten
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 02 00:13:19 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. src/compress/flate/deflate_test.go

    						t.Errorf("i=%d, firstN=%d, flush=%t: Write: %v", i, firstN, flush, err)
    						continue outer
    					}
    					if !flush {
    						continue
    					}
    					if err := w.Flush(); err != nil {
    						t.Errorf("i=%d, firstN=%d, flush=%t: Flush: %v", i, firstN, flush, err)
    						continue outer
    					}
    				}
    				if err := w.Close(); err != nil {
    					t.Errorf("i=%d, firstN=%d, flush=%t: Close: %v", i, firstN, flush, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  10. pkg/proxy/ipvs/ipset/ipset.go

    		}
    	} else {
    		return false, fmt.Errorf("error testing entry %s: %v (%s)", entry, err, out)
    	}
    }
    
    // FlushSet deletes all entries from a named set.
    func (runner *runner) FlushSet(set string) error {
    	if _, err := runner.exec.Command(IPSetCmd, "flush", set).CombinedOutput(); err != nil {
    		return fmt.Errorf("error flushing set: %s, error: %v", set, err)
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 17.1K bytes
    - Viewed (0)
Back to top