Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 210 for Shares (1.7 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        @CsvSource({ "a.txt", "very_long_filename_with_many_characters_to_test_buffer_handling.docx", "file with spaces.pdf", "文件.txt", // Unicode filename
                "file-with-special-chars!@#$%^&().bin" })
        void testDecodeWithVariousFileNames(String fileName) throws SMBProtocolDecodingException {
            byte[] buffer = createValidNotificationBuffer(fileName, FileNotifyInformation.FILE_ACTION_ADDED);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        /**
         * SMB command to close a find operation.
         */
        public static final byte SMB_COM_FIND_CLOSE2 = (byte) 0x34;
    
        /**
         * SMB command to disconnect from a tree share.
         */
        public static final byte SMB_COM_TREE_DISCONNECT = (byte) 0x71;
    
        /**
         * SMB command to negotiate protocol dialect.
         */
        public static final byte SMB_COM_NEGOTIATE = (byte) 0x72;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.util.Hexdump;
    
    class SmbComNTCreateAndX extends AndXServerMessageBlock {
    
        // 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: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

        @Test
        @DisplayName("Test size calculation with short filename")
        void testSizeWithShortFilename() {
            FileRenameInformation2 info = new FileRenameInformation2("test.txt", false);
            // 20 bytes fixed + 2 * 8 chars = 20 + 16 = 36
            assertEquals(36, info.size());
        }
    
        @Test
        @DisplayName("Test size calculation with long filename")
        void testSizeWithLongFilename() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

        }
    
        @Test
        public void testAnalyzeAndReadingWithMixedContent() {
            // Test analyzeAndReading with mixed content (numbers, letters, special chars)
            String text = "Test123 ABC-456";
            String field = "content";
            String lang = "en";
    
            List<AnalyzeToken> tokens = analyzer.analyzeAndReading(text, field, lang);
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            void testFullUNCPathProperties() {
                testBlock.setFullUNCPath("DOMAIN", "SERVER", "\\\\server\\share\\path");
    
                assertEquals("DOMAIN", testBlock.getDomain());
                assertEquals("SERVER", testBlock.getServer());
                assertEquals("\\\\server\\share\\path", testBlock.getFullUNCPath());
            }
    
            @Test
            @DisplayName("Test TID property")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

                // Cached subject is copied and visible via getSubject()
                Subject copySubj = copy.getSubject();
                assertNotNull(copySubj);
                assertSame(cachedOrig, copySubj, "Clone should share the cached Subject reference");
    
                // Refreshing the original must not clear the clone's cached subject
                orig.refresh();
                // Clone should retain its cached Subject
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

        }
    
        /**
         * Test multiple rules with same ResponseProcessor
         */
        public void test_multipleRulesWithSameProcessor() {
            TestResponseProcessor sharedProcessor = new TestResponseProcessor("shared");
    
            TestRule rule1 = new TestRule("rule1", sharedProcessor, true);
            TestRule rule2 = new TestRule("rule2", sharedProcessor, false);
            TestRule rule3 = new TestRule("rule3", sharedProcessor, true);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  9. docs/smb3-features/05-rdma-smb-direct-design.md

    public void testRdmaLargeFileTransfer() throws Exception {
        CIFSContext context = getTestContext();
        context.getConfig().setProperty("jcifs.smb.client.useRDMA", "true");
        
        SmbFile file = new SmbFile("smb://server/share/largefile.dat", context);
        
        // Measure RDMA transfer performance
        byte[] data = new byte[10485760];  // 10MB
        Arrays.fill(data, (byte)0x42);
        
        long start = System.currentTimeMillis();
        
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

        }
    
        /**
         * Test constructor with special characters in message
         */
        public void test_constructor_withSpecialCharactersInMessage() {
            String message = "Error: \n\t\r\0\b\f with special chars #@!$%^&*()[]{}";
            CrawlerSystemException exception = new CrawlerSystemException(message);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
Back to top