- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 62 for flushed (0.25 sec)
-
pkg/hbone/util.go
nr, err := src.Read(buf) log.Debugf("read %v/%v", nr, err) if nr > 0 { // before dealing with the read error nw, ew := dst.Write(buf[0:nr]) log.Debugf("write %v/%v", nw, ew) if f, ok := dst.(http.Flusher); ok { f.Flush() } if nr != nw { // Should not happen ew = io.ErrShortWrite } if ew != nil { return } } if err != nil { // read is already closed - we need to close out
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 3.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/timeout.go
} return tw.w.Write(p) } func (tw *baseTimeoutWriter) Flush() { tw.mu.Lock() defer tw.mu.Unlock() if tw.timedOut { return } // the outer ResponseWriter object returned by WrapForHTTP1Or2 implements // http.Flusher if the inner object (tw.w) implements http.Flusher. tw.w.(http.Flusher).Flush() } func (tw *baseTimeoutWriter) WriteHeader(code int) { tw.mu.Lock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 8.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/outbuf_mmap.go
//go:build unix package ld import ( "syscall" ) // Mmap maps the output file with the given size. It unmaps the old mapping // if it is already mapped. It also flushes any in-heap data to the new // mapping. func (out *OutBuf) Mmap(filesize uint64) (err error) { oldlen := len(out.buf) if oldlen != 0 { out.munmap() } for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 11:20:31 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BlockStore.java
* until {@link #write(BlockPayload)} is called. */ void attach(BlockPayload block); /** * Flushes any pending updates for this store. */ void flush(); interface Factory { Object create(Class<? extends BlockPayload> type); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 1.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/outbuf_windows.go
return } // Apparently unmapping without flush may cause ACCESS_DENIED error // (see issue 38440). err := syscall.FlushViewOfFile(uintptr(unsafe.Pointer(&out.buf[0])), 0) if err != nil { Exitf("FlushViewOfFile failed: %v", err) } // Issue 44817: apparently the call below may be needed (according // to the Windows docs) in addition to the FlushViewOfFile call // above, " ... to flush all the dirty pages plus the metadata for
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 09 01:59:25 UTC 2022 - 2.3K bytes - Viewed (0) -
operator/pkg/cache/cache.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Dec 06 13:12:49 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/SynchronizedDispatchConnection.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; /** * Connection decorator that synchronizes dispatching and always flushes after each message. * * The plan is to replace this with a Connection implementation that queues outgoing messages and dispatches them from a worker thread. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 3K bytes - Viewed (0) -
pkg/hbone/server.go
t0 := time.Now() log.WithLabels("host", r.Host, "source", r.RemoteAddr).Info("Received CONNECT") // Send headers back immediately so we can start getting the body w.(http.Flusher).Flush() ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) defer cancel() dst, err := (&net.Dialer{}).DialContext(ctx, "tcp", r.Host) if err != nil { w.WriteHeader(http.StatusServiceUnavailable)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 10 02:05:07 UTC 2022 - 2.4K bytes - Viewed (0) -
pkg/proxy/ipvs/ipset/testing/fake.go
} } // GetVersion is part of interface. func (f *FakeIPSet) GetVersion() (string, error) { return f.Version, nil } // FlushSet is part of interface. It deletes all entries from a named set but keeps the set itself. func (f *FakeIPSet) FlushSet(set string) error { if f.Entries == nil { return fmt.Errorf("entries map can't be nil") } // delete all entry elements for true {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/BuildTreeConfigurationCache.kt
*/ fun loadOrCreateProjectMetadata(identityPath: Path, creator: () -> LocalComponentGraphResolveState): LocalComponentGraphResolveState /** * Flushes any remaining state to the cache and closes any resources */ fun finalizeCacheEntry() // This is a temporary property to allow migration from a root build scoped cache to a build tree scoped cache
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.5K bytes - Viewed (0)