Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 228 for Implementation (0.21 sec)

  1. src/cmd/compile/internal/types2/unify.go

    package types2
    
    import (
    	"bytes"
    	"fmt"
    	"sort"
    	"strings"
    )
    
    const (
    	// Upper limit for recursion depth. Used to catch infinite recursions
    	// due to implementation issues (e.g., see issues go.dev/issue/48619, go.dev/issue/48656).
    	unificationDepthLimit = 50
    
    	// Whether to panic when unificationDepthLimit is reached.
    	// If disabled, a recursion depth overflow results in a (quiet)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. src/go/types/stmt.go

    	if check.hasLabel {
    		check.labels(body)
    	}
    
    	if sig.results.Len() > 0 && !check.isTerminating(body, "") {
    		check.error(atPos(body.Rbrace), MissingReturn, "missing return")
    	}
    
    	// spec: "Implementation restriction: A compiler may make it illegal to
    	// declare a variable inside a function body if the variable is never used."
    	check.usage(sig.scope)
    }
    
    func (check *Checker) usage(scope *Scope) {
    	var unused []*Var
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  3. src/go/types/unify.go

    package types
    
    import (
    	"bytes"
    	"fmt"
    	"sort"
    	"strings"
    )
    
    const (
    	// Upper limit for recursion depth. Used to catch infinite recursions
    	// due to implementation issues (e.g., see issues go.dev/issue/48619, go.dev/issue/48656).
    	unificationDepthLimit = 50
    
    	// Whether to panic when unificationDepthLimit is reached.
    	// If disabled, a recursion depth overflow results in a (quiet)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. src/runtime/symtab.go

    // Then the section relative offset is added to the section's
    // relocated baseaddr to compute the function address.
    //
    // It is nosplit because it is part of the findfunc implementation.
    //
    //go:nosplit
    func (md *moduledata) textAddr(off32 uint32) uintptr {
    	off := uintptr(off32)
    	res := md.text + off
    	if len(md.textsectmap) > 1 {
    		for i, sect := range md.textsectmap {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  5. src/os/types_windows.go

    package os
    
    import (
    	"internal/filepathlite"
    	"internal/godebug"
    	"internal/syscall/windows"
    	"sync"
    	"syscall"
    	"time"
    	"unsafe"
    )
    
    // A fileStat is the implementation of FileInfo returned by Stat and Lstat.
    type fileStat struct {
    	name string
    
    	// from ByHandleFileInformation, Win32FileAttributeData, Win32finddata, and GetFileInformationByHandleEx
    	FileAttributes uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. doc/go_spec.html

    </p>
    <p>
    Each code point is distinct; for instance, uppercase and lowercase letters
    are different characters.
    </p>
    <p>
    Implementation restriction: For compatibility with other tools, a
    compiler may disallow the NUL character (U+0000) in the source text.
    </p>
    <p>
    Implementation restriction: For compatibility with other tools, a
    compiler may ignore a UTF-8-encoded byte order mark
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
  7. src/runtime/panic.go

    		print(" [recovered]")
    	}
    	print("\n")
    }
    
    // readvarintUnsafe reads the uint32 in varint format starting at fd, and returns the
    // uint32 and a pointer to the byte following the varint.
    //
    // The implementation is the same with runtime.readvarint, except that this function
    // uses unsafe.Pointer for speed.
    func readvarintUnsafe(fd unsafe.Pointer) (uint32, unsafe.Pointer) {
    	var r uint32
    	var shift int
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modfetch/codehost/codehost.go

    	// commit hash, branch, tag, and so on.
    	Stat(ctx context.Context, rev string) (*RevInfo, error)
    
    	// Latest returns the latest revision on the default branch,
    	// whatever that means in the underlying implementation.
    	Latest(ctx context.Context) (*RevInfo, error)
    
    	// ReadFile reads the given file in the file tree corresponding to revision rev.
    	// It should refuse to read more than maxSize bytes.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. src/hash/crc32/crc32_test.go

    // the two "update" functions return the same result.
    func testCrossCheck(t *testing.T, crcFunc1, crcFunc2 func(crc uint32, b []byte) uint32) {
    	// The AMD64 implementation has some cutoffs at lengths 168*3=504 and
    	// 1344*3=4032. We should make sure lengths around these values are in the
    	// list.
    	lengths := []int{0, 1, 2, 3, 4, 5, 10, 16, 50, 63, 64, 65, 100,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/crypto/sha3/shake.go

    // functions for creating SHAKE and cSHAKE instances, as well as utility
    // functions for hashing bytes to arbitrary-length output.
    //
    //
    // SHAKE implementation is based on FIPS PUB 202 [1]
    // cSHAKE implementations is based on NIST SP 800-185 [2]
    //
    // [1] https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.202.pdf
    // [2] https://doi.org/10.6028/NIST.SP.800-185
    
    import (
    	"encoding/binary"
    	"hash"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top