Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for testmovk (0.24 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. src/net/http/responsecontroller_test.go

    	"fmt"
    	"io"
    	. "net/http"
    	"os"
    	"sync"
    	"testing"
    	"time"
    )
    
    func TestResponseControllerFlush(t *testing.T) { run(t, testResponseControllerFlush) }
    func testResponseControllerFlush(t *testing.T, mode testMode) {
    	continuec := make(chan struct{})
    	cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		ctl := NewResponseController(w)
    		w.Write([]byte("one"))
    		if err := ctl.Flush(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 19:20:31 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testcarchive/carchive_test.go

    var cc []string
    
    // ".exe" on Windows.
    var exeSuffix string
    
    var GOOS, GOARCH, GOPATH string
    var libgodir string
    
    var testWork bool // If true, preserve temporary directories.
    
    func TestMain(m *testing.M) {
    	flag.BoolVar(&testWork, "testwork", false, "if true, log and preserve the test's temporary working directory")
    	flag.Parse()
    
    	log.SetFlags(log.Lshortfile)
    	os.Exit(testMain(m))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceProjectLockTest.groovy

                        workerLeaseService.withLocks([projectLock]) {
                            assert testLock.tryLock()
                            try {
                                assert lockIsHeld(projectLock)
                            } finally {
                                testLock.unlock()
                            }
                        }
                    }
                }
                started.await()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. operator/cmd/mesh/manifest_shared_test.go

    	allClusterGVKs = helmreconciler.ClusterResources
    )
    
    func init() {
    	if kubeBuilderInstalled() {
    		// TestMode is required to not wait in the go client for resources that will never be created in the test server.
    		helmreconciler.TestMode = true
    		// Add install and controller to the list of commands to run tests against.
    		testedManifestCmds = append(testedManifestCmds, cmdApply, cmdController)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 20 22:39:28 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorTest.groovy

            1 * processor.started({ it.id == 1 }, { it.parentId == null })
            1 * processor.started({ it.id == 2 && it.name == "testOk" && it.className == AJunit3TestClass.name }, { it.parentId == 1 })
            1 * processor.completed(2, { it.resultType == null })
            1 * processor.started({ it.id == 3 && it.name == "testOk" && it.className == BJunit3TestClass.name }, { it.parentId == 1 })
            1 * processor.completed(3, { it.resultType == null })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  9. 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)
  10. test/typeparam/list2.go

    		panic(fmt.Sprintf("e.value = %d, want 1", e.Value))
    	}
    	if e.Next() != nil {
    		panic(fmt.Sprintf("e.Next() != nil"))
    	}
    	if e.Prev() != nil {
    		panic(fmt.Sprintf("e.Prev() != nil"))
    	}
    }
    
    func TestMove() {
    	l := _New[int]()
    	e1 := l.PushBack(1)
    	e2 := l.PushBack(2)
    	e3 := l.PushBack(3)
    	e4 := l.PushBack(4)
    
    	l.MoveAfter(e3, e3)
    	checkListPointers(l, []*(_Element[int]){e1, e2, e3, e4})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top