Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for testdata (0.25 sec)

  1. cmd/metacache-stream_test.go

    "src/compress/bzip2/move_to_front.go", "src/compress/bzip2/testdata/", "src/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2", "src/compress/bzip2/testdata/e.txt.bz2", "src/compress/bzip2/testdata/fail-issue5747.bz2", "src/compress/bzip2/testdata/pass-random1.bin", "src/compress/bzip2/testdata/pass-random1.bz2", "src/compress/bzip2/testdata/pass-random2.bin", "src/compress/bzip2/testdata/pass-random2.bz2", "src/compress/bzip2/testdata/pass-sawtooth.bz2", "src/compress/bzip2/testdata/random.data.bz2",...
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 15K bytes
    - Viewed (0)
  2. istioctl/pkg/workload/workload_test.go

    // TestWorkloadEntryConfigure enumerates test cases based on subdirectories of testdata/vmconfig.
    // Each subdirectory contains two input files: workloadgroup.yaml and meshconfig.yaml that are used
    // to generate golden outputs from the VM command.
    func TestWorkloadEntryConfigure(t *testing.T) {
    	noClusterID := "failed to automatically determine the --clusterID"
    	files, err := os.ReadDir("testdata/vmconfig")
    	if err != nil {
    		t.Fatal(err)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  3. cni/pkg/install/cniconfig_test.go

    			newConfFilename:      "istio-cni.conf",
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			istioConf := testutils.ReadFile(t, filepath.Join("testdata", c.newConfFilename))
    			existingConfFilepath := filepath.Join("testdata", c.existingConfFilename)
    			existingConf := testutils.ReadFile(t, existingConfFilepath)
    
    			output, err := insertCNIConfig(istioConf, existingConf)
    			if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  4. cni/test/install_cni.go

    	"istio.io/istio/cni/pkg/util"
    	"istio.io/istio/pkg/file"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/test/env"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    const (
    	cniConfSubDir    = "/testdata/pre/"
    	k8sSvcAcctSubDir = "/testdata/k8s_svcacct/"
    
    	defaultFileMode = 0o644
    
    	cniConfName          = "CNI_CONF_NAME"
    	chainedCNIPluginName = "CHAINED_CNI_PLUGIN"
    	cniNetworkConfigName = "CNI_NETWORK_CONFIG"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/endtoend_test.go

    var fileLineRE = regexp.MustCompile(`(?:^|\()(testdata[/\\][\da-z]+\.s:\d+)(?:$|\)|:)`)
    
    // Same as in test/run.go
    var (
    	errRE       = regexp.MustCompile(`// ERROR ?(.*)`)
    	errQuotesRE = regexp.MustCompile(`"([^"]*)"`)
    )
    
    func testErrors(t *testing.T, goarch, file string, flags ...string) {
    	input := filepath.Join("testdata", file+".s")
    	architecture, ctxt := setArch(goarch)
    	architecture.Init(ctxt)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  6. istioctl/pkg/checkinject/checkinject_test.go

    					Revision: "default",
    					Reason:   "The injection webhook is deactivated, and will never match labels.",
    				},
    			},
    		},
    	}
    	whFiles := []string{
    		"testdata/check-inject/default-injector.yaml",
    		"testdata/check-inject/rev-16-injector.yaml",
    		"testdata/check-inject/never-match-injector.yaml",
    	}
    	var whs []admitv1.MutatingWebhookConfiguration
    	for _, whName := range whFiles {
    		file, err := os.ReadFile(whName)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  7. src/archive/tar/reader_test.go

    		// of NUL-terminated C-strings.
    		file: "testdata/pax-nul-path.tar",
    		err:  ErrHeader,
    	}, {
    		file: "testdata/neg-size.tar",
    		err:  ErrHeader,
    	}, {
    		file: "testdata/issue10968.tar",
    		err:  ErrHeader,
    	}, {
    		file: "testdata/issue11169.tar",
    		err:  ErrHeader,
    	}, {
    		file: "testdata/issue12435.tar",
    		err:  ErrHeader,
    	}, {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  8. cmd/storage-rest_test.go

    		{"foo", "newline\n", testData, false, true},
    		{"foo", "newline\t", testData, false, true},
    		{"foo", "newline \n", testData, false, true},
    		{"foo", "newline$$$\n", testData, false, true},
    		{"foo", "newline%%%\n", testData, false, true},
    		{"foo", "newline \t % $ & * ^ # @ \n", testData, false, true},
    		{"foo", "\n\tnewline \t % $ & * ^ # @ \n", testData, false, true},
    	}
    
    	for i, testCase := range testCases {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  9. src/archive/tar/writer_test.go

    				},
    			}, {
    				file: "testdata/pax-nil-sparse-data.tar",
    				tests: []testFnc{
    					testHeader{Header{
    						Typeflag:    TypeReg,
    						Name:        "sparse.db",
    						Size:        1000,
    						SparseHoles: []sparseEntry{{Offset: 1000, Length: 0}},
    					}, nil},
    					testWrite{strings.Repeat("0123456789", 100), 1000, nil},
    					testClose{},
    				},
    			}, {
    				file: "testdata/pax-nil-sparse-hole.tar",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  10. internal/s3select/csv/reader_contrib_test.go

    		}
    	}
    }
    
    type tester interface {
    	Fatal(...interface{})
    }
    
    func openTestFile(t tester, file string) []byte {
    	f, err := os.ReadFile("testdata/testdata.zip")
    	if err != nil {
    		t.Fatal(err)
    	}
    	z, err := zip.NewReader(bytes.NewReader(f), int64(len(f)))
    	if err != nil {
    		t.Fatal(err)
    	}
    	for _, f := range z.File {
    		if f.Name == file {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 38.5K bytes
    - Viewed (0)
Back to top