Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for Testdata (0.54 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    				return &http.Response{
    					StatusCode: http.StatusOK,
    					Header:     header,
    					Body:       stringBody(body),
    				}, nil
    			}),
    		}, nil
    	}
    }
    
    func testData() (*v1.PodList, *v1.ServiceList) {
    	pods := &v1.PodList{
    		ListMeta: metav1.ListMeta{
    			ResourceVersion: "15",
    		},
    		Items: []v1.Pod{
    			{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
  2. src/cmd/go/go_test.go

    	sep := string(filepath.ListSeparator)
    	tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata", "a")+sep+filepath.Join(tg.pwd(), "testdata", "b"))
    	tg.runFail("install", "foo/quxx")
    	if tg.grepCountBoth(`testdata[/\\].[/\\]src[/\\]foo[/\\]quxx`) != 2 {
    		t.Error(`go install foo/quxx expected error: .*testdata/a/src/foo/quxx (from $GOPATH)\n.*testdata/b/src/foo/quxx`)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  3. src/os/os_test.go

    		}
    		if strings.Contains(err.(*PathError).Path, "testdata") {
    			t.Errorf("error %q contains %q", err, "testdata")
    		}
    	}
    
    	// Test that Open does not accept backslash as separator.
    	d := DirFS(".")
    	_, err = d.Open(`testdata\dirfs`)
    	if err == nil {
    		t.Fatalf(`Open testdata\dirfs succeeded`)
    	}
    
    	// Test that Open does not open Windows device files.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  4. src/go/build/build.go

    		// Determine canonical import path, if any.
    		// Exclude results where the import path would include /testdata/.
    		inTestdata := func(sub string) bool {
    			return strings.Contains(sub, "/testdata/") || strings.HasSuffix(sub, "/testdata") || strings.HasPrefix(sub, "testdata/") || sub == "testdata"
    		}
    		if ctxt.GOROOT != "" {
    			root := ctxt.joinPath(ctxt.GOROOT, "src")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  5. src/net/dnsclient_unix_test.go

    	hostsFilePath = "testdata/aliases"
    	mode := hostLookupFiles
    
    	for _, v := range lookupStaticHostAliasesTest {
    		testGoLookupIPCNAMEOrderHostsAliases(t, mode, v.lookup, absDomainName(v.res))
    	}
    }
    
    func TestGoLookupIPCNAMEOrderHostsAliasesFilesDNSMode(t *testing.T) {
    	defer func(orig string) { hostsFilePath = orig }(hostsFilePath)
    	hostsFilePath = "testdata/aliases"
    	mode := hostLookupFilesDNS
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/test/test.go

    as appropriate, both before and after the optional package list,
    before invoking the test binary.
    
    For instance, the command
    
    	go test -v -myflag testdata -cpuprofile=prof.out -x
    
    will compile the test binary and then run it as
    
    	pkg.test -test.v -myflag testdata -test.cpuprofile=prof.out
    
    (The -x flag is removed because it applies only to the go command's
    execution, not to the test itself.)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  7. internal/s3select/select_test.go

    			},
    		},
    	}
    
    	for i, testCase := range testTable {
    		t.Run(fmt.Sprint(i), func(t *testing.T) {
    			testdataFile := "testdata/testdata.parquet"
    			file, err := os.Open(testdataFile)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			s3Select, err := NewS3Select(bytes.NewReader(testCase.requestXML))
    			if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  8. tests/integration/ambient/baseline_test.go

    				param.Namespace.String(): apps.Namespace.Name(),
    				"Services":               apps.ServiceAddressedWaypoint,
    				"To":                     dst,
    			}, "testdata/requestauthn/waypoint-jwt.yaml.tmpl").ApplyOrFail(t)
    
    			t.NewSubTest("deny without token").Run(func(t framework.TestContext) {
    				opt := opt.DeepCopy()
    				opt.HTTP.Path = "/"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  9. .bazelrc

    flow/core/runtime_fallback/test/saved_model,tensorflow/core/runtime_fallback/test/testdata,tensorflow/core/tfrt/stubs,tensorflow/core/tfrt/tfrt_session,tensorflow/core/tfrt/mlrt,tensorflow/core/tfrt/mlrt/attribute,tensorflow/core/tfrt/mlrt/kernel,tensorflow/core/tfrt/mlrt/bytecode,tensorflow/core/tfrt/mlrt/interpreter,tensorflow/compiler/mlir/tfrt/translate/mlrt,tensorflow/compiler/mlir/tfrt/translate/mlrt/testdata,tensorflow/core/tfrt/gpu,tensorflow/core/tfrt/run_handler_thread_pool,tensorflow/...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 17:12:54 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  10. src/testing/testing.go

    //	}
    //
    // A fuzz test maintains a seed corpus, or a set of inputs which are run by
    // default, and can seed input generation. Seed inputs may be registered by
    // calling (*F).Add or by storing files in the directory testdata/fuzz/<Name>
    // (where <Name> is the name of the fuzz test) within the package containing
    // the fuzz test. Seed inputs are optional, but the fuzzing engine may find
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top