Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 791 for isIndirect (0.12 sec)

  1. src/internal/concurrent/hashtriemap.go

    	nChildrenMask = nChildren - 1
    )
    
    // indirect is an internal node in the hash-trie.
    type indirect[K, V comparable] struct {
    	node[K, V]
    	dead     atomic.Bool
    	mu       sync.Mutex // Protects mutation to children and any children that are entry nodes.
    	parent   *indirect[K, V]
    	children [nChildren]atomic.Pointer[node[K, V]]
    }
    
    func newIndirectNode[K, V comparable](parent *indirect[K, V]) *indirect[K, V] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/mod/patch.example.com_indirect_v1.1.0.txt

    patch.example.com/indirect v1.1.0
    written by hand
    
    -- .mod --
    module patch.example.com/indirect
    -- .info --
    {"Version":"v1.1.0"}
    -- go.mod --
    module patch.example.com/indirect
    -- direct.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 16:37:07 UTC 2019
    - 209 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_list_bad_import.txt

    ! stdout ^error
    stdout incomplete
    stdout 'bad dep: .*example.com/notfound'
    
    # Again, -deps should fail.
    ! go list -deps example.com/indirect
    stderr example.com/notfound
    
    # But -e -deps should succeed.
    go list -e -deps example.com/indirect
    stdout example.com/notfound
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 06 18:54:25 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_tidy_version.txt

    cmpenv go.mod go.mod.121toolchain
    
    
    -- go.mod --
    module example.com/m
    
    require example.net/a v0.1.0
    
    require (
    	example.net/c v0.1.0 // indirect
    	example.net/d v0.1.0 // indirect
    )
    
    replace (
    	example.net/a v0.1.0 => ./a
    	example.net/a v0.2.0 => ./a
    	example.net/b v0.1.0 => ./b
    	example.net/b v0.2.0 => ./b
    	example.net/c v0.1.0 => ./c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 02 23:07:08 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_upgrade_patch.txt

    stdout '^patch.example.com/direct v1.0.1'
    stdout '^patch.example.com/indirect v1.0.1'
    stdout '^patch.example.com/depofdirectpatch v1.0.0'
    
    # Requesting only the indirect dependency should not update the direct one.
    cp go.mod.orig go.mod
    go get -u=patch patch.example.com/indirect
    go list -m all
    stdout '^patch.example.com/direct v1.0.0'
    stdout '^patch.example.com/indirect v1.0.1'
    ! stdout '^patch.example.com/depofdirectpatch'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/list_bad_import.txt

    go list -e -f '{{.ImportPath}}' all
    stdout example.com/direct
    stdout example.com/indirect
    ! stdout example.com/notfound
    
    
    -- example.com/direct/direct.go --
    package direct
    import _ "example.com/notfound"
    
    -- example.com/indirect/indirect.go --
    package indirect
    import _ "example.com/direct"
    
    -- example.com/notfound/README --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 09 20:53:04 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_get_lazy_indirect.txt

    # immediately.
    #
    # 'go get' marks the new dependency as 'indirect', because it doesn't scan
    # enough source code to know whether it is direct, and it is easier and less
    # invasive to remove an incorrect indirect mark (e.g. using 'go get') than to
    # add one that is missing ('go mod tidy' or 'go mod vendor').
    
    go get rsc.io/quote
    grep 'rsc.io/quote v\d+\.\d+\.\d+ // indirect$' go.mod
    ! grep 'rsc.io/quote v\d+\.\d+\.\d+$' go.mod
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 17 19:52:18 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/mod/patch.example.com_direct_v1.0.0.txt

    written by hand
    
    -- .mod --
    module patch.example.com/direct
    
    require (
    	patch.example.com/indirect v1.0.0
    )
    -- .info --
    {"Version":"v1.0.0"}
    -- go.mod --
    module patch.example.com/direct
    
    require (
    	patch.example.com/indirect v1.0.0
    )
    -- direct.go --
    package direct
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 16:37:07 UTC 2019
    - 336 bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/pkg/printers/jsonpath.go

    			}
    		default:
    			return false
    		}
    	}
    	if _, isNil := indirect(v); isNil {
    		return false
    	}
    	return true
    }
    
    // stolen from text/template
    // indirect returns the item at the end of indirection, and a bool to indicate if it's nil.
    // We indirect through pointers and empty interfaces (only) because
    // non-empty interfaces have methods we might need.
    func indirect(v reflect.Value) (rv reflect.Value, isNil bool) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_get_changes.txt

    -- go.mod.upgrade --
    module m
    
    go 1.16
    
    require (
    	rsc.io/quote v1.5.2 // indirect
    	rsc.io/sampler v1.3.0
    )
    -- go.mod.downgrade --
    module m
    
    go 1.16
    
    require (
    	golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c // indirect
    	rsc.io/quote v1.3.0 // indirect
    )
    -- go.mod.usequote --
    module m
    
    go 1.16
    
    require usequote v0.0.0
    
    replace usequote => ./usequote
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.7K bytes
    - Viewed (0)
Back to top