Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,194 for SEND (0.23 sec)

  1. releasenotes/notes/send-stat.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: networking
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 12 16:23:08 UTC 2020
    - 178 bytes
    - Viewed (0)
  2. pilot/test/xdstest/grpc.go

    	}
    	return w.ServerStream.SendMsg(m)
    }
    
    // SlowServerInterceptor is an interceptor that allows injecting delays on Send and Recv
    func SlowServerInterceptor(recv, send time.Duration) grpc.StreamServerInterceptor {
    	return func(srv any, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error {
    		return handler(srv, &slowServerStream{ss, recv, send})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. test/typeparam/chansimp.dir/main.go

    	}
    }
    
    func TestSink() {
    	c := a.Sink[int](context.Background())
    	after := time.NewTimer(time.Minute)
    	defer after.Stop()
    	send := func(v int) {
    		select {
    		case c <- v:
    		case <-after.C:
    			panic("timed out sending to Sink")
    		}
    	}
    	send(1)
    	send(2)
    	send(3)
    	close(c)
    }
    
    func TestExclusive() {
    	val := 0
    	ex := a.MakeExclusive(&val)
    
    	var wg sync.WaitGroup
    	f := func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  4. maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/Log.java

        /**
         * @return true if the <b>debug</b> error level is enabled
         */
        boolean isDebugEnabled();
    
        /**
         * Send a message to the user in the <b>debug</b> error level.
         *
         * @param content
         */
        void debug(CharSequence content);
    
        /**
         * Send a message (and accompanying exception) to the user in the <b>debug</b> error level.<br>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. test/chan/select5.go

    		panic("nonblock")
    	{{end}}
    	{{/*  Dummy send, receive to keep compiler from optimizing select. */}}
    	{{if .Maybe}}
    	case dummy <- 1:
    		panic("dummy send")
    	{{end}}
    	{{if .Maybe}}
    	case <-dummy:
    		panic("dummy receive")
    	{{end}}
    	{{/*  Nil channel send, receive to keep compiler from optimizing select. */}}
    	{{if .Maybe}}
    	case nilch <- 1:
    		panic("nilch send")
    	{{end}}
    	{{if .Maybe}}
    	case <-nilch:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 10K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/testdata/virtualservice_overlappingmatches.yaml

    metadata:
      name: overlapping-in-two-matches
    spec:
      hosts:
      - sample.baz.svc.cluster.local
      http:
      - name: "send product to sample.foo"
        match:
        - uri:
            prefix: "/api/v1/product"
          method:
            exact: GET
        route:
        - destination:
            host: sample.foo.svc.cluster.local
      - name: "send products to sample.bar"
        match:
        - uri:
            prefix: "/api/v1/products"
          method:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  7. test/chan/select.go

    	counter++
    	return 1 << shift
    }
    
    func Send(a, b chan uint) int {
    	var i int
    
    LOOP:
    	for {
    		select {
    		case a <- GetValue():
    			i++
    			a = nil
    		case b <- GetValue():
    			i++
    			b = nil
    		default:
    			break LOOP
    		}
    		shift++
    	}
    	return i
    }
    
    func main() {
    	a := make(chan uint, 1)
    	b := make(chan uint, 1)
    	if v := Send(a, b); v != 2 {
    		println("Send returned", v, "!= 2")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:44:02 UTC 2012
    - 913 bytes
    - Viewed (0)
  8. src/go/parser/testdata/chans.go2

    package chans
    
    import "runtime"
    
    // Ranger returns a Sender and a Receiver. The Receiver provides a
    // Next method to retrieve values. The Sender provides a Send method
    // to send values and a Close method to stop sending values. The Next
    // method indicates when the Sender has been closed, and the Send
    // method indicates when the Receiver has been freed.
    //
    // This is a convenient way to exit a goroutine sending values when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 24 19:44:06 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  9. test/ken/chan.go

    	go send(c)
    	go recv(c)
    }
    
    // direct send to select recv
    func test2(c int) {
    	ca := mkchan(c, 4)
    
    	changeNproc(4)
    	go send(ca[0])
    	go send(ca[1])
    	go send(ca[2])
    	go send(ca[3])
    
    	changeNproc(1)
    	go sel(ca[0], ca[1], ca[2], ca[3], nc, nc, nc, nc)
    }
    
    // select send to direct recv
    func test3(c int) {
    	ca := mkchan(c, 4)
    
    	changeNproc(4)
    	go recv(ca[0])
    	go recv(ca[1])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 4.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/testdata/chans.go

    package chans
    
    import "runtime"
    
    // Ranger returns a Sender and a Receiver. The Receiver provides a
    // Next method to retrieve values. The Sender provides a Send method
    // to send values and a Close method to stop sending values. The Next
    // method indicates when the Sender has been closed, and the Send
    // method indicates when the Receiver has been freed.
    //
    // This is a convenient way to exit a goroutine sending values when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:18 UTC 2022
    - 1.8K bytes
    - Viewed (0)
Back to top