Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Zr (0.07 sec)

  1. src/internal/runtime/syscall/asm_linux_arm64.s

    	MOVD	a4+32(FP), R3
    	MOVD	a5+40(FP), R4
    	MOVD	a6+48(FP), R5
    	SVC
    	CMN	$4095, R0
    	BCC	ok
    	MOVD	$-1, R4
    	MOVD	R4, r1+56(FP)
    	MOVD	ZR, r2+64(FP)
    	NEG	R0, R0
    	MOVD	R0, errno+72(FP)
    	RET
    ok:
    	MOVD	R0, r1+56(FP)
    	MOVD	R1, r2+64(FP)
    	MOVD	ZR, errno+72(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 21:28:32 UTC 2024
    - 645 bytes
    - Viewed (0)
  2. src/cmd/internal/test2json/testdata/ascii.json

    {"Action":"output","Test":"TestAscii","Output":"    i can eat glass, and it doesn't hurt me. i can eat glass, and it doesn't hurt me.\n"}
    {"Action":"output","Test":"TestAscii","Output":"    V PNA RNG TYNFF, NAQ VG QBRFA'G UHEG ZR. V PNA RNG TYNFF, NAQ VG QBRFA'G UHEG ZR.\n"}
    {"Action":"pass","Test":"TestAscii"}
    {"Action":"output","Output":"PASS\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 836 bytes
    - Viewed (0)
  3. src/compress/flate/inflate_test.go

    		{"\xf2H\xcd", "He"},
    		{"\xf2H͙0a\u0084\t", "Hel\x90\x90\x90\x90\x90"},
    		{"\xf2H͙0a\u0084\t\x00", "Hel\x90\x90\x90\x90\x90"},
    	}
    
    	for i, v := range vectors {
    		r := strings.NewReader(v.input)
    		zr := NewReader(r)
    		b, err := io.ReadAll(zr)
    		if err != io.ErrUnexpectedEOF {
    			t.Errorf("test %d, error mismatch: got %v, want io.ErrUnexpectedEOF", i, err)
    		}
    		if string(b) != v.output {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:23:54 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. src/runtime/mkduff.go

    	fmt.Fprintln(w, "\tRET")
    }
    
    func zeroARM64(w io.Writer) {
    	// ZR: always zero
    	// R20: ptr to memory to be zeroed
    	// On return, R20 points to the last zeroed dword.
    	fmt.Fprintln(w, "TEXT runtime·duffzero<ABIInternal>(SB), NOSPLIT|NOFRAME, $0-0")
    	for i := 0; i < 63; i++ {
    		fmt.Fprintln(w, "\tSTP.P\t(ZR, ZR), 16(R20)")
    	}
    	fmt.Fprintln(w, "\tSTP\t(ZR, ZR), (R20)")
    	fmt.Fprintln(w, "\tRET")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:04:21 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. docs/debugging/healing-bin/main.go

    			f, err := os.Open(file)
    			if err != nil {
    				return err
    			}
    			if st, err := f.Stat(); err == nil {
    				sz = st.Size()
    			}
    			defer f.Close()
    			zr, err := zip.NewReader(f, sz)
    			if err != nil {
    				return err
    			}
    			for _, file := range zr.File {
    				if !file.FileInfo().IsDir() && strings.HasSuffix(file.Name, ".healing.bin") {
    					r, err := file.Open()
    					if err != nil {
    						return err
    					}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  6. src/image/geom.go

    	return r
    }
    
    // ColorModel implements the [Image] interface.
    func (r Rectangle) ColorModel() color.Model {
    	return color.Alpha16Model
    }
    
    // ZR is the zero [Rectangle].
    //
    // Deprecated: Use a literal [image.Rectangle] instead.
    var ZR Rectangle
    
    // Rect is shorthand for [Rectangle]{Pt(x0, y0), [Pt](x1, y1)}. The returned
    // rectangle has minimum and maximum coordinates swapped if necessary so that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  7. src/syscall/asm_linux_arm64.s

    	MOVD	trap+0(FP), R8	// syscall entry
    	SVC
    	CMN	$4095, R0
    	BCC	ok
    	MOVD	$-1, R4
    	MOVD	R4, r1+32(FP)	// r1
    	NEG	R0, R0
    	MOVD	R0, err+40(FP)	// errno
    	RET
    ok:
    	MOVD	R0, r1+32(FP)	// r1
    	MOVD	ZR, err+40(FP)	// errno
    	RET
    
    // func rawSyscallNoError(trap uintptr, a1, a2, a3 uintptr) (r1, r2 uintptr);
    TEXT ·rawSyscallNoError(SB),NOSPLIT,$0-48
    	MOVD	a1+8(FP), R0
    	MOVD	a2+16(FP), R1
    	MOVD	a3+24(FP), R2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:11:15 UTC 2023
    - 916 bytes
    - Viewed (0)
  8. pkg/wasm/httpfetcher.go

    func isGZ(b []byte) bool {
    	return len(b) > 2 && bytes.Equal(b[:2], gzMagicNumber)
    }
    
    func getFileFromGZ(b []byte) []byte {
    	buf := bytes.NewBuffer(b)
    
    	zr, err := gzip.NewReader(buf)
    	if err != nil {
    		return nil
    	}
    
    	ret, err := io.ReadAll(zr)
    	if err != nil {
    		return nil
    	}
    	return ret
    }
    
    // Just do the best effort.
    // If an error is encountered, just return the original bytes.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 14 20:23:34 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/arm64/list7.go

    }
    
    func rconv(r int) string {
    	ext := (r >> 5) & 7
    	if r == REGG {
    		return "g"
    	}
    	switch {
    	case REG_R0 <= r && r <= REG_R30:
    		return fmt.Sprintf("R%d", r-REG_R0)
    	case r == REG_R31:
    		return "ZR"
    	case REG_F0 <= r && r <= REG_F31:
    		return fmt.Sprintf("F%d", r-REG_F0)
    	case REG_V0 <= r && r <= REG_V31:
    		return fmt.Sprintf("V%d", r-REG_V0)
    	case r == REGSP:
    		return "RSP"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 17:56:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. src/runtime/unsafepoint_test.go

    		case "arm64":
    			if parts[3] == "MOVWU" {
    				// The unpreemptible region starts after the
    				// load of runtime.writeBarrier.
    				startedWB = true
    			}
    			if parts[3] == "MOVD" && parts[4] == "ZR," {
    				// The unpreemptible region ends after the
    				// write of nil.
    				doneWB = true
    			}
    		case "amd64":
    			if parts[3] == "CMPL" {
    				startedWB = true
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 20:24:56 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top