- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for gmap1 (0.04 sec)
-
src/internal/types/testdata/check/map1.go
Robert Griesemer <******@****.***> 1662082688 -0700
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 02:58:32 UTC 2022 - 3.4K bytes - Viewed (0) -
test/map1.go
Robert Griesemer <******@****.***> 1607975635 -0800
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 14 20:13:36 UTC 2020 - 1.5K bytes - Viewed (0) -
src/runtime/pprof/protomem_test.go
}, NumLabel: map[string][]int64{"bytes": {512 * 1024}}, }, { Value: []int64{1, 829411, 0, 0}, Location: []*profile.Location{ {ID: 5, Mapping: map1, Address: addr1 + 1}, {ID: 6, Mapping: map1, Address: addr1 + 2}, {ID: 7, Mapping: map2, Address: addr2 + 3}, }, NumLabel: map[string][]int64{"bytes": {512 * 1024}}, }, } for _, tc := range []struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:45 UTC 2024 - 6.7K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/util/TestTask.groovy
class TestTask extends ConventionTask { @Internal TestTask self @Internal String customProp @Internal List list1 @Internal List list2 @Internal Map map1
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 26 10:58:32 UTC 2023 - 922 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ConventionAwareHelperTest.java
} @Test public void usesConventionValueForEmptyMap() { conventionAware.map("map1", new Callable<Object>() { public Object call() { return toMap("a", "b"); } }); assertThat(conventionAware.getConventionValue(emptyMap(), "map1", false), equalTo((Object) toMap("a", "b"))); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.9K bytes - Viewed (0) -
test/escape_map.go
// BAD: i should not escape i := 0 // ERROR "moved to heap: i" // BAD: j should not escape j := 0 // ERROR "moved to heap: j" m[&i] = &j _ = m } func map1() *int { m := make(map[*int]*int) // ERROR "make\(map\[\*int\]\*int\) does not escape" // BAD: i should not escape i := 0 // ERROR "moved to heap: i" j := 0 // ERROR "moved to heap: j" m[&i] = &j return m[&i] }
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/encoding/gob/type_test.go
} } func TestMapType(t *testing.T) { var m map[string]int mapStringInt := getTypeUnlocked("map", reflect.TypeOf(m)) var newm map[string]int newMapStringInt := getTypeUnlocked("map1", reflect.TypeOf(newm)) if mapStringInt != newMapStringInt { t.Errorf("second registration of map[string]int creates new type") } var b map[string]bool mapStringBool := getTypeUnlocked("", reflect.TypeOf(b))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 01 14:26:13 UTC 2023 - 6.1K bytes - Viewed (0)