Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 590 for args_ (0.1 sec)

  1. src/cmd/covdata/tool_test.go

    			args: []string{"debugdump"},
    		},
    		{
    			tag:  "percent",
    			args: []string{"percent"},
    		},
    	}
    
    	for _, x := range scenarios {
    		ins := fmt.Sprintf("-i=%s", empty)
    		args := append([]string{}, x.args...)
    		args = append(args, ins)
    		if false {
    			t.Logf("cmd is %s %v\n", s.tool, args)
    		}
    		cmd := testenv.Command(t, s.tool, args...)
    		b, err := cmd.CombinedOutput()
    		t.Logf("%% output: %s\n", string(b))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/x86/ssa.go

    		// results lo in AX
    		p := s.Prog(v.Op.Asm())
    		p.From.Type = obj.TYPE_REG
    		p.From.Reg = v.Args[1].Reg()
    
    	case ssa.Op386MULLQU:
    		// AX * args[1], high 32 bits in DX (result[0]), low 32 bits in AX (result[1]).
    		p := s.Prog(v.Op.Asm())
    		p.From.Type = obj.TYPE_REG
    		p.From.Reg = v.Args[1].Reg()
    
    	case ssa.Op386AVGLU:
    		// compute (x+y)/2 unsigned.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativePreCompiledHeaderIntegrationTest.groovy

            """
    
            then:
            args("--info")
            succeeds "helloSharedLibrary"
            libAndPCHTasksExecuted()
            pchCompiledOnceForEach([ PCHHeaderDirName ])
    
            when:
            librarySourceModified()
    
            then:
            args("--info")
            succeeds "helloSharedLibrary"
            pchNotCompiled()
    
            and:
            args("--info")
            succeeds "hello2SharedLibrary"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/DefaultConvention.java

        private boolean isConfigureExtensionMethod(String name, @Nullable Object[] args) {
            return args.length == 1 &&
                (args[0] instanceof Closure || args[0] instanceof Action) &&
                extensionsStorage.hasExtension(name);
        }
    
        private Object configureExtension(String name, Object[] args) {
            Action<Object> action;
            if (args[0] instanceof Closure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modindex/build_read.go

    func parseGoEmbed(args string, pos token.Position) ([]fileEmbed, error) {
    	trimBytes := func(n int) {
    		pos.Offset += n
    		pos.Column += utf8.RuneCountInString(args[:n])
    		args = args[n:]
    	}
    	trimSpace := func() {
    		trim := strings.TrimLeftFunc(args, unicode.IsSpace)
    		trimBytes(len(args) - len(trim))
    	}
    
    	var list []fileEmbed
    	for trimSpace(); args != ""; trimSpace() {
    		var path string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 10:10:21 UTC 2023
    - 13K bytes
    - Viewed (0)
  6. internal/event/target/nats.go

    	}
    
    	if target.stanConn != nil {
    		if target.args.Streaming.Async {
    			_, err = target.stanConn.PublishAsync(target.args.Subject, data, nil)
    		} else {
    			err = target.stanConn.Publish(target.args.Subject, data)
    		}
    	} else {
    		if target.jstream != nil {
    			_, err = target.jstream.Publish(target.args.Subject, data)
    		} else {
    			err = target.natsConn.Publish(target.args.Subject, data)
    		}
    	}
    	return err
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/AstUtils.java

                return null;
            }
    
            ArgumentListExpression args = (ArgumentListExpression) methodCall.getArguments();
            if (args.getExpressions().size() == 2 && args.getExpression(0) instanceof ClassExpression && args.getExpression(1) instanceof ClosureExpression) {
                return Pair.of((ClassExpression) args.getExpression(0), (ClosureExpression) args.getExpression(1));
            } else {
                return null;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  8. pkg/test/framework/testcontext.go

    	return c.T.Failed()
    }
    
    func (c *testContext) Fatal(args ...any) {
    	c.Helper()
    	c.T.Fatal(args...)
    }
    
    func (c *testContext) Fatalf(format string, args ...any) {
    	c.Helper()
    	c.T.Fatalf(format, args...)
    }
    
    func (c *testContext) Log(args ...any) {
    	c.Helper()
    	c.T.Log(args...)
    }
    
    func (c *testContext) Logf(format string, args ...any) {
    	c.Helper()
    	c.T.Logf(format, args...)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/addons/dns/dns_test.go

    			}
    		})
    	}
    }
    
    func TestCoreDNSAddon(t *testing.T) {
    	type args struct {
    		cfg           *kubeadmapi.ClusterConfiguration
    		client        clientset.Interface
    		printManifest bool
    	}
    	tests := []struct {
    		name    string
    		args    args
    		wantOut string
    		wantErr bool
    	}{
    		{
    			name: "cfg is empty",
    			args: args{
    				cfg:           &kubeadmapi.ClusterConfiguration{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  10. pkg/slices/slices_test.go

    }
    
    func TestReference(t *testing.T) {
    	type args[E any] struct {
    		s []E
    	}
    	type testCase[E any] struct {
    		name string
    		args args[E]
    		want []*E
    	}
    	stringTests := []testCase[string]{
    		{
    			name: "empty slice",
    			args: args[string]{
    				[]string{},
    			},
    			want: []*string{},
    		},
    		{
    			name: "slice with 1 element",
    			args: args[string]{
    				[]string{s1},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top