Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 79 for baddr (0.02 sec)

  1. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

                    byte[] addr = new byte[4];
                    System.arraycopy(data, offset + 4, addr, 0, 4);
                    return InetAddress.getByAddress(addr);
                } else if (family == 23) { // AF_INET6
                    byte[] addr = new byte[16];
                    System.arraycopy(data, offset + 8, addr, 0, 16);
                    return InetAddress.getByAddress(addr);
                }
            } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InetAddresses.java

      public static InetAddress decrement(InetAddress address) {
        byte[] addr = address.getAddress();
        int i = addr.length - 1;
        while (i >= 0 && addr[i] == (byte) 0x00) {
          addr[i] = (byte) 0xff;
          i--;
        }
    
        checkArgument(i >= 0, "Decrementing %s would wrap.", address);
    
        addr[i]--;
        return bytesToInetAddress(addr, null);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertEquals(SmbConstants.TYPE_WORKGROUP, locator("smb:///").getType());
    
            // Server vs Workgroup depends on NetBIOS name type
            Address addr = mock(Address.class);
            NetbiosAddress nb = mock(NetbiosAddress.class);
            when(addr.unwrap(NetbiosAddress.class)).thenReturn(nb);
            when(nb.getNameType()).thenReturn(0x1d); // workgroup code
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Dfs.java

                _domains = null;
            }
            if (_domains != null) {
                return _domains.map;
            }
            try {
                final UniAddress addr = UniAddress.getByName(auth.domain, true);
                final SmbTransport trans = SmbTransport.getSmbTransport(addr, 0);
                final CacheEntry entry = new CacheEntry(Dfs.TTL * 10L);
    
                DfsReferral dr = trans.getDfsReferrals(auth, "", 0);
                if (dr != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            NbtAddress[] addresses = (NbtAddress[]) addressArrayField.get(response);
    
            NbtAddress addr = addresses[0];
            assertTrue(addr.groupName);
            assertEquals(3, addr.nodeType);
            assertTrue(addr.isBeingDeleted);
            assertTrue(addr.isInConflict);
            assertTrue(addr.isActive);
            assertTrue(addr.isPermanent);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            transport.server = serverData;
    
            smbtStatic = mockStatic(SmbTransport.class);
            smbtStatic.when(() -> SmbTransport.getSmbTransport(addr, 445, inet, 0, null)).thenReturn(transport);
            smbtStatic.when(() -> SmbTransport.getSmbTransport(addr, 445)).thenReturn(transport);
        }
    
        @AfterEach
        void tearDown() {
            if (smbtStatic != null) {
                smbtStatic.close();
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/UniAddress.java

         * }
         */
    
        Object addr;
        String calledName;
    
        /**
         * Create a <code>UniAddress</code> by wrapping an {@code InetAddress} or
         * <code>NbtAddress</code>.
         *
         * @param addr
         *            wrapped address
         */
        public UniAddress(final Object addr) {
            if (addr == null) {
                throw new IllegalArgumentException();
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. cmd/net.go

    	u, err := url.Parse(hostAddr)
    	if err != nil {
    		return "", "", err
    	}
    
    	addr = u.Host
    	scheme = u.Scheme
    
    	// Use the given parameter again if url.Parse()
    	// didn't return any useful result.
    	if addr == "" {
    		addr = hostAddr
    		scheme = "http"
    	}
    
    	// At this point, addr can be one of the following form:
    	//	":9000"
    	//	"localhost:9000"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (1)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

                    && (prt == 0 || prt == this.port ||
                    /* port 139 is ok if 445 was requested */
                            prt == 445 && this.port == 139)
                    && (laddr == this.localAddr || laddr != null && laddr.equals(this.localAddr)) && lprt == this.localPort;
        }
    
        void ssn139() throws IOException {
            final CIFSContext tc = this.transportContext;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            // Add a healthy channel manually for testing
            InetAddress addr = InetAddress.getByName("192.168.1.100");
            NetworkInterfaceInfo localInterface = new NetworkInterfaceInfo(addr, 1000);
            NetworkInterfaceInfo remoteInterface = new NetworkInterfaceInfo(addr, 1000);
            ChannelInfo healthyChannel = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top