Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for isstd (0.04 sec)

  1. misc/go_android_exec/main.go

    	// We extract everything after the $GOROOT or $GOPATH to run on the
    	// same relative directory on the target device.
    	importPath, isStd, modPath, modDir, err := pkgPath()
    	if err != nil {
    		return 0, err
    	}
    	var deviceCwd string
    	if isStd {
    		// Note that we use path.Join here instead of filepath.Join:
    		// The device paths should be slash-separated even if the go_android_exec
    Registered: 2024-06-12 16:32
    - Last Modified: 2023-08-21 17:46
    - 15.3K bytes
    - Viewed (0)
  2. src/time/zoneinfo_read.go

    			} else {
    				n = int64(n8)
    			}
    		}
    		tx[i].when = n
    		if int(txzones[i]) >= len(zones) {
    			return nil, errBadData
    		}
    		tx[i].index = txzones[i]
    		if i < len(isstd) {
    			tx[i].isstd = isstd[i] != 0
    		}
    		if i < len(isutc) {
    			tx[i].isutc = isutc[i] != 0
    		}
    	}
    
    	if len(tx) == 0 {
    		// Build fake transition to cover all time.
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-05-15 19:57
    - 14.4K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/import.go

    	ImportingMainModule module.Version
    
    	// isStd indicates whether we would expect to find the package in the standard
    	// library. This is normally true for all dotless import paths, but replace
    	// directives can cause us to treat the replaced paths as also being in
    	// modules.
    	isStd bool
    
    	// importerGoVersion is the version the module containing the import error
    	// specified. It is only set when isStd is true.
    	importerGoVersion string
    
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-05-07 15:21
    - 27.7K bytes
    - Viewed (0)
  4. src/go/internal/gccgoimporter/testdata/issue29198.gox

     func (l <esc:0x22> <type 24 *<type 15>>) String () <type -16>;
    Registered: 2024-06-12 16:32
    - Last Modified: 2018-12-12 23:01
    - 6.4K bytes
    - Viewed (0)
  5. src/go/internal/gccgoimporter/testdata/time.gox

     func (l <type 15 *<type 6>>) .time.get () <type 15>;
     func (l <type 15>) String () <type -16>;
    Registered: 2024-06-12 16:32
    - Last Modified: 2021-09-30 21:33
    - 7.3K bytes
    - Viewed (0)
  6. src/time/zoneinfo.go

    // A zoneTrans represents a single time zone transition.
    type zoneTrans struct {
    	when         int64 // transition time, in seconds since 1970 GMT
    	index        uint8 // the index of the zone that goes into effect at that time
    	isstd, isutc bool  // ignored - no idea what these mean
    }
    
    // alpha and omega are the beginning and end of time for zone
    // transitions.
    const (
    	alpha = -1 << 63  // math.MinInt64
    	omega = 1<<63 - 1 // math.MaxInt64
    )
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-04-04 14:21
    - 18.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/load.go

    		if err := ld.AllowPackage(ctx, pkg.path, pkg.mod); err != nil {
    			pkg.err = err
    		}
    	}
    
    	pkg.inStd = (search.IsStandardImportPath(pkg.path) && search.InDir(pkg.dir, cfg.GOROOTsrc) != "")
    
    	var imports, testImports []string
    
    	if cfg.BuildContext.Compiler == "gccgo" && pkg.inStd {
    		// We can't scan standard packages for gccgo.
    	} else {
    		var err error
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-05-30 14:56
    - 84K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/init.go

    			keepPkgGoModSums = false
    			keepModSumsForZipSums = false
    		}
    		for _, pkg := range ld.pkgs {
    			// We check pkg.mod.Path here instead of pkg.inStd because the
    			// pseudo-package "C" is not in std, but not provided by any module (and
    			// shouldn't force loading the whole module graph).
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-06-06 18:36
    - 69.8K bytes
    - Viewed (0)
Back to top