- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 122 for fullpath (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
misc/go_android_exec/main.go
return err } if err := adb("push", filepath.Join(goroot, "pkg", "include"), path.Join(deviceGoroot, "pkg", "include")); err != nil { return err } cmd = exec.Command(goTool, "list", "-f", "{{.Target}}", "cmd/compile") cmd.Stderr = os.Stderr out, err = cmd.Output() if err != nil { return fmt.Errorf("%v: %w", cmd, err) } platformToolDir := filepath.Dir(string(bytes.TrimSpace(out)))
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
} } Path filePath = ResourceUtil.getSitePath(path.replaceAll("\\.\\.+", StringUtil.EMPTY).replaceAll("/+", "/").split("/")); if (Files.isDirectory(filePath)) { filePath = filePath.resolve("index.html"); } if (Files.exists(filePath)) { try (InputStream in = Files.newInputStream(filePath); ServletOutputStream out = response.getOutputStream()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:40 GMT 2026 - 13.4K bytes - Click Count (0) -
cmd/data-usage_test.go
} } func createUsageTestFiles(t *testing.T, base, bucket string, files []usageTestFile) { for _, f := range files { err := os.MkdirAll(filepath.Dir(filepath.Join(base, bucket, f.name)), os.ModePerm) if err != nil { t.Fatal(err) } err = os.WriteFile(filepath.Join(base, bucket, f.name), make([]byte, f.size), os.ModePerm) if err != nil { t.Fatal(err) } } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
lib/time/mkzip.go
zw := zip.NewWriter(&zb) seen := make(map[string]bool) err := filepath.WalkDir(".", func(path string, d fs.DirEntry, err error) error { if d.IsDir() { return nil } data, err := os.ReadFile(path) if err != nil { log.Fatal(err) } if strings.HasSuffix(path, ".zip") { log.Fatalf("unexpected file during walk: %s", path) } name := filepath.ToSlash(path) w, err := zw.CreateRaw(&zip.FileHeader{
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Mar 04 17:32:07 GMT 2024 - 2.1K bytes - Click Count (0) -
docs/debugging/reorder-disks/main.go
} return result, nil } func getDiskUUIDMap() (map[string]string, error) { result := make(map[string]string) err := filepath.Walk("/dev/disk/by-uuid/", func(path string, info os.FileInfo, err error) error { if err != nil { return err } realPath, err := filepath.EvalSymlinks(path) if err != nil { return err } result[realPath] = strings.TrimPrefix(path, "/dev/disk/by-uuid/")
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 5.4K bytes - Click Count (0) -
internal/disk/directio_darwin.go
) // ODirectPlatform indicates if the platform supports O_DIRECT const ODirectPlatform = true // OpenFileDirectIO - bypass kernel cache. func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) { return directio.OpenFile(filePath, flag, perm) } // DisableDirectIO - disables directio mode. func DisableDirectIO(f *os.File) error { fd := f.Fd() _, err := unix.FcntlInt(fd, unix.F_NOCACHE, 0)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Jun 17 14:31:36 GMT 2023 - 1.4K bytes - Click Count (0) -
cmd/erasure-healing-common_test.go
// and check if that disk // appears in outDatedDisks. tamperedIndex = index filePath := pathJoin(erasureDisks[index].String(), bucket, object, fi.DataDir, "part.1") f, err := os.OpenFile(filePath, os.O_WRONLY|os.O_SYNC, 0) if err != nil { t.Fatalf("Failed to open %s: %s\n", filePath, err) } f.WriteString("oops") // Will cause bitrot error f.Close() break }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 22.4K bytes - Click Count (0) -
internal/disk/directio_unix.go
) // ODirectPlatform indicates if the platform supports O_DIRECT const ODirectPlatform = true // OpenFileDirectIO - bypass kernel cache. func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) { return directio.OpenFile(filePath, flag, perm) } // DisableDirectIO - disables directio mode. func DisableDirectIO(f *os.File) error { fd := f.Fd() flag, err := unix.FcntlInt(fd, unix.F_GETFL, 0)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Jun 17 14:31:36 GMT 2023 - 1.6K bytes - Click Count (0) -
src/bufio/net_test.go
import ( "bufio" "io" "net" "path/filepath" "strings" "sync" "testing" ) // TestCopyUnixpacket tests that we can use bufio when copying // across a unixpacket socket. This used to fail due to an unnecessary // empty Write call that was interpreted as an EOF. func TestCopyUnixpacket(t *testing.T) { tmpDir := t.TempDir() socket := filepath.Join(tmpDir, "unixsock") // Start a unixpacket server.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 07 19:37:07 GMT 2025 - 1.9K bytes - Click Count (0) -
internal/s3select/simdj/reader_amd64_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package simdj import ( "bytes" "io" "os" "path/filepath" "testing" "github.com/klauspost/compress/zstd" "github.com/minio/minio/internal/s3select/json" "github.com/minio/minio/internal/s3select/sql" "github.com/minio/simdjson-go" ) type tester interface {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.9K bytes - Click Count (0)