Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for Truong (0.14 sec)

  1. src/bufio/scan_test.go

    			if s.ErrOrEOF() != io.EOF {
    				t.Fatal("not testing EOF")
    			}
    			err = testError
    		}
    		return
    	}
    	s.Split(split)
    	for s.Scan() {
    	}
    	if s.Err() != testError {
    		t.Fatal("wrong error:", s.Err())
    	}
    }
    
    // Test for issue 5268.
    type alwaysError struct{}
    
    func (alwaysError) Read(p []byte) (int, error) {
    	return 0, io.ErrUnexpectedEOF
    }
    
    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)
  2. misc/go_android_exec/main.go

    	"os/exec"
    	"os/signal"
    	"path"
    	"path/filepath"
    	"regexp"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"syscall"
    )
    
    func adbRun(args string) (int, error) {
    	// The exit code of adb is often wrong. In theory it was fixed in 2016
    	// (https://code.google.com/p/android/issues/detail?id=3254), but it's
    	// still broken on our builders in 2023. Instead, append the exitcode to
    	// the output and parse it from there.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  3. src/archive/tar/reader.go

    			// Prior to Go1.8, the Writer had a bug where it would output
    			// an invalid tar file in certain rare situations because the logic
    			// incorrectly believed that the old GNU format had a prefix field.
    			// This is wrong and leads to an output file that mangles the
    			// atime and ctime fields, which are often left unused.
    			//
    			// In order to continue reading tar files created by former, buggy
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/armerror.s

    	BFX	$12, $41, R2, R3   // ERROR "wrong width or LSB"
    	BFX	$12, $-2, R2       // ERROR "wrong width or LSB"
    	BFXU	$40, $4, R2, R3    // ERROR "wrong width or LSB"
    	BFXU	$-40, $4, R2       // ERROR "wrong width or LSB"
    	BFX	$-2, $4, R2, R3    // ERROR "wrong width or LSB"
    	BFXU	$4, R2, R5, R2     // ERROR "missing or wrong LSB"
    	BFXU	$4, R2, R5         // ERROR "missing or wrong LSB"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Nov 03 14:06:21 GMT 2017
    - 14.4K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/asm.go

    			target = &a[2]
    			break
    		}
    		p.errorf("wrong number of arguments to %s instruction", op)
    		return
    	case 4:
    		if p.arch.Family == sys.S390X || p.arch.Family == sys.PPC64 {
    			// 4-operand compare-and-branch.
    			prog.From = a[0]
    			prog.Reg = p.getRegister(prog, op, &a[1])
    			prog.AddRestSource(a[2])
    			target = &a[3]
    			break
    		}
    		p.errorf("wrong number of arguments to %s instruction", op)
    		return
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/endtoend_test.go

    			} else if err := errors[fileline]; err == "" {
    				t.Errorf("%s: missing error, want %s", fileline, all)
    			} else if !strings.Contains(err, mm[0][1]) {
    				t.Errorf("%s: wrong error for %s:\n%s", fileline, all, err)
    			}
    		} else {
    			if errors[fileline] != "" {
    				t.Errorf("unexpected error on %s: %v", fileline, errors[fileline])
    			}
    		}
    		delete(errors, fileline)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
Back to top