Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,114 for checkPkg (0.12 sec)

  1. src/internal/types/testdata/check/decls2/decls2b.go

    // Blank methods need to be type-checked.
    // Verify by checking that errors are reported.
    func (T /* ERROR "undefined" */ ) _() {}
    func (T1) _(undefined /* ERROR "undefined" */ ) {}
    func (T1) _() int { return "foo" /* ERRORx "cannot use .* in return statement" */ }
    
    // Methods with undefined receiver type can still be checked.
    // Verify by checking that errors are reported.
    func (Foo /* ERROR "undefined" */ ) m() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/check.go

    // during the type checking pass. Therefore we implement the following rule:
    // any number of goroutines can type check concurrently with the same
    // EnableAlias value, but if any goroutine tries to type check concurrently
    // with a different EnableAlias value, we panic.
    //
    // To achieve this, _aliasAny is a state machine:
    //
    //	0:        no type checking is occurring
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/doc.go

    // considered "printf wrappers"; calls to them are subject to the same
    // checking. In this example, logf is a printf wrapper:
    //
    //	func logf(level int, format string, args ...any) {
    //		if enabled(level) {
    //			log.Printf(format, args...)
    //		}
    //	}
    //
    //	logf(3, "invalid request: %v") // logf format reads arg 1, but call has 0 args
    //
    // To enable printf checking on a function that is not found by this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. pkg/api/v1/service/util_test.go

    		}
    		return cidrs
    	}
    	cidrs := checkOK("192.168.0.1/32")
    	if len(cidrs) != 1 {
    		t.Errorf("Expected exactly one CIDR: %v", cidrs.StringSlice())
    	}
    	cidrs = checkOK("192.168.0.1/32,192.168.0.1/32")
    	if len(cidrs) != 1 {
    		t.Errorf("Expected exactly one CIDR (after de-dup): %v", cidrs.StringSlice())
    	}
    	cidrs = checkOK("192.168.0.1/32,192.168.0.2/32")
    	if len(cidrs) != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 15:18:45 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  5. .github/dco.yml

    # Disable sign-off checking for members of the Gradle GitHub organization
    require:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Aug 11 00:03:28 UTC 2018
    - 100 bytes
    - Viewed (0)
  6. releasenotes/notes/47218.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: istioctl
    issue:
    - 47159
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 12 15:11:42 UTC 2023
    - 249 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/stdlib_test.go

    	}
    
    	start := time.Now()
    
    	// Though we read files while parsing, type-checking is otherwise CPU bound.
    	//
    	// This doesn't achieve great CPU utilization as many packages may block
    	// waiting for a common import, but in combination with the non-deterministic
    	// map iteration below this should provide decent coverage of concurrent
    	// type-checking (see golang/go#47729).
    	cpulimit := make(chan struct{}, runtime.GOMAXPROCS(0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. releasenotes/notes/45749.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: istioctl
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 07 14:31:33 UTC 2023
    - 197 bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/test_vet.txt

    # ensure all runs non-default vet
    ! go test -vet=all ./vetall/...
    stderr 'using resp before checking for errors'
    
    # Test issue #47309
    ! go test -vet=bools,xyz ./vetall/...
    stderr '-vet argument must be a supported analyzer'
    
    # Test with a single analyzer
    ! go test -vet=httpresponse ./vetall/...
    stderr 'using resp before checking for errors'
    
    # Test with a list of analyzers
    go test -vet=atomic,bools,nilfunc ./vetall/...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 27 20:14:44 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  10. pkg/volume/flexvolume/unmounter.go

    func (f *flexVolumeUnmounter) TearDownAt(dir string) error {
    	pathExists, pathErr := mount.PathExists(dir)
    	if pathErr != nil {
    		// only log warning here since plugins should anyways have to deal with errors
    		klog.Warningf("Error checking path: %v", pathErr)
    	} else {
    		if !pathExists {
    			klog.Warningf("Warning: Unmount skipped because path does not exist: %v", dir)
    			return nil
    		}
    	}
    
    	call := f.plugin.NewDriverCall(unmountCmd)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 14 13:58:56 UTC 2021
    - 1.9K bytes
    - Viewed (0)
Back to top