Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for heedless (2.47 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
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/api_test.go

    	T := pkg.Scope().Lookup("T").Type().(*Named)
    	if n := T.TypeParams().Len(); n != 1 {
    		t.Fatalf("expected 1 type parameter; found %d", n)
    	}
    
    	// instantiation should succeed (no endless recursion)
    	// even with a nil *Checker
    	res, err := Instantiate(nil, T, []Type{Typ[Int]}, false)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// instantiated type should point to itself
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types/type.go

    	// This follows the structure of function identical in identity.go
    	// with two exceptions.
    	// 1. Symbols are compared more carefully because a <,=,> result is desired.
    	// 2. Maps are treated specially to avoid endless recursion -- maps
    	//    contain an internal data type not expressible in Go source code.
    	if t == x {
    		return CMPeq
    	}
    	if t == nil {
    		return CMPlt
    	}
    	if x == nil {
    		return CMPgt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
Back to top