Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for baddr (0.02 sec)

  1. src/test/java/jcifs/smb1/UniAddressTest.java

        void firstCalledNameForInetAddressConformsToUpperCase(String hostname, String hostWithoutDot, String expectedPrefix) {
            // Arrange
            InetAddress addr = mock(InetAddress.class);
            when(addr.getHostName()).thenReturn(hostname);
            UniAddress ua = new UniAddress(addr);
            // Act
            String called = ua.firstCalledName();
            // Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/Lmhosts.java

                    addr = new NbtAddress(name, ip, false, NbtAddress.B_NODE, false, false, true, true, NbtAddress.UNKNOWN_MAC_ADDRESS);
                    if (log.isDebugEnabled()) {
                        log.debug("Adding " + name + " with addr " + addr);
                    }
                    this.table.put(name, addr);
                }
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/SessionRetargetResponsePacket.java

                throw new IOException("unexpected EOF reading netbios retarget session response");
            }
            final int addr = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            retargetAddress = new NbtAddress(null, addr, false, NbtAddress.B_NODE);
            int retargetPort = readInt2(buffer, bufferIndex);
            return length;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            for (final Address addr : addrs) {
                final SmbTransportImpl found =
                        findConnection(tf, addr, port, tf.getConfig().getLocalAddr(), tf.getConfig().getLocalPort(), name, forceSigning, true);
                if (found != null) {
                    return found;
                }
            }
    
            IOException ex = null;
            for (final Address addr : addrs) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

        void setUp() throws UnknownHostException {
            failover = new ChannelFailover(mockChannelManager);
    
            InetAddress addr = InetAddress.getByName("192.168.1.100");
            NetworkInterfaceInfo localInterface = new NetworkInterfaceInfo(addr, 1000);
            NetworkInterfaceInfo remoteInterface = new NetworkInterfaceInfo(addr, 1000);
    
            failedChannel = new ChannelInfo("failed-channel", mockTransport, localInterface, remoteInterface);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcBind.java

            buf.dec_ndr_short(); /* max receive frag size */
            buf.dec_ndr_long(); /* assoc. group */
            final int n = buf.dec_ndr_short(); /* secondary addr len */
            buf.advance(n); /* secondary addr */
            buf.align(4);
            buf.dec_ndr_small(); /* num results */
            buf.align(4);
            this.result = buf.dec_ndr_short();
            buf.dec_ndr_short();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

            buf.dec_ndr_short(); /* max receive frag size */
            buf.dec_ndr_long(); /* assoc. group */
            final int n = buf.dec_ndr_short(); /* secondary addr len */
            buf.advance(n); /* secondary addr */
            buf.align(4);
            buf.dec_ndr_small(); /* num results */
            buf.align(4);
            result = buf.dec_ndr_short();
            buf.dec_ndr_short();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/NameServiceClient.java

         * host with the same IP address.
         *
         * @param addr
         *            the address to query
         * @return resolved addresses
         * @throws UnknownHostException
         *             if address cannot be resolved
         */
        NetbiosAddress[] getNbtAllByAddress(NetbiosAddress addr) throws UnknownHostException;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java

         */
        public int encode(byte[] dst, int dstIndex) {
            return transform.encode(dst, dstIndex);
        }
    
        @Override
        public String toString() {
            return String.format("RdmaChannelInfo[key=0x%x, addr=0x%x, len=%d]", getRemoteKey(), getAddress(), getLength());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            final SmbResourceLocator locator = parent.getLocator();
            if (locator.getURL().getHost().isEmpty()) {
                // smb:// -> enumerate servers through browsing
                Address addr;
                try {
                    addr = locator.getAddress();
                } catch (final CIFSException e) {
                    if (e.getCause() instanceof UnknownHostException) {
                        log.debug("Failed to find master browser", e);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top