Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for adir (0.2 sec)

  1. src/reflect/value.go

    	}
    }
    
    // Addr returns a pointer value representing the address of v.
    // It panics if [Value.CanAddr] returns false.
    // Addr is typically used to obtain a pointer to a struct field
    // or slice element in order to call a method that requires a
    // pointer receiver.
    func (v Value) Addr() Value {
    	if v.flag&flagAddr == 0 {
    		panic("reflect.Value.Addr of unaddressable value")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/ppc64/asm9.go

    			mb, me, valid = decodeMask32(uint32(p.RestArgs[0].Addr.Offset))
    			if !valid {
    				c.ctxt.Diag("cannot generate mask #%x\n%v", uint64(p.RestArgs[0].Addr.Offset), p)
    			}
    		} else { // Otherwise, mask is already passed as mb and me in RestArgs.
    			mb, me = uint32(p.RestArgs[0].Addr.Offset), uint32(p.RestArgs[1].Addr.Offset)
    		}
    		if p.From.Type == obj.TYPE_CONST {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/arm64/asm7.go

    	c.elitrl = nil
    	c.pool.size = 0
    	c.pool.start = 0
    }
    
    /*
     * MOVD foo(SB), R is actually
     *   MOVD addr, REGTMP
     *   MOVD REGTMP, R
     * where addr is the address of the DWORD containing the address of foo.
     *
     * TODO: hash
     */
    func (c *ctxt7) addpool(p *obj.Prog, a *obj.Addr) {
    	cls := c.aclass(a)
    	lit := c.instoffset
    	t := c.newprog()
    	t.As = AWORD
    	sz := 4
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  4. src/reflect/all_test.go

    	}
    
    	v := ValueOf(&p)
    	v = v.Elem()
    	v = v.Addr()
    	v = v.Elem()
    	v = v.Field(0)
    	v.SetInt(2)
    	if p.X != 2 {
    		t.Errorf("Addr.Elem.Set failed to set value")
    	}
    
    	// Again but take address of the ValueOf value.
    	// Exercises generation of PtrTypes not present in the binary.
    	q := &p
    	v = ValueOf(&q).Elem()
    	v = v.Addr()
    	v = v.Elem()
    	v = v.Elem()
    	v = v.Addr()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/s390x/asmz.go

    		return nil
    	}
    
    	// Initialize classes for all arguments.
    	p.From.Class = int8(c.aclass(&p.From) + 1)
    	p.To.Class = int8(c.aclass(&p.To) + 1)
    	for i := range p.RestArgs {
    		p.RestArgs[i].Addr.Class = int8(c.aclass(&p.RestArgs[i].Addr) + 1)
    	}
    
    	// Mirrors the argument list in Optab.
    	args := [...]int8{
    		p.From.Class - 1,
    		C_NONE, // p.Reg
    		C_NONE, // p.RestArgs[0]
    		C_NONE, // p.RestArgs[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_node_status_test.go

    	}
    	addrs, err := net.InterfaceAddrs()
    	if err != nil {
    		assert.Error(t, err, fmt.Sprintf(
    			"Unable to obtain a list of the node's unicast interface addresses."))
    	}
    	for _, addr := range addrs {
    		var ip net.IP
    		switch v := addr.(type) {
    		case *net.IPNet:
    			ip = v.IP
    		case *net.IPAddr:
    			ip = v.IP
    		}
    		if ip.IsLoopback() || ip.IsLinkLocalUnicast() {
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    // Prefetch instructions (aux is option: 0 - PLDL1KEEP; 1 - PLDL1STRM)
    (PrefetchCache addr mem)         => (PRFM [0] addr mem)
    (PrefetchCacheStreamed addr mem) => (PRFM [1] addr mem)
    
    // Arch-specific inlining for small or disjoint runtime.memmove
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  8. pkg/proxy/ipvs/proxier_test.go

    			}}
    		}),
    	)
    
    	itf := net.Interface{Index: 0, MTU: 0, Name: "eth0", HardwareAddr: nil, Flags: 0}
    	addrs := []net.Addr{&net.IPNet{IP: netutils.ParseIPSloppy("100.101.102.103"), Mask: net.CIDRMask(24, 32)}}
    	itf1 := net.Interface{Index: 1, MTU: 0, Name: "eth1", HardwareAddr: nil, Flags: 0}
    	addrs1 := []net.Addr{&net.IPNet{IP: netutils.ParseIPSloppy("2001:db8::"), Mask: net.CIDRMask(64, 128)}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  9. src/debug/elf/elf.go

    // ELF32 Section header.
    type Section32 struct {
    	Name      uint32 /* Section name (index into the section header string table). */
    	Type      uint32 /* Section type. */
    	Flags     uint32 /* Section flags. */
    	Addr      uint32 /* Address in memory image. */
    	Off       uint32 /* Offset in file. */
    	Size      uint32 /* Size in bytes. */
    	Link      uint32 /* Index of a related section. */
    	Info      uint32 /* Depends on section type. */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 00:01:16 UTC 2024
    - 134.6K bytes
    - Viewed (0)
  10. pkg/printers/internalversion/printers.go

    				count += len(ss.Addresses)
    				for i := range ss.Addresses {
    					if len(list) == max {
    						more = true
    						// the next loop is redundant
    						break
    					}
    					addr := &ss.Addresses[i]
    					hostPort := net.JoinHostPort(addr.IP, strconv.Itoa(int(port.Port)))
    					list = append(list, hostPort)
    				}
    			}
    		}
    	}
    
    	ret := strings.Join(list, ",")
    	if more {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
Back to top