- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for imap3 (0.12 sec)
-
src/net/lookup.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 28.6K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue50755.go
func f2[M2 map[string]int](m2 M2) { f1(m2) } // The core type of M3 unifies with the type of m1 // during function argument type inference. // M3's constraint is named. type Map3 map[string]int func f3[M3 Map3](m3 M3) { f1(m3) } // The core type of M5 unifies with the core type of M4 // during constraint type inference. func f4[M4 map[K4]int, K4 comparable](m4 M4) {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 02:58:32 UTC 2022 - 1K bytes - Viewed (0) -
src/cmd/compile/internal/dwarfgen/dwinl.go
func addRange(calls []dwarf.InlCall, start, end int64, ii int, imap map[int]int) { if start == -1 { panic("bad range start") } if end == -1 { panic("bad range end") } if ii == -1 { return } if start == end { return } // Append range to correct inlined call callIdx, found := imap[ii] if !found { base.Fatalf("can't find inlIndex %d in imap for prog at %d\n", ii, start) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:45:07 UTC 2024 - 12.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
/* Test that it can be empty. */ EnumHashBiMap<Currency, String> emptyBimap = EnumHashBiMap.create(Currency.class); EnumHashBiMap<Currency, String> bimap3 = EnumHashBiMap.create(emptyBimap); assertEquals(bimap3, emptyBimap); } public void testEnumBiMapConstructor() { /* Test that it copies existing entries. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 26 16:35:21 UTC 2024 - 8.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultValueSnapshotterTest.groovy
def map1 = [:] map1.put(new Bean(prop: "value"), new Bean(prop: "value")) def map2 = [:] map2.put(new Bean(prop: "value"), new Bean(prop: "value2")) def map3 = [:] map3.putAll(map1) map3.put(new Bean(prop: "value2"), new Bean(prop: "value2")) expect: def snapshot1 = snapshotter.snapshot([:]) snapshotter.snapshot([:], snapshot1).is(snapshot1)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 29.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java
/* Test that it can be empty. */ EnumBiMap<Currency, Country> emptyBimap = EnumBiMap.create(Currency.class, Country.class); EnumBiMap<Currency, Country> bimap3 = EnumBiMap.create(emptyBimap); assertEquals(bimap3, emptyBimap); } @GwtIncompatible // keyType public void testKeyType() { EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 26 16:35:21 UTC 2024 - 11.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/language/lookup.go
if !tag.FixCase(form, key) { return 0, ErrSyntax } i := idx.Index(key) if i == -1 { return 0, NewValueError(key) } return i, nil } func searchUint(imap []uint16, key uint16) int { return sort.Search(len(imap), func(i int) bool { return imap[i] >= key }) } type Language uint16 // getLangID returns the langID of s if s is a canonical subtag // or langUnknown if s is not a canonical subtag.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 12.1K bytes - Viewed (0) -
test/escape_map.go
m := make(map[*int]*int) // ERROR "make\(map\[\*int\]\*int\) escapes to heap" i := 0 // ERROR "moved to heap: i" j := 0 // ERROR "moved to heap: j" m[&i] = &j return m } func map3() []*int { m := make(map[*int]*int) // ERROR "make\(map\[\*int\]\*int\) does not escape" i := 0 // ERROR "moved to heap: i" // BAD: j should not escape j := 0 // ERROR "moved to heap: j" m[&i] = &j
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 12 08:31:49 UTC 2020 - 2.8K bytes - Viewed (0) -
src/cmd/vet/testdata/print/print.go
func PrintfTests() { var b bool var i int var r rune var s string var x float64 var p *int var imap map[int]int var fslice []float64 var c complex64 // Some good format/argtypes fmt.Printf("") fmt.Printf("%b %b %b", 3, i, x) fmt.Printf("%c %c %c %c", 3, i, 'x', r) fmt.Printf("%d %d %d", 3, i, imap) fmt.Printf("%e %e %e %e", 3e9, x, fslice, c) fmt.Printf("%E %E %E %E", 3e9, x, fslice, c)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 27.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
public void testTransformEntriesGenerics() { Map<Object, Object> map1 = ImmutableMap.<Object, Object>of(1, 2); Map<Object, Number> map2 = ImmutableMap.<Object, Number>of(1, 2); Map<Object, Integer> map3 = ImmutableMap.<Object, Integer>of(1, 2); Map<Number, Object> map4 = ImmutableMap.<Number, Object>of(1, 2); Map<Number, Number> map5 = ImmutableMap.<Number, Number>of(1, 2);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 67.1K bytes - Viewed (0)