Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for mainSrc (0.44 sec)

  1. src/cmd/compile/internal/types2/api_test.go

    	}
    
    	makePkg("lib", libSrc)
    	makePkg("main", mainSrc)
    
    	for e, sel := range selections {
    		_ = sel.String() // assertion: must not panic
    
    		start := indexFor(mainSrc, syntax.StartPos(e))
    		end := indexFor(mainSrc, syntax.EndPos(e))
    		segment := mainSrc[start:end] // (all SelectorExprs are in main, not lib)
    
    		direct := "."
    		if sel.Indirect() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  2. src/go/types/api_test.go

    		"G[string]{}.p": {"field (main.G[string]) p string", ".[0]"},
    	}
    
    	makePkg("lib", libSrc)
    	makePkg("main", mainSrc)
    
    	for e, sel := range selections {
    		_ = sel.String() // assertion: must not panic
    
    		start := fset.Position(e.Pos()).Offset
    		end := fset.Position(e.End()).Offset
    		syntax := mainSrc[start:end] // (all SelectorExprs are in main, not lib)
    
    		direct := "."
    		if sel.Indirect() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/import.go

    	if cfg.BuildMod == "vendor" {
    		var mainErr error
    		for _, mainModule := range MainModules.Versions() {
    			modRoot := MainModules.ModRoot(mainModule)
    			if modRoot != "" {
    				dir, mainOK, err := dirInModule(path, MainModules.PathPrefix(mainModule), modRoot, true)
    				if mainErr == nil {
    					mainErr = err
    				}
    				if mainOK {
    					mods = append(mods, mainModule)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  4. src/runtime/asm_amd64.s

    	// intended to be called by debuggers.
    	MOVQ	$runtime·debugPinnerV1<ABIInternal>(SB), AX
    	MOVQ	$runtime·debugCallV2<ABIInternal>(SB), AX
    	RET
    
    // mainPC is a function value for runtime.main, to be passed to newproc.
    // The reference to runtime.main is made via ABIInternal, since the
    // actual function (not the ABI0 wrapper) is needed by newproc.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
Back to top