Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for AddAddress (0.3 sec)

  1. pkg/controller/endpointslicemirroring/reconciler_helpers.go

    		}
    		d.portsByKey[multiKey[addrType]] = endpointPorts
    	}
    
    	return multiKey
    }
    
    // addAddress adds an EndpointAddress to the desired state if it is valid. It
    // returns false if the address was invalid.
    func (d *desiredCalc) addAddress(address v1.EndpointAddress, multiKey multiAddrTypePortMapKey, ready bool) bool {
    	endpoint := addressToEndpoint(address, ready)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. pkg/controller/endpointslicemirroring/reconciler.go

    			// per EndpointSubset. This allows for a simple 1:1 mapping between
    			// EndpointSubset and EndpointSlice.
    			if totalAddressesAdded >= int(r.maxEndpointsPerSubset) {
    				break
    			}
    			if ok := d.addAddress(address, multiKey, true); ok {
    				totalAddressesAdded++
    			} else {
    				numInvalidAddresses++
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  3. src/cmd/internal/dwarf/dwarf.go

    		}
    		if cls == DW_CLS_GO_TYPEREF {
    			ctxt.AddSectionOffset(s, ctxt.PtrSize(), data, value)
    			break
    		}
    		ctxt.AddAddress(s, data, value)
    
    	case DW_FORM_block1: // block
    		if cls == DW_CLS_ADDRESS {
    			ctxt.AddInt(s, 1, int64(1+ctxt.PtrSize()))
    			ctxt.AddInt(s, 1, DW_OP_addr)
    			ctxt.AddAddress(s, data, 0)
    			break
    		}
    
    		value &= 0xff
    		ctxt.AddInt(s, 1, value)
    		p := data.([]byte)[:value]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/dwarf.go

    	// starting text address of this function.
    	dctxt.AddUint8(lines, 0)
    	dwarf.Uleb128put(dctxt, lines, 1+int64(ctxt.Arch.PtrSize))
    	dctxt.AddUint8(lines, dwarf.DW_LNE_set_address)
    	dctxt.AddAddress(lines, s, 0)
    
    	// Set up the debug_lines state machine to the default values
    	// we expect at the start of a new sequence.
    	stmt := true
    	line := int64(1)
    	pc := s.Func().Text.Pc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 20:40:28 UTC 2023
    - 22K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/dwarf.go

    	dsu.AddBytes(b)
    }
    
    func (c dwctxt) AddString(s dwarf.Sym, v string) {
    	ds := loader.Sym(s.(dwSym))
    	dsu := c.ldr.MakeSymbolUpdater(ds)
    	dsu.Addstring(v)
    }
    
    func (c dwctxt) AddAddress(s dwarf.Sym, data interface{}, value int64) {
    	ds := loader.Sym(s.(dwSym))
    	dsu := c.ldr.MakeSymbolUpdater(ds)
    	if value != 0 {
    		value -= dsu.Value()
    	}
    	tgtds := loader.Sym(data.(dwSym))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top