- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 43 for new512 (0.23 sec)
-
src/encoding/gob/encoder_test.go
} // Now test with a running encoder/decoder pair that we recognize a type mismatch. err = enc.Encode(et1) if err != nil { t.Error("round 3: encoder fail:", err) } newEt2 := new(ET2) err = dec.Decode(newEt2) if err == nil { t.Fatal("round 3: expected `bad type' error decoding ET2") } } // Run one value through the encoder/decoder, but use the wrong type.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 29.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go
}, }, }, SupportedSigningAlgs: []string{"ES512"}, now: func() time.Time { return now }, }, signingKey: loadECDSAPrivKey(t, "testdata/ecdsa_2.pem", jose.ES512), pubKeys: []*jose.JSONWebKey{ loadECDSAKey(t, "testdata/ecdsa_1.pem", jose.ES512), loadECDSAKey(t, "testdata/ecdsa_2.pem", jose.ES512), }, claims: fmt.Sprintf(`{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 97.7K bytes - Viewed (0) -
pkg/controller/history/controller_history.go
// of probe is added written to the hash as well. The returned hash will be a safe encoded string to avoid bad words. func HashControllerRevision(revision *apps.ControllerRevision, probe *int32) string { hf := fnv.New32() if len(revision.Data.Raw) > 0 { hf.Write(revision.Data.Raw) } if revision.Data.Object != nil { hashutil.DeepHashObject(hf, revision.Data.Object) } if probe != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 05 13:33:52 UTC 2021 - 18.2K bytes - Viewed (0) -
src/internal/types/testdata/check/builtins0.go
_ int = min(1.0) _ float32 = min(1, 2) _ int = min(1, 2.3) // ok! _ int = min /* ERROR "cannot use min(1.2, 3) (untyped float constant 1.2) as int value" */ (1.2, 3) _ byte = min(1, 'a') ) } func new1() { _ = new() // ERROR "not enough arguments" _ = new(1, 2) // ERROR "too many arguments" _ = new("foo" /* ERROR "not a type" */) p := new(float64) _ = new(struct{ x, y int }) q := new(*float64)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.3K bytes - Viewed (0) -
src/cmd/compile/internal/walk/compare.go
) func fakePC(n ir.Node) ir.Node { // In order to get deterministic IDs, we include the package path, absolute filename, line number, column number // in the calculation of the fakePC for the IR node. hash := fnv.New32() // We ignore the errors here because the `io.Writer` in the `hash.Hash` interface never returns an error. io.WriteString(hash, base.Ctxt.Pkgpath) io.WriteString(hash, base.Ctxt.PosTable.Pos(n.Pos()).AbsFilename())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 21:55:14 UTC 2023 - 16.2K bytes - Viewed (0) -
src/archive/tar/reader_test.go
inputHdrs: map[string]string{paxGNUSparseMajor: "1", paxGNUSparseMinor: "0"}, wantMap: sparseDatas{{5, 2}}, }, { inputData: padInput("2\n10737418240\n512\n21474836480\n512\n"), inputHdrs: map[string]string{paxGNUSparseMajor: "1", paxGNUSparseMinor: "0"}, wantMap: sparseDatas{{10737418240, 512}, {21474836480, 512}}, }, { inputData: padInput("100\n" + func() string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 21 21:14:38 UTC 2022 - 47.1K bytes - Viewed (0) -
pkg/kubeapiserver/options/authentication_test.go
jwt: - issuer: url: https://test-issuer audiences: [ "🐼" ] claimMappings: username: claim: sub prefix: "" `, OIDCSigningAlgs: []string{"ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "RS256", "RS384", "RS512"}, }, }, } for _, testcase := range testCases { t.Run(testcase.name, func(t *testing.T) { opts := NewBuiltInAuthenticationOptions().WithOIDC()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 36.5K bytes - Viewed (0) -
pkg/kubeapiserver/options/authentication.go
"Comma-separated list of allowed JOSE asymmetric signing algorithms. JWTs with a "+ "supported 'alg' header values are: RS256, RS384, RS512, ES256, ES384, ES512, PS256, PS384, PS512. "+ "Values are defined by RFC 7518 https://tools.ietf.org/html/rfc7518#section-3.1.") fs.Var(cliflag.NewMapStringStringNoSplit(&o.OIDC.RequiredClaims), oidcRequiredClaimFlag, ""+
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 22:40:22 UTC 2024 - 32.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go
var allowedSigningAlgs = map[string]bool{ oidc.RS256: true, oidc.RS384: true, oidc.RS512: true, oidc.ES256: true, oidc.ES384: true, oidc.ES512: true, oidc.PS256: true, oidc.PS384: true, oidc.PS512: true, } type AuthenticatorTokenWithHealthCheck interface { authenticator.Token HealthCheck() error }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 19:29:33 UTC 2024 - 37.9K bytes - Viewed (0) -
src/runtime/proc.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0)