Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for interfaceEqual (0.14 sec)

  1. src/os/exec/exec.go

    	b.WriteString(c.Path)
    	for _, a := range c.Args[1:] {
    		b.WriteByte(' ')
    		b.WriteString(a)
    	}
    	return b.String()
    }
    
    // interfaceEqual protects against panics from doing equality tests on
    // two interfaces with non-comparable underlying types.
    func interfaceEqual(a, b any) bool {
    	defer func() {
    		recover()
    	}()
    	return a == b
    }
    
    func (c *Cmd) argv() []string {
    	if len(c.Args) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
Back to top