Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for binaryOnly (0.21 sec)

  1. src/go/build/build_test.go

    			tags := map[string]bool{}
    			shouldBuild, binaryOnly, err := ctx.shouldBuild([]byte(tt.content), tags)
    			if shouldBuild != tt.shouldBuild || binaryOnly != tt.binaryOnly || !reflect.DeepEqual(tags, tt.tags) || err != tt.err {
    				t.Errorf("mismatch:\n"+
    					"have shouldBuild=%v, binaryOnly=%v, tags=%v, err=%v\n"+
    					"want shouldBuild=%v, binaryOnly=%v, tags=%v, err=%v",
    					shouldBuild, binaryOnly, tags, err,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modindex/build.go

    	// Look for +build comments to accept or reject the file.
    	info.goBuildConstraint, info.plusBuildConstraints, info.binaryOnly, err = getConstraints(info.header)
    	if err != nil {
    		return nil, fmt.Errorf("%s: %v", name, err)
    	}
    
    	if ignoreBinaryOnly && info.binaryOnly {
    		info.binaryOnly = false // override info.binaryOnly
    	}
    
    	return info, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modindex/read.go

    		isXTest := false
    		if isTest && strings.HasSuffix(tf.pkgName(), "_test") && p.Name != tf.pkgName() {
    			isXTest = true
    			pkg = pkg[:len(pkg)-len("_test")]
    		}
    
    		if !isTest && tf.binaryOnly() {
    			p.BinaryOnly = true
    		}
    
    		if p.Name == "" {
    			p.Name = pkg
    			firstFile = name
    		} else if pkg != p.Name {
    			// TODO(#45999): The choice of p.Name is arbitrary based on file iteration
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  4. api/go1.7.txt

    pkg debug/elf, type R_390 int
    pkg encoding/json, method (*Encoder) SetEscapeHTML(bool)
    pkg encoding/json, method (*Encoder) SetIndent(string, string)
    pkg go/build, type Package struct, BinaryOnly bool
    pkg go/build, type Package struct, CgoFFLAGS []string
    pkg go/build, type Package struct, FFiles []string
    pkg go/doc, type Example struct, Unordered bool
    pkg io, const SeekCurrent = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 28 15:08:11 UTC 2016
    - 13.6K bytes
    - Viewed (0)
  5. src/cmd/go/internal/list/list.go

            StaleReason    string   // explanation for Stale==true
            Root           string   // Go root or Go path dir containing this package
            ConflictDir    string   // this directory shadows Dir in $GOPATH
            BinaryOnly     bool     // binary-only package (no longer supported)
            ForTest        string   // package is only for use in named test
            Export         string   // file containing export data (when using -export)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
Back to top