Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 459 for shares (0.03 sec)

  1. apache-maven/src/main/appended-resources/licenses/CDDL+GPLv2-with-classpath-exception.txt

    of this license document, but changing it is not allowed.
    
    Preamble
    
    The licenses for most software are designed to take away your freedom to
    share and change it. By contrast, the GNU General Public License is
    intended to guarantee your freedom to share and change free software--to
    make sure the software is free for all its users. This General Public
    License applies to most of the Free Software Foundation's software and
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri May 17 19:14:22 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

            SmbShareInfo share1 = (SmbShareInfo) response.results[0];
            assertEquals("SHARE1", share1.getName().trim(), "Share 1 name should be correct.");
            assertEquals(0, share1.type, "Share 1 raw type should be 0.");
            assertEquals("Remark 1", share1.remark.trim(), "Share 1 remark should be correct.");
    
            SmbShareInfo share2 = (SmbShareInfo) response.results[1];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            populatedArray.count = 3;
            populatedArray.s = new netdfs.DfsInfo200[3];
    
            // Create DFS root entries
            String[] rootNames = { "share1", "share2", "share3" };
            for (int i = 0; i < 3; i++) {
                netdfs.DfsInfo200 entry = new netdfs.DfsInfo200();
                entry.dfs_name = rootNames[i];
                populatedArray.s[i] = entry;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

         * Test of equals method, of class SmbShareInfo.
         */
        @Test
        void testEquals() {
            SmbShareInfo instance1 = new SmbShareInfo("SHARE1", 0, "remark1");
            SmbShareInfo instance2 = new SmbShareInfo("SHARE1", 1, "remark2");
            SmbShareInfo instance3 = new SmbShareInfo("SHARE2", 0, "remark1");
            Object notAShareInfo = new Object();
    
            assertTrue(instance1.equals(instance2)); // Should be equal based on netName
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            // Register multiple witnesses
            String reg1 = mockService.registerWitness("\\\\server1\\share1", "192.168.1.100", 1);
            String reg2 = mockService.registerWitness("\\\\server2\\share2", "192.168.1.101", 1);
            String reg3 = mockService.registerWitness("\\\\server3\\share3", "192.168.1.102", 1);
    
            assertEquals(3, mockService.getRegistrationCount());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

            // The getEntries method returns FileEntry objects. We can check their names.
            assertEquals("\\domain\share1", entries[0].getName(), "The name of the first share should be correct.");
            assertEquals("\\domain\share2", entries[1].getName(), "The name of the second share should be correct.");
        }
    
        /**
         * Test the getEntries() method when the DfsEnumArray200 is empty.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            @ParameterizedTest
            @CsvSource({ "'\\server', 'server', '', ''", "'\\server\\share', 'server', 'share', ''",
                    "'\\server\\share\\path', 'server', 'share', 'path'",
                    "'\\server\\share\\path\\file.txt', 'server', 'share', 'path\\file.txt'",
                    "'\\server.domain.com\\share\\deep\\path\\structure', 'server.domain.com', 'share', 'deep\\path\\structure'" })
            @DisplayName("Should split DFS paths correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        @DisplayName("Test getType with different share types")
        @CsvSource({ "1, " + SmbConstants.TYPE_PRINTER, // Printer share
                "3, " + SmbConstants.TYPE_NAMED_PIPE, // Named pipe
                "0, " + SmbConstants.TYPE_SHARE, // Standard share
                "2, " + SmbConstants.TYPE_SHARE, // Unknown type defaults to share
                "4, " + SmbConstants.TYPE_SHARE, // Unknown type defaults to share
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            // Act - Create various SMB URLs using the handler
            URL url1 = new URL(null, "smb://host/share", handler);
            URL url2 = new URL(null, "smb://host:1234/share/file.txt", handler);
            URL url3 = new URL(null, "smb://user:pass@host/share", handler);
    
            // Assert - Verify URL components
            assertEquals("smb", url1.getProtocol());
            assertEquals("host", url1.getHost());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/context/BaseContextTest.java

        void testGetSmbResourceWithVariousURLs() throws CIFSException {
            // Test different valid URL formats
            String[] validUrls = { "smb://server/share/", "smb://server/share/file.txt", "smb://user:pass@server/share/file.txt",
                    "smb://domain;user:pass@server/share/file.txt" };
    
            for (String url : validUrls) {
                // When
                SmbResource resource = context.get(url);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top