Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for variadicOk (0.15 sec)

  1. src/cmd/compile/internal/types2/signature.go

    	}
    
    	sig.params = NewTuple(params...)
    	sig.results = NewTuple(results...)
    	sig.variadic = variadic
    }
    
    // collectParams declares the parameters of list in scope and returns the corresponding
    // variable list.
    func (check *Checker) collectParams(scope *Scope, list []*syntax.Field, variadicOk bool, scopePos syntax.Pos) (params []*Var, variadic bool) {
    	if list == nil {
    		return
    	}
    
    	var named, anonymous bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

      }];
    
      let arguments = (ins
        TFTensorType:$max_iterations,
        Variadic<TFTensorType>:$tensor_list_or_flow_in,
        Variadic<TFTensorType>:$invariant_args,
        FlatSymbolRefAttr:$body_fn,
        I32Attr:$num_tensor_list_or_flow_in
      );
    
      let results = (outs
         Variadic<TFTensorType>:$result
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td

          input fallback tensors.
    
        results: the converted corert tensorhandles.
      }];
    
      let arguments = (ins
        Variadic<TFTensorType>:$args,
        StrAttr:$device
      );
    
      let results = (outs
        Variadic<CoreRT_TensorHandleType>:$results
      );
    
      let assemblyFormat = "operands attr-dict `:` `(` type($args) `)` `->` `(` type($results) `)`";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/call.go

    	// --------------+------------------+----------------+
    	// variadic func | nargs >= npars-1 | nargs == npars |
    	// --------------+------------------+----------------+
    
    	nargs := len(args)
    	npars := sig.params.Len()
    	ddd := hasDots(call)
    
    	// set up parameters
    	sigParams := sig.params // adjusted for variadic functions (may be nil for empty parameter lists!)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

        the `call` operation can only be with tfr.tensor and tfr.tensor_list types.
      }];
    
      let arguments = (ins
        FlatSymbolRefAttr:$callee,
        Variadic<TFR_allowedArgType>:$args);
    
      let results = (outs
        Variadic<TFR_allowedResultType>:$outs);
    
      let extraClassDeclaration = [{
        // Get the argument operands to the called function.
        operand_range getArgOperands() { return getArgs(); }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. src/go/types/call.go

    	// --------------+------------------+----------------+
    	// variadic func | nargs >= npars-1 | nargs == npars |
    	// --------------+------------------+----------------+
    
    	nargs := len(args)
    	npars := sig.params.Len()
    	ddd := hasDots(call)
    
    	// set up parameters
    	sigParams := sig.params // adjusted for variadic functions (may be nil for empty parameter lists!)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/typestring.go

    }
    
    func (w *typeWriter) tuple(tup *Tuple, variadic bool) {
    	w.byte('(')
    	if tup != nil {
    		for i, v := range tup.vars {
    			if i > 0 {
    				w.byte(',')
    			}
    			// parameter names are ignored for type identity and thus type hashes
    			if w.ctxt == nil && v.name != "" && w.paramNames {
    				w.string(v.name)
    				w.byte(' ')
    			}
    			typ := v.typ
    			if variadic && i == len(tup.vars)-1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. src/go/types/typestring.go

    }
    
    func (w *typeWriter) tuple(tup *Tuple, variadic bool) {
    	w.byte('(')
    	if tup != nil {
    		for i, v := range tup.vars {
    			if i > 0 {
    				w.byte(',')
    			}
    			// parameter names are ignored for type identity and thus type hashes
    			if w.ctxt == nil && v.name != "" && w.paramNames {
    				w.string(v.name)
    				w.byte(' ')
    			}
    			typ := v.typ
    			if variadic && i == len(tup.vars)-1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/builtins.go

    					if check.recordTypes() {
    						sig := makeSig(S, S, y.typ)
    						sig.variadic = true
    						check.recordBuiltinType(call.Fun, sig)
    					}
    					x.mode = value
    					x.typ = S
    					break
    				}
    			}
    		}
    
    		// check general case by creating custom signature
    		sig := makeSig(S, S, NewSlice(T)) // []T required for variadic signature
    		sig.variadic = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  10. src/go/internal/gcimporter/ureader.go

    	r.Sync(pkgbits.SyncSignature)
    
    	params := r.params()
    	results := r.params()
    	variadic := r.Bool()
    
    	return types.NewSignatureType(recv, rtparams, tparams, params, results, variadic)
    }
    
    func (r *reader) params() *types.Tuple {
    	r.Sync(pkgbits.SyncParams)
    
    	params := make([]*types.Var, r.Len())
    	for i := range params {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top