- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for pathOf (9.44 sec)
-
src/archive/zip/reader_test.go
return } } else { path := filepath.Join("testdata", zt.Name) if zt.Obscured { tf, err := obscuretestdata.DecodeToTempFile(path) if err != nil { t.Errorf("obscuretestdata.DecodeToTempFile(%s): %v", path, err) return } defer os.Remove(tf) path = tf } var rc *ReadCloser rc, err = OpenReader(path) if err == nil { defer rc.Close()
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) -
misc/wasm/wasm_exec.js
rename(from, to, callback) { callback(enosys()); }, rmdir(path, callback) { callback(enosys()); }, stat(path, callback) { callback(enosys()); }, symlink(path, link, callback) { callback(enosys()); }, truncate(path, length, callback) { callback(enosys()); }, unlink(path, callback) { callback(enosys()); }, utimes(path, atime, mtime, callback) { callback(enosys()); }, }; }
JavaScript - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon May 22 17:47:47 GMT 2023 - 16.3K bytes - Viewed (1) -
src/archive/tar/strconv_test.go
wantRes string wantKey string wantVal string ok bool }{ {"6 k=v\n\n", "\n", "k", "v", true}, {"19 path=/etc/hosts\n", "", "path", "/etc/hosts", true}, {"210 path=" + longName + "\nabc", "abc", "path", longName, true}, {"110 path=" + medName + "\n", "", "path", medName, true}, {"9 foo=ba\n", "", "foo", "ba", true}, {"11 foo=bar\n\x00", "\x00", "foo", "bar", true},
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Feb 09 05:28:50 GMT 2021 - 14K bytes - Viewed (0) -
src/cmd/cgo/ast.go
if !ok || s.Path.Value != `"C"` { continue } sawC = true if s.Name != nil { error_(s.Path.Pos(), `cannot rename import "C"`) } cg := s.Doc if cg == nil && len(decl.Specs) == 1 { cg = decl.Doc } if cg != nil { if strings.ContainsAny(abspath, "\r\n") { // This should have been checked when the file path was first resolved,
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jun 07 16:54:27 GMT 2023 - 14.3K bytes - Viewed (0) -
src/archive/tar/testdata/gnu-multi-hdrs.tar
GNU1/GNU1/long-path-name...
TAR Archive - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Dec 02 02:27:27 GMT 2015 - 4.5K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/swig_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package swig import ( "cmd/internal/quoted" "internal/testenv" "os" "os/exec" "path/filepath" "regexp" "strconv" "strings" "sync" "testing" ) func TestStdio(t *testing.T) { testenv.MustHaveCGO(t) mustHaveSwig(t) run(t, "testdata/stdio", false) }
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
// Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package zip import ( "bytes" "io" "os" "path/filepath" "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 {
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/cmd/cgo/doc.go
Example: //go:cgo_import_dynamic _ _ "libc.so.6" For compatibility with current versions of SWIG, #pragma dynimport is an alias for //go:cgo_import_dynamic. //go:cgo_dynamic_linker "<path>" In internal linking mode, use "<path>" as the dynamic linker in the final binary. This directive is only needed from one package when constructing a binary; by convention it is supplied by runtime/cgo. Example:
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
src/cmd/api/api_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "flag" "fmt" "go/build" "internal/testenv" "os" "path/filepath" "sort" "strings" "sync" "testing" ) var flagCheck = flag.Bool("check", false, "run API checks") func TestMain(m *testing.M) { flag.Parse() for _, c := range contexts {
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/test/callback.go
} fname := f.Name() // Remove the prepended pathname from automatically // generated cgo function names. if strings.HasPrefix(fname, "_") { fname = path.Base(f.Name()[1:]) } // In module mode, this package has a fully-qualified import path. // Remove it if present. fname = strings.TrimPrefix(fname, "cmd/cgo/internal/") namei := "" if i < len(name) { namei = name[i] }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 111.5K bytes - Viewed (0)