Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for testJar (0.17 sec)

  1. src/net/http/client_test.go

    // scope of all cookies.
    type TestJar struct {
    	m      sync.Mutex
    	perURL map[string][]*Cookie
    }
    
    func (j *TestJar) SetCookies(u *url.URL, cookies []*Cookie) {
    	j.m.Lock()
    	defer j.m.Unlock()
    	if j.perURL == nil {
    		j.perURL = make(map[string][]*Cookie)
    	}
    	j.perURL[u.Host] = cookies
    }
    
    func (j *TestJar) Cookies(u *url.URL) []*Cookie {
    	j.m.Lock()
    	defer j.m.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  2. src/regexp/testdata/testregex.c

    				case '?':
    					test |= TEST_VERIFY;
    					test &= ~(TEST_AND|TEST_OR);
    					state.verify = state.passed;
    					continue;
    				case '&':
    					test |= TEST_VERIFY|TEST_AND;
    					test &= ~TEST_OR;
    					continue;
    				case '|':
    					test |= TEST_VERIFY|TEST_OR;
    					test &= ~TEST_AND;
    					continue;
    				case ';':
    					test |= TEST_OR;
    					test &= ~TEST_AND;
    					continue;
    
    				case '{':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  3. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishJavaIntegTest.groovy

            javaLibrary.parsedModuleMetadata.variant('runtimeElements') {
                dependency('org.test:bar:1.0') {
                    hasAttribute('custom', 'hello')
                }
                dependency('publishTest:utils:1.0') {
                    hasAttribute('custom', 'bazinga')
                }
                constraint('org.test:bar:1.1') {
                    hasAttributes(custom: 'world', nice: true)
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 49.8K bytes
    - Viewed (0)
  4. src/cmd/go/internal/test/test.go

    		buildTest.Deps = append(buildTest.Deps, buildP)
    	}
    
    	testBinary := testBinaryName(p)
    
    	testDir := b.NewObjdir()
    	if err := b.BackgroundShell().Mkdir(testDir); err != nil {
    		return nil, nil, nil, err
    	}
    
    	pmain.Dir = testDir
    	pmain.Internal.OmitDebug = !testC && !testNeedBinary()
    	if pmain.ImportPath == "runtime.test" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    	req := newDefaultBuilder().
    		ContinueOnError().
    		NamespaceParam("test").Stream(r, "STDIN").Flatten().
    		Do()
    	count := 0
    	testErr := fmt.Errorf("test error")
    	err := req.Visit(func(_ *Info, _ error) error {
    		count++
    		if count > 1 {
    			return testErr
    		}
    		return nil
    	})
    	if err == nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	if count != 3 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    //
    // Example invocation:
    //  bazel test //tensorflow/c/experimental/filesystem:modular_filesystem_test \\
    //  --test_arg=--dso=/path/to/one.so --test_arg=--dso=/path/to/another.so \\
    //  --test_arg=--scheme= --test_arg=--scheme=file
    //
    // Note that to test the local filesystem we use an empty value.
    
    namespace tensorflow {
    namespace {
    
    using ::tensorflow::error::Code;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 20:25:58 UTC 2022
    - 71K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/VersionCatalogExtensionIntegrationTest.groovy

            when: "updating a version in the model"
            settingsFile.text = settingsFile.text.replace('org.gradle.test:bar:1.0', 'org.gradle.test:bar:1.1')
            run 'verifyExtension'
    
            then: "extension is not regenerated"
            !operations.hasOperation("Executing generation of dependency accessors for libs")
            outputDoesNotContain 'Type-safe dependency accessors is an incubating feature.'
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 77.8K bytes
    - Viewed (0)
  8. src/cmd/dist/test.go

    	// this list.
    	registerStdTestSpecially := map[string]bool{
    		// testdir can run normally as part of "go test std cmd", but because
    		// it's a very large test, we register is specially as several shards to
    		// enable better load balancing on sharded builders. Ideally the build
    		// system would know how to shard any large test package.
    		"cmd/internal/testdir": true,
    	}
    
    	// Fast path to avoid the ~1 second of `go list std cmd` when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  9. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy

            then:
            0 * _
        }
    
        def "can visit structure when collection contains paths"() {
            def visitor = Mock(FileCollectionStructureVisitor)
            def one = testDir.file('one')
            def two = testDir.file('two')
    
            given:
            collection.from("a", "b")
    
            when:
            collection.visitStructure(visitor)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 53K bytes
    - Viewed (0)
  10. pkg/apis/certificates/validation/validation_test.go

    	"k8s.io/client-go/util/certificate/csr"
    	capi "k8s.io/kubernetes/pkg/apis/certificates"
    	"k8s.io/kubernetes/pkg/apis/core"
    	"k8s.io/utils/pointer"
    )
    
    var (
    	validObjectMeta = metav1.ObjectMeta{Name: "testcsr"}
    	validSignerName = "example.com/valid-name"
    	validUsages     = []capi.KeyUsage{capi.UsageKeyEncipherment}
    )
    
    func TestValidateCertificateSigningRequestCreate(t *testing.T) {
    	specPath := field.NewPath("spec")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
Back to top