Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Case (0.14 sec)

  1. src/bufio/bufio_test.go

    	r := NewReader(z)
    
    	c := make(chan error)
    	go func() {
    		_, err := r.ReadByte()
    		c <- err
    	}()
    
    	select {
    	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?)")
    	}
    }
    
    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

    		case 1:
    			t.Go = c.uint8
    		case 2:
    			t.Go = c.uint16
    		case 4:
    			t.Go = c.uint32
    		case 8:
    			t.Go = c.uint64
    		case 1 + signedDelta:
    			t.Go = c.int8
    		case 2 + signedDelta:
    			t.Go = c.int16
    		case 4 + signedDelta:
    			t.Go = c.int32
    		case 8 + signedDelta:
    			t.Go = c.int64
    		}
    
    	case *dwarf.FloatType:
    		switch t.Size {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  3. src/bytes/bytes_test.go

    	toFn := func(name string) (func([]byte, string) []byte, func([]byte, []byte) []byte) {
    		switch name {
    		case "Trim":
    			return Trim, nil
    		case "TrimLeft":
    			return TrimLeft, nil
    		case "TrimRight":
    			return TrimRight, nil
    		case "TrimPrefix":
    			return nil, TrimPrefix
    		case "TrimSuffix":
    			return nil, TrimSuffix
    		default:
    			t.Errorf("Undefined trim function %s", 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)
  4. src/cmd/asm/internal/asm/testdata/amd64enc_extra.s

    	VPGATHERQQ Y0, 0(Y1*4), Y2              // c4e2fd91148d00000000
    	VPGATHERQQ X8, 0(X9*4), X10             // c422b991148d00000000
    	VPGATHERQQ Y8, 0(Y9*4), Y10             // c422bd91148d00000000
    	// AVX2GATHER: test SP/BP base with different displacements.
    	VPGATHERQQ X0, (SP)(X1*1), X2           // c4e2f991140c
    	VPGATHERQQ X0, 16(SP)(X1*1), X2         // c4e2f991540c10
    	VPGATHERQQ X0, 512(SP)(X1*1), X2        // c4e2f991940c00020000
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 11 18:32:50 GMT 2023
    - 57.6K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/ppc64.s

    // available in cmd/internal/obj/ppc64/asm9.go with
    // their valid instruction encodings.
    
    #include "../../../../../runtime/textflag.h"
    
    // In case of index mode instructions, usage of
    // (Rx)(R0) is equivalent to (Rx+R0)
    // In case of base+displacement mode instructions if
    // the offset is 0, usage of (Rx) is equivalent to 0(Rx)
    TEXT asmtest(SB),DUPOK|NOSPLIT,$0
    	// move constants
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
Back to top