Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for sharing (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

         * @param shareAccess the share access flags for file sharing
         * @throws SmbException if an SMB error occurs
         * @throws MalformedURLException if the URL is malformed
         * @throws UnknownHostException if the host cannot be resolved
         */
        public SmbRandomAccessFile(final String url, final String mode, final int shareAccess)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. docs/smb3-features/01-smb3-lease-design.md

        // Lease configuration properties
        public static final String USE_LEASES = "jcifs.smb.client.useLeases";
        public static final String LEASE_TIMEOUT = "jcifs.smb.client.leaseTimeout";
        public static final String MAX_LEASES = "jcifs.smb.client.maxLeases";
        public static final String LEASE_VERSION = "jcifs.smb.client.leaseVersion";
        
        public boolean isUseLeases() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

        return UnknownLengthSource(url)
      }
    
      /**
       * Sets the delegate of `timeout` to [Timeout.NONE] and resets its underlying timeout
       * to the default configuration. Use this to avoid unexpected sharing of timeouts between pooled
       * connections.
       */
      private fun detachTimeout(timeout: ForwardingTimeout) {
        val oldDelegate = timeout.delegate
        timeout.setDelegate(Timeout.NONE)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

         * the smb URL syntax.
         *
         * @param url An smb URL string representing the file to write to
         * @throws SmbException if an SMB error occurs
         * @throws MalformedURLException if the URL is not properly formatted
         * @throws UnknownHostException if the host cannot be resolved
         */
    
        public SmbFileOutputStream(final String url) throws SmbException, MalformedURLException, UnknownHostException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top