Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for Stat (0.16 sec)

  1. src/cmd/cgo/internal/test/issue1435.go

    		// Since this test does need root to work, we need to skip it.
    		t.Skip("skipping root only test on a non-root builder")
    	}
    	if runtime.GOOS == "linux" {
    		if _, err := os.Stat("/etc/alpine-release"); err == nil {
    			t.Skip("skipping failing test on alpine - go.dev/issue/19938")
    		}
    	}
    
    	// Launch some threads in C.
    	const cts = 5
    	C.trial(cts)
    	defer C.cleanup()
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  2. api/go1.20.txt

    pkg syscall (freebsd-riscv64), type Stat_t struct, Flags uint32 #53466
    pkg syscall (freebsd-riscv64), type Stat_t struct, Gen uint64 #53466
    pkg syscall (freebsd-riscv64), type Stat_t struct, Gid uint32 #53466
    pkg syscall (freebsd-riscv64), type Stat_t struct, Ino uint64 #53466
    pkg syscall (freebsd-riscv64), type Stat_t struct, Mode uint16 #53466
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  3. src/archive/tar/writer_test.go

    				}
    			}
    		})
    	}
    }
    
    func TestPax(t *testing.T) {
    	// Create an archive with a large name
    	fileinfo, err := os.Stat("testdata/small.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    	hdr, err := FileInfoHeader(fileinfo, "")
    	if err != nil {
    		t.Fatalf("os.Stat: %v", err)
    	}
    	// Force a PAX long name to be written
    	longName := strings.Repeat("ab", 100)
    	contents := strings.Repeat(" ", int(hdr.Size))
    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)
  4. doc/next/6-stdlib/99-minor/os/33357.md

    The [Stat] function now sets the [ModeSocket] bit for
    files that are Unix sockets on Windows. These files are identified
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 178 bytes
    - Viewed (0)
  5. doc/next/6-stdlib/99-minor/os/61893.md

    On Windows, the mode bits reported by [Lstat] and [Stat] for
    reparse points changed. Mount points no longer have [ModeSymlink] set,
    and reparse points that are not symlinks, Unix sockets, or dedup files
    now always have [ModeIrregular] set.
    This behavior is controlled by the `winsymlink` setting.
    For Go 1.23, it defaults to `winsymlink=1`.
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 386 bytes
    - Viewed (0)
  6. src/archive/zip/reader_test.go

    			"a",
    			time.Date(2021, 4, 19, 12, 29, 56, 0, timeZone(-7*time.Hour)).UTC(),
    		},
    		{
    			"a/b/c",
    			time.Date(2021, 4, 19, 12, 29, 59, 0, timeZone(-7*time.Hour)).UTC(),
    		},
    	} {
    		fi, err := fs.Stat(z, test.name)
    		if err != nil {
    			t.Errorf("%s: %v", test.name, err)
    			continue
    		}
    		if got := fi.ModTime(); !got.Equal(test.want) {
    			t.Errorf("%s: got modtime %v, want %v", test.name, got, test.want)
    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)
  7. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), type Stat_t struct, Flags uint32
    pkg syscall (freebsd-386-cgo), type Stat_t struct, Gen uint32
    pkg syscall (freebsd-386-cgo), type Stat_t struct, Gid uint32
    pkg syscall (freebsd-386-cgo), type Stat_t struct, Ino uint32
    pkg syscall (freebsd-386-cgo), type Stat_t struct, Lspare int32
    pkg syscall (freebsd-386-cgo), type Stat_t struct, Mode uint16
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
  8. src/archive/tar/tar_test.go

    			t.Errorf("test %d, inverseSparseEntries():\ngot  %v\nwant %v", i, gotInverted, v.wantInverted)
    		}
    	}
    }
    
    func TestFileInfoHeader(t *testing.T) {
    	fi, err := os.Stat("testdata/small.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    	h, err := FileInfoHeader(fi, "")
    	if err != nil {
    		t.Fatalf("FileInfoHeader: %v", err)
    	}
    	if g, e := h.Name, "small.txt"; g != e {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  9. src/cmd/api/main_test.go

    const verbose = false
    
    func goCmd() string {
    	var exeSuffix string
    	if runtime.GOOS == "windows" {
    		exeSuffix = ".exe"
    	}
    	path := filepath.Join(testenv.GOROOT(nil), "bin", "go"+exeSuffix)
    	if _, err := os.Stat(path); err == nil {
    		return path
    	}
    	return "go"
    }
    
    // contexts are the default contexts which are scanned.
    var contexts = []*build.Context{
    	{GOOS: "linux", GOARCH: "386", CgoEnabled: true},
    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)
  10. api/go1.1.txt

    pkg syscall (darwin-386), const SYS_STAT = 188
    pkg syscall (darwin-386), const SYS_STAT64 = 338
    pkg syscall (darwin-386), const SYS_STAT64_EXTENDED = 341
    pkg syscall (darwin-386), const SYS_STATFS = 157
    pkg syscall (darwin-386), const SYS_STATFS64 = 345
    pkg syscall (darwin-386), const SYS_STATV = 217
    pkg syscall (darwin-386), const SYS_STAT_EXTENDED = 279
    pkg syscall (darwin-386), const SYS_SWAPON = 85
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
Back to top