Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 574 for inf1 (0.02 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/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)
  4. src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java

        }
    
        @Test
        void testConstructor() {
            NetworkInterfaceInfo info = new NetworkInterfaceInfo(testAddress, 1000);
    
            assertEquals(testAddress, info.getAddress());
            assertEquals(1000, info.getLinkSpeed());
            assertFalse(info.isIpv6());
            assertEquals(0, info.getCapability());
        }
    
        @Test
        void testIPv6Constructor() throws UnknownHostException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java

            assertEquals(0, decodedEnumEx.retval);
            assertEquals(info.level, decodedEnumEx.info.level);
            assertTrue(decodedEnumEx.info.e instanceof netdfs.DfsEnumArray1);
            assertEquals(((netdfs.DfsEnumArray1) info.e).count, ((netdfs.DfsEnumArray1) decodedEnumEx.info.e).count);
            assertEquals(((netdfs.DfsEnumArray1) info.e).s[0].entry_path, ((netdfs.DfsEnumArray1) decodedEnumEx.info.e).s[0].entry_path);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            long endOfFile = 1024L;
            FileEndOfFileInformation info = new FileEndOfFileInformation(endOfFile);
    
            assertNotNull(info);
            assertEquals(FileInformation.FILE_ENDOFFILE_INFO, info.getFileInformationLevel());
    
            // Verify through toString that value is set
            assertTrue(info.toString().contains("endOfFile=" + endOfFile));
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

            final int start = bufferIndex;
            final FileInformation inf = createFileInformation();
            if (inf != null) {
                bufferIndex += inf.decode(buffer, bufferIndex, getDataCount());
                this.info = inf;
            }
            return bufferIndex - start;
        }
    
        private FileInformation createFileInformation() {
            FileInformation inf;
            switch (this.informationLevel) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            assertEquals(20, bytesRead);
            assertNotNull(response.getInfo());
    
            // The info should be created with zero values
            SmbInfoAllocation info = (SmbInfoAllocation) response.getInfo();
            assertEquals(0, info.getCapacity());
            assertEquals(0, info.getFree());
        }
    
        @Test
        void testReadDataWireFormat_BufferTooSmall() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

            final int start = bufferIndex;
            final AllocInfo inf = createInfo();
            if (inf != null) {
                bufferIndex += inf.decode(buffer, bufferIndex, getDataCount());
                this.info = inf;
            }
            return bufferIndex - start;
        }
    
        /**
         * @return
         */
        private AllocInfo createInfo() {
            AllocInfo inf;
            switch (this.informationLevel) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/MsrpcShareEnum.java

     */
    public class MsrpcShareEnum extends srvsvc.ShareEnumAll {
    
        class MsrpcShareInfo1 extends SmbShareInfo {
    
            MsrpcShareInfo1(final srvsvc.ShareInfo1 info1) {
                this.netName = info1.netname;
                this.type = info1.type;
                this.remark = info1.remark;
            }
        }
    
        /**
         * Creates a new request to enumerate shares on a server.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top