Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,763 for perror (0.25 sec)

  1. cni/pkg/ipset/nldeps_mock.go

    func (m *MockedIpsetDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	args := m.Called(name, ip, ipProto)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) flush(name string) error {
    	args := m.Called(name)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) clearEntriesWithComment(name, comment string) error {
    	args := m.Called(name, comment)
    	return args.Error(0)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/riscv64error.s

    	MOVF	$1, X5				// ERROR "unsupported constant load"
    	MOVBU	X5, (X6)			// ERROR "unsupported unsigned store"
    	MOVHU	X5, (X6)			// ERROR "unsupported unsigned store"
    	MOVWU	X5, (X6)			// ERROR "unsupported unsigned store"
    	MOVF	F0, F1, F2			// ERROR "illegal MOV instruction"
    	MOVD	F0, F1, F2			// ERROR "illegal MOV instruction"
    	MOV	X10, X11, X12			// ERROR "illegal MOV instruction"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 2.8K 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. 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)
  5. 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)
  6. 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)
  7. src/database/sql/example_service_test.go

    		if closeErr := rows.Close(); closeErr != nil {
    			http.Error(w, closeErr.Error(), http.StatusInternalServerError)
    			return
    		}
    
    		// Check for row scan error.
    		if err != nil {
    			http.Error(w, err.Error(), http.StatusInternalServerError)
    			return
    		}
    
    		// Check for errors during row iteration.
    		if err = rows.Err(); err != nil {
    			http.Error(w, err.Error(), http.StatusInternalServerError)
    			return
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 20:21:26 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. cmd/naughty-disk_test.go

    // specified by the developer. The purpose is to simulate errors
    // that are hard to simulate in practice like DiskNotFound.
    // Programmed errors are stored in errors field.
    type naughtyDisk struct {
    	// The real disk
    	disk StorageAPI
    	// Programmed errors: API call number => error to return
    	errors map[int]error
    	// The error to return when no error value is programmed
    	defaultErr error
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. cni/pkg/ipset/ipset.go

    	deleteIP(name string, ip netip.Addr, ipProto uint8) error
    	flush(name string) error
    	clearEntriesWithComment(name string, comment string) error
    	clearEntriesWithIP(name string, ip netip.Addr) error
    	listEntriesByIP(name string) ([]netip.Addr, error)
    }
    
    // TODO this should actually create v6 and v6 subsets of type `hash:ip`, add them both to a
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomTest.kt

                    error(UnsupportedSyntax(DanglingExpr)[251..251]
                    error(UnsupportedSyntax(ElementWithExplicitReceiver)[259..261]
                    error(UnsupportedSyntax(AssignmentWithExplicitReceiver)[267..273]
                    error(UnsupportedSyntax(LocalVal)[279..287]
                    error(SyntaxError(Parsing failure, unexpected tokenType in expression: POSTFIX_EXPRESSION)[307..319]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top