Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for stringList (0.29 sec)

  1. src/cmd/go/internal/work/exec.go

    	if dir != "" {
    		if err := sh.Mkdir(dir); err != nil {
    			return err
    		}
    	}
    
    	gofiles := str.StringList(p.GoFiles)
    	cgofiles := str.StringList(p.CgoFiles)
    	cfiles := str.StringList(p.CFiles)
    	sfiles := str.StringList(p.SFiles)
    	cxxfiles := str.StringList(p.CXXFiles)
    	var objects, cgoObjects, pcCFLAGS, pcLDFLAGS []string
    
    	if p.UsesCgo() || p.UsesSwig() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/pkg.go

    // even IgnoredGoFiles, because some subcommands consider them.
    // The go/build package filtered others out (like foo_wrongGOARCH.s)
    // and that's OK.
    func (p *Package) AllFiles() []string {
    	files := str.StringList(
    		p.GoFiles,
    		p.CgoFiles,
    		// no p.CompiledGoFiles, because they are from GoFiles or generated by us
    		p.IgnoredGoFiles,
    		// no p.InvalidGoFiles, because they are from GoFiles
    		p.IgnoredOtherFiles,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  3. src/reflect/all_test.go

    			t.Errorf("%d: %s exported=%v, want %v", i, typ.Name(), got, test.want)
    		}
    	}
    }
    
    func TestTypeStrings(t *testing.T) {
    	type stringTest struct {
    		typ  Type
    		want string
    	}
    	stringTests := []stringTest{
    		{TypeOf(func(int) {}), "func(int)"},
    		{FuncOf([]Type{TypeOf(int(0))}, nil, false), "func(int)"},
    		{TypeOf(XM{}), "reflect_test.XM"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top