- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 244 for Rs (0.03 sec)
-
test/fixedbugs/issue5515.go
// issue 5515: miscompilation doing inlining in generated method wrapper package main type T uint32 func main() { b := make([]T, 8) b[0] = 0xdeadbeef rs := Slice(b) sort(rs) } type Slice []T func (s Slice) Swap(i, j int) { tmp := s[i] s[i] = s[j] s[j] = tmp } type Interface interface { Swap(i, j int) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 03:23:21 UTC 2013 - 597 bytes - Viewed (0) -
src/unicode/utf16/utf16_test.go
} } func BenchmarkDecodeRune(b *testing.B) { rs := make([]rune, 10) // U+1D4D0 to U+1D4D4: MATHEMATICAL BOLD SCRIPT CAPITAL LETTERS for i, u := range []rune{'𝓐', '𝓑', '𝓒', '𝓓', '𝓔'} { rs[2*i], rs[2*i+1] = EncodeRune(u) } b.ResetTimer() for i := 0; i < b.N; i++ { for j := 0; j < 5; j++ { DecodeRune(rs[2*j], rs[2*j+1]) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:08:48 UTC 2024 - 6.5K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/gen/constFoldGen.go
for _, ls := range szs { for _, rs := range szs { if rs.name[0] != 'u' { continue } for _, o := range ops { if o.symbol != "<<" && o.symbol != ">>" { continue } fmt.Fprintf(w, "func TestConstFold%s%s%s(t *testing.T) {\n", ls.name, rs.name, o.name) fmt.Fprintf(w, "\tvar x, r %s\n", ls.name) fmt.Fprintf(w, "\tvar y %s\n", rs.name) // unsigned LHS
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 8.4K bytes - Viewed (0) -
pkg/proxy/ipvs/testing/util.go
// VSNum is the expected ipvs virtual server number // IP:Port protocol is the expected ipvs vs info // RS is the RealServer of this expected VirtualServer type ExpectedVirtualServer struct { VSNum int IP string Port uint16 Protocol string RS []ExpectedRealServer } // ExpectedRealServer is the expected ipvs RealServer type ExpectedRealServer struct { IP string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 1.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/tables.go
[6]*argField{ap_Reg_11_15, ap_Reg_6_10}}, {BRH, 0xfc0007fe00000000, 0x7c0001b600000000, 0xf80100000000, // Byte-Reverse Halfword X-form (brh RA,RS) [6]*argField{ap_Reg_11_15, ap_Reg_6_10}}, {BRW, 0xfc0007fe00000000, 0x7c00013600000000, 0xf80100000000, // Byte-Reverse Word X-form (brw RA,RS) [6]*argField{ap_Reg_11_15, ap_Reg_6_10}},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 17:16:14 UTC 2022 - 334.7K bytes - Viewed (0) -
pkg/controller/deployment/progress_test.go
return d } // helper to create RS with given availableReplicas func newRSWithAvailable(name string, specReplicas, statusReplicas, availableReplicas int32) *apps.ReplicaSet { rs := rs(name, specReplicas, nil, metav1.Time{}) rs.Status = apps.ReplicaSetStatus{ Replicas: statusReplicas, AvailableReplicas: availableReplicas, } return rs } func TestRequeueStuckDeployment(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 13.3K bytes - Viewed (0) -
src/time/export_test.go
type Rule struct { Kind RuleKind Day int Week int Mon int Time int } func TzsetRule(s string) (Rule, string, bool) { r, rs, ok := tzsetRule(s) rr := Rule{ Kind: RuleKind(r.kind), Day: r.day, Week: r.week, Mon: r.mon, Time: r.time, } return rr, rs, ok } // StdChunkNames maps from nextStdChunk results to the matched strings. var StdChunkNames = map[int]string{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 19:23:32 UTC 2022 - 4K bytes - Viewed (0) -
src/go/internal/gccgoimporter/ar.go
// This is only safe because there won't be any concurrent seeks // while this code is executing. func readerAtFromSeeker(rs io.ReadSeeker) io.ReaderAt { if ret, ok := rs.(io.ReaderAt); ok { return ret } return seekerReadAt{rs} } type seekerReadAt struct { seeker io.ReadSeeker } func (sra seekerReadAt) ReadAt(p []byte, off int64) (int, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 14:14:36 UTC 2022 - 4.4K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
return "", false } return path.Join(m.Path, filepath.ToSlash(sub)), true } if rs.pruning == pruned { for _, m := range rs.rootModules { if v, _ := rs.rootSelected(m.Path); v != m.Version { continue // m is a root, but we have a higher root for the same path. } if importPath, ok := tryMod(m); ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0) -
pkg/config/analysis/analyzers/telemetry/util.go
"istio.io/istio/pkg/config/resource" "istio.io/istio/pkg/config/schema/gvk" ) func getNames(entries []*resource.Instance) []string { names := make([]string, 0, len(entries)) for _, rs := range entries { names = append(names, string(rs.Metadata.FullName.Name)) } sort.Strings(names) return names } func fetchMeshConfig(c analysis.Context) *v1alpha1.MeshConfig { var meshConfig *v1alpha1.MeshConfig
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun May 05 03:44:57 UTC 2024 - 1.3K bytes - Viewed (0)