Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 78 for addr2 (0.06 sec)

  1. cmd/server-main.go

    		haddrs, err := globalDNSCache.LookupHost(ctx, host)
    		if err == nil {
    			for _, addr := range haddrs {
    				addrs.Add(net.JoinHostPort(addr, globalMinioPort))
    			}
    		} else {
    			// Unable to lookup host in 2-secs, let it fail later anyways.
    			addrs.Add(globalMinioAddr)
    		}
    	} else {
    		addrs.Add(globalMinioAddr)
    	}
    	return addrs.ToSlice()
    }
    
    var globalLoggerOutput io.WriteCloser
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
  2. cmd/common-main.go

    			if net.ParseIP(endpoint) == nil {
    				// Checking if the IP is a DNS entry.
    				addrs, err := globalDNSCache.LookupHost(GlobalContext, endpoint)
    				if err != nil {
    					logger.FatalIf(err, "Unable to initialize MinIO server with [%s] invalid entry found in MINIO_PUBLIC_IPS", endpoint)
    				}
    				for _, addr := range addrs {
    					domainIPs.Add(addr)
    				}
    			}
    			domainIPs.Add(endpoint)
    		}
    		updateDomainIPs(domainIPs)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                        request.addr = NbtAddress.getWINSAddress();
                    }
                }
            }
        }
    
        NbtAddress[] getAllByName(final Name name, final InetAddress addr) throws UnknownHostException {
            int n;
            final NameQueryRequest request = new NameQueryRequest(name);
            final NameQueryResponse response = new NameQueryResponse();
    
            request.addr = addr != null ? addr : NbtAddress.getWINSAddress();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/Config.java

            final String addr = props.getProperty(key);
            if (addr != null) {
                try {
                    def = InetAddress.getByName(addr);
                } catch (final UnknownHostException uhe) {
                    log.error("Unknown host " + addr, uhe);
                }
            }
            return def;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. 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)
Back to top