Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,237 for IsSend (0.81 sec)

  1. tensorflow/compiler/jit/build_xla_ops_pass.cc

      // iterate on graph->op_nodes().
      std::vector<Node*> xla_compiled_kernels;
      absl::c_copy_if(graph->op_nodes(), std::back_inserter(xla_compiled_kernels),
                      [](const Node* n) {
                        if (n->IsSend() || n->IsRecv() || n->IsControlFlow()) {
                          return false;
                        }
    
                        // Only compile nodes that are marked for compilation by the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. 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)
  3. src/internal/types/testdata/examples/functions.go

    func frecv[T any](<-chan T) {}
    func fsend[T any](chan<- T) {}
    
    func _() {
    	var both chan int
    	var recv <-chan int
    	var send chan<-int
    
    	fboth(both)
    	fboth(recv /* ERROR "cannot use" */ )
    	fboth(send /* ERROR "cannot use" */ )
    
    	frecv(both)
    	frecv(recv)
    	frecv(send /* ERROR "cannot use" */ )
    
    	fsend(both)
    	fsend(recv /* ERROR "cannot use" */)
    	fsend(send)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 30 20:19:38 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/stmt.go

    	if t == nil {
    		return n
    	}
    	if !t.IsChan() {
    		base.Errorf("invalid operation: %v (send to non-chan type %v)", n, t)
    		return n
    	}
    
    	if !t.ChanDir().CanSend() {
    		base.Errorf("invalid operation: %v (send to receive-only type %v)", n, t)
    		return n
    	}
    
    	n.Value = AssignConv(n.Value, t.Elem(), "send")
    	if n.Value.Type() == nil {
    		return n
    	}
    	return n
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:10:54 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/compile/internal/typecheck/mkbuiltin.go

    		}
    		return fmt.Sprintf("types.NewArray(%s, %d)", i.subtype(t.Elt), intconst(t.Len))
    	case *ast.ChanType:
    		dir := "types.Cboth"
    		switch t.Dir {
    		case ast.SEND:
    			dir = "types.Csend"
    		case ast.RECV:
    			dir = "types.Crecv"
    		}
    		return fmt.Sprintf("types.NewChan(%s, %s)", i.subtype(t.Value), dir)
    	case *ast.FuncType:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

            scanner.next();
            boolean isEnd = false;
            if (scanner.lookingAt('/')) {
                isEnd = true;
                scanner.next();
            }
    
            // element name
            scanner.skip(WHITESPACE_WITH_EOL);
            scanner.mark();
            scanner.find(END_ELEMENT_NAME);
            String elementName = scanner.region().toLowerCase();
            if (isEnd) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.1K bytes
    - Viewed (0)
  8. src/internal/fuzz/fuzz.go

    	Log io.Writer
    
    	// Timeout is the amount of wall clock time to spend fuzzing after the corpus
    	// has loaded. If zero, there will be no time limit.
    	Timeout time.Duration
    
    	// Limit is the number of random values to generate and test. If zero,
    	// there will be no limit on the number of generated values.
    	Limit int64
    
    	// MinimizeTimeout is the amount of wall clock time to spend minimizing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top