- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 67 for decref (0.49 sec)
-
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) -
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) -
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) -
src/encoding/hex/hex_test.go
} dec := NewDecoder(&buf) var decBuf bytes.Buffer w := struct{ io.Writer }{&decBuf} // io.Writer only; not io.ReaderFrom if _, err := io.CopyBuffer(w, dec, make([]byte, 7)); err != nil || decBuf.Len() != len(input) { t.Errorf("decoder.Read(%q*%d) = (%d, %v), want (%d, nil)", test.enc, multiplier, decBuf.Len(), err, len(input)) } if !bytes.Equal(decBuf.Bytes(), input) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:30:23 UTC 2024 - 7.9K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Secret.pb
SataQiu <******@****.***> 1713430345 +0800
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 441 bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractBaseGraph.java
*/ protected long edgeCount() { long degreeSum = 0L; for (N node : nodes()) { degreeSum += degree(node); } // According to the degree sum formula, this is equal to twice the number of edges. checkState((degreeSum & 1) == 0); return degreeSum >>> 1; } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 7.2K bytes - Viewed (0)