- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for NewV (0.04 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java
v3(), (oldV, newV) -> { assertEquals(v0(), oldV); assertEquals(v3(), newV); return null; })); expectMissing(e0()); } public void testMergeNullValue() { try { getMap() .merge( k0(), null, (oldV, newV) -> {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 6.5K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 11:28:54 UTC 2023 - 8.2K bytes - Viewed (0) -
test/ken/chan.go
for i := 0; i < n; i++ { cval = cval + 100 ch := new(Chan) ch.sc = make(chan int, c) ch.rc = ch.sc ch.sv = cval ch.rv = cval ca[i] = ch } return ca } func expect(v, v0 int) (newv int) { if v == v0 { if v%100 == 75 { return end } return v + 1 } print("got ", v, " expected ", v0+1, "\n") panic("fail") } func (c *Chan) send() bool { // print("send ", c.sv, "\n");
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 05:24:24 UTC 2012 - 4.7K bytes - Viewed (0) -
src/cmd/go/internal/modload/init.go
// the go.mod file.) newV.Path = filepath.Join(rootDirs[i], newV.Path) } if prev, ok := replacements[r.Old]; ok && !curModuleReplaces[r.Old] && prev != newV { base.Fatalf("go: conflicting replacements for %v:\n\t%v\n\t%v\nuse \"go work edit -replace %v=[override]\" to resolve", r.Old, prev, newV, r.Old) } curModuleReplaces[r.Old] = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 69.8K bytes - Viewed (0) -
test/escape2.go
return u.s } type V struct { s *string } func NewV(u U) *V { // ERROR "leaking param: u$" return &V{u.String()} // ERROR "&V{...} escapes to heap$" } func foo152() { a := "a" // ERROR "moved to heap: a$" u := U{&a} v := NewV(u) println(v) } // issue 8176 - &x in type switch body not marked as escaping
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0) -
test/escape2n.go
return u.s } type V struct { s *string } func NewV(u U) *V { // ERROR "leaking param: u$" return &V{u.String()} // ERROR "&V{...} escapes to heap$" } func foo152() { a := "a" // ERROR "moved to heap: a$" u := U{&a} v := NewV(u) println(v) } // issue 8176 - &x in type switch body not marked as escaping
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go
var res []interface{} if typedV != nil { // Make sure res is non-nil if patch is non-nil res = []interface{}{} } for _, v := range typedV { if newV, keep := removeDirectives(v); keep { res = append(res, newV) } } return res, true } else { return obj, true } } // Merge fields from a patch map into the original map. Note: This may modify
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 23:34:23 UTC 2023 - 75.5K bytes - Viewed (0)