Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 430 for shard (0.05 sec)

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

            }
        }
    
        /**
         * Validates share name
         *
         * @param share the share name to validate
         * @throws IllegalArgumentException if share name is invalid
         */
        public static void validateShareName(String share) {
            if (share == null || share.isEmpty()) {
                throw new IllegalArgumentException("Share name cannot be null or empty");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/util/InputValidatorTest.java

        }
    
        @ParameterizedTest
        @DisplayName("Test valid share names")
        @ValueSource(strings = { "share", "share$", "SHARE", "share123", "share-name", "share_name", "share.name" })
        void testValidShareNames(String share) {
            assertDoesNotThrow(() -> InputValidator.validateShareName(share));
        }
    
        @Test
        @DisplayName("Test port validation")
        void testPortValidation() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                    this.canon = "/" + this.share + "/" + StringUtil.join("/", remainParts) + (trailingSlash ? "/" : "");
                } else {
                    this.unc = "\\";
                    if (this.share != null) {
                        this.canon = "/" + this.share + (trailingSlash ? "/" : "");
                    } else {
                        this.canon = "/";
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            assertEquals(path, entryByPath.getPath());
        }
    
        @Test
        @DisplayName("Should release all leases")
        void testReleaseAll() {
            String path1 = "/share/file1.txt";
            String path2 = "/share/file2.txt";
    
            Smb2LeaseKey key1 = leaseManager.requestLease(path1, Smb2LeaseState.SMB2_LEASE_READ_CACHING);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbSessionInternal.java

         */
        SmbTransport getTransport();
    
        /**
         * Connect to the logon share
         *
         * @throws SmbException if the connection fails
         */
        void treeConnectLogon() throws SmbException;
    
        /**
         * Gets or creates an SMB tree connection for the specified share and service.
         *
         * @param share the share name to connect to
         * @param service the service type for the connection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareGetInfo.java

    import jcifs.smb1.smb1.SecurityDescriptor;
    
    /**
     * MS-RPC share information retrieval operation.
     *
     * This class implements the Server Service (SRVSVC) ShareGetInfo operation
     * for retrieving detailed information about a network share, including
     * security descriptors.
     */
    public class MsrpcShareGetInfo extends srvsvc.ShareGetInfo {
    
        /**
         * Creates a new request to get share information.
         *
         * @param server the server name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            // Test different share types and their transformations
            // Type 0 (disk share) -> TYPE_SHARE (8)
            srvsvc.ShareInfo1 diskShare = new srvsvc.ShareInfo1();
            diskShare.netname = "DiskShare";
            diskShare.type = 0;
            diskShare.remark = "Disk share";
    
            // Type 1 (printer share) -> TYPE_PRINTER (4)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

        }
    
        /**
         * Share information level 0 structure containing basic share information.
         */
        public static class ShareInfo0 extends NdrObject {
    
            /**
             * Default constructor for ShareInfo0.
             */
            public ShareInfo0() {
            }
    
            /**
             * The network name of the share.
             */
            public String netname;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  10. docs/debugging/hash-set/main.go

    	flag.StringVar(&deploymentID, "deployment-id", "", "MinIO deployment ID, obtained from 'format.json'")
    	flag.IntVar(&setCount, "set-count", 0, "Total set count")
    	flag.IntVar(&shards, "shards", 0, "Total shards count")
    	flag.BoolVar(&verbose, "v", false, "Display all objects")
    
    	flag.Parse()
    
    	if deploymentID == "" {
    		log.Fatalln("deployment ID is mandatory")
    	}
    
    	if setCount == 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top