Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 127 for unshared (0.25 sec)

  1. src/main/java/jcifs/SmbTransportPool.java

         *
         * @param tf the CIFS context to use
         * @param name the server name or address
         * @param port the port number
         * @param exclusive whether to acquire an unshared connection
         * @param forceSigning whether to enforce SMB signing
         * @return a connected transport
         * @throws UnknownHostException if the host cannot be resolved
         * @throws IOException if an I/O error occurs
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            }
    
            @Test
            @DisplayName("Second constructor sets unshared based on flags")
            void secondCtorUnsharedFlagPath() throws Exception {
                // Arrange: include UNSHARED flag to exercise that branch
                int flags = SmbPipeResource.PIPE_TYPE_RDWR | SmbPipeResource.PIPE_TYPE_UNSHARED;
    
                // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

         * @param tc the CIFS context for connection configuration
         * @param unshared whether to use an exclusive connection
         * @throws DcerpcException if DCERPC initialization fails
         * @throws MalformedURLException if the URL is malformed
         */
        public DcerpcPipeHandle(final String url, final CIFSContext tc, final boolean unshared) throws DcerpcException, MalformedURLException {
            super(tc, DcerpcHandle.parseBinding(url));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbNamedPipe.java

         * @param pipeType the type of the pipe
         * @param unshared
         *            whether to use an exclusive connection for this pipe
         * @param tc the CIFS context to use
         * @throws MalformedURLException if the URL is not properly formatted
         */
    
        public SmbNamedPipe(final String url, final int pipeType, final boolean unshared, final CIFSContext tc) throws MalformedURLException {
            super(url, tc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         */
        public static DcerpcHandle getHandle(final String url, final CIFSContext tc, final boolean unshared)
                throws MalformedURLException, DcerpcException {
            if (url.startsWith("ncacn_np:")) {
                return new DcerpcPipeHandle(url, tc, unshared);
            }
            throw new DcerpcException("DCERPC transport not supported: " + url);
        }
    
        /**
         * Bind the handle
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            when(fh.getFileId()).thenReturn(new byte[16]);
            when(fh.getFid()).thenReturn(1);
    
            // build via package-private constructor to control unshared flag
            return new SmbRandomAccessFile(file, mode, SmbConstants.DEFAULT_SHARING, unshared);
        }
    
        @Test
        @DisplayName("Constructor: invalid mode throws IllegalArgumentException")
        void constructor_invalidMode_throws() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. 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()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                verify(mockHandle, times(1)).close();
                verify(mockHandle, atLeastOnce()).acquire();
            }
    
            @Test
            @DisplayName("close() closes handle; does not close file when not unshared")
            void closeClosesHandle() throws Exception {
                SmbFileInputStream in = newStream();
                in.close();
                verify(mockHandle, times(1)).close();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_4x.md

        shares connections when hosts share both IP addresses and certificates, such as `squareup.com`
        and `www.squareup.com`. If a server refuses such sharing it will return HTTP 421 and OkHttp will
        automatically retry on an unshared connection.
     *  Fix: Don't crash if a TLS tunnel's response body is truncated.
     *  Fix: Don't track unusable routes beyond their usefulness. We had a bug where we could track
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                            .withCopyFileToContainer(MountableFile.forHostPath(tempDir.resolve("shared")), "/share/shared")
                            .withCommand("-u", USERNAME + ";" + PASSWORD, "-s", "public;/share/public;yes;no;yes;all;;all;all", "-s",
                                    "shared;/share/shared;no;no;no;all;" + USERNAME + ";all;all", "-g", "log level = 1", "-g",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
Back to top