Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 400 for spare (0.01 sec)

  1. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            @Test
            @DisplayName("Should handle share type")
            void testShareType() throws Exception {
                // Test DISK share type
                setPrivateField(response, "shareType", Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK);
                assertEquals(Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK, response.getShareType(), "Should handle DISK share type");
    
                // Test PIPE share type
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

     */
    public class SmbShareInfo implements FileEntry {
    
        /**
         * The network name of the share.
         */
        protected String netName;
        /**
         * The type of the share (e.g., disk, printer, IPC).
         */
        protected int type;
        /**
         * The optional comment or description for the share.
         */
        protected String remark;
    
        /**
         * Default constructor for SmbShareInfo.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/HandlerTest.java

        static Stream<Arguments> portSpecs() {
            return Stream.of(
                    // spec, expectedPort
                    Arguments.of("smb://server/share", SmbConstants.DEFAULT_PORT), Arguments.of("smb://server:445/share", 445),
                    Arguments.of("smb://server:139/share", 139));
        }
    
        @ParameterizedTest(name = "parseURL: {0} -> port {1}")
        @MethodSource("portSpecs")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/AllocInfoTest.java

            @ParameterizedTest
            @DisplayName("Should handle various capacity and free space values")
            @CsvSource({ "0, 0", "1024, 512", "1048576, 524288", "1073741824, 536870912", "9223372036854775807, 4611686018427387903", // Long.MAX_VALUE and half
                    "-1, -1", // Negative values (edge case)
                    "100, 200" // Free space greater than capacity (edge case)
            })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

            t1.url = "smb://server1/share/file.txt";
    
            t2.numThreads = 5;
            t2.url = "smb://server2/share/file.txt";
    
            // Verify independence
            assertEquals(2, t1.numThreads, "t1 should have its own numThreads value");
            assertEquals(5, t2.numThreads, "t2 should have its own numThreads value");
            assertEquals("smb://server1/share/file.txt", t1.url, "t1 should have its own URL");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/DfsReferral.java

        public int pathConsumed;
        /** Time to live for this referral in seconds */
        public long ttl;
        /** Target server for this referral */
        public String server; // Server
        /** Target share for this referral */
        public String share; // Share
        /** The complete UNC path link */
        public String link;
        /** Path relative to tree from which this referral was thrown */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

            }
    
            /** The percentage of used space on the filesystem. */
            public short percent;
            /** Used space in bytes */
            public long used;
            /** Filesystem path */
            public String path;
            /** Free space in bytes */
            public long free;
            /** Total space in bytes */
            public long total;
            /** Usable space in bytes */
            public long usable;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            // Write valid structure (16 bytes)
            SMBUtil.writeInt2(16, buffer, offset); // Structure size
            buffer[offset + 2] = (byte) 0x01; // Share type (DISK)
            buffer[offset + 3] = 0; // Reserved
            SMBUtil.writeInt4(0x8001, buffer, offset + 4); // Share flags (DFS | ENCRYPT_DATA)
            SMBUtil.writeInt4(0x28, buffer, offset + 8); // Capabilities (DFS | SCALEOUT)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/witness/WitnessEventType.java

         */
        CLIENT_MOVE(2),
    
        /**
         * Share moved to different node - share mobility event
         */
        SHARE_MOVE(3),
    
        /**
         * IP address changed - network configuration change
         */
        IP_CHANGE(4),
    
        /**
         * Share deleted - share removal notification
         */
        SHARE_DELETE(5),
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top