Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 52 for sendZero (0.63 sec)

  1. pkg/queue/delay.go

    	// Use blocking channel if GOMAXPROCS=1.
    	// This switches context from sender to receiver immediately,
    	// which results in higher performance.
    	var n int
    	if n = runtime.GOMAXPROCS(0); n == 1 {
    		return 0
    	}
    
    	// Make channel non-blocking and set up its capacity with GOMAXPROCS if GOMAXPROCS>1,
    	// otherwise the sender might be dragged down if the receiver is CPU-bound.
    	//
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 06:27:31 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  2. src/runtime/chan_test.go

    	// The way we try to induce this failure is to set up two
    	// goroutines: a sender and a receiver that communicate across
    	// a channel. We try to set up a situation where the sender
    	// grows its stack temporarily then *fully* blocks on a channel
    	// often. Meanwhile a GC is triggered so that we try to get a
    	// mark worker to shrink the sender's stack and race with the
    	// sender parking.
    	//
    	// Unfortunately the race window here is so small that we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:47:35 UTC 2023
    - 23.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/deadness_analysis_test.cc

      Output recv_a = ops::_Recv(root.WithOpName("recv_a"), DT_FLOAT, "tensor_a",
                                 "sender", 0, "receiver");
      Output recv_b = ops::_Recv(root.WithOpName("recv_b"), DT_FLOAT, "tensor_b",
                                 "sender", 0, "receiver");
      Output add = ops::Add(root.WithOpName("add"), recv_a, recv_b);
    
      std::unique_ptr<DeadnessAnalysis> result;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  4. src/runtime/sigqueue.go

    		for i := uint32(0); i < _NSIG; i++ {
    			if sig.recv[i/32]&(1<<(i&31)) != 0 {
    				sig.recv[i/32] &^= 1 << (i & 31)
    				return i
    			}
    		}
    
    		// Wait for updates to be available from signal sender.
    	Receive:
    		for {
    			switch sig.state.Load() {
    			default:
    				throw("signal_recv: inconsistent state")
    			case sigIdle:
    				if sig.state.CompareAndSwap(sigIdle, sigReceiving) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. pilot/pkg/features/xds.go

    	).Get()
    
    	// UseRemoteAddress sets useRemoteAddress to true for sidecar outbound listeners so that it picks up the localhost
    	// address of the sender, which is an internal address, so that trusted headers are not sanitized.
    	UseRemoteAddress = env.Register(
    		"PILOT_SIDECAR_USE_REMOTE_ADDRESS",
    		false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 24 06:18:36 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/runtime/proc_test.go

    			if b.N == 0 {
    				return
    			}
    			// Start two goroutines, which alternate between being
    			// sender and receiver in the following protocol:
    			//
    			// - The receiver spins for `delay` and then does a
    			// blocking receive on a channel.
    			//
    			// - The sender spins for `delay+wakeDelay` and then
    			// sends to the same channel. (The addition of
    			// `wakeDelay` improves the probability that the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  7. src/net/http/main_test.go

    		"created by net/http/httptest.(*Server).Start": "an httptest.Server",
    		"timeoutHandler":        "a TimeoutHandler",
    		"net.(*netFD).connect(": "a timing out dial",
    		").noteClientGone(":     "a closenotifier sender",
    	}
    	var stacks string
    	for i := 0; i < 2500; i++ {
    		bad = ""
    		stacks = strings.Join(interestingGoroutines(), "\n\n")
    		for substr, what := range badSubstring {
    			if strings.Contains(stacks, substr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:49:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

         * that trigger this are HEADERS and PUSH_PROMISE.
         *
         * @param inFinished true if the sender will not send further frames.
         * @param streamId the stream owning these headers.
         * @param associatedStreamId the stream that triggered the sender to create this stream.
         */
        fun headers(
          inFinished: Boolean,
          streamId: Int,
          associatedStreamId: Int,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                putValue(data, "Message-Number", message.getMessageNumber());
                putValue(data, "Received-Date", getReceivedDate(message));
                putValue(data, "Reply-To", message.getReplyTo());
                putValue(data, "Sender", message.getSender());
                putValue(data, "Sent-Date", message.getSentDate());
                putValue(data, "Size", message.getSize());
                putValue(data, "Subject", message.getSubject());
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. src/net/http/internal/chunked_test.go

    	if _, err := io.ReadAll(r); err != readErr {
    		t.Errorf("expected %v, got %v", readErr, err)
    	}
    }
    
    func TestChunkReaderTooMuchOverhead(t *testing.T) {
    	// If the sender is sending 100x as many chunk header bytes as chunk data,
    	// we should reject the stream at some point.
    	chunk := []byte("1;")
    	for i := 0; i < 100; i++ {
    		chunk = append(chunk, 'a') // chunk extension
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 20:45:19 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top