Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for require (0.19 sec)

  1. src/cmd/cgo/doc.go

    present to create such a binary.
    
    Most builds both compile source code and invoke the linker to create a
    binary. When cgo is involved, the compile step already requires gcc, so
    it is not problematic for the link step to require gcc too.
    
    An important exception is builds using a pre-compiled copy of the
    standard library. In particular, package net uses cgo on most systems,
    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/cmd/asm/internal/arch/arm64.go

    // one of the comparison instructions that require special handling.
    func IsARM64ADR(op obj.As) bool {
    	switch op {
    	case arm64.AADR, arm64.AADRP:
    		return true
    	}
    	return false
    }
    
    // IsARM64CMP reports whether the op (as defined by an arm64.A* constant) is
    // one of the comparison instructions that require special handling.
    func IsARM64CMP(op obj.As) bool {
    	switch op {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
  3. misc/wasm/wasm_exec.js

    		throw new Error("globalThis.crypto is not available, polyfill required (crypto.getRandomValues only)");
    	}
    
    	if (!globalThis.performance) {
    		throw new Error("globalThis.performance is not available, polyfill required (performance.now only)");
    	}
    
    	if (!globalThis.TextEncoder) {
    		throw new Error("globalThis.TextEncoder is not available, polyfill required");
    	}
    
    	if (!globalThis.TextDecoder) {
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  4. src/archive/zip/writer.go

    		if r < 0x20 || r > 0x7d || r == 0x5c {
    			if !utf8.ValidRune(r) || (r == utf8.RuneError && size == 1) {
    				return false, false
    			}
    			require = true
    		}
    	}
    	return true, require
    }
    
    // prepare performs the bookkeeping operations required at the start of
    // CreateHeader and CreateRaw.
    func (w *Writer) prepare(fh *FileHeader) error {
    	if w.last != nil && !w.last.closed {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  5. doc/asm.html

    traditionally aliases for a physical, numbered register,
    in the Go assembler the names <code>SP</code> and <code>PC</code>
    are still treated specially;
    for instance, references to <code>SP</code> require a symbol,
    much like <code>FP</code>.
    To access the actual hardware register use the true <code>R</code> name.
    For example, on the ARM architecture the hardware
    <code>SP</code> and <code>PC</code> are accessible as
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  6. src/archive/tar/common.go

    	// To use sub-second resolution, specify the Format as PAX.
    	ModTime    time.Time // Modification time
    	AccessTime time.Time // Access time (requires either PAX or GNU support)
    	ChangeTime time.Time // Change time (requires either PAX or GNU support)
    
    	Devmajor int64 // Major device number (valid for TypeChar or TypeBlock)
    	Devminor int64 // Minor device number (valid for TypeChar or TypeBlock)
    
    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/bytes/buffer.go

    	}
    	return copy(b.buf[m:], s), nil
    }
    
    // MinRead is the minimum slice size passed to a Read call by
    // [Buffer.ReadFrom]. As long as the [Buffer] has at least MinRead bytes beyond
    // what is required to hold the contents of r, ReadFrom will not grow the
    // underlying buffer.
    const MinRead = 512
    
    // ReadFrom reads data from r until EOF and appends it to the buffer, growing
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  8. src/archive/zip/struct.go

    	directoryHeaderSignature = 0x02014b50
    	directoryEndSignature    = 0x06054b50
    	directory64LocSignature  = 0x07064b50
    	directory64EndSignature  = 0x06064b50
    	dataDescriptorSignature  = 0x08074b50 // de-facto standard; required by OS X Finder
    	fileHeaderLen            = 30         // + filename + extra
    	directoryHeaderLen       = 46         // + filename + extra + comment
    	directoryEndLen          = 22         // + comment
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  9. src/archive/zip/zip_test.go

    		return false
    	}
    
    	size := b.uint64()
    	if size != directory64EndLen-12 {
    		t.Errorf("expected length of %d, got %d", directory64EndLen-12, size)
    	}
    	return true
    }
    
    // Zip64 is required if the total size of the records is uint32max.
    func TestZip64LargeDirectory(t *testing.T) {
    	if runtime.GOARCH == "wasm" {
    		t.Skip("too slow on wasm")
    	}
    	if testing.Short() {
    		t.Skip("skipping in short mode")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  10. doc/go_mem.html

    then the original program would never access <code>*p</code> or <code>*q</code>,
    but the rewritten program would.
    (Moving `*p` ahead would be safe if the compiler can prove `*p` will not panic;
    moving `*q` ahead would also require the compiler proving that no other
    goroutine can access `*q`.)
    </p>
    
    <p>
    Not introducing data races also means not assuming that called functions
    always return or are free of synchronization operations.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
Back to top