- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 506 for Testing (0.16 sec)
-
cmd/bucket-stats_gen_test.go
package cmd // Code generated by github.com/tinylib/msgp DO NOT EDIT. import ( "bytes" "testing" "github.com/tinylib/msgp/msgp" ) func TestMarshalUnmarshalBucketReplicationStat(t *testing.T) { v := BucketReplicationStat{} 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 {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Aug 30 08:00:59 GMT 2023 - 20.5K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance_gen_test.go
package cmd // Code generated by github.com/tinylib/msgp DO NOT EDIT. import ( "bytes" "testing" "github.com/tinylib/msgp/msgp" ) func TestMarshalUnmarshalrebalanceInfo(t *testing.T) { v := rebalanceInfo{} 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 {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Oct 25 19:36:57 GMT 2022 - 11K bytes - Viewed (0) -
cmd/batch-handlers_gen_test.go
package cmd // Code generated by github.com/tinylib/msgp DO NOT EDIT. import ( "bytes" "testing" "github.com/tinylib/msgp/msgp" ) func TestMarshalUnmarshalBatchJobRequest(t *testing.T) { v := BatchJobRequest{} 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 {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Aug 29 18:27:23 GMT 2023 - 4.5K bytes - Viewed (0) -
src/bytes/compare_test.go
func BenchmarkCompareBytesBigUnaligned(b *testing.B) { for i := 1; i < 8; i++ { b.Run(fmt.Sprintf("offset=%d", i), func(b *testing.B) { benchmarkCompareBytesBigUnaligned(b, i) }) } } func benchmarkCompareBytesBigBothUnaligned(b *testing.B, offset int) { b.StopTimer() pattern := []byte("Hello Gophers!") b1 := make([]byte, 0, 1<<20+len(pattern)) for len(b1) < 1<<20 { b1 = append(b1, pattern...) }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Jul 13 23:11:42 GMT 2023 - 6.8K bytes - Viewed (0) -
src/bufio/scan_test.go
package bufio_test import ( . "bufio" "bytes" "errors" "io" "strings" "testing" "unicode" "unicode/utf8" ) const smallMaxTokenSize = 256 // Much smaller for more efficient testing. // Test white space table matches the Unicode definition. func TestSpace(t *testing.T) { for r := rune(0); r <= utf8.MaxRune; r++ { if IsSpace(r) != unicode.IsSpace(r) {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Viewed (0) -
utils/utils_test.go
"database/sql/driver" "errors" "math" "strings" "testing" "time" ) func TestIsValidDBNameChar(t *testing.T) { for _, db := range []string{"db", "dbName", "db_name", "db1", "1dbname", "db$name"} { if fields := strings.FieldsFunc(db, IsValidDBNameChar); len(fields) != 1 { t.Fatalf("failed to parse db name %v", db) } } } func TestCheckTruth(t *testing.T) { checkTruthTests := []struct { v string
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Mon Feb 19 03:42:25 GMT 2024 - 3.6K bytes - Viewed (0) -
cmd/utils_test.go
package cmd import ( "encoding/json" "errors" "fmt" "net/http" "net/url" "reflect" "strings" "testing" ) // Tests maximum object size. func TestMaxObjectSize(t *testing.T) { sizes := []struct { isMax bool size int64 }{ // Test - 1 - maximum object size. { true, globalMaxObjectSize + 1, },
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Feb 23 21:28:14 GMT 2024 - 10.2K bytes - Viewed (0) -
cmd/xl-storage-format-v2_test.go
"encoding/json" "fmt" "io" "math/rand" "os" "reflect" "sort" "testing" "time" "github.com/google/uuid" "github.com/klauspost/compress/zip" "github.com/klauspost/compress/zstd" "github.com/minio/minio/internal/bucket/lifecycle" xhttp "github.com/minio/minio/internal/http" ) func TestReadXLMetaNoData(t *testing.T) { f, err := os.Open("testdata/xl.meta-corrupt.gz") if err != nil { t.Fatal(err)
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Mar 08 17:50:48 GMT 2024 - 36.4K 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{}), }
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Thu Apr 25 12:22:53 GMT 2024 - 49.8K bytes - Viewed (0) -
internal/s3select/json/preader_test.go
package json import ( "bytes" "io" "os" "path/filepath" "testing" "github.com/minio/minio/internal/s3select/sql" ) func TestNewPReader(t *testing.T) { files, err := os.ReadDir("testdata") if err != nil { t.Fatal(err) } for _, file := range files { t.Run(file.Name(), func(t *testing.T) { f, err := os.Open(filepath.Join("testdata", file.Name())) if err != nil {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 2.5K bytes - Viewed (0)