Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 791 for isIndirect (0.27 sec)

  1. test/fixedbugs/issue4909b.go

    		}
    		// Does it involve an indirection?
    		nlast := ns[len(ns)-1]
    		nprev := 1
    		if len(ns) > 1 {
    			nprev = ns[len(ns)-2]
    		}
    		isIndirect := false
    		for n := nlast / 2; n > nprev; n /= 2 {
    			if n%2 == 1 {
    				isIndirect = true
    				break
    			}
    		}
    		fmt.Print(")")
    		if isIndirect {
    			fmt.Print(` // ERROR "indirection|embedded via a pointer"`)
    		}
    		fmt.Print("\n")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 19 06:26:35 UTC 2021
    - 1.3K 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. test/indirect.go

    Rob Pike <******@****.***> 1329983246 +1100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 07:47:26 UTC 2012
    - 1.4K bytes
    - Viewed (0)
  4. cmd/import-boss/main.go

    	}
    
    	realPkgPath := unmassage(pkg.PkgPath)
    
    	direct, indirect := transitiveImports(pkg)
    	isDirect := map[string]bool{}
    	for _, imp := range direct {
    		isDirect[imp] = true
    	}
    	relate := func(imp string) string {
    		if isDirect[imp] {
    			return "->"
    		}
    		return "-->"
    	}
    
    	var errs []error
    	for _, imp := range uniq(direct, indirect) {
    		if unmassage(imp) == realPkgPath {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. hack/tools/go.mod

    	golang.org/x/sys v0.17.0 // indirect
    	golang.org/x/term v0.17.0 // indirect
    	golang.org/x/text v0.14.0 // indirect
    	golang.org/x/tools v0.18.0 // indirect
    	google.golang.org/protobuf v1.31.0 // indirect
    	gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
    	gopkg.in/ini.v1 v1.67.0 // indirect
    	gopkg.in/yaml.v2 v2.4.0 // indirect
    	gopkg.in/yaml.v3 v3.0.1 // indirect
    	mvdan.cc/gofumpt v0.6.0 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/go.mod

    	golang.org/x/mod v0.17.0 // indirect
    	golang.org/x/net v0.25.0 // indirect
    	golang.org/x/oauth2 v0.20.0 // indirect
    	golang.org/x/sync v0.7.0 // indirect
    	golang.org/x/sys v0.20.0 // indirect
    	golang.org/x/term v0.20.0 // indirect
    	golang.org/x/text v0.15.0 // indirect
    	golang.org/x/time v0.3.0 // indirect
    	golang.org/x/tools v0.21.0 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/go.mod

    	github.com/felixge/httpsnoop v1.0.3 // indirect
    	github.com/fxamacker/cbor/v2 v2.7.0-beta // indirect
    	github.com/go-logr/logr v1.4.1 // indirect
    	github.com/go-logr/stdr v1.2.2 // indirect
    	github.com/go-openapi/jsonpointer v0.19.6 // indirect
    	github.com/go-openapi/jsonreference v0.20.2 // indirect
    	github.com/go-openapi/swag v0.22.4 // indirect
    	github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. go.mod

    	github.com/rjeczalik/notify v0.9.3 // indirect
    	github.com/rs/xid v1.5.0 // indirect
    	github.com/safchain/ethtool v0.3.0 // indirect
    	github.com/shoenig/go-m1cpu v0.1.6 // indirect
    	github.com/tidwall/match v1.1.1 // indirect
    	github.com/tidwall/pretty v1.2.1 // indirect
    	github.com/tklauser/go-sysconf v0.3.14 // indirect
    	github.com/tklauser/numcpus v0.8.0 // indirect
    	github.com/unrolled/secure v1.14.0 // indirect
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:53:53 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_get_promote_implicit.txt

    	indirect-with-pkg v1.0.0
    )
    
    replace (
    	direct v1.0.0 => ./direct
    	indirect-with-pkg v1.0.0 => ./indirect-with-pkg
    	indirect-without-pkg v1.0.0 => ./indirect-without-pkg
    )
    -- go.mod.indirect --
    module m
    
    go 1.16
    
    require (
    	direct v1.0.0
    	indirect-with-pkg v1.0.0 // indirect
    	indirect-without-pkg v1.0.0 // indirect
    )
    
    replace (
    	direct v1.0.0 => ./direct
    	indirect-with-pkg v1.0.0 => ./indirect-with-pkg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  10. go.mod

    	go.uber.org/mock v0.4.0 // indirect
    	go.uber.org/multierr v1.11.0 // indirect
    	golang.org/x/crypto v0.24.0 // indirect
    	golang.org/x/mod v0.18.0 // indirect
    	golang.org/x/term v0.21.0 // indirect
    	golang.org/x/text v0.16.0 // indirect
    	golang.org/x/tools v0.22.0 // indirect
    	gopkg.in/inf.v0 v0.9.1 // indirect
    	gopkg.in/ini.v1 v1.67.0 // indirect
    	k8s.io/component-base v0.30.1 // indirect
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top