Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for nil (0.65 sec)

  1. src/cmd/link/internal/ld/macho_combine_dwarf.go

    		// so there's no point in worrying about them. Bail out if that
    		// changes.
    		if sect.Nreloc != 0 {
    			return nil, nil, nil
    		}
    
    		data, err := sect.Data()
    		if err != nil {
    			return nil, nil, err
    		}
    
    		compressed, contents, err := machoCompressSection(data)
    		if err != nil {
    			return nil, nil, err
    		}
    
    		newSec := *sect
    		newSec.Offset = uint32(dwarfseg.Offset) + uint32(buf.Len())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    	}()
    	wg.Wait()
    	save := savesrc || savebase
    
    	if errsrc != nil {
    		return nil, nil, nil, nil, false, fmt.Errorf("problem fetching source profiles: %v", errsrc)
    	}
    	if errbase != nil {
    		return nil, nil, nil, nil, false, fmt.Errorf("problem fetching base profiles: %v,", errbase)
    	}
    	if countsrc == 0 {
    		return nil, nil, nil, nil, false, fmt.Errorf("failed to fetch any source profiles")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    	if f.baseErr != nil {
    		return nil, f.baseErr
    	}
    	return nil, nil
    }
    
    func (f *file) Close() error {
    	return nil
    }
    
    func (f *file) Symbols(r *regexp.Regexp, addr uint64) ([]*plugin.Sym, error) {
    	// Get from nm a list of symbols sorted by address.
    	cmd := exec.Command(f.b.nm, "-n", f.name)
    	out, err := cmd.Output()
    	if err != nil {
    		return nil, fmt.Errorf("%v: %v", cmd.Args, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/positions.go

    func EndPos(n Node) Pos {
    	for m := n; ; {
    		switch n := m.(type) {
    		case nil:
    			panic("nil node")
    
    		// packages
    		case *File:
    			return n.EOF
    
    		// declarations
    		case *ImportDecl:
    			m = n.Path
    		case *ConstDecl:
    			if n.Values != nil {
    				m = n.Values
    				continue
    			}
    			if n.Type != nil {
    				m = n.Type
    				continue
    			}
    			if l := len(n.NameList); l > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    	if skip(t) {
    		return nil
    	}
    	op := t.Op.Copy(fn, skip)
    	first := t.First.Copy(fn, skip)
    	second := t.Second.Copy(fn, skip)
    	third := t.Third.Copy(fn, skip)
    	if op == nil && first == nil && second == nil && third == nil {
    		return fn(t)
    	}
    	if op == nil {
    		op = t.Op
    	}
    	if first == nil {
    		first = t.First
    	}
    	if second == nil {
    		second = t.Second
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    	if relative {
    		if err := applyFocus(p, numLabelUnits, cfg, o.UI); err != nil {
    			return nil, nil, err
    		}
    	}
    	ropt, err := reportOptions(p, numLabelUnits, cfg)
    	if err != nil {
    		return nil, nil, err
    	}
    	ropt.OutputFormat = c.format
    	if len(cmd) == 2 {
    		s, err := regexp.Compile(cmd[1])
    		if err != nil {
    			return nil, nil, fmt.Errorf("parsing argument regexp %s: %v", cmd[1], err)
    		}
    		ropt.Symbol = s
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/shell.go

    //
    //	cmdOut  cmdErr  Result
    //	""      nil     print nothing, return nil
    //	!=""    nil     print output, return nil
    //	""      !=nil   print nothing, return cmdErr (later printed)
    //	!=""    !=nil   print nothing, ignore err, return output as error (later printed)
    //
    // reportCmd returns a non-nil error if and only if cmdErr != nil. It assumes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/typestring.go

    	return &typeWriter{buf, make(map[Type]bool), qf, nil, nil, true, false, false}
    }
    
    func newTypeHasher(buf *bytes.Buffer, ctxt *Context) *typeWriter {
    	assert(ctxt != nil)
    	return &typeWriter{buf, make(map[Type]bool), nil, ctxt, nil, false, false, false}
    }
    
    func (w *typeWriter) byte(b byte) {
    	if w.ctxt != nil {
    		if b == ' ' {
    			b = '#'
    		}
    		w.buf.WriteByte(b)
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/alias.go

    	tparams *TypeParamList // type parameters, or nil
    	targs   *TypeList      // type arguments, or nil
    	fromRHS Type           // RHS of type alias declaration; may be an alias
    	actual  Type           // actual (aliased) type; never an alias
    }
    
    // NewAlias creates a new Alias type with the given type name and rhs.
    // rhs must not be nil.
    func NewAlias(obj *TypeName, rhs Type) *Alias {
    	alias := (*Checker)(nil).newAlias(obj, rhs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/decl.go

    		}()
    
    	case black:
    		assert(obj.Type() != nil)
    		return
    
    	default:
    		// Color values other than white or black are considered grey.
    		fallthrough
    
    	case grey:
    		// We have a (possibly invalid) cycle.
    		// In the existing code, this is marked by a non-nil type
    		// for the object except for constants and variables whose
    		// type may be non-nil (known), or nil if it depends on the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
Back to top