Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for testmovk (0.35 sec)

  1. src/net/http/clientserver_test.go

    	"net/url"
    	"os"
    	"reflect"
    	"runtime"
    	"slices"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    )
    
    type testMode string
    
    const (
    	http1Mode  = testMode("h1")     // HTTP/1.1
    	https1Mode = testMode("https1") // HTTPS/1.1
    	http2Mode  = testMode("h2")     // HTTP/2
    )
    
    type testNotParallelOpt struct{}
    
    var (
    	testNotParallel = testNotParallelOpt{}
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  2. pilot/pkg/leaderelection/leaderelection_test.go

    	"k8s.io/client-go/kubernetes"
    	"k8s.io/client-go/kubernetes/fake"
    	k8stesting "k8s.io/client-go/testing"
    
    	"istio.io/istio/pkg/revisions"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    const testLock = "test-lock"
    
    func createElection(t *testing.T,
    	name string, revision string,
    	watcher revisions.DefaultWatcher,
    	expectLeader bool,
    	client kubernetes.Interface, fns ...func(stop <-chan struct{}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy

            }, receivingFileLockContentionHandler)
            receivingSocket = receivingFileLockContentionHandler.communicator.socket
            receivingLock = fileLockManager.lock(file("locks/testlock"), DefaultLockOptions.mode(FileLockManager.LockMode.Exclusive), "testlock", "test holding lock", whenContended)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. src/net/http/request_test.go

    		b.Fatalf("Failed to copy %d bytes: %v", n, err)
    	}
    
    	run(b, func(b *testing.B, mode testMode) {
    		runFileAndServerBenchmarks(b, mode, f, n)
    	}, []testMode{http1Mode, https1Mode, http2Mode})
    }
    
    func runFileAndServerBenchmarks(b *testing.B, mode testMode, f *os.File, n int64) {
    	handler := HandlerFunc(func(rw ResponseWriter, req *Request) {
    		defer req.Body.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  5. platforms/documentation/docs/build.gradle

                brokenTests.forEach { testName ->
                    def testMask = "org.gradle.docs.samples.*.$testName"
                    if (shouldRunBrokenForConfigurationCacheDocsTests(project)) {
                        includeTestsMatching testMask
                    } else {
                        excludeTestsMatching testMask
                    }
                }
            }
        } else {
            filter {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:37:11 UTC 2024
    - 42K bytes
    - Viewed (0)
  6. src/cmd/go/script_test.go

    		t.Run(name, func(t *testing.T) {
    			t.Parallel()
    			StartProxy()
    
    			workdir, err := os.MkdirTemp(testTmpDir, name)
    			if err != nil {
    				t.Fatal(err)
    			}
    			if !*testWork {
    				defer removeAll(workdir)
    			}
    
    			s, err := script.NewState(tbContext(ctx, t), workdir, env)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			// Unpack archive.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-test-report-aggregation/src/integTest/groovy/org/gradle/api/plugins/TestReportAggregationPluginIntegrationTest.groovy

                    import org.junit.Assert;
                    import org.junit.Test;
    
                    public class ModTest {
                        @Test
                        public void testMod() {
                            Divisor divisor = new Divisor();
                            Assert.assertEquals(1, divisor.mod(5, 2));
                        }
                    }
                """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  8. src/cmd/distpack/pack.go

    		"doc/**",
    		"misc/**",
    		"test/**",
    	)
    	modVers := modVersionPrefix + "-" + version + "." + goosDashGoarch
    	modArch.AddPrefix(modPath + "@" + modVers)
    	modArch.RenameGoMod()
    	modArch.Sort()
    	testMod(modArch)
    
    	// distpack returns the full path to name in the distpack directory.
    	distpack := func(name string) string {
    		return filepath.Join(goroot, "pkg/distpack", name)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top