Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 3,592 for perror (0.1 sec)

  1. test/fixedbugs/issue31747.go

    	_ = 0x0p1 // ERROR "hexadecimal floating-point"
    
    	_ = 1_000i // ERROR "underscore"
    	_ = 0b111i // ERROR "binary"
    	_ = 0o567i // ERROR "octal"
    	_ = 0xabci // ERROR "hexadecimal floating-point"
    	_ = 0x0p1i // ERROR "hexadecimal floating-point"
    )
    
    // signed shift counts
    var (
    	s int
    	_ = 1 << s // ERROR "invalid operation: 1 << s \(signed shift count type int\) requires go1.13 or later|signed shift count"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 02:54:13 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. tests/transaction_test.go

    	if err := DB.Transaction(func(tx *gorm.DB) error {
    		return nil
    	}); err == nil {
    		t.Errorf("should returns error when commit with closed conn, got error %v", err)
    	}
    
    	if err := DB.Session(&gorm.Session{PrepareStmt: true}).Transaction(func(tx *gorm.DB) error {
    		return nil
    	}); err == nil {
    		t.Errorf("should returns error when commit with closed conn, got error %v", err)
    	}
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/go1_12.go

    	_ = 0o567 // ERROR "octal"
    	_ = 0xabc // ok
    	_ = 0x0p1 // ERROR "hexadecimal floating-point"
    
    	_ = 1_000i // ERROR "underscore"
    	_ = 0b111i // ERROR "binary"
    	_ = 0o567i // ERROR "octal"
    	_ = 0xabci // ERROR "hexadecimal floating-point"
    	_ = 0x0p1i // ERROR "hexadecimal floating-point"
    )
    
    // signed shift counts
    var (
    	s int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 02:54:13 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. association.go

    		Relationship: association.Relationship,
    		Error:        association.Error,
    		Unscope:      true,
    	}
    }
    
    func (association *Association) Find(out interface{}, conds ...interface{}) error {
    	if association.Error == nil {
    		association.Error = association.buildCondition().Find(out, conds...).Error
    	}
    	return association.Error
    }
    
    func (association *Association) Append(values ...interface{}) error {
    	if association.Error == nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. pkg/apis/core/v1/zz_generated.conversion.go

    // Public to allow building arbitrary schemes.
    func RegisterConversions(s *runtime.Scheme) error {
    	if err := s.AddGeneratedConversionFunc((*v1.AWSElasticBlockStoreVolumeSource)(nil), (*core.AWSElasticBlockStoreVolumeSource)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    //sysnb	Capget(hdr *CapUserHeader, data *CapUserData) (err error)
    //sysnb	Capset(hdr *CapUserHeader, data *CapUserData) (err error)
    //sys	Chdir(path string) (err error)
    //sys	Chroot(path string) (err error)
    //sys	ClockAdjtime(clockid int32, buf *Timex) (state int, err error)
    //sys	ClockGetres(clockid int32, res *Timespec) (err error)
    //sys	ClockGettime(clockid int32, time *Timespec) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/modes_test.go

    func assertErrorMessage(want string) func(*testing.T, error) {
    	return func(t *testing.T, got error) {
    		if got == nil {
    			t.Error("expected non-nil error")
    			return
    		}
    		if got.Error() != want {
    			t.Errorf("got error %q, want %q", got.Error(), want)
    		}
    	}
    }
    
    func assertIdenticalError[E error](expected E) func(*testing.T, error) {
    	return assertOnConcreteError(func(t *testing.T, actual E) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 18:43:10 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/caching_authorizer_test.go

    						decision: authorizer.DecisionAllow,
    						reason:   "test reason",
    						error:    fmt.Errorf("test error"),
    					},
    				},
    				{
    					attributes: authorizer.AttributesRecord{Name: "test name"},
    					expected: result{
    						decision: authorizer.DecisionAllow,
    						reason:   "test reason",
    						error:    fmt.Errorf("test error"),
    					},
    				},
    			},
    			backend: []result{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. pkg/proxy/winkernel/hns_test.go

    	if err != nil {
    		t.Error(err)
    	}
    
    	if !strings.EqualFold(lb.hnsID, LoadBalancer.Id) {
    		t.Errorf("%v does not match %v", lb.hnsID, LoadBalancer.Id)
    	}
    
    	err = LoadBalancer.Delete()
    	if err != nil {
    		t.Error(err)
    	}
    	err = Endpoint.Delete()
    	if err != nil {
    		t.Error(err)
    	}
    	err = Network.Delete()
    	if err != nil {
    		t.Error(err)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. src/internal/types/testdata/check/labels.go

    package labels
    
    var x int
    
    func f0() {
    L1 /* ERROR "label L1 declared and not used" */ :
    	for {
    	}
    L2 /* ERROR "label L2 declared and not used" */ :
    	select {
    	}
    L3 /* ERROR "label L3 declared and not used" */ :
    	switch {
    	}
    L4 /* ERROR "label L4 declared and not used" */ :
    	if true {
    	}
    L5 /* ERROR "label L5 declared and not used" */ :
    	f0()
    L6:
    	f0()
    L6 /* ERROR "label L6 already declared" */ :
    	f0()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top