- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 134 for FilePath (0.15 seconds)
-
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 Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 5.4K 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: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 12.9K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java
throw new CrawlerSystemException("GCS URI is empty. Please provide a valid GCS URI (gcs://...)."); } String filePath = uri; if (!filePath.startsWith("gcs:")) { filePath = "gcs://" + filePath; } return filePath; } /** * Returns the character set used for content encoding. * @return the charset */
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Dec 11 08:38:29 GMT 2025 - 17.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java
try (Stream<Path> stream = Files.list(logDirPath)) { stream.filter(entry -> isLogFilename(entry.getFileName().toString())).sorted().forEach(filePath -> { final Map<String, Object> map = new HashMap<>(); final String name = filePath.getFileName().toString(); map.put("id", Base64.getUrlEncoder().encodeToString(name.getBytes(StandardCharsets.UTF_8)));
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.5K 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 Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Mar 04 17:32:07 GMT 2024 - 2.1K 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 Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K 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 Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Feb 07 19:37:07 GMT 2025 - 1.9K bytes - Click Count (0) -
ci/devinfra/docker/windows/Dockerfile
'https://repo.msys2.org/distrib/x86_64/msys2-base-x86_64-20240113.tar.xz', \ 'msys2.tar.xz'); \ Start-Process -FilePath \"C:\Program Files\7-Zip\7z.exe\" -ArgumentList 'x msys2.tar.xz -oC:\TEMP\msys2.tar' -Wait; \ Start-Process -FilePath \"C:\Program Files\7-Zip\7z.exe\" -ArgumentList 'x C:\TEMP\msys2.tar -oC:\tools' -Wait; \
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Fri Jan 17 16:35:57 GMT 2025 - 8.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 Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 22.4K 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 Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.9K bytes - Click Count (0)