Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for Indirect (0.49 sec)

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

    //
    // If no entry is found, a nil object is returned. In this case, the returned
    // index and indirect values have the following meaning:
    //
    //   - If index != nil, the index sequence points to an ambiguous entry
    //     (the same name appeared more than once at the same embedding level).
    //
    //   - If indirect is set, a method with a pointer receiver type was found
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/modfile/rule.go

    	}
    }
    
    // setIndirect sets line to have (or not have) a "// indirect" comment.
    func (r *Require) setIndirect(indirect bool) {
    	r.Indirect = indirect
    	line := r.Syntax
    	if isIndirect(line) == indirect {
    		return
    	}
    	if indirect {
    		// Adding comment.
    		if len(line.Suffix) == 0 {
    			// New comment.
    			line.Suffix = []Comment{{Token: "// indirect", Suffix: true}}
    			return
    		}
    
    		com := &line.Suffix[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_all.txt

    // also already obeys the 1.17 lazy loading invariants.
    go 1.15
    
    require (
    	example.com/a v0.1.0
    	example.com/b v0.1.0 // indirect
    	example.com/q v0.1.0
    	example.com/r v0.1.0 // indirect
    	example.com/t v0.1.0
    	example.com/u v0.1.0 // indirect
    )
    
    replace (
    	example.com/a v0.1.0 => ./a
    	example.com/b v0.1.0 => ./b
    	example.com/c v0.1.0 => ./c
    	example.com/d v0.1.0 => ./d
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 20 18:41:57 UTC 2021
    - 13.1K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/stackcheck.go

    // height, so we use the closest value to infinity that we can.
    const stackCheckCycle int16 = 1<<15 - 1
    
    // stackCheckIndirect is a sentinel Sym value used to represent the
    // target of an indirect/closure call.
    const stackCheckIndirect loader.Sym = ^loader.Sym(0)
    
    // doStackCheck walks the call tree to check that there is always
    // enough stack space for call frames, especially for a chain of
    // nosplit functions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 16:49:08 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/call.go

    			if x.mode == variable || indirect {
    				x.mode = variable
    			} else {
    				x.mode = value
    			}
    			x.typ = obj.typ
    
    		case *Func:
    			// TODO(gri) If we needed to take into account the receiver's
    			// addressability, should we report the type &(x.typ) instead?
    			check.recordSelection(e, MethodVal, x.typ, obj, index, indirect)
    
    			x.mode = value
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/modfile.go

    		return true
    	}
    
    	for _, r := range modFile.Require {
    		if meta, ok := i.require[r.Mod]; !ok {
    			return true
    		} else if r.Indirect != meta.indirect {
    			if cfg.BuildMod == "readonly" {
    				// The module's requirements are consistent; only the "// indirect"
    				// comments that are wrong. But those are only guaranteed to be accurate
    				// after a "go mod tidy" — it's a good idea to run those before
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 17:53:40 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modcmd/edit.go

    	}
    	if modFile.Toolchain != nil {
    		f.Toolchain = modFile.Toolchain.Name
    	}
    	for _, r := range modFile.Require {
    		f.Require = append(f.Require, requireJSON{Path: r.Mod.Path, Version: r.Mod.Version, Indirect: r.Indirect})
    	}
    	for _, x := range modFile.Exclude {
    		f.Exclude = append(f.Exclude, x.Mod)
    	}
    	for _, r := range modFile.Replace {
    		f.Replace = append(f.Replace, replaceJSON{r.Old, r.New})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/LICENSE

          other entities that control, are controlled by, or are under common
          control with that entity. For the purposes of this definition,
          "control" means (i) the power, direct or indirect, to cause the
          direction or management of such entity, whether by contract or
          otherwise, or (ii) ownership of fifty percent (50%) or more of the
          outstanding shares, or (iii) beneficial ownership of such entity.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 19:18:53 UTC 2017
    - 11.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    # Write go tool cgo -godefs input.
    (
    	echo package unix
    	echo
    	echo '/*'
    	indirect="includes_$(uname)"
    	echo "${!indirect} $includes"
    	echo '*/'
    	echo 'import "C"'
    	echo 'import "syscall"'
    	echo
    	echo 'const ('
    
    	# The gcc command line prints all the #defines
    	# it encounters while processing the input
    	echo "${!indirect} $includes" | $CC -x c - -E -dM $ccflags |
    	awk '
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/builtins.go

    			check.errorf(arg0, InvalidOffsetof, invalidArg+"%s is a method value", arg0)
    			return
    		}
    		if indirect {
    			check.errorf(x, InvalidOffsetof, invalidArg+"field %s is embedded via a pointer in %s", sel, base)
    			return
    		}
    
    		// TODO(gri) Should we pass x.typ instead of base (and have indirect report if derefStructPtr indirected)?
    		check.recordSelection(selx, FieldVal, base, obj, index, false)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top