Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for flushed (0.23 sec)

  1. src/net/http/server.go

    		n += n0
    		if err != nil || n0 < sniffLen {
    			return n, err
    		}
    	}
    
    	w.w.Flush()  // get rid of any previous writes
    	w.cw.flush() // make sure Header is written; flush data to rwc
    
    	// Now that cw has been flushed, its chunking field is guaranteed initialized.
    	if !w.cw.chunking && w.bodyAllowed() {
    		n0, err := rf.ReadFrom(src)
    		n += n0
    		w.written += n0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/rsc.io/markdown/emoji.go

    	"flight_departure":                     "\U0001f6eb",
    	"flipper":                              "\U0001f42c",
    	"floppy_disk":                          "\U0001f4be",
    	"flower_playing_cards":                 "\U0001f3b4",
    	"flushed":                              "\U0001f633",
    	"fly":                                  "\U0001fab0",
    	"flying_disc":                          "\U0001f94f",
    	"flying_saucer":                        "\U0001f6f8",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 107.7K bytes
    - Viewed (0)
  3. pkg/proxy/nftables/proxier_test.go

    		`)
    	assertNFTablesTransactionEqual(t, getLine(), expected, nft.Dump())
    
    	// Delete a service; its chains will be flushed, but not immediately deleted.
    	fp.OnServiceDelete(svc2)
    	fp.syncProxyRules()
    	expected = baseRules + dedent.Dedent(`
    		add element ip kube-proxy cluster-ips { 172.30.0.41 }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  4. src/net/http/serve_test.go

    					return errors.New("header appeared from after WriteHeader")
    				}
    				return nil
    			},
    		},
    		{
    			name: "flush then write",
    			handler: func(rw ResponseWriter, r *Request) {
    				rw.(Flusher).Flush()
    				rw.Write([]byte("post-flush"))
    				rw.Header().Set("Too-Late", "Write already wrote headers")
    			},
    			check: func(got, logs string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  5. 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)
  6. src/net/http/transport_test.go

    				}
    			}()
    		}
    		wg.Wait()
    	}
    
    	var initialCC contextCounter
    	doPosts(&initialCC)
    
    	// flushCC exists only to put pressure on the GC to finalize the initialCC
    	// contexts: the flushCC allocations should eventually displace the initialCC
    	// allocations.
    	var flushCC contextCounter
    	for i := 0; ; i++ {
    		live := initialCC.Read()
    		if live == 0 {
    			break
    		}
    		if i >= 100 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  7. pkg/scheduler/internal/queue/scheduling_queue_test.go

    				t.Errorf("got backoff %s, want %s", backoff, step.wantBackoff)
    			}
    
    			// Simulate routine that continuously flushes the backoff queue.
    			cl.Step(time.Millisecond)
    			q.flushBackoffQCompleted(logger)
    			// Still in backoff queue after an early flush.
    			if _, ok, _ := q.podBackoffQ.Get(podInfo); !ok {
    				t.Errorf("pod %v is not in the backoff queue", podID)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  8. pkg/controller/job/job_controller_test.go

    			2, 0, 0, nil, "",
    		},
    		"suspending a job": {
    			2, 4, 6,
    			true, []int32{1, 1}, v1.PodRunning,
    			0, 0, 0, &jobConditionSuspended, "JobSuspended",
    		},
    		"finshed job": {
    			2, 4, 6,
    			true, []int32{1, 1, 2, 0}, v1.PodSucceeded,
    			0, 4, 0, &jobConditionComplete, "",
    		},
    	}
    
    	for name, tc := range testCases {
    		t.Run(name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
Back to top