Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for native (0.28 sec)

  1. src/cmd/cgo/doc.go

    directory and also in the system include directory (or some other place
    specified by a -I flag), then "#include <foo/bar.h>" will always find the
    local version in preference to any other version.
    
    The cgo tool is enabled by default for native builds on systems where
    it is expected to work. It is disabled by default when cross-compiling
    as well as when the CC environment variable is unset and the default
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. src/bytes/buffer_test.go

    		switch err := recover().(type) {
    		case nil:
    			t.Fatal("bytes.Buffer.ReadFrom didn't panic")
    		case error:
    			// this is the error string of errNegativeRead
    			wantError := "bytes.Buffer: reader returned negative count from Read"
    			if err.Error() != wantError {
    				t.Fatalf("recovered panic: got %v, want %v", err.Error(), wantError)
    			}
    		default:
    			t.Fatalf("unexpected panic value: %#v", err)
    		}
    	}()
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    type, called the element type.
    The number of elements is called the length of the array and is never negative.
    </p>
    
    <pre class="ebnf">
    ArrayType   = "[" ArrayLength "]" ElementType .
    ArrayLength = Expression .
    ElementType = Type .
    </pre>
    
    <p>
    The length is part of the array's type; it must evaluate to a
    non-negative <a href="#Constants">constant</a>
    <a href="#Representability">representable</a> by a value
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. src/archive/zip/reader_test.go

    	}
    	_, err = NewReader(bytes.NewReader(b), size)
    	if err != ErrFormat {
    		t.Errorf("sigs: error=%v, want %v", err, ErrFormat)
    	}
    
    	// negative size
    	_, err = NewReader(bytes.NewReader([]byte("foobar")), -1)
    	if err == nil {
    		t.Errorf("archive/zip.NewReader: expected error when negative size is passed")
    	}
    }
    
    func messWith(fileName string, corrupter func(b []byte)) (r io.ReaderAt, size int64) {
    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)
  5. src/bufio/bufio_test.go

    			t.Fatalf("ReadRune(0x%x) got 0x%x,%d not 0x%x,%d (err=%s)", r1, nr, nbytes, r1, size, err)
    		}
    	}
    }
    
    func TestWriteInvalidRune(t *testing.T) {
    	// Invalid runes, including negative ones, should be written as the
    	// replacement character.
    	for _, r := range []rune{-1, utf8.MaxRune + 1} {
    		var buf strings.Builder
    		w := NewWriter(&buf)
    		w.WriteRune(r)
    		w.Flush()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/amd64enc_extra.s

    	// Test other movtab entries.
    	PUSHQ GS // 0fa8
    	PUSHQ FS // 0fa0
    	POPQ FS  // 0fa1
    	POPQ GS  // 0fa9
    	// All instructions below semantically have unsigned operands,
    	// but previous assembler permitted negative arguments.
    	// This behavior is preserved for compatibility reasons.
    	VPSHUFD $-79, X7, X7         // c5f970ffb1
    	RORXL $-1, (AX), DX          // c4e37bf010ff
    	RORXQ $-1, (AX), DX          // c4e3fbf010ff
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 11 18:32:50 GMT 2023
    - 57.6K bytes
    - Viewed (0)
  7. api/go1.13.txt

    pkg log/syslog (netbsd-arm64-cgo), const LOG_NEWS = 56
    pkg log/syslog (netbsd-arm64-cgo), const LOG_NEWS Priority
    pkg log/syslog (netbsd-arm64-cgo), const LOG_NOTICE = 5
    pkg log/syslog (netbsd-arm64-cgo), const LOG_NOTICE Priority
    pkg log/syslog (netbsd-arm64-cgo), const LOG_SYSLOG = 40
    pkg log/syslog (netbsd-arm64-cgo), const LOG_SYSLOG Priority
    pkg log/syslog (netbsd-arm64-cgo), const LOG_USER = 8
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  8. 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) {
    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)
  9. src/archive/tar/strconv.go

    // This function may return negative numbers.
    // If parsing fails or an integer overflow occurs, err will be set.
    func (p *parser) parseNumeric(b []byte) int64 {
    	// Check for base-256 (binary) format first.
    	// If the first bit is set, then all following bits constitute a two's
    	// complement encoded number in big-endian byte order.
    	if len(b) > 0 && b[0]&0x80 != 0 {
    		// Handling negative numbers relies on the following identity:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  10. api/go1.15.txt

    pkg debug/pe, const IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER ideal-int
    pkg debug/pe, const IMAGE_SUBSYSTEM_NATIVE = 1
    pkg debug/pe, const IMAGE_SUBSYSTEM_NATIVE ideal-int
    pkg debug/pe, const IMAGE_SUBSYSTEM_NATIVE_WINDOWS = 8
    pkg debug/pe, const IMAGE_SUBSYSTEM_NATIVE_WINDOWS ideal-int
    pkg debug/pe, const IMAGE_SUBSYSTEM_OS2_CUI = 5
    pkg debug/pe, const IMAGE_SUBSYSTEM_OS2_CUI ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Jul 17 02:15:01 GMT 2020
    - 7.6K bytes
    - Viewed (0)
Back to top