- Sort Score
- Result 10 results
- Languages All
Results 641 - 650 of 1,799 for testLong (0.07 sec)
-
internal/ioutil/ioutil_test.go
"bytes" "context" "errors" "io" "os" "strings" "testing" "time" ) type sleepWriter struct { timeout time.Duration } func (w *sleepWriter) Write(p []byte) (n int, err error) { time.Sleep(w.timeout) return len(p), nil } func (w *sleepWriter) Close() error { return nil } func TestDeadlineWorker(t *testing.T) { work := NewDeadlineWorker(500 * time.Millisecond)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 5.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
* limitations under the License. */ package com.google.common.collect.testing; import static com.google.common.collect.testing.testers.ListListIteratorTester.getListIteratorFullyModifiableMethod; import static com.google.common.collect.testing.testers.ListSubListTester.getSubListOriginalListSetAffectsSubListLargeListMethod; import static com.google.common.collect.testing.testers.ListSubListTester.getSubListOriginalListSetAffectsSubListMethod;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.7K bytes - Viewed (0) -
internal/crypto/header_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package crypto import ( "encoding/base64" "net/http" "sort" "testing" xhttp "github.com/minio/minio/internal/http" ) func TestIsRequested(t *testing.T) { for i, test := range kmsIsRequestedTests { _, got := IsRequested(test.Header) if Requested(test.Header) != got { // Test if result matches.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 13 14:52:15 UTC 2022 - 21.4K bytes - Viewed (0) -
clause/returning_test.go
package clause_test import ( "fmt" "testing" "gorm.io/gorm/clause" ) func TestReturning(t *testing.T) { results := []struct { Clauses []clause.Interface Result string Vars []interface{} }{ { []clause.Interface{clause.Select{}, clause.From{}, clause.Returning{ []clause.Column{clause.PrimaryColumn}, }}, "SELECT * FROM `users` RETURNING `users`.`id`", nil, }, {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Jun 02 01:18:01 UTC 2020 - 845 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.google.MultisetFeature; import com.google.common.collect.testing.google.MultisetTestSuiteBuilder; import com.google.common.collect.testing.google.TestStringMultisetGenerator; import java.util.List; import junit.framework.Test;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4.5K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go
// limitations under the License. package ztunnelconfig import ( "bytes" "fmt" "net/http" "strings" "testing" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/resource" "k8s.io/client-go/rest/fake" cmdtesting "k8s.io/kubectl/pkg/cmd/testing" cmdutil "k8s.io/kubectl/pkg/cmd/util" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/pkg/kube" ) type execTestCase struct {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Apr 10 21:51:29 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java
import static java.lang.Math.max; import com.google.common.collect.testing.MapTestSuiteBuilder; import com.google.common.collect.testing.TestStringMapGenerator; import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.features.MapFeature; import java.util.List; import java.util.Map; import java.util.Map.Entry;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/PercentEscaperTest.java
* limitations under the License. */ package com.google.common.net; import static com.google.common.escape.testing.EscaperAsserts.assertEscaping; import static com.google.common.escape.testing.EscaperAsserts.assertUnescaped; import static com.google.common.escape.testing.EscaperAsserts.assertUnicodeEscaping; import static com.google.common.net.ReflectionFreeAssertThrows.assertThrows;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 5.2K bytes - Viewed (0) -
cni/pkg/iptables/iptables_e2e_test.go
} func validateIptablesClean(t *testing.T) { cur := iptablesSave(t) if strings.Contains(cur, "ISTIO") { t.Fatalf("Istio rules leftover: %v", cur) } if strings.Contains(cur, "-A") { t.Fatalf("Rules: %v", cur) } } var initialized = &sync.Once{} func setup(t *testing.T) { initialized.Do(func() { // Setup group namespace so iptables --gid-owner will work
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 15 15:39:28 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/leak-detect_test.go
// and other runtime functions while identifying leaks. var ignoredStackFns = []string{ "", // Below are the stacks ignored by the upstream leaktest code. "testing.Main(", "testing.tRunner(", "testing.tRunner(", "runtime.goexit", "created by runtime.gc", // ignore the snapshot function. // since the snapshot is taken here the entry will have the current function too.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 5.2K bytes - Viewed (0)