Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 578 for arg2 (0.03 sec)

  1. cmd/endpoint_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    		return s
    	}
    	getExpectedEndpoints := func(args []string, prefix string) ([]*url.URL, []bool) {
    		var URLs []*url.URL
    		var localFlags []bool
    		for _, arg := range args {
    			u, _ := url.Parse(arg)
    			URLs = append(URLs, u)
    			localFlags = append(localFlags, strings.HasPrefix(arg, prefix))
    		}
    
    		return URLs, localFlags
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jan 13 07:53:03 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. docs/debugging/pprofgoparser/main.go

    func main() {
    	flag.Parse()
    
    	if len(flag.Args()) == 0 {
    		log.Fatal(helpUsage)
    	}
    
    	var err error
    
    	goroutinesRE = regexp.MustCompile(`^goroutine [0-9]+ \[[^,]+(, ([0-9]+) minutes)?\]:$`)
    
    	if searchText != "" {
    		searchRE, err = regexp.Compile(searchText)
    		if err != nil {
    			log.Fatal(err)
    		}
    	}
    
    	for _, arg := range flag.Args() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Mar 06 11:43:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. manifests/addons/dashboards/lib/lib-grid.libsonnet

          then all panels below it will be folded into the row.
    
          Optional `startY` can be provided to place generated grid above or below existing panels.
        |||,
        args=[
          d.arg('panels', d.T.array),
          d.arg('panelHeight', d.T.number),
          d.arg('startY', d.T.number),
        ],
      ),
      makeGrid(panels, panelHeight=8, startY=0):
        local sanitizePanels(ps, row) = std.map(
          function(p)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  5. statement.go

    			}
    		}
    	}
    
    	conds := make([]clause.Expression, 0, 4)
    	args = append([]interface{}{query}, args...)
    	for idx, arg := range args {
    		if arg == nil {
    			continue
    		}
    		if valuer, ok := arg.(driver.Valuer); ok {
    			arg, _ = valuer.Value()
    		}
    
    		switch v := arg.(type) {
    		case clause.Expression:
    			conds = append(conds, v)
    		case *DB:
    			v.executeScopes()
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. cmd/ftp-server.go

    	}
    }
    
    func startFTPServer(args []string) {
    	var (
    		port          int
    		publicIP      string
    		portRange     string
    		tlsPrivateKey string
    		tlsPublicCert string
    	)
    
    	var err error
    	for _, arg := range args {
    		tokens := strings.SplitN(arg, "=", 2)
    		if len(tokens) != 2 {
    			logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s", arg), "unable to start FTP server")
    		}
    		switch tokens[0] {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. test-site/activator

        for arg; do
          if printf "%s\n" "$arg" | grep -q ' '; then
            printf "\"%s\"\n" "$arg"
          else
            printf "%s\n" "$arg"
          fi
        done
        echo ""
      }
    
      exec "$@"
    }
    addJava () {
      dlog "[addJava] arg = '$1'"
      java_args=( "${java_args[@]}" "$1" )
    }
    addApp () {
      dlog "[addApp] arg = '$1'"
      sbt_commands=( "${app_commands[@]}" "$1" )
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 9.3K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

                return null;
            }
    
            int l = args.length;
            Class<?>[] classes = new Class[l];
    
            for (int i = 0; i < l; ++i) {
                Object arg = args[i];
                // if we are careful down below, a null argument goes in there
                // so we can know that the null was passed to the method
                classes[i] = arg == null ? null : arg.getClass();
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                        String[] args = lines.filter(arg -> !arg.isEmpty() && !arg.startsWith("#"))
                                .toArray(String[]::new);
                        mavenConfig = cliManager.parse(args);
                        List<?> unrecognized = mavenConfig.getArgList();
                        if (!unrecognized.isEmpty()) {
                            // This file can only contain options, not args (goals or phases)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  10. tests/callbacks_test.go

    		for _, c := range data.callbacks {
    			var v interface{} = callbacks.Create()
    			callMethod := func(s interface{}, name string, args ...interface{}) {
    				var argValues []reflect.Value
    				for _, arg := range args {
    					argValues = append(argValues, reflect.ValueOf(arg))
    				}
    
    				results := reflect.ValueOf(s).MethodByName(name).Call(argValues)
    				if len(results) > 0 {
    					v = results[0].Interface()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top