- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for idir (0.23 sec)
-
src/archive/zip/reader.go
name: dir, file: nil, isDir: true, } r.fileList = append(r.fileList, entry) } } } sort.Slice(r.fileList, func(i, j int) bool { return fileEntryLess(r.fileList[i].name, r.fileList[j].name) }) }) } func fileEntryLess(x, y string) bool { xdir, xelem, _ := split(x) ydir, yelem, _ := split(y) return xdir < ydir || xdir == ydir && xelem < yelem }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 27.7K bytes - Viewed (0) -
src/cmd/api/api_test.go
t.Skip("skipping with -check set") } testenv.MustHaveGoBuild(t) context := new(build.Context) *context = build.Default context.Dir = filepath.Join(testenv.GOROOT(t), "src") w := NewWalker(context, context.Dir) for _, pkg := range w.stdPackages { if strings.HasPrefix(pkg, "vendor/") || strings.HasPrefix(pkg, "golang.org/x/") { t.Fatalf("stdPackages contains unexpected package %s", pkg)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 04 17:31:12 GMT 2024 - 7.1K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/swig_test.go
t.Run("lto", func(t *testing.T) { run(t, "testdata/callback", true, "Callback") }) } func run(t *testing.T, dir string, lto bool, args ...string) { runArgs := append([]string{"run", "."}, args...) cmd := exec.Command("go", runArgs...) cmd.Dir = dir if lto { const cflags = "-flto -Wno-lto-type-mismatch -Wno-unknown-warning-option" cmd.Env = append(cmd.Environ(), "CGO_CFLAGS="+cflags,
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 3.7K bytes - Viewed (0) -
src/archive/zip/fuzz_test.go
"testing" ) func FuzzReader(f *testing.F) { testdata, err := os.ReadDir("testdata") if err != nil { f.Fatalf("failed to read testdata directory: %s", err) } for _, de := range testdata { if de.IsDir() { continue } b, err := os.ReadFile(filepath.Join("testdata", de.Name())) if err != nil { f.Fatalf("failed to read testdata: %s", err) } f.Add(b) } f.Fuzz(func(t *testing.T, b []byte) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 13 18:06:33 GMT 2022 - 1.7K bytes - Viewed (0) -
src/archive/zip/reader_test.go
func TestFSWalk(t *testing.T) { for _, test := range []struct { file string want []string wantErr bool }{ { file: "testdata/unix.zip", want: []string{".", "dir", "dir/bar", "dir/empty", "hello", "readonly"}, }, { file: "testdata/subdir.zip", want: []string{".", "a", "a/b", "a/b/c"}, }, { file: "testdata/dupdir.zip", wantErr: true, },
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) -
api/go1.13.txt
pkg syscall (netbsd-arm64-cgo), const DLT_C_HDLC = 104 pkg syscall (netbsd-arm64-cgo), const DLT_C_HDLC ideal-int pkg syscall (netbsd-arm64-cgo), const DLT_C_HDLC_WITH_DIR = 205 pkg syscall (netbsd-arm64-cgo), const DLT_C_HDLC_WITH_DIR ideal-int pkg syscall (netbsd-arm64-cgo), const DLT_CISCO_IOS = 118 pkg syscall (netbsd-arm64-cgo), const DLT_CISCO_IOS ideal-int pkg syscall (netbsd-arm64-cgo), const DLT_DECT = 221
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Aug 08 18:44:16 GMT 2019 - 452.6K bytes - Viewed (0) -
api/go1.5.txt
pkg go/types, method (*Builtin) Pkg() *Package pkg go/types, method (*Builtin) Pos() token.Pos pkg go/types, method (*Builtin) String() string pkg go/types, method (*Builtin) Type() Type pkg go/types, method (*Chan) Dir() ChanDir pkg go/types, method (*Chan) Elem() Type pkg go/types, method (*Chan) String() string pkg go/types, method (*Chan) Underlying() Type pkg go/types, method (*Checker) Files([]*ast.File) error
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Viewed (0) -
src/archive/tar/testdata/file-and-dir.tar
Caio Marcelo de Oliveira Filho <******@****.***> 1514852203 -0800
TAR Archive - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Feb 13 18:36:49 GMT 2018 - 2.5K bytes - Viewed (0) -
src/archive/zip/struct.go
func (fi headerFileInfo) Size() int64 { if fi.fh.UncompressedSize64 > 0 { return int64(fi.fh.UncompressedSize64) } return int64(fi.fh.UncompressedSize) } func (fi headerFileInfo) IsDir() bool { return fi.Mode().IsDir() } func (fi headerFileInfo) ModTime() time.Time { if fi.fh.Modified.IsZero() { return fi.fh.ModTime() } return fi.fh.Modified.UTC() }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 12.1K bytes - Viewed (0) -
misc/wasm/go_wasip1_wasm_exec
# Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. case "$GOWASIRUNTIME" in "wasmedge") exec wasmedge --dir=/ --env PWD="$PWD" --env PATH="$PATH" ${GOWASIRUNTIMEARGS:-} "$1" "${@:2}" ;; "wasmer") exec wasmer run --dir=/ --env PWD="$PWD" --env PATH="$PATH" ${GOWASIRUNTIMEARGS:-} "$1" -- "${@:2}" ;; "wazero")
Shell Script - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 17:09:10 GMT 2024 - 797 bytes - Viewed (0)