Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for Addr (0.03 sec)

  1. 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 Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/asm.go

    		p.errorf("%s: expected immediate constant; found %s", op, obj.Dconv(prog, addr))
    	}
    	return addr.Offset
    }
    
    // getRegister checks that addr represents a register and returns its value.
    func (p *Parser) getRegister(prog *obj.Prog, op obj.As, addr *obj.Addr) int16 {
    	if addr.Type != obj.TYPE_REG || addr.Offset != 0 || addr.Name != 0 || addr.Index != 0 {
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. 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 {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. internal/grid/debug.go

    			}
    		}
    		addr := l.Addr()
    		hosts = append(hosts, "http://"+addr.String())
    		listeners = append(listeners, l)
    	}
    	return
    }
    
    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()
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. internal/http/listener.go

    		listener.listeners[i].Close()
    	}
    
    	return nil
    }
    
    // Addr - net.Listener interface compatible method returns net.Addr.  In case of multiple TCP listeners, it returns '0.0.0.0' as IP address.
    func (listener *httpListener) Addr() (addr net.Addr) {
    	addr = listener.listeners[0].Addr()
    	if len(listener.listeners) == 1 {
    		return addr
    	}
    
    	tcpAddr := addr.(*net.TCPAddr)
    	if ip := net.ParseIP("0.0.0.0"); ip != nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jul 23 10:53:03 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. lib/wasm/wasm_exec.js

    			const setInt64 = (addr, v) => {
    				this.mem.setUint32(addr + 0, v, true);
    				this.mem.setUint32(addr + 4, Math.floor(v / 4294967296), true);
    			}
    
    			const setInt32 = (addr, v) => {
    				this.mem.setUint32(addr + 0, v, true);
    			}
    
    			const getInt64 = (addr) => {
    				const low = this.mem.getUint32(addr + 0, true);
    				const high = this.mem.getInt32(addr + 4, true);
    				return low + high * 4294967296;
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  7. 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)
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. callbacks/callmethod.go

    				if value := reflect.Indirect(db.Statement.ReflectValue.Index(i)); value.CanAddr() {
    					fc(value.Addr().Interface(), tx)
    				} else {
    					db.AddError(gorm.ErrInvalidValue)
    					return
    				}
    				db.Statement.CurDestIndex++
    			}
    		case reflect.Struct:
    			if db.Statement.ReflectValue.CanAddr() {
    				fc(db.Statement.ReflectValue.Addr().Interface(), tx)
    			} else {
    				db.AddError(gorm.ErrInvalidValue)
    			}
    		}
    	}
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Sat Feb 18 01:20:29 UTC 2023
    - 846 bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/mips.s

    	//	LFMOV freg ',' addr
    	//	{
    	//		outcode(int($1), &$2, 0, &$4);
    	//	}
    	MOVF	F2, foo<>+3(SB)
    	MOVF	F2, 16(R1)
    	MOVF	F2, (R1)
    
    	//
    	// store ints and bytes
    	//
    	//	LMOVW rreg ',' addr
    	//	{
    	//		outcode(int($1), &$2, 0, &$4);
    	//	}
    	MOVW	R1, foo<>+3(SB)
    	MOVW	R1, 16(R2)
    	MOVW	R1, (R2)
    	MOVW	R1, foo<>+3(SB)
    	MOVW	R1, 16(R2)
    	MOVW	R1, (R2)
    	SC	R1, (R2)
    
    	//	LMOVB rreg ',' addr
    	//	{
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  10. api/go1.18.txt

    pkg net/netip, method (Addr) MarshalBinary() ([]uint8, error)
    pkg net/netip, method (Addr) MarshalText() ([]uint8, error)
    pkg net/netip, method (Addr) Next() Addr
    pkg net/netip, method (Addr) Prefix(int) (Prefix, error)
    pkg net/netip, method (Addr) Prev() Addr
    pkg net/netip, method (Addr) String() string
    pkg net/netip, method (Addr) StringExpanded() string
    pkg net/netip, method (Addr) Unmap() Addr
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
Back to top