- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 421 for opens (0.45 sec)
-
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
when(smbFile.isFile()).thenReturn(true); when(smbFile.getUncPath()).thenReturn("\\\\server\\share\\file.txt"); when(smbFile.isOpen()).thenReturn(true); // Mock the open method to do nothing doNothing().when(smbFile).open(anyInt(), anyInt(), anyInt(), anyInt()); smbRandomAccessFile = new SmbRandomAccessFile(smbFile, "rw"); } @Test void testConstructor() throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
*/ static final int FILE_SUPERSEDE = 0x0; /* Open the file or fail if it does not exist * aka OPEN_EXISTING */ static final int FILE_OPEN = 0x1; /* Create the file or fail if it does not exist * aka CREATE_NEW */ static final int FILE_CREATE = 0x2; /* Open the file or create it if it does not exist * aka OPEN_ALWAYS */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
when(fileHandle.isValid()).thenReturn(true); when(fileHandle.getTree()).thenReturn(tree); // Initially not open (isStale returns false when handle is null, not true) assertFalse(target.isOpen()); assertFalse(target.isStale()); // After ensureOpen, handle valid -> open SmbFileHandleImpl fh = target.ensureOpen(); assertSame(fileHandle, fh); assertTrue(target.isOpen());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
} /** * Tests whether the output stream is currently open. * * @return whether the stream is open */ public boolean isOpen() { return this.handle != null && this.handle.isValid(); } /** * Ensures that the file handle is open and returns it. * * @return the open file handle * @throws CIFSException if an error occurs opening the file
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
README.md
for the Android flavor. [Snapshot API Javadoc][guava-snapshot-api-docs] as well as [Snapshot API Diffs][guava-snapshot-api-diffs] are also available. Another easy way to get to the Javadoc is to open [guava.dev/api](https://guava.dev/api). You can also jump right to a specific class by appending the class name to guava.dev. For example, [guava.dev/ImmutableList](https://guava.dev/ImmutableList)! ## Learn about Guava
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 05 15:30:14 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrOpenAlias.java
package jcifs.smb1.dcerpc.msrpc; /** * MSRPC implementation for opening an alias handle. * This class provides functionality to open a handle to a SAM alias * (local group) using the SAMR RPC interface. */ public class MsrpcSamrOpenAlias extends samr.SamrOpenAlias { /** * Creates a new request to open an alias handle. * * @param handle the domain handle * @param access the desired access rights
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 5.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Cut.java
} @Override BoundType typeAsUpperBound() { return BoundType.OPEN; } @Override Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain) { switch (boundType) { case CLOSED: return this; case OPEN: C previous = domain.previous(endpoint);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
} /** * Tests whether the output stream is currently open. * * @return true if the stream is open, false otherwise */ public boolean isOpen() { return file.isOpen(); } void ensureOpen() throws IOException { // ensure file is open if (!file.isOpen()) { file.open(openFlags, access | SmbConstants.FILE_WRITE_DATA, SmbFile.ATTR_NORMAL, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
abstract fun contentType(): MediaType? /** * Returns the number of bytes that will be written to sink in a call to [writeTo], * or -1 if that count is unknown. */ @Throws(IOException::class) open fun contentLength(): Long = -1L /** Writes the content of this request to [sink]. */ @Throws(IOException::class) abstract fun writeTo(sink: BufferedSink) /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 04 17:43:43 UTC 2025 - 9K bytes - Viewed (0)