Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 849 for flushF (0.13 sec)

  1. pkg/util/coverage/coverage.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package coverage provides tools for coverage-instrumented binaries to collect and
    // flush coverage information.
    package coverage
    
    import (
    	"flag"
    	"fmt"
    	"os"
    	"testing"
    	"time"
    
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/klog/v2"
    )
    
    var coverageFile string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 21:00:21 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  2. 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)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/SynchronizedDispatchConnection.java

                }
                dispatching = true;
                try {
                    delegate.dispatch(message);
                    delegate.flush();
                } finally {
                    dispatching = false;
                }
            } finally {
                lock.unlock();
            }
        }
    
        @Override
        public T receive() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/runtime/mgc.go

    	systemstack(freeStackSpans)
    
    	// Ensure all mcaches are flushed. Each P will flush its own
    	// mcache before allocating, but idle Ps may not. Since this
    	// is necessary to sweep all spans, we need to ensure all
    	// mcaches are flushed before we start the next GC cycle.
    	//
    	// While we're here, flush the page cache for idle Ps to avoid
    	// having pages get stuck on them. These pages are hidden from
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  5. src/runtime/traceallocfree.go

    func traceSnapshotMemory(gen uintptr) {
    	assertWorldStopped()
    
    	// Write a batch containing information that'll be necessary to
    	// interpret the events.
    	var flushed bool
    	w := unsafeTraceExpWriter(gen, nil, traceExperimentAllocFree)
    	w, flushed = w.ensure(1 + 4*traceBytesPerNumber)
    	if flushed {
    		// Annotate the batch as containing additional info.
    		w.byte(byte(traceAllocFreeInfoBatch))
    	}
    
    	// Emit info.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:32:51 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/filters/goaway_test.go

    		defer timer.Stop()
    
    		w.Header().Set("Transfer-Encoding", "chunked")
    		w.WriteHeader(200)
    
    		flusher, _ := w.(http.Flusher)
    		flusher.Flush()
    
    		count := 0
    		for {
    			<-timer.C
    			n, err := w.Write(responseBody[count : count+1])
    			if err != nil {
    				return
    			}
    			flusher.Flush()
    			count += n
    			if count == len(responseBody) {
    				return
    			}
    		}
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 12:58:54 UTC 2021
    - 13.9K bytes
    - Viewed (0)
  7. src/net/http/httputil/reverseproxy.go

    	// If nil, http.DefaultTransport is used.
    	Transport http.RoundTripper
    
    	// FlushInterval specifies the flush interval
    	// to flush to the client while copying the
    	// response body.
    	// If zero, no periodic flushing is done.
    	// A negative value means to flush immediately
    	// after each write to the client.
    	// The FlushInterval is ignored when ReverseProxy
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 23:37:42 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. platforms/software/security/src/main/java/org/gradle/plugins/signing/signatory/pgp/PgpSignatory.java

            BCPGOutputStream bufferedOutput = new BCPGOutputStream(signatureDestination);
            pgpSignature.encode(bufferedOutput);
            bufferedOutput.flush();
        }
    
        public PGPSignatureGenerator createSignatureGenerator() {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. src/bufio/bufio_test.go

    	str := strings.Repeat("x", 1<<10)
    	bs := []byte(str)
    	for i := 0; i < b.N; i++ {
    		bw := NewWriter(io.Discard)
    		bw.Flush()
    		bw.WriteByte('a')
    		bw.Flush()
    		bw.WriteRune('B')
    		bw.Flush()
    		bw.Write(bs)
    		bw.Flush()
    		bw.WriteString(str)
    		bw.Flush()
    	}
    }
    
    func BenchmarkWriterFlush(b *testing.B) {
    	b.ReportAllocs()
    	bw := NewWriter(io.Discard)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  10. pkg/util/iptables/iptables.go

    	// data should be formatted like the output of SaveInto()
    	// flush sets the presence of the "--noflush" flag. see: FlushFlag
    	// counters sets the "--counters" flag. see: RestoreCountersFlag
    	Restore(table Table, data []byte, flush FlushFlag, counters RestoreCountersFlag) error
    	// RestoreAll is the same as Restore except that no table is specified.
    	RestoreAll(data []byte, flush FlushFlag, counters RestoreCountersFlag) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 28.6K bytes
    - Viewed (0)
Back to top