Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for overflow (4.32 sec)

  1. .github/SUPPORT.md

    * [The Go Forum](https://forum.golangbridge.org/), a web-based forum
    
    * [Gophers Slack](https://gophers.slack.com), use the [invite app](https://invite.slack.golangbridge.org/) for access
    
    * [Stack Overflow](https://stackoverflow.com/questions/tagged/go) with questions tagged "go"
    
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Mar 29 22:00:27 GMT 2023
    - 692 bytes
    - Viewed (0)
  2. src/archive/tar/strconv.go

    			if i == 0 {
    				c &= 0x7f // Ignore signal bit in first byte
    			}
    			if (x >> 56) > 0 {
    				p.err = ErrHeader // Integer overflow
    				return 0
    			}
    			x = x<<8 | uint64(c)
    		}
    		if (x >> 63) > 0 {
    			p.err = ErrHeader // Integer overflow
    			return 0
    		}
    		if inv == 0xff {
    			return ^int64(x)
    		}
    		return int64(x)
    	}
    
    	// Normal case is base-8 (octal) format.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    discard high bits upon overflow, and programs may rely on "wrap around".
    </p>
    <p>
    For signed integers, the operations <code>+</code>,
    <code>-</code>, <code>*</code>, <code>/</code>, and <code>&lt;&lt;</code> may legally
    overflow and the resulting value exists and is deterministically defined
    by the signed integer representation, the operation, and its operands.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    //
    // It panics if count is negative or if the result of (len(b) * count)
    // overflows.
    func Repeat(b []byte, count int) []byte {
    	if count == 0 {
    		return []byte{}
    	}
    
    	// Since we cannot return an error on overflow,
    	// we should panic if the repeat will generate an overflow.
    	// See golang.org/issue/16237.
    	if count < 0 {
    		panic("bytes: negative Repeat count")
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/arch/arch.go

    	instructions["JNS"] = x86.AJPL  /* alternate */
    	instructions["JNZ"] = x86.AJNE  /* alternate */
    	instructions["JO"] = x86.AJOS   /* alternate */
    	instructions["JOC"] = x86.AJOC  /* overflow clear (OF = 0) */
    	instructions["JOS"] = x86.AJOS  /* overflow set (OF = 1) */
    	instructions["JP"] = x86.AJPS   /* alternate */
    	instructions["JPC"] = x86.AJPC  /* parity clear (PF = 0) */
    	instructions["JPE"] = x86.AJPS  /* alternate */
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  6. src/archive/tar/common.go

    package tar
    
    import (
    	"errors"
    	"fmt"
    	"internal/godebug"
    	"io/fs"
    	"math"
    	"path"
    	"reflect"
    	"strconv"
    	"strings"
    	"time"
    )
    
    // BUG: Use of the Uid and Gid fields in Header could overflow on 32-bit
    // architectures. If a large value is encountered when decoding, the result
    // stored in Header will be the truncated version.
    
    var tarinsecurepath = godebug.New("tarinsecurepath")
    
    var (
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  7. src/bufio/scan.go

    			copy(s.buf, s.buf[s.start:s.end])
    			s.end -= s.start
    			s.start = 0
    		}
    		// Is the buffer full? If so, resize.
    		if s.end == len(s.buf) {
    			// Guarantee no overflow in the multiplication below.
    			const maxInt = int(^uint(0) >> 1)
    			if len(s.buf) >= s.maxTokenSize || len(s.buf) > maxInt/2 {
    				s.setErr(ErrTooLong)
    				return false
    			}
    			newSize := len(s.buf) * 2
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/amd64error.s

    	VPGATHERDQ X7, 664(X2*8), X2    // ERROR "mask, index, and destination registers should be distinct"
    	// Non-X0 for Yxr0 should produce an error
    	BLENDVPD X1, (BX), X2           // ERROR "invalid instruction"
    	// Check offset overflow. Must fit in int32.
    	MOVQ 2147483647+1(AX), AX       // ERROR "offset too large"
    	MOVQ 3395469782(R10), R8        // ERROR "offset too large"
    	LEAQ 3395469782(AX), AX         // ERROR "offset too large"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 14 00:03:57 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  9. src/archive/tar/reader.go

    			hdr.Uname = v
    		case paxGname:
    			hdr.Gname = v
    		case paxUid:
    			id64, err = strconv.ParseInt(v, 10, 64)
    			hdr.Uid = int(id64) // Integer overflow possible
    		case paxGid:
    			id64, err = strconv.ParseInt(v, 10, 64)
    			hdr.Gid = int(id64) // Integer overflow possible
    		case paxAtime:
    			hdr.AccessTime, err = parsePAXTime(v)
    		case paxMtime:
    			hdr.ModTime, err = parsePAXTime(v)
    		case paxCtime:
    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)
  10. doc/go_spec.html

    discard high bits upon overflow, and programs may rely on "wrap around".
    </p>
    
    <p>
    For signed integers, the operations <code>+</code>,
    <code>-</code>, <code>*</code>, <code>/</code>, and <code>&lt;&lt;</code> may legally
    overflow and the resulting value exists and is deterministically defined
    by the signed integer representation, the operation, and its operands.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top