Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for littlest (0.14 sec)

  1. src/cmd/cgo/gcc.go

    			C:     tr,
    		}
    	case *dwarf.TypedefType:
    		// C has much more relaxed rules than Go for
    		// implicit type conversions. When the parameter
    		// is type T defined as *X, simulate a little of the
    		// laxness of C by making the argument *X instead of T.
    		if ptr, ok := base(dt.Type).(*dwarf.PtrType); ok {
    			// Unless the typedef happens to point to void* since
    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/bufio/scan_test.go

    }
    
    var testError = errors.New("testError")
    
    // Test the correct error is returned when the split function errors out.
    func TestSplitError(t *testing.T) {
    	// Create a split function that delivers a little data, then a predictable error.
    	numSplits := 0
    	const okCount = 7
    	errorSplit := func(data []byte, atEOF bool) (advance int, token []byte, err error) {
    		if atEOF {
    			panic("didn't get enough data")
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
Back to top