Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/go/testdata/script/mod_list_issue61415.txt

    [!git] skip
    
    env GOPROXY=direct
    
    # Control case: fetching a nested module at a tag that exists should
    # emit Origin metadata for that tag and commit, and the origin should
    # be reusable for that tag.
    
    go list -json -m --versions -e vcs-test.golang.org/git/issue61415.git/nested@has-nested
    cp stdout has-nested.json
    stdout '"Origin":'
    stdout '"VCS": "git"'
    stdout '"URL":'  # randomly-chosen vcweb localhost URL
    stdout '"Subdir": "nested"'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 22:15:45 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/importC.go

    import "unsafe"
    
    const _ C.int = 0xff // no error due to invalid constant type
    
    type T struct {
    	Name    string
    	Ordinal int
    }
    
    func _(args []T) {
    	var s string
    	for i, v := range args {
    		cname := C.CString(v.Name)
    		args[i].Ordinal = int(C.sqlite3_bind_parameter_index(s, cname)) // no error due to i not being "used"
    		C.free(unsafe.Pointer(cname))
    	}
    }
    
    type CType C.Type
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 1.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. src/compress/zlib/reader.go

    	if checksum != z.digest.Sum32() {
    		z.err = ErrChecksum
    		return n, z.err
    	}
    	return n, io.EOF
    }
    
    // Calling Close does not close the wrapped [io.Reader] originally passed to [NewReader].
    // In order for the ZLIB checksum to be verified, the reader must be
    // fully consumed until the [io.EOF].
    func (z *reader) Close() error {
    	if z.err != nil && z.err != io.EOF {
    		return z.err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top