Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 49 of 49 for ok (0.29 sec)

  1. src/archive/tar/reader.go

    	default:
    		return n, nil
    	}
    }
    
    func (sr *sparseFileReader) WriteTo(w io.Writer) (n int64, err error) {
    	ws, ok := w.(io.WriteSeeker)
    	if ok {
    		if _, err := ws.Seek(0, io.SeekCurrent); err != nil {
    			ok = false // Not all io.Seeker can really seek
    		}
    	}
    	if !ok {
    		return io.Copy(w, struct{ io.Reader }{sr})
    	}
    
    	var writeLastByte bool
    	pos0 := sr.pos
    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)
  2. src/cmd/asm/internal/asm/testdata/ppc64.s

    	// Hex constant 0xFFFFFFFE00010001
    	ADD $-8589869055, R5            // 3fe0fffe63ff00017bff83e463ff00017cbf2a14 or 0602000138a50001
    
    	//TODO: this compiles to add r5,r6,r0. It should be addi r5,r6,0.
    	//      this is OK since r0 == $0, but the latter is preferred.
    	ADD $0, R6, R5             	// 7ca60214
    
            //TODO: the assembler rewrites these into ADDIS $19, R5, Rx and ADD $-10617, Rx, Rx, but the test only sees the first ADDIS
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
  3. src/bufio/scan_test.go

    	s := NewScanner(strings.NewReader("abc"))
    	s.Split(loopAtEOFSplit)
    	// Expect a panic
    	defer func() {
    		err := recover()
    		if err == nil {
    			t.Fatal("should have panicked")
    		}
    		if msg, ok := err.(string); !ok || !strings.Contains(msg, "empty tokens") {
    			panic(err)
    		}
    	}()
    	for count := 0; s.Scan(); count++ {
    		if count > 1000 {
    			t.Fatal("looping")
    		}
    	}
    	if s.Err() != nil {
    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)
  4. misc/go_android_exec/main.go

    	}
    	cmd := exec.Command(goTool, "list", "-e", "-f", "{{.ImportPath}}:{{.Standard}}{{with .Module}}:{{.Path}}:{{.Dir}}{{end}}", ".")
    	out, err := cmd.Output()
    	if err != nil {
    		if ee, ok := err.(*exec.ExitError); ok && len(ee.Stderr) > 0 {
    			return errorf("%v: %s", cmd, ee.Stderr)
    		}
    		return errorf("%v: %w", cmd, err)
    	}
    
    	parts := strings.SplitN(string(bytes.TrimSpace(out)), ":", 4)
    	if len(parts) < 2 {
    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)
  5. api/go1.16.txt

    pkg syscall (darwin-arm64), const F_NOCACHE ideal-int
    pkg syscall (darwin-arm64), const F_NODIRECT = 62
    pkg syscall (darwin-arm64), const F_NODIRECT ideal-int
    pkg syscall (darwin-arm64), const F_OK = 0
    pkg syscall (darwin-arm64), const F_OK ideal-int
    pkg syscall (darwin-arm64), const F_PATHPKG_CHECK = 52
    pkg syscall (darwin-arm64), const F_PATHPKG_CHECK ideal-int
    pkg syscall (darwin-arm64), const F_PEOFPOSMODE = 3
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/asm.go

    	switch valueAddr.Type {
    	case obj.TYPE_CONST, obj.TYPE_FCONST, obj.TYPE_SCONST, obj.TYPE_ADDR:
    		// OK
    	default:
    		p.errorf("DATA value must be an immediate constant or address")
    		return
    	}
    
    	// The addresses must not overlap. Easiest test: require monotonicity.
    	if lastAddr, ok := p.dataAddr[name]; ok && nameAddr.Offset < lastAddr {
    		p.errorf("overlapping DATA entry for %s", name)
    		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)
  7. api/go1.14.txt

    pkg syscall (freebsd-arm64), const F_GETOWN ideal-int
    pkg syscall (freebsd-arm64), const F_OGETLK = 7
    pkg syscall (freebsd-arm64), const F_OGETLK ideal-int
    pkg syscall (freebsd-arm64), const F_OK = 0
    pkg syscall (freebsd-arm64), const F_OK ideal-int
    pkg syscall (freebsd-arm64), const F_OSETLK = 8
    pkg syscall (freebsd-arm64), const F_OSETLK ideal-int
    pkg syscall (freebsd-arm64), const F_OSETLKW = 9
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  8. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const F_OGETLK = 7 #53466
    pkg syscall (freebsd-riscv64), const F_OGETLK ideal-int #53466
    pkg syscall (freebsd-riscv64), const F_OK = 0 #53466
    pkg syscall (freebsd-riscv64), const F_OK ideal-int #53466
    pkg syscall (freebsd-riscv64), const F_OSETLK = 8 #53466
    pkg syscall (freebsd-riscv64), const F_OSETLK ideal-int #53466
    pkg syscall (freebsd-riscv64), const F_OSETLKW = 9 #53466
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  9. api/go1.1.txt

    pkg html/template, const ErrPartialCharset = 7
    pkg html/template, const ErrPartialEscape = 8
    pkg html/template, const ErrRangeLoopReentry = 9
    pkg html/template, const ErrSlashAmbig = 10
    pkg html/template, const OK = 0
    pkg image, const YCbCrSubsampleRatio420 = 2
    pkg image, const YCbCrSubsampleRatio422 = 1
    pkg image, const YCbCrSubsampleRatio440 = 3
    pkg image, const YCbCrSubsampleRatio440 YCbCrSubsampleRatio
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (1)
Back to top