Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Garg (0.27 sec)

  1. src/cmd/cgo/gcc.go

    			fmt.Fprintf(&sb, "var _cgo%d %s = %s; ", i,
    				gofmtLine(ptype), gofmtPos(arg, origArg.Pos()))
    			continue
    		}
    
    		// Check for &a[i].
    		if p.checkIndex(&sb, &sbCheck, arg, i) {
    			continue
    		}
    
    		// Check for &x.
    		if p.checkAddr(&sb, &sbCheck, arg, i) {
    			continue
    		}
    
    		// Check for a[:].
    		if p.checkSlice(&sb, &sbCheck, arg, i) {
    			continue
    		}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    		if f == nil && fb == nil {
    			continue
    		}
    		var actual string
    		if f != nil {
    			actual = string(f([]byte(tc.in), tc.arg))
    		} else {
    			actual = string(fb([]byte(tc.in), []byte(tc.arg)))
    		}
    		if actual != tc.out {
    			t.Errorf("%s(%q, %q) = %q; want %q", name, tc.in, tc.arg, actual, tc.out)
    		}
    	}
    
    	for _, tc := range trimNilTests {
    		name := tc.f
    		f, fb := toFn(name)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top