- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 385 for S1 (0.34 sec)
-
test/fixedbugs/issue6295.dir/p1.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 339 bytes - Viewed (0) -
test/fixedbugs/issue23522.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 23 21:51:55 UTC 2018 - 724 bytes - Viewed (0) -
test/fixedbugs/gcc65755.go
package main import "reflect" type S1 struct{} func (S1) Fix() string { type s struct { f int } return reflect.TypeOf(s{}).Field(0).Name } type S2 struct{} func (S2) Fix() string { type s struct { g bool } return reflect.TypeOf(s{}).Field(0).Name } func main() { f1 := S1{}.Fix() f2 := S2{}.Fix() if f1 != "f" || f2 != "g" { panic(f1 + f2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 605 bytes - Viewed (0) -
test/interface/struct.go
fail++ } } type I1 interface { Get() int; Put(int) } type S1 struct { i int } func (p S1) Get() int { return p.i } func (p S1) Put(i int) { p.i = i } func f1() { s := S1{1} var i I1 = s i.Put(2) check(i.Get() == 1, "f1 i") check(s.i == 1, "f1 s") } func f2() { s := S1{1} var i I1 = &s i.Put(2) check(i.Get() == 1, "f2 i") check(s.i == 1, "f2 s") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 06:33:41 UTC 2012 - 2.4K bytes - Viewed (0) -
pkg/kubelet/configmap/configmap_manager_test.go
} // Create a pod with some configMaps. s1 := configMapsToAttach{ containerEnvConfigMaps: []envConfigMaps{ {envVarNames: []string{"s1"}}, {envFromNames: []string{"s20"}}, }, volumes: []string{"s2"}, } manager.RegisterPod(podWithConfigMaps("ns1", "name1", s1)) manager.RegisterPod(podWithConfigMaps("ns2", "name2", s1)) // Update the pod with a different configMaps.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 10 10:20:09 UTC 2021 - 4.8K bytes - Viewed (0) -
tensorflow/c/ops_test.cc
shape_inference::ShapeHandle s1; TF_Status* status = TF_NewStatus(); TF_ShapeInferenceContextWithRankAtMost(C_CTX(&c), C_SHP(&in0), 3, C_SHP(&s1), status); EXPECT_EQ("[10,20,30]", c.DebugString(s1)); EXPECT_EQ(TF_OK, TF_GetCode(status)); TF_ShapeInferenceContextWithRankAtLeast(C_CTX(&c), C_SHP(&in0), 3, C_SHP(&s1), status);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 12.6K bytes - Viewed (0) -
test/escape_struct_param1.go
func tUPiSPa() { s1 := "ant" s2 := "bat" // ERROR "moved to heap: s2$" s3 := "cat" // ERROR "moved to heap: s3$" s4 := "dog" // ERROR "moved to heap: s4$" s5 := "emu" // ERROR "moved to heap: s5$" s6 := "fox" // ERROR "moved to heap: s6$" ps2 := &s2 ps4 := &s4 // ERROR "moved to heap: ps4$" ps6 := &s6 // ERROR "moved to heap: ps6$" u1 := U{&s1, &ps2}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 12 08:31:49 UTC 2020 - 8.9K bytes - Viewed (0) -
test/escape_struct_param2.go
func tUPiSPa() { s1 := "ant" s2 := "bat" // ERROR "moved to heap: s2$" s3 := "cat" // ERROR "moved to heap: s3$" s4 := "dog" // ERROR "moved to heap: s4$" s5 := "emu" // ERROR "moved to heap: s5$" s6 := "fox" // ERROR "moved to heap: s6$" ps2 := &s2 ps4 := &s4 // ERROR "moved to heap: ps4$" ps6 := &s6 // ERROR "moved to heap: ps6$" u1 := U{&s1, &ps2}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 12 08:31:49 UTC 2020 - 8.9K bytes - Viewed (0) -
test/fixedbugs/issue61992.go
// license that can be found in the LICENSE file. // Issue 61992, inconsistent 'mem' juggling in expandCalls package p type S1 struct { a, b, c []int i int } type S2 struct { a, b []int m map[int]int } func F(i int, f func(S1, S2, int) int) int { return f( S1{}, S2{m: map[int]int{}}, 1<<i)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 16 15:40:52 UTC 2023 - 439 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java
} public boolean hasRoles(final String[] acceptedRoles) { return stream(user.getRoleNames()) .get(stream -> stream.anyMatch(s1 -> stream(acceptedRoles).get(s3 -> s3.anyMatch(s2 -> s2.equals(s1))))); } public boolean hasGroup(final String group) { return stream(user.getGroupNames()).get(stream -> stream.anyMatch(s -> s.equals(group))); }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.4K bytes - Viewed (0)