Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Dailey (0.27 sec)

  1. src/bytes/reader_test.go

    	}
    	if n, err := r.Read(make([]byte, 10)); err != nil || n != 10 {
    		t.Errorf("Read failed: read %d %v", n, err)
    	}
    	if got, want := r.Len(), 1; got != want {
    		t.Errorf("r.Len(): got %d, want %d", got, want)
    	}
    	if n, err := r.Read(make([]byte, 1)); err != nil || n != 1 {
    		t.Errorf("Read failed: read %d %v; want 1, nil", n, err)
    	}
    	if got, want := r.Len(), 0; got != want {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Dec 13 18:45:54 GMT 2021
    - 8K bytes
    - Viewed (0)
  2. src/archive/zip/zip_test.go

    	d := make([]byte, 1024)
    	if _, err := zip.ReadAt(d, zip.Size()-int64(len(d))); err != nil {
    		t.Fatalf("ReadAt: %v", err)
    	}
    
    	sigOff := findSignatureInBlock(d)
    	if sigOff == -1 {
    		t.Errorf("failed to find signature in block")
    		return false
    	}
    
    	dirOff, err := findDirectory64End(zip, zip.Size()-int64(len(d))+int64(sigOff))
    	if err != nil {
    		t.Fatalf("findDirectory64End: %v", err)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  3. doc/go_spec.html

    this unification step succeeds as well.
    Unification of the LHS and RHS of the equation is now finished.
    Type inference succeeds because there is only one type equation,
    no unification step failed, and the map is fully populated.
    </p>
    
    <p>
    Unification uses a combination of <i>exact</i> and <i>loose</i>
    unification depending on whether two types have to be
    <a href="#Type_identity">identical</a>,
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  4. api/go1.1.txt

    pkg syscall (windows-386), const USAGE_MATCH_TYPE_AND = 0
    pkg syscall (windows-386), const USAGE_MATCH_TYPE_OR = 1
    pkg syscall (windows-386), const WAIT_ABANDONED = 128
    pkg syscall (windows-386), const WAIT_FAILED = 4294967295
    pkg syscall (windows-386), const WAIT_OBJECT_0 = 0
    pkg syscall (windows-386), const WAIT_TIMEOUT = 258
    pkg syscall (windows-386), const WSADESCRIPTION_LEN = 256
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  5. src/cmd/addr2line/addr2line_test.go

    	}
    	fi1, err := os.Stat("addr2line_test.go")
    	if err != nil {
    		t.Fatalf("Stat failed: %v", err)
    	}
    
    	// Debug paths are stored slash-separated, so convert to system-native.
    	srcPath = filepath.FromSlash(srcPath)
    	fi2, err := os.Stat(srcPath)
    
    	if err != nil {
    		t.Fatalf("Stat failed: %v", err)
    	}
    	if !os.SameFile(fi1, fi2) {
    		t.Fatalf("addr2line_test.go and %s are not same file", srcPath)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. src/cmd/asm/main.go

    			break
    		}
    	}
    	if ok && !*flags.SymABIs {
    		ctxt.NumberSyms()
    		obj.WriteObjFile(ctxt, buf)
    	}
    	if !ok || diag {
    		if failedFile != "" {
    			log.Printf("assembly of %s failed", failedFile)
    		} else {
    			log.Print("assembly failed")
    		}
    		buf.Close()
    		os.Remove(*flags.OutputFile)
    		os.Exit(1)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  7. src/archive/zip/fuzz_test.go

    )
    
    func FuzzReader(f *testing.F) {
    	testdata, err := os.ReadDir("testdata")
    	if err != nil {
    		f.Fatalf("failed to read testdata directory: %s", err)
    	}
    	for _, de := range testdata {
    		if de.IsDir() {
    			continue
    		}
    		b, err := os.ReadFile(filepath.Join("testdata", de.Name()))
    		if err != nil {
    			f.Fatalf("failed to read testdata: %s", err)
    		}
    		f.Add(b)
    	}
    
    	f.Fuzz(func(t *testing.T, b []byte) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 13 18:06:33 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/swig/swig_test.go

    	out, err := exec.Command(swig, "-version").CombinedOutput()
    	if err != nil {
    		t.Skipf("failed to get swig version:%s\n%s", err, string(out))
    	}
    
    	re := regexp.MustCompile(`[vV]ersion +(\d+)([.]\d+)?([.]\d+)?`)
    	matches := re.FindSubmatch(out)
    	if matches == nil {
    		// Can't find version number; hope for the best.
    		t.Logf("failed to find swig version, continuing")
    		return
    	}
    
    	var parseError error
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue18146.go

    	}
    
    	failures := 0
    	for _, cmd := range cmds {
    		err := cmd.Wait()
    		if err == nil {
    			continue
    		}
    
    		t.Errorf("syscall.Exec failed: %v\n%s", err, cmd.Stdout)
    		failures++
    	}
    
    	if failures > 0 {
    		t.Logf("Failed %v of %v attempts.", failures, len(cmds))
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Sep 05 23:35:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  10. src/archive/zip/reader_test.go

    	for i := 0; i < 5; i++ {
    		_, err := w.Create("")
    		if err != nil {
    			t.Fatalf("Writer.Create failed: %s", err)
    		}
    	}
    	if err := w.Close(); err != nil {
    		t.Fatalf("Writer.Close failed: %s", err)
    	}
    	r, err := NewReader(bytes.NewReader(b.Bytes()), int64(b.Len()))
    	if err != nil {
    		t.Fatalf("NewReader failed: %s", err)
    	}
    	if len(r.File) != 5 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
Back to top