Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for zerorange (9.11 sec)

  1. src/cmd/compile/internal/loong64/galign.go

    	"cmd/compile/internal/ssagen"
    	"cmd/internal/obj/loong64"
    )
    
    func Init(arch *ssagen.ArchInfo) {
    	arch.LinkArch = &loong64.Linkloong64
    	arch.REGSP = loong64.REGSP
    	arch.MAXWIDTH = 1 << 50
    	arch.ZeroRange = zerorange
    	arch.Ginsnop = ginsnop
    
    	arch.SSAMarkMoves = func(s *ssagen.State, b *ssa.Block) {}
    	arch.SSAGenValue = ssaGenValue
    	arch.SSAGenBlock = ssaGenBlock
    	arch.LoadRegResult = loadRegResult
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:04:16 UTC 2023
    - 649 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/wasm/ssa.go

    	arch.MAXWIDTH = 1 << 50
    
    	arch.ZeroRange = zeroRange
    	arch.Ginsnop = ginsnop
    
    	arch.SSAMarkMoves = ssaMarkMoves
    	arch.SSAGenValue = ssaGenValue
    	arch.SSAGenBlock = ssaGenBlock
    }
    
    func zeroRange(pp *objw.Progs, p *obj.Prog, off, cnt int64, state *uint32) *obj.Prog {
    	if cnt == 0 {
    		return p
    	}
    	if cnt%8 != 0 {
    		base.Fatalf("zerorange count not a multiple of widthptr %d", cnt)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  3. src/strconv/atof_test.go

    	{"2e308", "+Inf", ErrRange},
    	{"1e309", "+Inf", ErrRange},
    	{"0x1p1025", "+Inf", ErrRange},
    
    	// way too large
    	{"1e310", "+Inf", ErrRange},
    	{"-1e310", "-Inf", ErrRange},
    	{"1e400", "+Inf", ErrRange},
    	{"-1e400", "-Inf", ErrRange},
    	{"1e400000", "+Inf", ErrRange},
    	{"-1e400000", "-Inf", ErrRange},
    	{"0x1p1030", "+Inf", ErrRange},
    	{"0x1p2000", "+Inf", ErrRange},
    	{"0x1p2000000000", "+Inf", ErrRange},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 16:24:57 UTC 2022
    - 23.6K bytes
    - Viewed (0)
  4. src/strconv/atoi_test.go

    	{"18446744073709551616", 0, 1<<64 - 1, ErrRange},
    	{"18446744073709551620", 0, 1<<64 - 1, ErrRange},
    	{"0xFFFFFFFFFFFFFFFF", 0, 1<<64 - 1, nil},
    	{"0x10000000000000000", 0, 1<<64 - 1, ErrRange},
    	{"01777777777777777777777", 0, 1<<64 - 1, nil},
    	{"01777777777777777777778", 0, 0, ErrSyntax},
    	{"02000000000000000000000", 0, 1<<64 - 1, ErrRange},
    	{"0200000000000000000000", 0, 1 << 61, nil},
    	{"0b", 0, 0, ErrSyntax},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 21 05:09:21 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  5. src/strconv/atoi.go

    // Note that lower of non-letters can produce other non-letters.
    func lower(c byte) byte {
    	return c | ('x' - 'X')
    }
    
    // ErrRange indicates that a value is out of range for the target type.
    var ErrRange = errors.New("value out of range")
    
    // ErrSyntax indicates that a value does not have the right syntax for the target type.
    var ErrSyntax = errors.New("invalid syntax")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. src/strconv/atoc.go

    // into a syntax or range error for ParseComplex.
    func convErr(err error, s string) (syntax, range_ error) {
    	if x, ok := err.(*NumError); ok {
    		x.Func = fnParseComplex
    		x.Num = stringslite.Clone(s)
    		if x.Err == ErrRange {
    			return nil, x
    		}
    	}
    	return err, nil
    }
    
    // ParseComplex converts the string s to a complex number
    // with the precision specified by bitSize: 64 for complex64, or 128 for complex128.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssagen/ssa.go

    			// Merge with range we already have.
    			lo = n.FrameOffset()
    			continue
    		}
    
    		// Zero old range
    		p = Arch.ZeroRange(pp, p, frame+lo, hi-lo, &state)
    
    		// Set new range.
    		lo = n.FrameOffset()
    		hi = lo + n.Type().Size()
    	}
    
    	// Zero final range.
    	Arch.ZeroRange(pp, p, frame+lo, hi-lo, &state)
    }
    
    // For generating consecutive jump instructions to model a specific branching
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  8. src/flag/flag.go

    // It then gets wrapped through failf to provide more information.
    var errParse = errors.New("parse error")
    
    // errRange is returned by Set if a flag's value is out of range.
    // It then gets wrapped through failf to provide more information.
    var errRange = errors.New("value out of range")
    
    func numError(err error) error {
    	ne, ok := err.(*strconv.NumError)
    	if !ok {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  9. src/encoding/gob/decode.go

    	"internal/saferio"
    	"io"
    	"math"
    	"math/bits"
    	"reflect"
    )
    
    var (
    	errBadUint = errors.New("gob: encoded unsigned integer out of range")
    	errBadType = errors.New("gob: unknown type id or corrupted data")
    	errRange   = errors.New("gob: bad data: field numbers out of bounds")
    )
    
    type decHelper func(state *decoderState, v reflect.Value, length int, ovfl error) bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
  10. src/math/big/int_test.go

    			t.Errorf("SetString(%s, 0) failed", s)
    			continue
    		}
    
    		want, err := strconv.ParseUint(s, 0, 64)
    		if err != nil {
    			// check for sign explicitly (ErrRange doesn't cover signed input)
    			if s[0] == '-' || err.(*strconv.NumError).Err == strconv.ErrRange {
    				if x.IsUint64() {
    					t.Errorf("IsUint64(%s) succeeded unexpectedly", s)
    				}
    			} else {
    				t.Errorf("ParseUint(%s) failed", s)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
Back to top