- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 101 for addr1 (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.6K bytes - Click Count (0) -
internal/http/server.go
func (srv *Server) UseTCPOptions(opts TCPOptions) *Server { srv.TCPOptions = opts return srv } // NewServer - creates new HTTP server using given arguments. func NewServer(addrs []string) *Server { httpServer := &Server{ Addrs: addrs, } // This is not configurable for now. httpServer.MaxHeaderBytes = DefaultMaxHeaderBytes return httpServer }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 6.5K bytes - Click Count (0) -
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); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 47.7K bytes - Click Count (0) -
internal/handlers/proxy.go
raddr, _, _ := net.SplitHostPort(addr) if raddr == "" { return addr } return raddr } // GetSourceIP retrieves the IP from the request headers // and falls back to r.RemoteAddr when necessary. func GetSourceIP(r *http.Request) string { addr := GetSourceIPRaw(r) if strings.ContainsRune(addr, ':') { return "[" + addr + "]" } return addr
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 26 19:25:49 GMT 2025 - 5.4K bytes - Click Count (0) -
src/cmd/asm/internal/asm/parse.go
p.addr = p.addr[0:0] p.isJump = p.arch.IsJump(word) for _, op := range operands { addr := p.address(op) if !p.isJump && addr.Reg < 0 { // Jumps refer to PC, a pseudo. p.errorf("illegal use of pseudo-register in %s", word) } p.addr = append(p.addr, addr) } if p.isJump { p.asmJump(op, cond, p.addr) return } p.asmInstruction(op, cond, p.addr)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Feb 17 19:57:47 GMT 2026 - 37.3K bytes - Click Count (0) -
cmd/admin-server-info.go
// local endpoints from given list of endpoints func getLocalServerProperty(endpointServerPools EndpointServerPools, r *http.Request, metrics bool) madmin.ServerProperties { addr := globalLocalNodeName if r != nil { addr = r.Host } if globalIsDistErasure { addr = globalLocalNodeName } poolNumbers := make(map[int]struct{}) network := make(map[string]string) for _, ep := range endpointServerPools {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 4.9K bytes - Click Count (1) -
internal/grid/debug.go
} } addr := l.Addr() hosts = append(hosts, "http://"+addr.String()) listeners = append(listeners, l) } return hosts, listeners, err } func startHTTPServer(listener net.Listener, handler http.Handler) (server *httptest.Server) { server = httptest.NewUnstartedServer(handler) server.Config.Addr = listener.Addr().String() server.Listener = listener server.Start()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.4K bytes - Click Count (0) -
src/bufio/net_test.go
func TestCopyUnixpacket(t *testing.T) { tmpDir := t.TempDir() socket := filepath.Join(tmpDir, "unixsock") // Start a unixpacket server. addr := &net.UnixAddr{ Name: socket, Net: "unixpacket", } server, err := net.ListenUnix("unixpacket", addr) if err != nil { t.Skipf("skipping test because opening a unixpacket socket failed: %v", err) } // Start a goroutine for the server to accept one connection
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 07 19:37:07 GMT 2025 - 1.9K bytes - Click Count (0) -
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/Config.java
final String addr = prp.getProperty(key); if (addr != null) { try { def = InetAddress.getByName(addr); } catch (final UnknownHostException uhe) { if (LogStream.level > 0) { log.println(addr); uhe.printStackTrace(log); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.5K bytes - Click Count (0)