- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 6,336 for _file (0.03 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt
* * **Warning:** callers to this method must immediately call [newSource] to create a source and * close that when they're done. Otherwise a handle to [file] will be leaked. */ @Throws(IOException::class) fun read(file: File): Relay { val randomAccessFile = RandomAccessFile(file, "rw") val fileOperator = FileOperator(randomAccessFile.channel) // Read the header.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 17:15:47 UTC 2025 - 11.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
private OptionalEntity<File> getTargetFile(final String fileName) { final File baseDir = new File(getServletContext().getRealPath("/")); final File targetFile = new File(getServletContext().getRealPath(fileName)); final List<File> fileList = getAccessibleFileList(baseDir); for (final File file : fileList) { if (targetFile.equals(file)) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.3K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java
* Creates a new source backed by the specified file. * * @param file The file, must not be {@code null}. * @deprecated Use {@link #FileSource(Path)} instead. */ @Deprecated public FileSource(File file) { this(Objects.requireNonNull(file, "file cannot be null").toPath()); } /** * Creates a new source backed by the specified file. *
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 18:51:29 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/WriterUtil.java
} /** * Creates a {@link Writer} to output to a file with the default encoding. * * @param file the file (must not be {@literal null}) * @return a {@link Writer} to output to the file */ public static Writer create(final File file) { assertArgumentNotNull("file", file); try { return new FileWriter(file); } catch (final IOException e) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/FileNotifyInformation.java
/** * File has been modified */ int FILE_ACTION_MODIFIED = 0x00000003; /** * File has been renamed (old name) */ int FILE_ACTION_RENAMED_OLD_NAME = 0x00000004; /** * File has been renamed (new name) */ int FILE_ACTION_RENAMED_NEW_NAME = 0x00000005; /** * File stream has been added */ int FILE_ACTION_ADDED_STREAM = 0x00000006;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt
} override fun appendingSink( file: Path, mustExist: Boolean, ): Sink = FaultySink(super.appendingSink(file, mustExist), file) override fun sink( file: Path, mustCreate: Boolean, ): Sink = FaultySink(super.sink(file, mustCreate), file) inner class FaultySink( sink: Sink, private val file: Path, ) : ForwardingSink(sink) { override fun write(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (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) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
*/ public SmbFileInputStream(final SmbFile file) throws SmbException, MalformedURLException, UnknownHostException { this(file, SmbFile.O_RDONLY); } SmbFileInputStream(final SmbFile file, final int openFlags) throws SmbException, MalformedURLException, UnknownHostException { this.file = file; this.openFlags = openFlags & 0xFFFF; this.access = openFlags >>> 16 & 0xFFFF;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (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();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
public void testCompleteReconnectSuccess() { HandleGuid guid = manager.requestDurableHandle("/test/file.txt", HandleType.DURABLE_V2, 120000, null); HandleInfo info = manager.getHandleForReconnect("/test/file.txt"); assertTrue(info.isReconnecting()); manager.completeReconnect("/test/file.txt", true); info = manager.getHandleByGuid(guid); assertNotNull(info);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 6.6K bytes - Viewed (0)