Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 879 for indirect$ (0.18 sec)

  1. utils/tests/utils.go

    	"go/ast"
    	"reflect"
    	"testing"
    	"time"
    
    	"gorm.io/gorm/utils"
    )
    
    func AssertObjEqual(t *testing.T, r, e interface{}, names ...string) {
    	for _, name := range names {
    		rv := reflect.Indirect(reflect.ValueOf(r))
    		ev := reflect.Indirect(reflect.ValueOf(e))
    		if rv.IsValid() != ev.IsValid() {
    			t.Errorf("%v: expect: %+v, got %+v", utils.FileWithLineNum(), r, e)
    			return
    		}
    		got := rv.FieldByName(name).Interface()
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Mar 10 09:21:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/mod/patch.example.com_direct_v1.0.1.txt

    module patch.example.com/direct
    
    require (
    	patch.example.com/indirect v1.0.0
    	patch.example.com/depofdirectpatch v1.0.0
    )
    -- .info --
    {"Version":"v1.0.1"}
    -- go.mod --
    module patch.example.com/direct
    
    require (
    	patch.example.com/indirect v1.0.0
    	patch.example.com/depofdirectpatch v1.0.0
    )
    -- direct.go --
    package direct
    
    import _ "patch.example.com/indirect"
    -- usedepofdirectpatch/unused.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 16:37:07 UTC 2019
    - 533 bytes
    - Viewed (0)
  3. src/cmd/go.mod

    	golang.org/x/tools v0.21.1-0.20240604144337-208808308b70
    )
    
    require (
    	github.com/ianlancetaylor/demangle v0.0.0-20240312041847-bd984b5ce465 // indirect
    	golang.org/x/text v0.16.0 // indirect
    	rsc.io/markdown v0.0.0-20240306144322-0bf8f97ee8ef // indirect
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 595 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_import_toolchain.txt

    go: trying upgrade to example.net/b@v0.1.0
    go: accepting indirect upgrade from go@1.20 to 1.22.0
    go: trying upgrade to example.net/c@v0.1.0
    go: trying upgrade to example.net/d@v0.2.0
    go: module ./d2 requires go >= 1.23.0; switching to go1.23.9
    go: trying upgrade to example.net/a@v0.2.0
    go: trying upgrade to example.net/b@v0.1.0
    go: accepting indirect upgrade from go@1.20 to 1.22.0
    go: trying upgrade to example.net/c@v0.1.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/featurelifecycle/SimulatedSingleMessageLogger.java

        public static final String INDIRECT_CALL = "indirect call";
        public static final String INDIRECT_CALL_2 = "second-level indirect call";
    
        public static TestFeatureUsage indirectlySecondLevel(String message) {
            return indirectly(message);
        }
    
        public static TestFeatureUsage indirectly(String message) {
            return nagUserWith(message);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. 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)
  7. test/fixedbugs/issue4429.go

    // license that can be found in the LICENSE file.
    
    package p
    
    type a struct {
      a int
    }
    
    func main() {
      av := a{};
      _ = *a(av); // ERROR "invalid indirect|expected pointer|cannot indirect"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 23:59:57 UTC 2020
    - 317 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/malformed_gosum_issue62345.txt

    cmp go.sum go.sum.after-tidy
    
    -- go.mod --
    module m
    
    go 1.20
    
    require rsc.io/quote v1.5.2
    
    require (
    	golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c // indirect
    	rsc.io/sampler v1.3.0 // indirect
    	rsc.io/testonly v1.0.0 // indirect
    )
    
    -- go.sum --
    golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c h1:pvCbr/wm8HzDD3fVywevekufpn6tCGPY3spdHeZJEsw=
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/pkg/printers/json.go

    	// we use reflect.Indirect here in order to obtain the actual value from a pointer.
    	// we need an actual value in order to retrieve the package path for an object.
    	// using reflect.Indirect indiscriminately is valid here, as all runtime.Objects are supposed to be pointers.
    	if InternalObjectPreventer.IsForbidden(reflect.Indirect(reflect.ValueOf(obj)).Type().PkgPath()) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 10 11:23:25 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/cli-runtime/pkg/printers/yaml.go

    	// we use reflect.Indirect here in order to obtain the actual value from a pointer.
    	// we need an actual value in order to retrieve the package path for an object.
    	// using reflect.Indirect indiscriminately is valid here, as all runtime.Objects are supposed to be pointers.
    	if InternalObjectPreventer.IsForbidden(reflect.Indirect(reflect.ValueOf(obj)).Type().PkgPath()) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 02 14:15:25 UTC 2022
    - 2.5K bytes
    - Viewed (0)
Back to top