Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 155 for original (0.08 sec)

  1. src/cmd/internal/pkgpattern/pkgpattern.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package pkgpattern
    
    import (
    	"regexp"
    	"strings"
    )
    
    // Note: most of this code was originally part of the cmd/go/internal/search
    // package; it was migrated here in order to support the use case of
    // commands other than cmd/go that need to accept package pattern args.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 16:43:40 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  2. src/internal/goexperiment/flags.go

    	//
    	// Requires wrappers (to do ABI translation), and reflect (so
    	// reflection calls use registers).
    	RegabiArgs bool
    
    	// HeapMinimum512KiB reduces the minimum heap size to 512 KiB.
    	//
    	// This was originally reduced as part of PacerRedesign, but
    	// has been broken out to its own experiment that is disabled
    	// by default.
    	HeapMinimum512KiB bool
    
    	// CoverageRedesign enables the new compiler-based code coverage
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 16:19:47 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/99-minor/go/types/67143.md

    The methods [Alias.Origin], [Alias.SetTypeParams], [Alias.TypeParams],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:32:30 UTC 2024
    - 150 bytes
    - Viewed (0)
  4. src/internal/coverage/pods/pods_test.go

    		return db + "/" + b
    	}
    
    	podToString := func(p pods.Pod) string {
    		rv := trim(p.MetaFile) + " [\n"
    		for k, df := range p.CounterDataFiles {
    			rv += trim(df)
    			if p.Origins != nil {
    				rv += fmt.Sprintf(" o:%d", p.Origins[k])
    			}
    			rv += "\n"
    		}
    		return rv + "]"
    	}
    
    	// Create a couple of directories.
    	o1 := mkdir("o1", 0777)
    	o2 := mkdir("o2", 0777)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 14:00:17 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/context.go

    type Context struct {
    	mu        sync.Mutex
    	typeMap   map[string][]ctxtEntry // type hash -> instances entries
    	nextID    int                    // next unique ID
    	originIDs map[Type]int           // origin type -> unique ID
    }
    
    type ctxtEntry struct {
    	orig     Type
    	targs    []Type
    	instance Type // = orig[targs]
    }
    
    // NewContext creates a new Context.
    func NewContext() *Context {
    	return &Context{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:29:21 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modfetch/toolchain.go

    	// Read DL repo list and convert to "go" or "toolchain" version list.
    	versions, err := r.repo.Versions(ctx, "")
    	if err != nil {
    		return nil, err
    	}
    	versions.Origin = nil
    	var list []string
    	have := make(map[string]bool)
    	goPrefix := ""
    	if r.path == "toolchain" {
    		goPrefix = "go"
    	}
    	for _, v := range versions.List {
    		v, ok := dlToGo(v)
    		if !ok {
    			continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 13 16:44:24 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/util.go

    					if fnDecl, ok := decl.(*ast.FuncDecl); ok {
    						if fn, ok := info.Defs[fnDecl.Name].(*types.Func); ok {
    							fnDecls[fn] = fnDecl
    						}
    					}
    				}
    			}
    		}
    		// TODO: set f = f.Origin() here.
    		return fnDecls[f]
    	}
    }
    
    // isMethodNamed returns true if f is a method defined
    // in package with the path pkgPath with a name in names.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modfetch/codehost/svn.go

    	//
    	// 'svn export' prints the filenames as they are written, but from reading the
    	// svn source code (as of revision 1868933), those filenames are encoded using
    	// the system locale rather than preserved byte-for-byte from the origin. For
    	// our purposes, that won't do, but we don't want to go mucking around with
    	// the user's locale settings either — that could impact error messages, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 02:47:12 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. src/cmd/go/internal/script/state.go

    // ExtractFiles extracts the files in ar to the state's current directory,
    // expanding any environment variables within each name.
    //
    // The files must reside within the working directory with which the State was
    // originally created.
    func (s *State) ExtractFiles(ar *txtar.Archive) error {
    	wd := s.workdir
    
    	// Add trailing separator to terminate wd.
    	// This prevents extracting to outside paths which prefix wd,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:02 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  10. api/go1.23.txt

    pkg encoding/binary, func Encode([]uint8, ByteOrder, interface{}) (int, error) #60023
    pkg go/ast, func Preorder(Node) iter.Seq[Node] #66339
    pkg go/types, method (*Alias) Origin() *Alias #67143
    pkg go/types, method (*Alias) Rhs() Type #66559
    pkg go/types, method (*Alias) SetTypeParams([]*TypeParam) #67143
    pkg go/types, method (*Alias) TypeArgs() *TypeList #67143
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top