Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 236 for flushed (0.27 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/filters/audit_test.go

    	if _, ok := actual.(http.CloseNotifier); !ok {
    		t.Errorf("Expected http.ResponseWriter to implement http.CloseNotifier")
    	}
    	if _, ok := actual.(http.Flusher); !ok {
    		t.Errorf("Expected the wrapper to implement http.Flusher")
    	}
    	if _, ok := actual.(http.Hijacker); ok {
    		t.Errorf("Expected http.ResponseWriter not to implement http.Hijacker")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 22.6K bytes
    - Viewed (0)
  2. 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)
  3. src/net/http/h2_bundle.go

    			return err
    		}
    	}
    
    	if sentEnd {
    		// Already sent END_STREAM (which implies we have no
    		// trailers) and flushed, because currently all
    		// WriteData frames above get a flush. So we're done.
    		return nil
    	}
    
    	// Since the RoundTrip contract permits the caller to "mutate or reuse"
    	// a request after the Response's Body is closed, verify that this hasn't
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  4. 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)
  5. pkg/util/coverage/coverage.go

    	flag.CommandLine.Parse([]string{"-test.coverprofile", tempCoveragePath()})
    
    	// Begin periodic logging
    	go wait.Forever(FlushCoverage, flushInterval)
    }
    
    // FlushCoverage flushes collected coverage information to disk.
    // The destination file is configured at startup and cannot be changed.
    // Calling this function also sends a line like "coverage: 5% of statements" to stdout.
    func FlushCoverage() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 21:00:21 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. .github/workflows/sigbuild-docker-presubmit.yml

          -
            name: Add a comment with the pushed containers
            uses: mshick/add-pr-comment@a65df5f64fc741e91c59b8359a4bc56e57aaf5b1 # v2
            if: contains(github.event.pull_request.labels.*.name, 'build and push to gcr.io for staging')
            with:
              repo-token: ${{ secrets.GITHUB_TOKEN }}
              message: |
                I pushed these containers:
                
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 18:43:43 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top