- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 205 for argc (0.23 sec)
-
src/cmd/cgo/internal/test/issue1435.go
// while (!done) { // usleep(100); // pthread_mutex_lock(&mu); // done = all_done; // pthread_mutex_unlock(&mu); // } // return NULL; // } // // void trial(int argc) { // int i; // nts = argc; // t = calloc(nts, sizeof(pthread_t)); // pthread_mutex_init(&mu, NULL); // for (i = 0; i < nts; i++) { // pthread_create(&t[i], NULL, aFn, NULL); // } // } //
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Jul 28 21:31:41 GMT 2023 - 7.5K bytes - Viewed (0) -
cmd/endpoint-ellipses.go
// None of the args have ellipses use the old style. if ok { setArgs, err = GetAllSets(setDriveCount, args...) if err != nil { return err } ctxt.Layout = disksLayout{ legacy: true, pools: []poolDisksLayout{{layout: setArgs, cmdline: strings.Join(args, " ")}}, } return } for _, arg := range args { if !ellipses.HasEllipses(arg) && len(args) > 1 {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 15:54:03 GMT 2024 - 14.7K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
{arg: "key", wantKey: "key", wantValue: ""}, {arg: "", wantKey: "", wantValue: ""}, } for _, tt := range tests { t.Run(tt.arg, func(t *testing.T) { gotKey, gotValue := splitEqual(tt.arg) if gotKey != tt.wantKey { t.Errorf("splitEqual(%v) got = %v, want %v", tt.arg, gotKey, tt.wantKey) } if gotValue != tt.wantValue { t.Errorf("splitEqual(%v) got1 = %v, want %v", tt.arg, gotValue, tt.wantValue)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 27 16:59:05 GMT 2024 - 14.6K bytes - Viewed (0) -
chainable_api.go
}) } else if strings.Count(v, "@") > 0 && len(args) > 0 { tx.Statement.AddClause(clause.Select{ Distinct: db.Statement.Distinct, Expression: clause.NamedExpr{SQL: v, Vars: args}, }) } else { tx.Statement.Selects = []string{v} for _, arg := range args { switch arg := arg.(type) { case string: tx.Statement.Selects = append(tx.Statement.Selects, arg) case []string:
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Wed Apr 17 03:38:55 GMT 2024 - 14.3K bytes - Viewed (1) -
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() {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Mar 06 11:43:16 GMT 2024 - 3.4K bytes - Viewed (0) -
cmd/sftp-server.go
allowKexAlgos := preferredKexAlgos allowCiphers := preferredCiphers allowMACs := supportedMACs var err error for _, arg := range args { tokens := strings.SplitN(arg, "=", 2) if len(tokens) != 2 { logger.Fatal(fmt.Errorf("invalid arguments passed to --sftp=%s", arg), "unable to start SFTP server") } switch tokens[0] { case "address": host, portStr, err := net.SplitHostPort(tokens[1])
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 11:07:40 GMT 2024 - 10.4K bytes - Viewed (0) -
internal/dsync/lock-args_gen_test.go
Klaus Post <******@****.***> 1700528975 -0800
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Nov 21 01:09:35 GMT 2023 - 4.4K bytes - Viewed (0) -
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()
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Tue Mar 26 03:33:36 GMT 2024 - 7.2K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig_test.go
validationPattern := `^\w+:(debug|error|warn|info|debug)` type args struct { slp string validationPattern string } tests := []struct { name string args args want *ScopeLevelPair wantErr bool }{ { name: "Fail when logs scope-level pair don't match pattern", args: args{validationPattern: validationPattern, slp: "invalid:pattern"}, wantErr: true, },
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 6.2K bytes - Viewed (0) -
operator/cmd/mesh/profile-diff_test.go
l := clog.NewConsoleLogger(os.Stdout, os.Stderr, nil) for i, c := range cases { t.Run(fmt.Sprintf("case %d %q", i, c.args), func(t *testing.T) { args := strings.Split(c.args, " ") setFlag := fmt.Sprintf("installPackagePath=%s", snapshotCharts) by := &bytes.Buffer{} _, err := profileDiffInternal(args[len(args)-2], args[len(args)-1], []string{setFlag}, by, l) verifyProfileDiffCommandCaseOutput(t, c, by.String(), err) }) } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 10 05:10:03 GMT 2024 - 3.6K bytes - Viewed (1)