Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for baddr (0.16 sec)

  1. istioctl/pkg/writer/envoy/configdump/listener.go

    		if iPort != jPort {
    			return iPort < jPort
    		}
    		iAddr := retrieveListenerAddress(listeners[i])
    		jAddr := retrieveListenerAddress(listeners[j])
    		if iAddr != jAddr {
    			return iAddr < jAddr
    		}
    		iType := retrieveListenerType(listeners[i])
    		jType := retrieveListenerType(listeners[j])
    		return iType < jType
    	})
    
    	fmt.Fprintln(w, "LISTENER\tCHAIN\tMATCH\tDESTINATION")
    	for _, l := range listeners {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  2. 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
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  3. misc/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;
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  4. 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)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  5. 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 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

          dynamic_addr(symbol) = static_addr(symbol) + load_addr
     
    -     The choice of symbol is arbitrary. The static address we obtain
    -     by constructing a non GOT reference to the symbol, the dynamic
    -     address of the symbol we compute using adrp/add to compute the
    -     symbol's address relative to the PC. */
    -
    -  ElfW(Addr) static_addr;
    -  ElfW(Addr) dynamic_addr;
    -
    -  asm ("					\n\
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  7. 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 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/cni-watcher_test.go

    	assert.Error(t, err)
    }
    
    func TestCNIPluginServer(t *testing.T) {
    	fakePodIP := "11.1.1.12"
    	_, addr, _ := net.ParseCIDR(fakePodIP + "/32")
    	valid := CNIPluginAddEvent{
    		Netns:        "/var/netns/foo",
    		PodName:      "pod-bingo",
    		PodNamespace: "funkyns",
    		IPs: []IPConfig{{
    			Address: *addr,
    		}},
    	}
    
    	setupLogging()
    	NodeName = "testnode"
    	ctx, cancel := context.WithCancel(context.Background())
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/endpoint.go

    }
    
    func retrieveEndpointAddress(ep *endpoint.LbEndpoint) string {
    	addr := ep.GetEndpoint().GetAddress()
    	if addr := addr.GetSocketAddress(); addr != nil {
    		return addr.Address + ":" + strconv.Itoa(int(addr.GetPortValue()))
    	}
    	if addr := addr.GetPipe(); addr != nil {
    		return addr.GetPath()
    	}
    	if internal := addr.GetEnvoyInternalAddress(); internal != nil {
    		switch an := internal.GetAddressNameSpecifier().(type) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. internal/event/target/webhook.go

    		cancelCh:   ctx.Done(),
    	}
    
    	// Calculate the webhook addr with the port number format
    	target.addr = args.Endpoint.Host
    	if _, _, err := net.SplitHostPort(args.Endpoint.Host); err != nil && strings.Contains(err.Error(), "missing port in address") {
    		switch strings.ToLower(args.Endpoint.Scheme) {
    		case "http":
    			target.addr += ":80"
    		case "https":
    			target.addr += ":443"
    		default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 20 22:40:07 GMT 2023
    - 8.5K bytes
    - Viewed (0)
Back to top