Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for wantRm (0.29 sec)

  1. pkg/registry/core/service/storage/storage_test.go

    			want.Spec.ClusterIPs = want.Spec.ClusterIPs[0:1]
    		} else if len(got.Spec.ClusterIPs) > len(want.Spec.ClusterIPs) {
    			want.Spec.ClusterIPs = append(want.Spec.ClusterIPs, got.Spec.ClusterIPs[len(want.Spec.ClusterIPs):]...)
    		}
    		if tc.expectStackDowngrade && len(want.Spec.IPFamilies) > len(got.Spec.ClusterIPs) {
    			want.Spec.IPFamilies = want.Spec.IPFamilies[0:1]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 440.2K bytes
    - Viewed (0)
  2. src/net/http/h2_bundle.go

    		// receive. However, this may allocate less than len(p).
    		want := int64(len(p))
    		if b.expected > want {
    			want = b.expected
    		}
    		chunk := b.lastChunkOrAlloc(want)
    		n := copy(chunk[b.w:], p)
    		p = p[n:]
    		b.w += n
    		b.size += n
    		b.expected -= int64(n)
    	}
    	return ntotal, nil
    }
    
    func (b *http2dataBuffer) lastChunkOrAlloc(want int64) []byte {
    	if len(b.chunks) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top