Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 167 for original (0.27 sec)

  1. src/net/conf.go

    func goosPrefersCgo() bool {
    	switch runtime.GOOS {
    	// Historically on Windows and Plan 9 we prefer the
    	// cgo resolver (which doesn't use the cgo tool) rather than
    	// the go resolver. This is because originally these
    	// systems did not support the go resolver.
    	// Keep it this way for better compatibility.
    	// Perhaps we can revisit this some day.
    	case "windows", "plan9":
    		return true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. src/go/types/predicates.go

    func identicalOrigin(x, y *Named) bool {
    	// TODO(gri) is this correct?
    	return x.Origin().obj == y.Origin().obj
    }
    
    // identicalInstance reports if two type instantiations are identical.
    // Instantiations are identical if their origin and type arguments are
    // identical.
    func identicalInstance(xorig Type, xargs []Type, yorig Type, yargs []Type) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. src/html/template/template.go

    // templates. The actual representation is not copied, but the name space of
    // associated templates is, so further calls to [Template.Parse] in the copy will add
    // templates to the copy but not to the original. [Template.Clone] can be used to prepare
    // common templates and use them with variant definitions for other templates
    // by adding the variants after the clone is made.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:00:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  4. src/crypto/aes/asm_ppc64x.s

    // # CRYPTOGAMS licenses depending on where you obtain it. For further
    // # details see http://www.openssl.org/~appro/cryptogams/.
    // # ====================================================================
    
    // Original code can be found at the link below:
    // https://github.com/dot-asm/cryptogams/blob/master/ppc/aesp8-ppc.pl
    
    // Some function names were changed to be consistent with Go function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. src/os/exec/exec.go

    // The output of String may vary across Go releases.
    func (c *Cmd) String() string {
    	if c.Err != nil || c.lookPathErr != nil {
    		// failed to resolve path; report the original requested path (plus args)
    		return strings.Join(c.Args, " ")
    	}
    	// report the exact executable path (plus args)
    	b := new(strings.Builder)
    	b.WriteString(c.Path)
    	for _, a := range c.Args[1:] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  6. src/database/sql/convert.go

    )
    
    var errNilPtr = errors.New("destination pointer is nil") // embedded in descriptive error
    
    func describeNamedValue(nv *driver.NamedValue) string {
    	if len(nv.Name) == 0 {
    		return fmt.Sprintf("$%d", nv.Ordinal)
    	}
    	return fmt.Sprintf("with name %q", nv.Name)
    }
    
    func validateNamedValueName(name string) error {
    	if len(name) == 0 {
    		return nil
    	}
    	r, _ := utf8.DecodeRuneInString(name)
    	if unicode.IsLetter(r) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/fsys/fsys.go

    			} else if fi.IsDir() {
    				return nil, &fs.PathError{Op: "Stat", Path: filepath.Join(dir, name), Err: nonFileInOverlayError(to.actualFilePath)}
    			}
    			// Add a fileinfo for the overlaid file, so that it has
    			// the original file's name, but the overlaid file's metadata.
    			files[name] = fakeFile{name, fi}
    		}
    	}
    	sortedFiles := diskfis[:0]
    	for _, f := range files {
    		sortedFiles = append(sortedFiles, f)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  8. src/internal/trace/testtrace/validation.go

    }
    
    func (v *Validator) getOrCreateThread(e *errAccumulator, ev trace.Event, m trace.ThreadID) *schedContext {
    	lenient := func() bool {
    		// Be lenient about GoUndetermined -> GoSyscall transitions if they
    		// originate from an old trace. These transitions lack thread
    		// information in trace formats older than 1.22.
    		if !v.Go121 {
    			return false
    		}
    		if ev.Kind() != trace.EventStateTransition {
    			return false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. src/archive/tar/common.go

    		h.Mode |= c_ISVTX
    	}
    	// If possible, populate additional fields from OS-specific
    	// FileInfo fields.
    	if sys, ok := fi.Sys().(*Header); ok {
    		// This FileInfo came from a Header (not the OS). Use the
    		// original Header to populate all remaining fields.
    		h.Uid = sys.Uid
    		h.Gid = sys.Gid
    		h.Uname = sys.Uname
    		h.Gname = sys.Gname
    		h.AccessTime = sys.AccessTime
    		h.ChangeTime = sys.ChangeTime
    		if sys.Xattrs != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/typecheck/func.go

    				// Most such rewrites (for example the similar one for math.Sqrt) should be done in walk,
    				// so that the ordering pass can make sure to preserve the semantics of the original code
    				// (in particular, the exact time of the function call) by introducing temporaries.
    				// In this case, we know getg() always returns the same result within a given function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top