Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for loop (0.12 sec)

  1. src/bufio/bufio_test.go

    	case err := <-c:
    		if err == nil {
    			t.Error("error expected")
    		} else if err != io.ErrNoProgress {
    			t.Error("unexpected error:", err)
    		}
    	case <-time.After(time.Second):
    		t.Error("test timed out (endless loop in ReadByte?)")
    	}
    }
    
    // A StringReader delivers its data one string segment at a time via Read.
    type StringReader struct {
    	data []string
    	step int
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    	// See issue https://golang.org/issue/31891
    	key := parent + " > " + dtype.String()
    
    	if checkCache {
    		if t, ok := c.m[key]; ok {
    			if t.Go == nil {
    				fatalf("%s: type conversion loop at %s", lineno(pos), dtype)
    			}
    			return t
    		}
    	}
    
    	t := new(Type)
    	t.Size = dtype.Size() // note: wrong for array of pointers, corrected below
    	t.Align = -1
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top