Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 74 for valfunc (0.69 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/webhook/webhook.go

    		return webhookErr
    	case err != nil:
    		return fmt.Errorf("webhook call failed: %s", err.Error())
    	default:
    		return nil
    	}
    }
    
    func LoadKubeconfig(kubeConfigFile string, customDial utilnet.DialFunc) (*rest.Config, error) {
    	loadingRules := clientcmd.NewDefaultClientConfigLoadingRules()
    	loadingRules.ExplicitPath = kubeConfigFile
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 19:02:55 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. src/net/http/httptest/recorder_test.go

    				w.Header().Add("Trailer", "Trailer-C")
    				io.WriteString(w, "<html>")
    				w.Header().Set("Non-Trailer", "incorrect")
    				w.Header().Set("Trailer-A", "valuea")
    				w.Header().Set("Trailer-C", "valuec")
    				w.Header().Set("Trailer-NotDeclared", "should be omitted")
    				w.Header().Set("Trailer:Trailer-D", "with prefix")
    			},
    			check(
    				hasStatus(200),
    				hasHeader("Content-Type", "text/html; charset=utf-8"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 23:17:38 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  3. src/cmd/vet/doc.go

    	loopclosure      check references to loop variables from within nested functions
    	lostcancel       check cancel func returned by context.WithCancel is called
    	nilfunc          check for useless comparisons between functions and nil
    	printf           check consistency of Printf format strings and arguments
    	shift            check for shifts that equal or exceed the width of the integer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 00:17:30 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. pkg/util/filesystem/defaultfs.go

    func (fs *DefaultFs) ReadDir(dirname string) ([]os.DirEntry, error) {
    	return os.ReadDir(fs.prefix(dirname))
    }
    
    // Walk via filepath.Walk
    func (fs *DefaultFs) Walk(root string, walkFn filepath.WalkFunc) error {
    	return filepath.Walk(fs.prefix(root), walkFn)
    }
    
    // defaultFile implements File using same-named functions from "os"
    type defaultFile struct {
    	file *os.File
    }
    
    // Name via os.File.Name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 03 07:38:14 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. 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)
  6. staging/src/k8s.io/apimachinery/pkg/util/proxy/dial_test.go

    	}
    
    	cert, err := tls.X509KeyPair(localhostCert, localhostKey)
    	if err != nil {
    		t.Fatal(err)
    	}
    	var d net.Dialer
    
    	testcases := map[string]struct {
    		TLSConfig   *tls.Config
    		Dial        utilnet.DialFunc
    		ExpectError string
    		ExpectProto string
    	}{
    		"insecure": {
    			TLSConfig: &tls.Config{InsecureSkipVerify: true},
    		},
    		"secure, no roots": {
    			TLSConfig:   &tls.Config{InsecureSkipVerify: false},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/pcln.go

    		call := fi.InlTree(i)
    		nameOff, ok := nameOffsets[call.Func]
    		if !ok {
    			panic("couldn't find function name offset")
    		}
    
    		inlFunc := ldr.FuncInfo(call.Func)
    		var funcID abi.FuncID
    		startLine := int32(0)
    		if inlFunc.Valid() {
    			funcID = inlFunc.FuncID()
    			startLine = inlFunc.StartLine()
    		} else if !ctxt.linkShared {
    			// Inlined functions are always Go functions, and thus
    			// must have FuncInfo.
    			//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  8. pkg/kubeapiserver/authorizer/config.go

    	WebhookRetryBackoff *wait.Backoff
    
    	VersionedInformerFactory versionedinformers.SharedInformerFactory
    
    	// Optional field, custom dial function used to connect to webhook
    	CustomDial utilnet.DialFunc
    
    	// ReloadFile holds the filename to reload authorization configuration from
    	ReloadFile string
    	// AuthorizationConfiguration stores the configuration for the Authorizer chain
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. 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)
  10. staging/src/k8s.io/apiserver/pkg/server/options/audit.go

    		if evaluator == nil {
    			klog.V(2).Info("No audit policy file provided, no events will be recorded for webhook backend")
    		} else {
    			if c.EgressSelector != nil {
    				var egressDialer utilnet.DialFunc
    				egressDialer, err = c.EgressSelector.Lookup(egressselector.ControlPlane.AsNetworkContext())
    				if err != nil {
    					return err
    				}
    				webhookBackend, err = o.WebhookOptions.newUntruncatedBackend(egressDialer)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 24 06:30:04 UTC 2022
    - 20.3K bytes
    - Viewed (0)
Back to top