Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for namesSize (0.22 sec)

  1. src/go/printer/nodes.go

    	}
    	// only name(s) and type
    	const maxSize = 30 // adjust as appropriate, this is an approximate value
    	namesSize := identListSize(f.Names, maxSize)
    	if namesSize > 0 {
    		namesSize = 1 // blank between names and types
    	}
    	typeSize := p.nodeSize(f.Type, maxSize)
    	return namesSize+typeSize <= maxSize
    }
    
    func (p *printer) setLineComment(text string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/lib.go

    		if sect.Type != elf.SHT_NOTE {
    			continue
    		}
    		r := sect.Open()
    		for {
    			var namesize, descsize, noteType int32
    			err := binary.Read(r, f.ByteOrder, &namesize)
    			if err != nil {
    				if err == io.EOF {
    					break
    				}
    				return nil, fmt.Errorf("read namesize failed: %v", err)
    			}
    			err = binary.Read(r, f.ByteOrder, &descsize)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
Back to top