Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for txt (0.17 sec)

  1. src/archive/tar/writer_test.go

    	}{{
    		// The writer test file was produced with this command:
    		// tar (GNU tar) 1.26
    		//   ln -s small.txt link.txt
    		//   tar -b 1 --format=ustar -c -f writer.tar small.txt small2.txt link.txt
    		file: "testdata/writer.tar",
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     "small.txt",
    				Size:     5,
    				Mode:     0640,
    				Uid:      73025,
    				Gid:      5000,
    				Uname:    "dsymonds",
    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)
  2. cmd/api-response_test.go

    			object:           "test/1.txt",
    			expectedLocation: "http://s3.mybucket.org/mybucket/test/1.txt",
    		},
    		// Server binding to fqdn.
    		{
    			request: &http.Request{
    				Host:   "mys3.mybucket.org",
    				Header: map[string][]string{},
    			},
    			bucket:           "mybucket",
    			object:           "test/1.txt",
    			expectedLocation: "http://mys3.mybucket.org/mybucket/test/1.txt",
    		},
    		// Server with virtual domain name.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  3. internal/lock/lock_windows_test.go

    		{`long.txt`, `long.txt`},
    		{`C:long.txt`, `C:long.txt`},
    		{`c:\long\..\bar\baz`, `c:\long\..\bar\baz`},
    		{`\\?\c:\long\foo.txt`, `\\?\c:\long\foo.txt`},
    		{`\\?\c:\long/foo.txt`, `\\?\c:\long/foo.txt`},
    	} {
    		in := strings.ReplaceAll(test.in, "long", veryLong)
    		want := strings.ReplaceAll(test.want, "long", veryLong)
    		if got := fixLongPath(in); got != want {
    			got = strings.ReplaceAll(got, veryLong, "long")
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    			callPrime:        true,
    			wantOutputSecret: "testdata/secretsummary.txt",
    		},
    		{
    			name:    "errors if config dump is not primed",
    			wantErr: true,
    		},
    		{
    			name:               "returns expected workload summary onto Stdout",
    			callPrime:          true,
    			wantOutputWorkload: "testdata/workloadsummary.txt",
    		},
    		{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Feb 02 18:21:48 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/archive/tar/tar_test.go

    		},
    		fm: 0600 | fs.ModeSticky,
    	}, {
    		// hard link.
    		h: &Header{
    			Name:     "hard.txt",
    			Mode:     0644,
    			Size:     0,
    			Linkname: "file.txt",
    			ModTime:  time.Unix(1360600916, 0),
    			Typeflag: TypeLink,
    		},
    		fm: 0644,
    	}, {
    		// More information.
    		h: &Header{
    			Name:     "info.txt",
    			Mode:     0600,
    			Size:     0,
    			Uid:      1000,
    			Gid:      1000,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  6. internal/config/compress/compress_test.go

    	}{
    		// invalid input
    		{",,,", []string{}, false},
    		{"", []string{}, false},
    		{",", []string{}, false},
    		{"/", []string{}, false},
    		{"text/*,/", []string{}, false},
    
    		// valid input
    		{".txt,.log", []string{".txt", ".log"}, true},
    		{"text/*,application/json", []string{"text/*", "application/json"}, true},
    	}
    
    	for _, testCase := range testCases {
    		testCase := testCase
    		t.Run(testCase.str, func(t *testing.T) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  7. src/cmd/api/main_test.go

    	// final release step of cat next/*.txt >go1.X.txt.
    	// If the files don't end in full lines, the concatenation goes awry.
    	if strings.Contains(s, "\r") {
    		log.Printf("%s: contains CRLFs", filename)
    		exitCode = 1
    	}
    	if filepath.Base(filename) == "go1.4.txt" {
    		// No use for blank lines in api files, except go1.4.txt
    		// used them in a reasonable way and we should let it be.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  8. cni/pkg/plugin/plugin_dryrun_test.go

    		},
    		{
    			name: "tproxy",
    			annotations: map[string]string{
    				annotation.SidecarStatus.Name:           "true",
    				annotation.SidecarInterceptionMode.Name: redirectModeTPROXY,
    			},
    			proxyEnv: []corev1.EnvVar{},
    			golden:   filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/tproxy.txt.golden"),
    		},
    		{
    			name:        "DNS",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  9. cmd/xl-storage_unix_test.go

    	if err = disk.AppendFile(context.Background(), testCase.volName, pathJoin("hello-world.txt", xlStorageFormatFile), []byte("Hello World")); err != nil {
    		t.Fatalf("Create a file `test` failed with %s expected to pass.", err)
    	}
    
    	// CheckFile - stat the file.
    	if _, err := disk.StatInfoFile(context.Background(), testCase.volName, "hello-world.txt/"+xlStorageFormatFile, false); err != nil {
    		t.Fatalf("Stat failed with %s expected to pass.", err)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jul 25 19:37:26 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  10. src/archive/zip/reader_test.go

    		t.Errorf("Opening %q with fs.FS API succeeded", "")
    	}
    	if _, err := r.Open("test.txt"); err != nil {
    		t.Errorf("Error opening %q with fs.FS API: %v", "test.txt", err)
    	}
    	dirEntries, err := fs.ReadDir(r, ".")
    	if err != nil {
    		t.Fatalf("Error reading the root directory: %v", err)
    	}
    	if len(dirEntries) != 1 || dirEntries[0].Name() != "test.txt" {
    		t.Errorf("Unexpected directory entries")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
Back to top