Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for maine (1.04 sec)

  1. src/cmd/go/internal/modload/buildlist.go

    // IsDirect returns whether the given module provides a package directly
    // imported by a package or test in the main module.
    func (rs *Requirements) IsDirect(path string) bool {
    	return rs.direct[path]
    }
    
    // A ModuleGraph represents the complete graph of module dependencies
    // of a main module.
    //
    // If the main module supports module graph pruning, the graph does not include
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/load.go

    			if _, ok, err := dirInModule(pkg, mainModulePrefix, modRoot, true); err != nil {
    				return "", err
    			} else if !ok {
    				// This main module could contain the directory but doesn't. Other main
    				// modules might contain the directory, so wait till we finish the loop
    				// to see if another main module contains directory. But if not,
    				// return an error.
    				if len(mainModulePrefix) > len(pkgNotFoundLongestPrefix) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/init.go

    }
    
    // HasModRoot reports whether a main module is present.
    // HasModRoot may return false even if Enabled returns true: for example, 'get'
    // does not require a main module.
    func HasModRoot() bool {
    	Init()
    	return modRoots != nil
    }
    
    // MustHaveModRoot checks that a main module or main modules are present,
    // and calls base.Fatalf if there are no main modules.
    func MustHaveModRoot() {
    	Init()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  4. src/cmd/go/internal/test/test.go

    					base.Fatalf("cannot use -fuzz flag on package outside the main module")
    				}
    			} else {
    				if !mainMods.Contains("std") || !mainMods.InGorootSrc(module.Version{Path: "std"}) {
    					base.Fatalf("cannot use -fuzz flag on package outside the main module")
    				}
    			}
    		}
    	}
    	if testProfile() != "" && len(pkgs) != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Annotate Ref in Prog with C types by parsing gcc debug output.
    // Conversion of debug output to Go types.
    
    package main
    
    import (
    	"bytes"
    	"debug/dwarf"
    	"debug/elf"
    	"debug/macho"
    	"debug/pe"
    	"encoding/binary"
    	"errors"
    	"flag"
    	"fmt"
    	"go/ast"
    	"go/parser"
    	"go/token"
    	"internal/xcoff"
    	"math"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. src/cmd/go/go_test.go

    	tg.tempFile("src/main1/main.go", "package main\nimport _ \"p2\"\nfunc main() {}\n")
    
    	tg.run("list", "-f={{.Target}}", "p1")
    	p1 := strings.TrimSpace(tg.getStdout())
    	tg.run("list", "-f={{.Target}}", "p2")
    	p2 := strings.TrimSpace(tg.getStdout())
    	tg.run("list", "-f={{.Target}}", "main1")
    	main1 := strings.TrimSpace(tg.getStdout())
    
    	tg.run("install", "main1")
    
    	tg.mustExist(main1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modget/get.go

    				// could plausibly mean “downgrade away everything that depends on any
    				// explicit version of the main module”, or “downgrade away the
    				// package with the same path as the main module, found in a module
    				// with a prefix of the main module's path”.
    				//
    				// However, neither of those behaviors would be consistent with the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/lib.go

    	}
    	f, err := bio.Open(lib.File)
    	if err != nil {
    		Exitf("cannot open file %s: %v", lib.File, err)
    	}
    	defer f.Close()
    	defer func() {
    		if pkg == "main" && !lib.Main {
    			Exitf("%s: not package main", lib.File)
    		}
    	}()
    
    	for i := 0; i < len(ARMAG); i++ {
    		if c, err := f.ReadByte(); err == nil && c == ARMAG[i] {
    			continue
    		}
    
    		/* load it as a regular file */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/dwarf.go

    			dirs = append(dirs, dir)
    		}
    		files = append(files, fileDir{base: file, dir: dirIdx})
    
    		// We can't use something that may be dead-code
    		// eliminated from a binary here. proc.go contains
    		// main and the scheduler, so it's not going anywhere.
    		if i := strings.Index(name, "runtime/proc.go"); i >= 0 && unit.Lib.Pkg == "runtime" {
    			d.dwmu.Lock()
    			if gdbscript == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import "strings"
    
    // Notes:
    //  - Integer types live in the low portion of registers. Upper portions are junk.
    //  - Boolean types use the low-order byte of a register. 0=false, 1=true.
    //    Upper bytes are junk.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
Back to top