Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 203 for sharing (1.67 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/cors/CorsHandler.java

         */
        protected static final String ACCESS_CONTROL_ALLOW_ORIGIN = "Access-Control-Allow-Origin";
    
        /**
         * CORS header for specifying allowed headers.
         */
        protected static final String ACCESS_CONTROL_ALLOW_HEADERS = "Access-Control-Allow-Headers";
    
        /**
         * CORS header for specifying allowed HTTP methods.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/filter/CorsFilter.java

         */
        protected static final String OPTIONS = "OPTIONS";
    
        @Override
        public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
            final HttpServletRequest httpRequest = (HttpServletRequest) request;
            final String origin = httpRequest.getHeader("Origin");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top