- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 9,781 for file (0.02 seconds)
-
src/main/java/jcifs/smb/SmbEndOfFileException.java
* Exception thrown when reaching the end of an SMB file. * * This exception is thrown during read operations when * attempting to read beyond the end of a file. * * @author mbechler */ public class SmbEndOfFileException extends SmbException { /** * */ private static final long serialVersionUID = 298752101881244000L; /** * Constructs an end-of-file exception. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ReaderUtil.java
/** * Creates a {@link Reader} to read from a file with the default encoding. * * @param file * the file (must not be {@literal null}) * @return a {@link Reader} to read from the file */ public static Reader create(final File file) { assertArgumentNotNull("file", file); try { return new FileReader(file); } catch (final IOException e) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/go/GoActionTest.java
public void test_isFileSystemPath_file_protocol() { assertTrue(goAction.isFileSystemPath("file:///path/to/file.txt")); assertTrue(goAction.isFileSystemPath("file://localhost/path/to/file.txt")); assertTrue(goAction.isFileSystemPath("file:/path/to/file.txt")); assertTrue(goAction.isFileSystemPath("file:C:/Users/test/file.txt")); } @Test public void test_isFileSystemPath_smb_protocol() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 8.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java
public String alignToBaseDirectory(String path, File basedir) { if (basedir == null) { return path; } if (path == null) { return null; } String s = stripBasedirToken(path); File file = new File(s); if (file.isAbsolute()) { // path was already absolute, just normalize file separator and we're done s = file.getPath();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterException.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 1.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/Toolchain.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Feb 12 13:13:28 GMT 2025 - 1.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java
if (file.isDirectory()) { traverseFileSystem(rootDir, file, handler); } else { final int pos = FileUtil.getCanonicalPath(rootDir).length(); final String filePath = FileUtil.getCanonicalPath(file); final String resourcePath = filePath.substring(pos + 1).replace('\\', '/'); final InputStream is = InputStreamUtil.create(file); try {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 9.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonNoKeywordsTask.java
} public void setJsonKeywords(File jsonKeywords) { this.jsonKeywords = jsonKeywords; } public void setReport(File report) { this.report = report; } @OutputFile public File getReport() { return report; } @TaskAction public void validate(InputChanges inputChanges) { final Map<File, Set<String>> errors = new LinkedHashMap<>();Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 7.6K bytes - Click Count (0) -
internal/s3select/csv/reader_contrib_test.go
} } type tester interface { Fatal(...any) } func openTestFile(t tester, file string) []byte { f, err := os.ReadFile("testdata/testdata.zip") if err != nil { t.Fatal(err) } z, err := zip.NewReader(bytes.NewReader(f), int64(len(f))) if err != nil { t.Fatal(err) } for _, f := range z.File { if f.Name == file { rc, err := f.Open() if err != nil { t.Fatal(err) }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 38.4K bytes - Click Count (0) -
tests/test_request_params/test_file/test_required.py
import pytest from fastapi import FastAPI, File, UploadFile from fastapi.testclient import TestClient from .utils import get_body_model_name app = FastAPI() # ===================================================================================== # Without aliases @app.post("/required-bytes", operation_id="required_bytes") async def read_required_bytes(p: Annotated[bytes, File()]): return {"file_size": len(p)}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 21 13:01:31 GMT 2026 - 11.1K bytes - Click Count (0)