- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for testLong (0.09 sec)
-
tests/migrate_test.go
checkColumnType(t, "name", true) checkIndex(t, []gorm.Index{uniqueConstraintIndex, myIndex}) } checkMulIndex = func(t *testing.T) { checkColumnType(t, "name", false) checkColumnType(t, "nick_name", false) checkIndex(t, []gorm.Index{mulIndex}) } } else { checkNotUnique = func(t *testing.T) { checkColumnType(t, "name", false) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Aug 20 04:51:17 UTC 2025 - 65.2K bytes - Viewed (0) -
src/archive/zip/reader_test.go
{ Name: "comment-truncated.zip", Error: ErrFormat, }, } func TestReader(t *testing.T) { for _, zt := range tests { t.Run(zt.Name, func(t *testing.T) { readTestZip(t, zt) }) } } func readTestZip(t *testing.T, zt ZipTest) { var z *Reader var err error var raw []byte if zt.Source != nil { rat, size := zt.Source()
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 56.6K bytes - Viewed (0) -
cmd/storage-datatypes_gen_test.go
package cmd // Code generated by github.com/tinylib/msgp DO NOT EDIT. import ( "bytes" "testing" "github.com/tinylib/msgp/msgp" ) func TestMarshalUnmarshalBaseOptions(t *testing.T) { v := BaseOptions{} bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Aug 12 08:38:15 UTC 2024 - 73.9K bytes - Viewed (0) -
src/bytes/bytes_test.go
func benchmarkCountHard(b *testing.B, sep []byte) { for i := 0; i < b.N; i++ { Count(benchInputHard, sep) } } func BenchmarkIndexHard1(b *testing.B) { benchmarkIndexHard(b, []byte("<>")) } func BenchmarkIndexHard2(b *testing.B) { benchmarkIndexHard(b, []byte("</pre>")) } func BenchmarkIndexHard3(b *testing.B) { benchmarkIndexHard(b, []byte("<b>hello world</b>")) } func BenchmarkIndexHard4(b *testing.B) {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 28 18:13:58 UTC 2025 - 62.9K bytes - Viewed (0) -
src/bufio/bufio_test.go
// license that can be found in the LICENSE file. package bufio_test import ( . "bufio" "bytes" "errors" "fmt" "internal/asan" "io" "math/rand" "strconv" "strings" "testing" "testing/iotest" "time" "unicode/utf8" ) // Reads from a reader and rot13s the result. type rot13Reader struct { r io.Reader } func newRot13Reader(r io.Reader) *rot13Reader {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 07 01:08:54 UTC 2025 - 51.6K bytes - Viewed (0) -
cmd/test-utils_test.go
"github.com/minio/minio/internal/logger" "github.com/minio/mux" "github.com/minio/pkg/v3/policy" ) // TestMain to set up global env. func TestMain(m *testing.M) { flag.Parse() // set to 'true' when testing is invoked globalIsTesting = true globalIsCICD = globalIsTesting globalActiveCred = auth.Credentials{ AccessKey: auth.DefaultAccessKey, SecretKey: auth.DefaultSecretKey, }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0) -
tests/query_test.go
package tests_test import ( "database/sql" "database/sql/driver" "fmt" "reflect" "regexp" "sort" "strconv" "strings" "testing" "time" "gorm.io/gorm" "gorm.io/gorm/clause" . "gorm.io/gorm/utils/tests" ) func TestFind(t *testing.T) { users := []User{ *GetUser("find", Config{}), *GetUser("find", Config{}), *GetUser("find", Config{}), }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Jul 22 06:21:04 UTC 2025 - 51K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
// Test cases with prefixes. // Testing listing with prefix set to "min" (Test number 40) . {bucketNames[2], "min", "", "", "", 100, listMultipartResults[26], nil, true}, // Testing listing with prefix set to "ney" (Test number 41). {bucketNames[2], "ney", "", "", "", 100, listMultipartResults[27], nil, true}, // Testing listing with prefix set to "par" (Test number 42).
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 89.4K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
"encoding/hex" "fmt" "strconv" "strings" "testing" "time" "github.com/minio/minio/internal/bucket/lifecycle" ) func TestListObjectsVersionedFolders(t *testing.T) { ExecObjectLayerTest(t, testListObjectsVersionedFolders) } func testListObjectsVersionedFolders(obj ObjectLayer, instanceType string, t1 TestErrHandler) { t, _ := t1.(*testing.T) testBuckets := []string{
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 76.1K bytes - Viewed (0) -
cmd/xl-storage_test.go
package cmd import ( "bytes" "crypto/rand" "io" "net/url" "os" slashpath "path" "runtime" "strings" "syscall" "testing" "github.com/google/uuid" ) func TestCheckPathLength(t *testing.T) { // Check path length restrictions are not same on windows/darwin if runtime.GOOS == "windows" || runtime.GOOS == "darwin" { t.Skip() } testCases := []struct {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 66K bytes - Viewed (0)