Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 210 for Shares (5.2 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

     * capabilities including security descriptors and oplock support.
     */
    public class SmbComNTCreateAndX extends AndXServerMessageBlock implements Request<SmbComNTCreateAndXResponse> {
    
        // share access specified in SmbFile
    
        // create disposition
    
        /*
         * Creates a new file or supersedes the existing one
         */
    
        static final int FILE_SUPERSEDE = 0x0;
    
        /*
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            }
        }
    
        // Utility to build a minimal locator for connect tests
        private static SmbResourceLocatorImpl newLocator(CIFSContext ctx) {
            return new SmbResourceLocatorImpl(ctx, smbUrl("smb://server/share"));
        }
    
        @Test
        @DisplayName("Constructor with CIFSContext: creates instance")
        void constructor_withContext_createsInstance() {
            // Arrange
            CIFSContext ctx = mock(CIFSContext.class);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

            SMBUtil.writeInt2(mapInformationLevel(this.informationLevel), dst, dstIndex);
            dstIndex += 2;
    
            /*
             * windows98 has what appears to be another 4 0's followed by the share
             * name as a zero terminated ascii string "\TMP" + '\0'
             *
             * As is this works, but it deviates from the spec section 4.1.6.6 but
             * maybe I should put it in. Wonder what NT does?
             */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

                            "-s", "public;/share;yes;no;no;testuser1,testuser", //
                            "-s", "users;/srv;no;no;no;testuser1,testuser2", //
                            "-s", "testuser1 private share;/testuser1;no;no;no;testuser1", //
                            "-s", "testuser2 private share;/testuser2;no;no;no;testuser2", //
                            "-g", "log level = 3");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Sep 23 06:42:59 UTC 2025
    - 31.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dfs/ReferralTest.java

            bb.putShort((short) 76); // nodeOffset
    
            // Path string at offset 22 (relative to start of referral at position 0)
            bb.position(22);
            String path = "\\\\server\\share";
            bb.put(path.getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0);
    
            // Alt path string at offset 54
            bb.position(54);
            String altPath = "\\\\alt\\path";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            verify(raf, times(1)).ensureOpen();
            verify(fh, times(1)).close();
        }
    
        @Test
        @DisplayName("close(): clears cache and closes handle; does not close shared SmbFile")
        void close_sharedFile_closesHandle_only() throws Exception {
            SmbRandomAccessFile raf = newInstance("rw", false, true, false);
            SmbFile file = (SmbFile) getField(raf, "file");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Rejects non-IPC$ URLs")
            @ValueSource(strings = { "smb://server/C$/foo", "smb://server/public/foo", "smb://server/share/path" })
            void rejectsNonIpcShare(String url) {
                // Arrange & Act & Assert
                MalformedURLException ex =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessClient.java

            scheduler.scheduleAtFixedRate(this::monitorRegistrations, 10, 10, TimeUnit.SECONDS);
        }
    
        /**
         * Registers for witness notifications.
         *
         * @param shareName the share name to monitor
         * @param serverAddress the server address
         * @param listener the notification listener
         * @return a future that completes with the registration
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            // Create a buffer representing a valid DFS referral response
            // Need to include space for actual string data
            int stringDataStart = 28; // After the referral structure
            String testPath = "\\server\\share";
            byte[] pathBytes = testPath.getBytes(java.nio.charset.StandardCharsets.UTF_16LE);
            int bufferSize = stringDataStart + pathBytes.length + 2; // +2 for null terminator
            byte[] buffer = new byte[bufferSize];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        /**
         * Constructs an SmbRandomAccessFile with the specified URL, mode, and share access flags.
         *
         * @param url the SMB URL of the file to access
         * @param mode the access mode ("r" for read-only, "rw" for read-write)
         * @param shareAccess the share access flags for file sharing
         * @throws SmbException if an SMB error occurs
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top