- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Info2 (0.06 sec)
-
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
void testEqualsWithSameNetName() { SmbShareInfo info1 = new SmbShareInfo("Share1", 0, "Remark1"); SmbShareInfo info2 = new SmbShareInfo("Share1", 1, "Remark2"); // Same netName, different type and remark assertTrue(info1.equals(info2)); assertTrue(info2.equals(info1)); } @Test @DisplayName("Test equals method with different netName")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java
NetworkInterfaceInfo info2 = new NetworkInterfaceInfo(testAddress, 1000); info2.setInterfaceIndex(1); NetworkInterfaceInfo info3 = new NetworkInterfaceInfo(testAddress, 1000); info3.setInterfaceIndex(2); assertEquals(info1, info2); assertNotEquals(info1, info3); assertEquals(info1.hashCode(), info2.hashCode()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
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) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
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) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
buffer[8] = 10; // Change some data int bytesRead2 = response.readDataWireFormat(buffer, 0, 20); FileSystemInformation info2 = response.getInfo(); // Info should be updated assertNotSame(info1, info2); } @Test void testReadDataWireFormat_WithOffset() throws Exception { // Test reading data with non-zero buffer offset
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
assertEquals(expectedIndexNumber, fileInternalInfo.getIndexNumber()); FileInternalInfo info2 = new FileInternalInfo(); int bytesDecoded2 = info2.decode(buffer, 0, 15); // More than needed assertEquals(8, bytesDecoded2); // Should still return 8 assertEquals(expectedIndexNumber, info2.getIndexNumber()); } @Test @DisplayName("Test encode with initial state")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
assertEquals("test1.txt", info1.getFileName()); // Verify second notification FileNotifyInformation info2 = notifications.get(1); assertEquals(FileNotifyInformation.FILE_ACTION_MODIFIED, info2.getAction()); assertEquals("test2.txt", info2.getFileName()); } @Test @DisplayName("Test NotifyResponse interface with null notification list")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
schema/relationship_test.go
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"` } type Info2 struct { CreatedAt time.Time UpdatedAt time.Time Code string
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Aug 18 11:44:52 UTC 2025 - 26.5K bytes - Viewed (0)