Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for valfunc (0.25 sec)

  1. tests/common/jwt/jwt_token.go

    	//  "iss": "******@****.***",
    	//  "nested": {
    	//    "key2": "valueC",
    	//    "nested-2": {
    	//      "key2": "valueC"
    	//    }
    	//  },
    	//  "sub": "sub-1"
    	// }
    	// Generated by: security/tools/jwt/samples/gen-jwt.py tests/common/jwt/key.pem -jwks=tests/common/jwt/jwks.json
    	// --expire=3153600000 --iss=******@****.*** --sub=sub-1 --nestedclaim key2 valueC
    	// nolint: lll
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. src/slices/sort_test.go

    			}
    
    			gotMax := Max(tt.data)
    			if gotMax != tt.wantMax {
    				t.Errorf("Max got %v, want %v", gotMax, tt.wantMax)
    			}
    
    			gotMaxFunc := MaxFunc(tt.data, intCmp)
    			if gotMaxFunc != tt.wantMax {
    				t.Errorf("MaxFunc got %v, want %v", gotMaxFunc, tt.wantMax)
    			}
    		})
    	}
    
    	svals := []S{
    		{1, "a"},
    		{2, "a"},
    		{1, "b"},
    		{2, "b"},
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 19:20:55 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. tests/integration/security/testdata/authz/jwt.yaml.tmpl

            methods: ["GET"]
        when:
        - key: request.auth.claims[nested][non-exist]
          values: ["valueC"]
      - to:
        - operation:
            paths: ["/nested-key2"]
            methods: ["GET"]
        when:
        - key: request.auth.claims[nested][key2]
          values: ["valueC"]
      - to:
        - operation:
            paths: ["/nested-2-key1"]
            methods: ["GET"]
        when:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/test/flagdefs.go

    	"errorsas":         true,
    	"framepointer":     true,
    	"httpresponse":     true,
    	"ifaceassert":      true,
    	"loopclosure":      true,
    	"lostcancel":       true,
    	"methods":          true,
    	"nilfunc":          true,
    	"printf":           true,
    	"rangeloops":       true,
    	"shift":            true,
    	"sigchanyzer":      true,
    	"slog":             true,
    	"stdmethods":       true,
    	"stdversion":       true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/slices/example_test.go

    func ExampleMaxFunc() {
    	type Person struct {
    		Name string
    		Age  int
    	}
    	people := []Person{
    		{"Gopher", 13},
    		{"Alice", 55},
    		{"Vera", 24},
    		{"Bob", 55},
    	}
    	firstOldest := slices.MaxFunc(people, func(a, b Person) int {
    		return cmp.Compare(a.Age, b.Age)
    	})
    	fmt.Println(firstOldest.Name)
    	// Output:
    	// Alice
    }
    
    func ExampleMin() {
    	numbers := []int{0, 42, -10, 8}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:28:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. 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)
Back to top