- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 859 for busting (0.07 sec)
-
internal/s3select/sql/stringfuncs_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package sql import ( "testing" ) func TestEvalSQLLike(t *testing.T) { dropCases := []struct { input, resultExpected string matchExpected bool }{ {"", "", false}, {"a", "", true}, {"ab", "b", true}, {"தமிழ்", "மிழ்", true}, }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 3.1K bytes - Viewed (0) -
internal/http/listener_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package http import ( "context" "crypto/tls" "net" "runtime" "strconv" "strings" "sync/atomic" "testing" "time" "github.com/minio/minio-go/v7/pkg/set" ) var serverPort uint32 = 60000 var getCert = func(*tls.ClientHelloInfo) (*tls.Certificate, error) { certificate, err := getTLSCert() if err != nil {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon Jun 10 17:41:02 UTC 2024 - 11.8K bytes - Viewed (0) -
tests/multi_primary_keys_test.go
package tests_test import ( "reflect" "sort" "testing" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) type Blog struct { ID uint `gorm:"primary_key"` Locale string `gorm:"primary_key"` Subject string Body string Tags []Tag `gorm:"many2many:blog_tags;"` SharedTags []Tag `gorm:"many2many:shared_blog_tags;ForeignKey:id;References:id"`
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 12.8K bytes - Viewed (0) -
cmd/api-headers_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "testing" ) func TestNewRequestID(t *testing.T) { // Ensure that it returns an alphanumeric result of length 16. id := mustGetRequestID(UTCNow()) if len(id) != 16 { t.Fail() } var e rune for _, char := range id {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 1.1K bytes - Viewed (0) -
tests/update_many2many_test.go
package tests_test import ( "testing" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestUpdateMany2ManyAssociations(t *testing.T) { user := *GetUser("update-many2many", Config{}) if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } user.Languages = []Language{{Code: "zh-CN", Name: "Chinese"}, {Code: "en", Name: "English"}} for _, lang := range user.Languages {
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 1.3K bytes - Viewed (0) -
internal/kms/stub.go
"github.com/minio/pkg/v3/wildcard" ) var ( // StubCreatedAt is a constant timestamp for testing StubCreatedAt = time.Date(2024, time.January, 1, 15, 0, 0, 0, time.UTC) // StubCreatedBy is a constant created identity for testing StubCreatedBy = "MinIO" ) // NewStub returns a stub of KMS for testing func NewStub(defaultKeyName string) *KMS { return &KMS{ Type: Builtin,
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 3.6K bytes - Viewed (0) -
tests/joins_table_test.go
package tests_test import ( "testing" "time" "gorm.io/gorm" "gorm.io/gorm/clause" ) type Person struct { ID int Name string Addresses []Address `gorm:"many2many:person_addresses;"` DeletedAt gorm.DeletedAt } type Address struct { ID uint Name string } type PersonAddress struct { PersonID int AddressID int CreatedAt time.Time DeletedAt gorm.DeletedAt }
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Thu Sep 10 13:46:18 UTC 2020 - 3.5K bytes - Viewed (0) -
cmd/iam-etcd-store_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "testing" ) func TestExtractPrefixAndSuffix(t *testing.T) { specs := []struct { path, prefix, suffix string expected string }{ {"config/iam/groups/foo.json", "config/iam/groups/", ".json", "foo"},
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 1.5K bytes - Viewed (0) -
ci/official/containers/ml_build/Dockerfile
RUN ln -sf /usr/lib/python3.12 /usr/lib/tf_python # Make sure clang is on the path RUN ln -s /usr/lib/llvm-18/bin/clang /usr/bin/clang # Install various tools. # - bats: bash unit testing framework # - bazelisk: always use the correct bazel version # - buildifier: clean bazel build deps # - buildozer: clean bazel build deps # - gcloud SDK: communicate with Google Cloud Platform (GCP) for RBE, CI
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Wed Oct 16 23:34:34 UTC 2024 - 3.7K bytes - Viewed (0) -
cmd/admin-handlers-users-race_test.go
import ( "context" "fmt" "runtime" "testing" "time" "github.com/minio/madmin-go/v3" minio "github.com/minio/minio-go/v7" "github.com/minio/pkg/v3/sync/errgroup" ) func runAllIAMConcurrencyTests(suite *TestSuiteIAM, c *check) { suite.SetUpSuite(c) suite.TestDeleteUserRace(c) suite.TearDownSuite(c) } func TestIAMInternalIDPConcurrencyServerSuite(t *testing.T) { if runtime.GOOS == globalWindowsOSName {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Jun 28 09:06:25 UTC 2024 - 4K bytes - Viewed (0)