Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 202 for Implementation (0.19 sec)

  1. src/strconv/quote.go

    		}
    	}
    	return i, i < n && s[i] == v
    }
    
    // TODO: IsPrint is a local implementation of unicode.IsPrint, verified by the tests
    // to give the same answer. It allows this package not to depend on unicode,
    // and therefore not pull in all the Unicode tables. If the linker were better
    // at tossing unused tables, we could get rid of this implementation.
    // That would be nice.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 16.5K 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. src/math/big/int.go

    // See Knuth, The Art of Computer Programming, Vol. 2, Section 4.5.2, Algorithm L.
    // This implementation uses the improved condition by Collins requiring only one
    // quotient and avoiding the possibility of single Word overflow.
    // See Jebelean, "Improving the multiprecision Euclidean algorithm",
    // Design and Implementation of Symbolic Computation Systems, pp 45-58.
    // The cosequences are updated according to Algorithm 10.45 from
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K 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/crypto/sha1/sha1block_amd64.s

    	MOVL	DX, (3*4)(DI)
    	MOVL	BP, (4*4)(DI)
    	RET
    
    
    // This is the implementation using AVX2, BMI1 and BMI2. It is based on:
    // "SHA-1 implementation with Intel(R) AVX2 instruction set extensions"
    // From http://software.intel.com/en-us/articles
    // (look for improving-the-performance-of-the-secure-hash-algorithm-1)
    // This implementation is 2x unrolled, and interleaves vector instructions,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 31.5K 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/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)
Back to top