- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 225 for decref (0.13 sec)
-
staging/src/k8s.io/apiserver/pkg/registry/rest/delete_test.go
t.Errorf("metadata.DeletionGracePeriodSeconds = %v, want %v", ptr.Deref(tt.args.pod.DeletionGracePeriodSeconds, 0), ptr.Deref(tt.wantDeletionGracePeriodSeconds, 0)) } if !utilpointer.Int64Equal(tt.args.options.GracePeriodSeconds, tt.wantGracePeriodSeconds) { t.Errorf("options.GracePeriodSeconds = %v, want %v", ptr.Deref(tt.args.options.GracePeriodSeconds, 0), ptr.Deref(tt.wantGracePeriodSeconds, 0)) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 24 11:44:07 UTC 2024 - 9.3K bytes - Viewed (0) -
tests/integration/ambient/testdata/registry-secret.yaml
apiVersion: v1 data: .dockerconfigjson: {{ .DockerConfigJson }} kind: Secret metadata: name: reg-cred
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 21:02:05 UTC 2024 - 143 bytes - Viewed (0) -
test/fixedbugs/issue13265.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 13265: nil pointer deref. package p func f() { var c chan chan chan int for ; ; <-<-<-c { }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 438 bytes - Viewed (0) -
internal/kms/secret-key_test.go
Andreas Auernhammer <******@****.***> 1715126137 +0200
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/object-api-utils_test.go
t.Errorf("encoded data does not match\n\t%q\n\t%q", got, want) } var decBuf bytes.Buffer decRdr := s2.NewReader(&rdrBuf) _, err = io.Copy(&decBuf, decRdr) if err != nil { t.Fatal(err) } if !bytes.Equal(tt.data, decBuf.Bytes()) { t.Errorf("roundtrip failed\n\t%q\n\t%q", tt.data, decBuf.Bytes()) } }) } } func Test_pathNeedsClean(t *testing.T) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 23.4K bytes - Viewed (0) -
test/escape_mutations.go
package p import "fmt" type B struct { x int px *int pb *B } func F1(b *B) { // ERROR "mutates param: b derefs=0" b.x = 1 } func F2(b *B) { // ERROR "mutates param: b derefs=1" *b.px = 1 } func F2a(b *B) { // ERROR "mutates param: b derefs=0" b.px = nil } func F3(b *B) { // ERROR "leaking param: b" fmt.Println(b) // ERROR "\.\.\. argument does not escape" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 18 11:58:37 UTC 2023 - 1.8K bytes - Viewed (0) -
tests/integration/telemetry/api/testdata/registry-secret.yaml
apiVersion: v1 data: .dockerconfigjson: {{ .DockerConfigJson }} kind: Secret metadata: name: reg-cred
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 18 18:03:23 UTC 2022 - 143 bytes - Viewed (0) -
internal/kms/secret-key.go
// KMS that uses s as builtin single key as KMS implementation. func ParseSecretKey(s string) (*KMS, error) { v := strings.SplitN(s, ":", 2) if len(v) != 2 { return nil, errors.New("kms: invalid secret key format") } keyID, b64Key := v[0], v[1] key, err := base64.StdEncoding.DecodeString(b64Key) if err != nil { return nil, err } return NewBuiltin(keyID, key) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 8.2K bytes - Viewed (0) -
pkg/config/analysis/diag/message_test.go
} func TestMessageWithDocRef(t *testing.T) { g := NewWithT(t) mt := NewMessageType(Error, "IST0042", "Cheese type not found: %q") m := NewMessage(mt, nil, "Feta") m.DocRef = "test-ref" g.Expect(m.Unstructured(false)["documentationUrl"]).To(Equal(url.ConfigAnalysis + "/ist0042/?ref=test-ref")) } func TestMessage_JSON(t *testing.T) { g := NewWithT(t)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 3.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typeparams/coretype.go
case *types.Interface: return InterfaceTermSet(typ) default: return []*types.Term{types.NewTerm(false, typ)}, nil } } // Deref returns the type of the variable pointed to by t, // if t's core type is a pointer; otherwise it returns t. // // Do not assume that Deref(T)==T implies T is not a pointer: // consider "type T *T", for example. // // TODO(adonovan): ideally this would live in typesinternal, but that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 5.3K bytes - Viewed (0)