Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Info1 (3.29 sec)

  1. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            SmbShareInfo info1 = new SmbShareInfo("Share1", 0, "Remark");
            SmbShareInfo info2 = new SmbShareInfo("Share2", 0, "Remark");
    
            // Different netName
            assertFalse(info1.equals(info2));
            assertFalse(info2.equals(info1));
        }
    
        @Test
        @DisplayName("Test equals method with null netName")
        void testEqualsWithNullNetName() {
            SmbShareInfo info1 = new SmbShareInfo();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            // Decode multiple times
            FileEndOfFileInformation info1 = new FileEndOfFileInformation();
            FileEndOfFileInformation info2 = new FileEndOfFileInformation();
    
            int bytes1 = info1.decode(buffer, 0, 8);
            int bytes2 = info2.decode(buffer, 0, 8);
    
            assertEquals(8, bytes1);
            assertEquals(8, bytes2);
            assertEquals(info1.toString(), info2.toString());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java

            NetworkInterfaceInfo info1 = new NetworkInterfaceInfo(testAddress, 1000);
            info1.setInterfaceIndex(1);
    
            NetworkInterfaceInfo info2 = new NetworkInterfaceInfo(testAddress, 1000);
            info2.setInterfaceIndex(1);
    
            NetworkInterfaceInfo info3 = new NetworkInterfaceInfo(testAddress, 1000);
            info3.setInterfaceIndex(2);
    
            assertEquals(info1, info2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/smb1/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)
  6. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

            assertEquals(2, manager.getHandleCount());
    
            HandleInfo info1 = manager.getHandleByGuid(guid1);
            HandleInfo info2 = manager.getHandleByGuid(guid2);
    
            assertNotNull(info1);
            assertNotNull(info2);
            assertNotEquals(info1.getPath(), info2.getPath());
            assertNotEquals(info1.getType(), info2.getType());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java

            netdfs.DfsInfo1 info1 = new netdfs.DfsInfo1();
            info1.entry_path = "test_path";
    
            ByteArrayOutputStream bos = new ByteArrayOutputStream();
            // Create buffer for encoding - initially allocate some space
            byte[] encodeBuffer = new byte[1024];
            NdrBuffer dst = new NdrBuffer(encodeBuffer, 0);
            info1.encode(dst);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  8. schema/relationship_test.go

    			expectedConstraintName,
    			constraint.Name,
    		)
    	}
    }
    
    type InfoRelation struct {
    	ID    int
    	Code  string
    	Info1 []*Info1 `gorm:"foreignkey:Code;references:Code"`
    	Info2 []*Info2 `gorm:"foreignkey:Code;references:Code"`
    }
    
    type Info1 struct {
    	CreatedAt time.Time
    	UpdatedAt time.Time
    	Code      string
    	Relation  []*InfoRelation `gorm:"foreignkey:Code;references:Code"`
    }
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            // Set dataCount
            setDataCount(response, 20);
    
            // First read
            int bytesRead1 = response.readDataWireFormat(buffer, 0, 20);
            FileSystemInformation info1 = response.getInfo();
    
            // Second read with different data
            buffer = prepareAllocationInfoBuffer();
            buffer[8] = 10; // Change some data
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/NotifyResponseTest.java

            assertEquals(mockNotifyInfo2, notifications.get(1));
    
            // Verify first notification
            FileNotifyInformation info1 = notifications.get(0);
            assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, info1.getAction());
            assertEquals("test1.txt", info1.getFileName());
    
            // Verify second notification
            FileNotifyInformation info2 = notifications.get(1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top