Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 125 for opAddr (1.14 sec)

  1. src/net/udpsock.go

    	switch network {
    	case "udp", "udp4", "udp6":
    	default:
    		return nil, &OpError{Op: "dial", Net: network, Source: laddr.opAddr(), Addr: raddr.opAddr(), Err: UnknownNetworkError(network)}
    	}
    	if raddr == nil {
    		return nil, &OpError{Op: "dial", Net: network, Source: laddr.opAddr(), Addr: nil, Err: errMissingAddress}
    	}
    	sd := &sysDialer{network: network, address: raddr.String()}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 16:58:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  2. src/net/iprawsock.go

    // BUG(mikio): On Windows, the File method of IPConn is not
    // implemented.
    
    // IPAddr represents the address of an IP end point.
    type IPAddr struct {
    	IP   IP
    	Zone string // IPv6 scoped addressing zone
    }
    
    // Network returns the address's network name, "ip".
    func (a *IPAddr) Network() string { return "ip" }
    
    func (a *IPAddr) String() string {
    	if a == nil {
    		return "<nil>"
    	}
    	ip := ipEmptyString(a.IP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/deadstore_test.go

    			Valu("start", OpInitMem, types.TypeMem, 0, nil),
    			Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
    			Valu("v", OpConstBool, c.config.Types.Bool, 1, nil),
    			Valu("addr1", OpAddr, ptrType, 0, nil, "sb"),
    			Valu("addr2", OpAddr, ptrType, 0, nil, "sb"),
    			Valu("addr3", OpAddr, ptrType, 0, nil, "sb"),
    			Valu("zero1", OpZero, types.TypeMem, 1, c.config.Types.Bool, "addr3", "start"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. src/net/unixsock.go

    	default:
    		return nil, &OpError{Op: "dial", Net: network, Source: laddr.opAddr(), Addr: raddr.opAddr(), Err: UnknownNetworkError(network)}
    	}
    	sd := &sysDialer{network: network, address: raddr.String()}
    	c, err := sd.dialUnix(context.Background(), laddr, raddr)
    	if err != nil {
    		return nil, &OpError{Op: "dial", Net: network, Source: laddr.opAddr(), Addr: raddr.opAddr(), Err: err}
    	}
    	return c, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/writebarrier_test.go

    			Valu("start", OpInitMem, types.TypeMem, 0, nil),
    			Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
    			Valu("sp", OpSP, c.config.Types.Uintptr, 0, nil),
    			Valu("v", OpConstNil, ptrType, 0, nil),
    			Valu("addr1", OpAddr, ptrType, 0, nil, "sb"),
    			Valu("wb2", OpStore, types.TypeMem, 0, ptrType, "addr1", "v", "wb1"),
    			Valu("wb1", OpStore, types.TypeMem, 0, ptrType, "addr1", "v", "start"), // wb1 and wb2 are out of order
    			Goto("exit")),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 24 15:51:15 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/passbm_test.go

    		blocs = append(blocs, Bloc(blockn(i),
    			Valu(valn("v", i, 0), OpConstBool, types.Types[types.TBOOL], 1, nil),
    			Valu(valn("addr", i, 1), OpAddr, ptrType, 0, nil, "sb"),
    			Valu(valn("addr", i, 2), OpAddr, ptrType, 0, nil, "sb"),
    			Valu(valn("addr", i, 3), OpAddr, ptrType, 0, nil, "sb"),
    			Valu(valn("zero", i, 1), OpZero, types.TypeMem, 8, elemType, valn("addr", i, 3),
    				valn("store", i-1, 4)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/net/tcpsock.go

    	switch network {
    	case "tcp", "tcp4", "tcp6":
    	default:
    		return nil, &OpError{Op: "dial", Net: network, Source: laddr.opAddr(), Addr: raddr.opAddr(), Err: UnknownNetworkError(network)}
    	}
    	if raddr == nil {
    		return nil, &OpError{Op: "dial", Net: network, Source: laddr.opAddr(), Addr: nil, Err: errMissingAddress}
    	}
    	sd := &sysDialer{network: network, address: raddr.String()}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/cse_test.go

    			Valu("sp", OpSP, c.config.Types.Uintptr, 0, nil),
    			Valu("sb1", OpSB, c.config.Types.Uintptr, 0, nil),
    			Valu("sb2", OpSB, c.config.Types.Uintptr, 0, nil),
    			Valu("addr1", OpAddr, c.config.Types.Int64.PtrTo(), 0, nil, "sb1"),
    			Valu("addr2", OpAddr, c.config.Types.Int64.PtrTo(), 0, nil, "sb2"),
    			Valu("a1ld", OpLoad, c.config.Types.Int64, 0, nil, "addr1", "start"),
    			Valu("a2ld", OpLoad, c.config.Types.Int64, 0, nil, "addr2", "start"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/branchelim_test.go

    					Valu("start", OpInitMem, types.TypeMem, 0, nil),
    					Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
    					Valu("const1", OpConst32, intType, 1, nil),
    					Valu("const2", OpConst32, intType, 2, nil),
    					Valu("addr", OpAddr, boolType.PtrTo(), 0, nil, "sb"),
    					Valu("cond", OpLoad, boolType, 0, nil, "addr", "start"),
    					If("cond", "b2", "b3")),
    				Bloc("b2",
    					Goto("b3")),
    				Bloc("b3",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 24 15:51:15 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  10. test/fixedbugs/issue26105.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Triggers a bug in writebarrier, which inserts one
    // between (first block) OpAddr x and (second block) a VarDef x,
    // which are then in the wrong order and unable to be
    // properly scheduled.
    
    package q
    
    var S interface{}
    
    func F(n int) {
    	fun := func(x int) int {
    		S = 1
    		return n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 12 18:45:31 UTC 2018
    - 543 bytes
    - Viewed (0)
Back to top