- Sort Score
- Result 10 results
- Languages All
Results 31 - 39 of 39 for setAddress (0.1 sec)
-
src/main/java/jcifs/netbios/UniAddress.java
} return null; } /** * Return the underlying <code>NbtAddress</code> or {@code InetAddress}. * * @return wrapped address */ public Object getAddress() { return this.addr; } /** * Return the hostname of this address such as "MYCOMPUTER". * * @return the hostname associated with the address */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
assertEquals(1, nic.getInterfaceIndex()); assertEquals(10000, nic.getLinkSpeed()); assertTrue(nic.isRssCapable()); assertFalse(nic.isRdmaCapable()); assertEquals(address, nic.getAddress()); // Test scoring int score = nic.getScore(); assertEquals(11000, score); // 10000 (link speed) + 1000 (RSS bonus) // Test encoding/decoding
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
ASN1EncodableVector addressVector = new ASN1EncodableVector(); addressVector.add(new ASN1Integer(KerberosConstants.AF_INTERNET)); addressVector.add(new DEROctetString(InetAddress.getByName("127.0.0.1").getAddress())); addressesVector.add(new DERSequence(addressVector)); vector.add(new DERTaggedObject(9, new DERSequence(addressesVector))); ASN1EncodableVector authDataVector = new ASN1EncodableVector();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
void tearDown() { if (mockService != null) { mockService.close(); } } @Test void testMockServiceLifecycle() throws Exception { assertNotNull(mockService.getAddress()); assertTrue(mockService.getPort() > 0); assertEquals(0, mockService.getRegistrationCount()); // Test registration
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbResourceLocator.java
* Returns the resolved network address of the server hosting this SMB resource. * * @return resolved server address * @throws CIFSException if the address cannot be resolved */ Address getAddress() throws CIFSException; /** * Determines whether this resource represents an IPC (Inter-Process Communication) connection. * * @return whether this is a IPC connection */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
} /** * Returns the raw IP address of this NbtAddress. The result is in network * byte order: the highest order byte of the address is in getAddress()[0]. * * @return a four byte array */ public byte[] getAddress() { final byte[] addr = new byte[4]; addr[0] = (byte) (address >>> 24 & 0xFF); addr[1] = (byte) (address >>> 16 & 0xFF);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
return null; } /** * Return the underlying <code>NbtAddress</code> or {@code InetAddress}. * * @return the underlying address object */ public Object getAddress() { return addr; } /** * Return the hostname of this address such as "MYCOMPUTER". * * @return the hostname of this address */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
mockQueryAddress.hostName = mockName; // Convert IP address to int representation for NbtAddress InetAddress inetAddr = InetAddress.getByName("192.168.1.100"); byte[] addrBytes = inetAddr.getAddress(); mockQueryAddress.address = ((addrBytes[0] & 0xFF) << 24) | ((addrBytes[1] & 0xFF) << 16) | ((addrBytes[2] & 0xFF) << 8) | (addrBytes[3] & 0xFF); // Create NodeStatusResponse instance
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
if (!newAddresses.isEmpty()) { // Attempt to connect to new address InetAddress newAddress = newAddresses.get(0).getAddress(); scheduleAddressChange(newAddress); } } /** * Handle share move events */ private void handleShareMove(WitnessNotification notification) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0)