- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for Src3 (0.04 sec)
-
test/typeparam/issue47878.go
package main type Src1[T any] func() Src1[T] func (s *Src1[T]) Next() { *s = (*s)() } type Src2[T any] []func() Src2[T] func (s Src2[T]) Next() { _ = s[0]() } type Src3[T comparable] map[T]func() Src3[T] func (s Src3[T]) Next() { var a T _ = s[a]() } type Src4[T any] chan func() T func (s Src4[T]) Next() { _ = (<-s)() } type Src5[T any] func() Src5[T]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 802 bytes - Viewed (0) -
pkg/util/slice/slice_test.go
if !reflect.DeepEqual(src2, dest2) { t.Errorf("%v and %v are not equal", src2, dest2) } src3 := []string{"a", "c", "b"} dest3 := CopyStrings(src3) if !reflect.DeepEqual(src3, dest3) { t.Errorf("%v and %v are not equal", src3, dest3) } src3[0] = "A" if reflect.DeepEqual(src3, dest3) { t.Errorf("CopyStrings didn't make a copy") } } func TestSortStrings(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 30 07:21:37 UTC 2022 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 18 17:09:50 UTC 2024 - 53K bytes - Viewed (0) -
src/crypto/md5/md5block_arm.s
ROUND4(Rb, Rc, Rd, Ra, 13, 21, Rc3) MOVM.IA.W (Rtable), [Rc0,Rc1,Rc2,Rc3] ROUND4(Ra, Rb, Rc, Rd, 4, 6, Rc0) ROUND4(Rd, Ra, Rb, Rc, 11, 10, Rc1) ROUND4(Rc, Rd, Ra, Rb, 2, 15, Rc2) ROUND4(Rb, Rc, Rd, Ra, 9, 21, Rc3) MOVW dig+0(FP), Rt0 MOVM.IA (Rt0), [Rc0,Rc1,Rc2,Rc3] ADD Rc0, Ra ADD Rc1, Rb ADD Rc2, Rc ADD Rc3, Rd MOVM.IA [Ra,Rb,Rc,Rd], (Rt0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 8.8K bytes - Viewed (0) -
src/internal/gover/gover_test.go
var langTests = []testCase1[string, string]{ {"1.2rc3", "1.2"}, {"1.2.3", "1.2"}, {"1.2", "1.2"}, {"1", "1"}, {"1.999testmod", "1.999"}, } func TestIsLang(t *testing.T) { test1(t, isLangTests, "IsLang", IsLang) } var isLangTests = []testCase1[string, bool]{ {"1.2rc3", false}, {"1.2.3", false}, {"1.999testmod", false}, {"1.22", true}, {"1.21", true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 23:20:32 UTC 2023 - 3.4K bytes - Viewed (0) -
src/cmd/go/internal/gover/gover_test.go
var langTests = []testCase1[string, string]{ {"1.2rc3", "1.2"}, {"1.2.3", "1.2"}, {"1.2", "1.2"}, {"1", "1"}, {"1.999testmod", "1.999"}, } func TestIsLang(t *testing.T) { test1(t, isLangTests, "IsLang", IsLang) } var isLangTests = []testCase1[string, bool]{ {"1.2rc3", false}, {"1.2.3", false}, {"1.999testmod", false}, {"1.22", true}, {"1.21", true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 23:20:32 UTC 2023 - 3.3K bytes - Viewed (0) -
src/go/version/version_test.go
var langTests = []testCase1[string, string]{ {"bad", ""}, {"go1.2rc3", "go1.2"}, {"go1.2.3", "go1.2"}, {"go1.2", "go1.2"}, {"go1", "go1"}, {"go222", "go222.0"}, {"go1.999testmod", "go1.999"}, } func TestIsValid(t *testing.T) { test1(t, isValidTests, "IsValid", IsValid) } var isValidTests = []testCase1[string, bool]{ {"", false}, {"1.2.3", false}, {"go1.2rc3", true}, {"go1.2.3", true}, {"go1.999testmod", true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 19:56:48 UTC 2024 - 2.6K bytes - Viewed (0) -
src/hash/crc32/crc32.go
// // // archAvailableIEEE reports whether an architecture-specific CRC32-IEEE // // algorithm is available. // archAvailableIEEE() bool // // // archInitIEEE initializes the architecture-specific CRC3-IEEE algorithm. // // It can only be called if archAvailableIEEE() returns true. // archInitIEEE() // // // archUpdateIEEE updates the given CRC32-IEEE. It can only be called if
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 12 05:36:29 UTC 2024 - 7.5K bytes - Viewed (0) -
maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
* <a href="https://netbeans.org/bugzilla/show_bug.cgi?id=226100">226100</a> */ @Test void testMng5568() { String a = "6.1.0"; String b = "6.1.0rc3"; String c = "6.1H.5-beta"; // this is the unusual version string, with 'H' in the middle checkVersionsOrder(b, a); // classical
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jan 09 06:39:47 UTC 2024 - 14K bytes - Viewed (0) -
src/cmd/go/main.go
// See issue 21928 for details. if p == "" { continue } // Note: using HasPrefix instead of Contains because a ~ can appear // in the middle of directory elements, such as /tmp/git-1.8.2~rc3 // or C:\PROGRA~1. Only ~ as a path prefix has meaning to the shell. if strings.HasPrefix(p, "~") { fmt.Fprintf(os.Stderr, "go: GOPATH entry cannot start with shell metacharacter '~': %q\n", p) os.Exit(2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:09:11 UTC 2024 - 10K bytes - Viewed (0)