Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 547 for shard (0.03 seconds)

  1. src/main/java/jcifs/util/PathValidator.java

                throw new SmbException("Invalid server name in UNC path");
            }
    
            // Validate share name
            String share = parts[1];
            if (share.isEmpty() || share.endsWith("$") && share.length() == 1) {
                throw new SmbException("Invalid share name in UNC path");
            }
        }
    
        /**
         * Validate individual path components
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

                    () -> new SmbFileHandleImpl(cfg, new byte[] { 1, 2 }, null, "//server/share", 0, 0, 0, 0, 0L));
        }
    
        @Test
        @DisplayName("Constructor with null cfg throws NPE")
        void constructor_nullCfg_throwsNPE() {
            stubValidTree(7L, true, true);
            assertThrows(NullPointerException.class, () -> new SmbFileHandleImpl(null, 42, tree, "//server/share", 0, 0, 0, 0, 0L));
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/http/NetworkExplorerTest.java

            // Setup minimal mocks
            when(request.getRequestURI()).thenReturn("/explorer");
            when(request.getPathInfo()).thenReturn("/share/");
            when(locator.getCanonicalURL()).thenReturn("smb://server/share/");
    
            // Mock directory listing
            SmbFile file1 = mock(SmbFile.class);
            when(file1.getName()).thenReturn("document.pdf");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java

     *   <li>Lifecycle management using {@code @PostConstruct} and {@code @PreDestroy} annotations</li>
     * </ul>
     *
     * <p>Components can be registered in two ways:
     * <ul>
     *   <li>As singletons, where one instance is shared throughout the container's lifecycle</li>
     *   <li>As prototypes, where a new instance is created each time the component is requested</li>
     * </ul>
     *
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  5. ci/official/containers/ml_build/builder.devtoolset/build_devtoolset.sh

    esac
    
    mkdir -p "${TARGET}"
    
    # Download glibc's shared and development libraries based on the value of the
    # `VERSION` parameter.
    # Note: 'Templatizing' this and the other conditional branches would require
    # defining several variables (version, os, path) making it difficult to maintain
    # and extend for future modifications.
    case "${VERSION}" in
    devtoolset-7)
      # Download binary glibc 2.12 shared library release.
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Tue Sep 24 20:45:58 GMT 2024
    - 8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            CompletableFuture<WitnessRegistration> future = client.registerForNotifications("\\\\server\\share", serverAddress, listener);
    
            WitnessRegistration registration = future.get(5, TimeUnit.SECONDS);
    
            assertNotNull(registration);
            assertEquals(WitnessRegistrationState.REGISTERED, registration.getState());
            assertEquals("\\\\server\\share", registration.getShareName());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  7. src/cmd/asm/doc.go

    	-dynlink
    		Support references to Go symbols defined in other shared libraries.
    	-e
    		No limit on number of errors reported.
    	-gensymabis
    		Write symbol ABI information to output file. Don't assemble.
    	-o file
    		Write output to file. The default is foo.o for /a/b/c/foo.s.
    	-p pkgpath
    		Set expected package import to pkgpath.
    	-shared
    		Generate code that can be linked into a shared library.
    	-spectre list
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 22 20:46:45 GMT 2023
    - 1.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/CIFSContextTest.java

        void testCIFSContextInterface() {
            // Verify interface methods exist
            assertDoesNotThrow(() -> {
                mockContext.get("smb://server/share");
                mockContext.getPipe("smb://server/share/pipe", 0);
                mockContext.close();
                mockContext.getConfig();
                mockContext.getNameServiceClient();
                mockContext.getBufferCache();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/DfsTest.java

        }
    
        @Test
        void testGetReferral_Success() throws IOException, SmbAuthException {
            String domain = "domain.com";
            String root = "share";
            String path = "\\folder";
            String fullPath = "\\" + domain + "\\" + root + path; // Should be "\domain.com\share\folder"
    
            lenient().when(smbTransport.getDfsReferrals(auth, fullPath, 0)).thenReturn(dfsReferral);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/SmbResourceLocatorTest.java

        class HappyPath {
            @Test
            void testBasicProperties() throws Exception {
                String url = "smb://server/share/path/file.txt";
                DummySmbResourceLocator loc = new DummySmbResourceLocator(url);
                assertEquals("file.txt", loc.getName());
                assertEquals("smb://server/share/path/", loc.getParent());
                assertEquals(url, loc.getPath());
                // canonicalisation simply removes '.' and '..'
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
Back to Top