- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 93 for sharing (0.04 sec)
-
src/main/java/jcifs/smb/SmbRandomAccessFile.java
* @throws MalformedURLException if the URL is malformed */ @SuppressWarnings("resource") public SmbRandomAccessFile(final String url, final String mode, final int sharing, final CIFSContext tc) throws SmbException, MalformedURLException { this(new SmbFile(url, tc), mode, sharing, true); } /** * Instantiate a random access file from a {@link SmbFile} *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
} SmbFileOutputStream(final SmbFile file, final boolean append, final int openFlags, final int access, final int sharing) throws SmbException { this.file = file; this.append = append; this.openFlags = openFlags; this.sharing = sharing; this.access = access | SmbConstants.FILE_WRITE_DATA; try (SmbTreeHandleImpl th = file.ensureTreeConnected()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
docs/en/docs/tutorial/cors.md
# CORS (Cross-Origin Resource Sharing) { #cors-cross-origin-resource-sharing } <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS" class="external-link" target="_blank">CORS or "Cross-Origin Resource Sharing"</a> refers to the situations when a frontend running in a browser has JavaScript code that communicates with a backend, and the backend is in a different "origin" than the frontend. ## Origin { #origin }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
} SmbFileInputStream(final SmbFile file, final int openFlags, final int access, final int sharing, final boolean unshared) throws SmbException { this.file = file; this.unsharedFile = unshared; this.openFlags = openFlags; this.access = access; this.sharing = sharing; try (SmbTreeHandleInternal th = file.ensureTreeConnected()) { this.smb2 = th.isSMB2();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
this.handle = this.pipe.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0); } else { // at least on samba, SmbComOpenAndX fails without the pipe prefix this.handle = this.pipe.openUnshared("\\pipe" + getUncPath(), this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
SmbException exception = new SmbException((String) null); assertNotNull(exception); }); } @Test @DisplayName("Should convert to string properly") void testToString() { // Given String message = "Test error message"; SmbException exception = new SmbException(message); // When String stringRep = exception.toString();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* access mode (r|rw) * @param sharing * flags indicating for which operations others may concurrently open the file * @return random access file, needs to be closed when finished * @throws CIFSException if an error occurs accessing the resource * */ SmbRandomAccess openRandomAccess(String mode, int sharing) throws CIFSException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
docs/en/docs/tutorial/middleware.md
But if you have custom headers that you want a client in a browser to be able to see, you need to add them to your CORS configurations ([CORS (Cross-Origin Resource Sharing)](cors.md){.internal-link target=_blank}) using the parameter `expose_headers` documented in <a href="https://www.starlette.io/middleware/#corsmiddleware" class="external-link" target="_blank">Starlette's CORS docs</a>. ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
@DisplayName("getName should return resource name") void testGetName() throws CIFSException { // Given String expectedName = "test.txt"; when(mockResource.getName()).thenReturn(expectedName); // When String name = mockResource.getName(); // Then assertEquals(expectedName, name, "Should return correct name"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
} @Override public SmbRandomAccessFile openRandomAccess(final String mode) throws SmbException { return new SmbRandomAccessFile(this, mode); } @Override public SmbRandomAccessFile openRandomAccess(final String mode, final int sharing) throws SmbException { return new SmbRandomAccessFile(this, mode, sharing, false); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0)