Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for valfunc (0.32 sec)

  1. src/path/filepath/path.go

    		return string(buf), nil
    	}
    	return targ[t0:], nil
    }
    
    // SkipDir is used as a return value from [WalkFunc] to indicate that
    // the directory named in the call is to be skipped. It is not returned
    // as an error by any function.
    var SkipDir error = fs.SkipDir
    
    // SkipAll is used as a return value from [WalkFunc] to indicate that
    // all remaining files and directories are to be skipped. It is not returned
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. src/cmd/vet/main.go

    	"golang.org/x/tools/go/analysis/passes/ifaceassert"
    	"golang.org/x/tools/go/analysis/passes/loopclosure"
    	"golang.org/x/tools/go/analysis/passes/lostcancel"
    	"golang.org/x/tools/go/analysis/passes/nilfunc"
    	"golang.org/x/tools/go/analysis/passes/printf"
    	"golang.org/x/tools/go/analysis/passes/shift"
    	"golang.org/x/tools/go/analysis/passes/sigchanyzer"
    	"golang.org/x/tools/go/analysis/passes/slog"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/text/template/exec_test.go

    	{"bug5a", "{{.Err}}", "erroozle", tVal, true},
    	// Args need to be indirected and dereferenced sometimes.
    	{"bug6a", "{{vfunc .V0 .V1}}", "vfunc", tVal, true},
    	{"bug6b", "{{vfunc .V0 .V0}}", "vfunc", tVal, true},
    	{"bug6c", "{{vfunc .V1 .V0}}", "vfunc", tVal, true},
    	{"bug6d", "{{vfunc .V1 .V1}}", "vfunc", tVal, true},
    	// Legal parse but illegal execution: non-function should have no arguments.
    	{"bug7a", "{{3 2}}", "", tVal, false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/modules.txt

    golang.org/x/tools/go/analysis/passes/inspect
    golang.org/x/tools/go/analysis/passes/internal/analysisutil
    golang.org/x/tools/go/analysis/passes/loopclosure
    golang.org/x/tools/go/analysis/passes/lostcancel
    golang.org/x/tools/go/analysis/passes/nilfunc
    golang.org/x/tools/go/analysis/passes/printf
    golang.org/x/tools/go/analysis/passes/shift
    golang.org/x/tools/go/analysis/passes/sigchanyzer
    golang.org/x/tools/go/analysis/passes/slog
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. pkg/controlplane/apiserver/config.go

    	return config, genericInitializers, nil
    }
    
    // CreateProxyTransport creates the dialer infrastructure to connect to the nodes.
    func CreateProxyTransport() *http.Transport {
    	var proxyDialerFn utilnet.DialFunc
    	// Proxying to pods and services is IP-based... don't expect to be able to verify the hostname
    	proxyTLSClientConfig := &tls.Config{InsecureSkipVerify: true}
    	proxyTransport := utilnet.SetTransportDefaults(&http.Transport{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		milestones = append(milestones, s)
    	}
    
    	testCases := []struct {
    		name        string
    		decorator   func(runtime.Object)
    		beginCreate BeginCreateFunc
    		afterCreate AfterCreateFunc
    		// the TTLFunc is an easy hook to force a failure
    		ttl              func(obj runtime.Object, existing uint64, update bool) (uint64, error)
    		expectError      bool
    		expectAnnotation string   // to test object mutations
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  7. src/cmd/go/internal/fsys/fsys.go

    	return false, firstErr
    }
    
    // walk recursively descends path, calling walkFn. Copied, with some
    // modifications from path/filepath.walk.
    func walk(path string, info fs.FileInfo, walkFn filepath.WalkFunc) error {
    	if err := walkFn(path, info, nil); err != nil || !info.IsDir() {
    		return err
    	}
    
    	fis, err := ReadDir(path)
    	if err != nil {
    		return walkFn(path, info, err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  8. src/runtime/stack.go

    }
    
    //go:nosplit
    func nilfunc() {
    	*(*uint8)(nil) = 0
    }
    
    // adjust Gobuf as if it executed a call to fn
    // and then stopped before the first instruction in fn.
    func gostartcallfn(gobuf *gobuf, fv *funcval) {
    	var fn unsafe.Pointer
    	if fv != nil {
    		fn = unsafe.Pointer(fv.fn)
    	} else {
    		fn = unsafe.Pointer(abi.FuncPCABIInternal(nilfunc))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  9. src/net/http/clientserver_test.go

    		// Header() of those values later, after the response
    		// has been written (we wrote to w above).
    		w.Header().Set("Server-Trailer-A", "valuea")
    		w.Header().Set("Server-Trailer-C", "valuec") // skipping B
    		w.Header().Set("Server-Trailer-NotDeclared", "should be omitted")
    	}))
    
    	res, err := cst.c.Get(cst.ts.URL)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	wantHeader := Header{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  10. src/cmd/go/internal/test/test.go

    finds any problems, go test reports those and does not run the test
    binary. Only a high-confidence subset of the default go vet checks are
    used. That subset is: atomic, bool, buildtags, directive, errorsas,
    ifaceassert, nilfunc, printf, and stringintconv. You can see
    the documentation for these and other vet tests via "go doc cmd/vet".
    To disable the running of go vet, use the -vet=off flag. To run all
    checks, use the -vet=all flag.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top