Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 103 for Write (0.48 sec)

  1. src/net/http/fs_test.go

    	}
    	res.Body.Close()
    }
    
    type gzipResponseWriter struct {
    	ResponseWriter
    	w *gzip.Writer
    }
    
    func (grw gzipResponseWriter) Write(b []byte) (int, error) {
    	return grw.w.Write(b)
    }
    
    func (grw gzipResponseWriter) Flush() {
    	grw.w.Flush()
    	if fw, ok := grw.ResponseWriter.(http.Flusher); ok {
    		fw.Flush()
    	}
    }
    
    // Issue 63769
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_messages.go

    	if msgWithOrig, ok := msg.(handshakeMessageWithOriginalBytes); ok {
    		if orig := msgWithOrig.originalBytes(); orig != nil {
    			h.Write(msgWithOrig.originalBytes())
    			return nil
    		}
    	}
    
    	data, err := msg.marshal()
    	if err != nil {
    		return err
    	}
    	h.Write(data)
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  3. hack/local-up-cluster.sh

      set -x
    fi
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    
    # This script builds and runs a local kubernetes cluster. You may need to run
    # this as root to allow kubelet to open docker's socket, and to write the test
    # CA in /var/run/kubernetes.
    # Usage: `hack/local-up-cluster.sh`.
    
    DOCKER_OPTS=${DOCKER_OPTS:-""}
    export DOCKER=(docker "${DOCKER_OPTS[@]}")
    DOCKER_ROOT=${DOCKER_ROOT:-""}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. cmd/peer-rest-server.go

    	// Listen Publisher uses nonblocking publish and hence does not wait for slow subscribers.
    	// Use buffered channel to take care of burst sends or slow w.Write()
    	ch := make(chan event.Event, globalAPIConfig.getRequestsPoolCapacity())
    	err := globalHTTPListen.Subscribe(mask, ch, ctx.Done(), func(ev event.Event) bool {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/debug.go

    		state.changedSlots.add(ID(slot))
    		state.currentState.slots[slot] = loc
    	}
    
    	// Handle any register clobbering. Call operations, for example,
    	// clobber all registers even though they don't explicitly write to
    	// them.
    	clobbers := uint64(opcodeTable[v.Op].reg.clobbers)
    	for {
    		if clobbers == 0 {
    			break
    		}
    		reg := uint8(bits.TrailingZeros64(clobbers))
    		clobbers &^= 1 << reg
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  6. pkg/proxy/nftables/proxier.go

    	if !proxier.isInitialized() {
    		proxier.logger.V(2).Info("Not syncing nftables until Services and Endpoints have been received from master")
    		return
    	}
    
    	//
    	// Below this point we will not return until we try to write the nftables rules.
    	//
    
    	// Keep track of how long syncs take.
    	start := time.Now()
    	defer func() {
    		metrics.SyncProxyRulesLatency.Observe(metrics.SinceInSeconds(start))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    	generatedFromIndex = "generated-from-index"
    )
    
    // The state is initialized in PreFilter phase. Because we save the pointer in
    // framework.CycleState, in the later phases we don't need to call Write method
    // to update the value
    type stateData struct {
    	// preScored is true if PreScore was invoked.
    	preScored bool
    
    	// A copy of all claims for the Pod (i.e. 1:1 match with
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  8. src/runtime/mprof.go

    	semrelease(&goroutineProfile.sema)
    	return n, true
    }
    
    // tryRecordGoroutineProfileWB asserts that write barriers are allowed and calls
    // tryRecordGoroutineProfile.
    //
    //go:yeswritebarrierrec
    func tryRecordGoroutineProfileWB(gp1 *g) {
    	if getg().m.p.ptr() == nil {
    		throw("no P available, write barriers are forbidden")
    	}
    	tryRecordGoroutineProfile(gp1, nil, osyield)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  9. src/math/rand/v2/chacha8_test.go

    	}
    	h.Write(buf)
    	if got := h.Sum(nil); !bytes.Equal(got, chacha8hash) {
    		t.Errorf("transcript incorrect: got %x, want %x", got, chacha8hash)
    	}
    
    	p.Seed(chacha8seed)
    	h.Reset()
    
    	buf = make([]byte, chacha8outlen)
    	if _, err := io.ReadFull(iotest.OneByteReader(p), buf); err != nil {
    		t.Errorf("one byte reads: %v", err)
    	}
    	h.Write(buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 55K bytes
    - Viewed (0)
  10. src/runtime/mheap.go

    	free uintptr // free is the index into bits of the next free byte; read/write atomically
    	next *gcBitsArena
    	bits [gcBitsChunkBytes - gcBitsHeaderBytes]gcBits
    }
    
    var gcBitsArenas struct {
    	lock     mutex
    	free     *gcBitsArena
    	next     *gcBitsArena // Read atomically. Write atomically under lock.
    	current  *gcBitsArena
    	previous *gcBitsArena
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
Back to top