Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 518 for Info (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/Info.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    interface Info {
        int getAttributes();
    
        long getCreateTime();
    
        long getLastWriteTime();
    
        long getSize();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 995 bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK);
    
            // Verify all values are set correctly
            assertEquals(TEST_NET_NAME, info.getName());
            assertEquals(SmbConstants.TYPE_SHARE, info.getType());
            assertNotNull(info.toString());
            assertTrue(info.toString().contains(TEST_NET_NAME));
            assertTrue(info.toString().contains(TEST_REMARK));
        }
    
    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/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

                        HandleInfo info = (HandleInfo) ois.readObject();
    
                        // Only load if not expired
                        if (!info.isExpired()) {
                            handles.put(info.getPath(), info);
                            guidToHandle.put(info.getCreateGuid(), info);
                            log.info("Loaded persisted handle: {}", info.getPath());
                        } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

                    }
    
                    // Perform the actual reconnection
                    boolean success = performReconnection(info);
    
                    if (success) {
                        handleManager.completeReconnect(info.getPath(), true);
                        log.info("Successfully reconnected handle: {}", info.getPath());
                        return info;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (1)
  5. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

            assertNotNull(guid);
            assertEquals(1, manager.getHandleCount());
    
            HandleInfo info = manager.getHandleByGuid(guid);
            assertNotNull(info);
            assertEquals("/test/file.txt", info.getPath());
            assertEquals(HandleType.DURABLE_V2, info.getType());
            assertEquals(120000, info.getTimeout());
        }
    
        @Test
        public void testUpdateHandleFileId() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            FileRenameInformation2 info = new FileRenameInformation2(longFileName, false);
            // 20 bytes fixed + 2 * length
            assertEquals(20 + 2 * longFileName.length(), info.size());
        }
    
        @Test
        @DisplayName("Test size calculation with empty filename")
        void testSizeWithEmptyFilename() {
            FileRenameInformation2 info = new FileRenameInformation2("", false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. cmd/erasure.go

    				return nil
    			}
    			info, err := disks[index].DiskInfo(context.TODO(), DiskInfoOptions{Metrics: metrics})
    			di.DrivePath = info.MountPath
    			di.TotalSpace = info.Total
    			di.UsedSpace = info.Used
    			di.AvailableSpace = info.Free
    			di.UUID = info.ID
    			di.Major = info.Major
    			di.Minor = info.Minor
    			di.RootDisk = info.RootDisk
    			di.Healing = info.Healing
    			di.Scanning = info.Scanning
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java

            info.directory = (buffer[bufferIndex++] & 0xFF) > 0;
            this.info = info;
    
            return bufferIndex - start;
        }
    
        int readSmbQueryFileBasicInfoWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    
            final SmbQueryFileBasicInfo info = new SmbQueryFileBasicInfo();
            info.createTime = readTime(buffer, bufferIndex);
            bufferIndex += 8;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. docs/smb3-features/02-persistent-handles-design.md

            HandleInfo info = guidToHandle.get(guid);
            if (info != null) {
                System.arraycopy(fileId, 0, info.fileId, 0, 16);
                if (info.type == HandleType.PERSISTENT) {
                    persistHandle(info);
                }
            }
        }
        
        public HandleInfo getHandleForReconnect(String path) {
            HandleInfo info = handles.get(path);
            if (info != null && !info.isExpired()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                assertNull(resp.info);
            }
        }
    
        @Nested
        @DisplayName("Mock Interaction Tests")
        class MockInteractionTests {
    
            @Test
            @DisplayName("Should interact with mock Info interface")
            void testMockInfoInteraction() {
                // Create a mock of the Info interface
                Info mockInfo = mock(Info.class);
    
                // Set up mock behavior
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top