Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 158 for args_ (0.13 sec)

  1. src/text/template/exec.go

    	argv := make([]reflect.Value, numIn)
    	// Args must be evaluated. Fixed args first.
    	i := 0
    	for ; i < numFixed && i < len(args); i++ {
    		argv[i] = s.evalArg(dot, typ.In(i), args[i])
    	}
    	// Now the ... args.
    	if typ.IsVariadic() {
    		argType := typ.In(typ.NumIn() - 1).Elem() // Argument is a slice.
    		for ; i < len(args); i++ {
    			argv[i] = s.evalArg(dot, argType, args[i])
    		}
    	}
    	// Add final value if necessary.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        List<Object> equalArgs = Lists.newArrayList(args);
        for (int i = 0; i < args.size(); i++) {
          Parameter param = params.get(i);
          Object arg = args.get(i);
          // Use new fresh value generator because 'args' were populated with new fresh generator each.
          // Two newFreshValueGenerator() instances should normally generate equal value sequence.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. src/go/types/call.go

    func (check *Checker) use(args ...ast.Expr) bool { return check.useN(args, false) }
    
    // useLHS is like use, but doesn't "use" top-level identifiers.
    // It should be called instead of use if the arguments are
    // expressions on the lhs of an assignment.
    func (check *Checker) useLHS(args ...ast.Expr) bool { return check.useN(args, true) }
    
    func (check *Checker) useN(args []ast.Expr, lhs bool) bool {
    	ok := true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

      }];
    
      let arguments = (ins
        Variadic<TFTensorType>:$args,
        StrAttr:$node_def,
        I32Attr:$op_key
      );
    
      let results = (outs
        Variadic<TFTensorType>:$results
      );
    
      let assemblyFormat = "`(` $args `)` attr-dict `:` functional-type($args, $results)";
    }
    
    def ExecuteOpWithDevice: TensorflowMlrt_Op<"executeop.device", []> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. src/cmd/go/internal/envcmd/env.go

    		if val == "" {
    			break
    		}
    		args, err := quoted.Split(val)
    		if err != nil {
    			return fmt.Errorf("invalid %s: %v", key, err)
    		}
    		if len(args) == 0 {
    			return fmt.Errorf("%s entry cannot contain only space", key)
    		}
    		if !filepath.IsAbs(args[0]) && args[0] != filepath.Base(args[0]) {
    			return fmt.Errorf("%s entry is relative; must be absolute path: %q", key, args[0])
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. internal/config/notify/parse.go

    			return nil, err
    		}
    		for id, args := range kafkaTargets {
    			if !args.Enable {
    				continue
    			}
    			args.TLS.RootCAs = transport.TLSClientConfig.RootCAs
    			t, err := target.NewKafkaTarget(id, args, logOnceIf)
    			if err != nil {
    				return nil, err
    			}
    			targets = append(targets, t)
    
    		}
    
    	case config.NotifyMQTTSubSys:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/func.go

    	v := f.constVal(OpOffPtr, t, c, true)
    	if len(v.Args) == 0 {
    		v.AddArg(sp)
    	}
    	return v
    }
    
    func (f *Func) Frontend() Frontend                                  { return f.fe }
    func (f *Func) Warnl(pos src.XPos, msg string, args ...interface{}) { f.fe.Warnl(pos, msg, args...) }
    func (f *Func) Logf(msg string, args ...interface{})                { f.fe.Logf(msg, args...) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. istioctl/pkg/waypoint/waypoint.go

      # List all waypoints in a specific namespace
      istioctl waypoint list --namespace default`,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 0 {
    				return fmt.Errorf("unknown subcommand %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. pkg/test/framework/components/istio/kube.go

    	if ctx.Environment().IsMultiNetwork() && c.NetworkName() != "" {
    		args.AppendSet("values.global.meshID", meshID)
    		args.AppendSet("values.global.network", c.NetworkName())
    	}
    
    	// Include all user-specified values and configuration options.
    	if cfg.EnableCNI {
    		args.AppendSet("components.cni.enabled", "true")
    	}
    
    	if ctx.Settings().EnableDualStack {
    		args.AppendSet("values.pilot.env.ISTIO_DUAL_STACK", "true")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  10. internal/dsync/drwmutex.go

    			if isReadLock {
    				if locked, err = c.RLock(netLockCtx, args); err != nil {
    					log("dsync: Unable to call RLock failed with %s for %#v at %s\n", err, args, c)
    				}
    			} else {
    				if locked, err = c.Lock(netLockCtx, args); err != nil {
    					log("dsync: Unable to call Lock failed with %s for %#v at %s\n", err, args, c)
    				}
    			}
    			if locked {
    				g.lockUID = args.UID
    			}
    			ch <- g
    		}(index, isReadLock, c)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top