- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 1,954 for Testing (0.05 sec)
-
cmd/net_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "errors" "fmt" "reflect" "testing" "github.com/minio/minio-go/v7/pkg/set" ) func TestMustSplitHostPort(t *testing.T) { testCases := []struct { hostPort string expectedHost string expectedPort string }{ {":54321", "", "54321"}, {"server:54321", "server", "54321"},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 19 08:43:09 UTC 2024 - 9.3K bytes - Viewed (0) -
src/bytes/buffer_test.go
} func BenchmarkBufferWriteBlock(b *testing.B) { block := make([]byte, 1024) for _, n := range []int{1 << 12, 1 << 16, 1 << 20} { b.Run(fmt.Sprintf("N%d", n), func(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { var bb Buffer for bb.Len() < n { bb.Write(block) } } }) } } func BenchmarkBufferAppendNoCopy(b *testing.B) { var bb Buffer bb.Grow(16 << 20)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 18.6K bytes - Viewed (0) -
tests/benchmark_test.go
package tests_test import ( "fmt" "testing" . "gorm.io/gorm/utils/tests" ) func BenchmarkCreate(b *testing.B) { user := *GetUser("bench", Config{}) for x := 0; x < b.N; x++ { user.ID = 0 DB.Create(&user) } } func BenchmarkFind(b *testing.B) { user := *GetUser("find", Config{}) DB.Create(&user) for x := 0; x < b.N; x++ { DB.Find(&User{}, "id = ?", user.ID) } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 01 03:50:57 UTC 2022 - 1.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
import com.google.common.collect.testing.MinimalCollection; import com.google.common.collect.testing.WrongType; import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import java.util.Collection; import org.junit.Ignore; /** * A generic JUnit test which tests {@code containsAll()} operations on a collection. Can't be
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java
*/ package com.google.common.collect.testing.google; import static com.google.common.collect.testing.Helpers.getMethod; import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_QUERIES; import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES; import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.5K bytes - Viewed (0) -
tests/helper_test.go
user.NamedPet = &Pet{Name: name + "_namepet"} } return &user } func CheckPetUnscoped(t *testing.T, pet Pet, expect Pet) { doCheckPet(t, pet, expect, true) } func CheckPet(t *testing.T, pet Pet, expect Pet) { doCheckPet(t, pet, expect, false) } func doCheckPet(t *testing.T, pet Pet, expect Pet, unscoped bool) { if pet.ID != 0 { var newPet Pet
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 8K bytes - Viewed (0) -
cmd/bucket-handlers_test.go
func TestListBucketsHandler(t *testing.T) { ExecObjectLayerAPITest(ExecObjectLayerAPITestArgs{t: t, objAPITest: testListBucketsHandler, endpoints: []string{"ListBuckets"}}) } // testListBucketsHandler - Tests validate listing of buckets. func testListBucketsHandler(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler, credentials auth.Credentials, t *testing.T, ) { testCases := []struct {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 39.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
import com.google.common.collect.testing.ListTestSuiteBuilder; import com.google.common.collect.testing.MinimalCollection; import com.google.common.collect.testing.MinimalIterable; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.google.ListGenerators.BuilderAddAllListGenerator; import com.google.common.collect.testing.google.ListGenerators.BuilderReversedListGenerator;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 24.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java
*/ package com.google.common.collect.testing.google; import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder; import static com.google.common.collect.testing.Helpers.copyToList; import static com.google.common.collect.testing.Helpers.mapEntry; import static com.google.common.collect.testing.features.CollectionSize.ZERO; import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java
*/ package com.google.common.collect.testing.google; import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder; import static com.google.common.collect.testing.Helpers.copyToList; import static com.google.common.collect.testing.Helpers.mapEntry; import static com.google.common.collect.testing.features.CollectionSize.ZERO; import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.6K bytes - Viewed (0)