Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,276 for checkErr (0.11 sec)

  1. src/runtime/checkptr.go

    	if elem.Pointers() && uintptr(p)&(uintptr(elem.Align_)-1) != 0 {
    		throw("checkptr: misaligned pointer conversion")
    	}
    
    	// Check that (*[n]elem)(p) doesn't straddle multiple heap objects.
    	// TODO(mdempsky): Fix #46938 so we don't need to worry about overflow here.
    	if checkptrStraddles(p, n*elem.Size_) {
    		throw("checkptr: converted pointer straddles multiple allocations")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/checker.go

    //  limitations under the License.
    
    package echo
    
    var noChecker Checker = func(_ CallResult, err error) error {
    	return err
    }
    
    // Checker inspects echo call results for errors.
    type Checker func(CallResult, error) error
    
    func (c Checker) Check(result CallResult, err error) error {
    	return c(result, err)
    }
    
    // NoChecker provides a Checker that returns the original raw call error, unaltered.
    func NoChecker() Checker {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 12 22:50:35 UTC 2022
    - 1000 bytes
    - Viewed (0)
  3. src/runtime/testdata/testprog/checkptr.go

    cuiweixie <******@****.***> 1660643533 +0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 17:15:15 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/audit/policy/checker.go

    Tim Allclair <******@****.***> 1667427828 -0700
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 22:24:14 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/x509metrics/server_cert_deprecations.go

    				checker.IncreaseMetricsCounter(req)
    			}
    		}
    	} else if resp != nil {
    		if resp.TLS != nil && len(resp.TLS.PeerCertificates) > 0 {
    			for _, checker := range w.checkers {
    				if checker.CheckPeerCertificates(resp.TLS.PeerCertificates) {
    					checker.IncreaseMetricsCounter(req)
    				}
    			}
    		}
    	}
    
    	return resp, err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go

    be applied to static analyses, for the same benefits. Such analyses are
    described as "modular".
    
    A compiler’s type checker is an example of a modular static analysis.
    Many other checkers we would like to apply to Go programs can be
    understood as alternative or non-standard type systems. For example,
    vet's printf checker infers whether a function has the "printf wrapper"
    type, and it applies stricter checks to calls of such functions. In
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. src/cmd/go/internal/vet/vet.go

    For more about vet and its flags, see 'go doc cmd/vet'.
    For more about specifying packages, see 'go help packages'.
    For a list of checkers and their flags, see 'go tool vet help'.
    For details of a specific checker such as 'printf', see 'go tool vet help printf'.
    
    The -vettool=prog flag selects a different analysis tool with alternative
    or additional checks.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 19:23:42 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/healthz/healthz.go

    	"k8s.io/klog/v2"
    )
    
    // HealthChecker is a named healthz checker.
    type HealthChecker interface {
    	Name() string
    	Check(req *http.Request) error
    }
    
    // PingHealthz returns true automatically when checked
    var PingHealthz HealthChecker = ping{}
    
    // ping implements the simplest possible healthz checker.
    type ping struct{}
    
    func (ping) Name() string {
    	return "ping"
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. src/runtime/checkptr_test.go

    	}{
    		{"CheckPtrAlignmentPtr", "fatal error: checkptr: misaligned pointer conversion\n"},
    		{"CheckPtrAlignmentNoPtr", ""},
    		{"CheckPtrAlignmentNilPtr", ""},
    		{"CheckPtrArithmetic", "fatal error: checkptr: pointer arithmetic result points to invalid allocation\n"},
    		{"CheckPtrArithmetic2", "fatal error: checkptr: pointer arithmetic result points to invalid allocation\n"},
    		{"CheckPtrSize", "fatal error: checkptr: converted pointer straddles multiple allocations\n"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 17:15:15 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go

    	"encoding/gob"
    	"encoding/json"
    	"flag"
    	"fmt"
    	"go/token"
    	"io"
    	"log"
    	"os"
    	"strconv"
    	"strings"
    
    	"golang.org/x/tools/go/analysis"
    )
    
    // flags common to all {single,multi,unit}checkers.
    var (
    	JSON    = false // -json
    	Context = -1    // -c=N: if N>0, display offending line plus N lines of context
    )
    
    // Parse creates a flag for each of the analyzer's flags,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top