Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 283 for Implementation (0.17 sec)

  1. 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)
  2. 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)
  3. src/os/user/lookup_windows.go

    		Uid:      uid,
    		Gid:      gid,
    		Username: domainAndUser,
    		Name:     name,
    		HomeDir:  dir,
    	}
    	return u, nil
    }
    
    var (
    	// unused variables (in this implementation)
    	// modified during test to exercise code paths in the cgo implementation.
    	userBuffer  = 0
    	groupBuffer = 0
    )
    
    func current() (*User, error) {
    	t, e := syscall.OpenCurrentProcessToken()
    	if e != nil {
    		return nil, e
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 16:42:41 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  4. src/crypto/internal/nistec/p256_asm.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file contains the Go wrapper for the constant-time, 64-bit assembly
    // implementation of P256. The optimizations performed here are described in
    // detail in:
    // S.Gueron and V.Krasnov, "Fast prime field elliptic-curve cryptography with
    //                          256-bit primes"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  5. src/syscall/syscall_linux_test.go

    	}
    	if testing.Short() && testenv.Builder() != "" && os.Getenv("USER") == "swarming" {
    		// The Go build system's swarming user is known not to be root.
    		// Unfortunately, it sometimes appears as root due the current
    		// implementation of a no-network check using 'unshare -n -r'.
    		// Since this test does need root to work, we need to skip it.
    		t.Skip("skipping root only test on a non-root builder")
    	}
    
    	if runtime.GOOS == "android" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. src/math/rand/rand.go

    // requires that the stream of values produced by math/rand remain unchanged.
    // int31n can thus only be used internally, by newly introduced APIs.
    //
    // For implementation details, see:
    // https://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-modulo-reduction
    // https://lemire.me/blog/2016/06/30/fast-random-shuffling
    func (r *Rand) int31n(n int32) int32 {
    	v := r.Uint32()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // Package driver implements the core pprof functionality. It can be
    // parameterized with a flag implementation, fetch and symbolize
    // mechanisms.
    package driver
    
    import (
    	"bytes"
    	"fmt"
    	"io"
    	"os"
    	"path/filepath"
    	"regexp"
    	"strings"
    
    	"github.com/google/pprof/internal/plugin"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_dragonfly.go

    // but it is also input to mksyscall,
    // which parses the //sys lines and generates system call stubs.
    // Note that sometimes we use a lowercase //sys name and wrap
    // it in our own nicer implementation, either here or in
    // syscall_bsd.go or syscall_unix.go.
    
    package unix
    
    import (
    	"sync"
    	"unsafe"
    )
    
    // See version list in https://github.com/DragonFlyBSD/DragonFlyBSD/blob/master/sys/sys/param.h
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  9. src/internal/bytealg/index_ppc64x.s

    // This is an implementation based on the s390x
    // implementation.
    
    // Find a separator with 2 <= len <= 32 within a string.
    // Separators with lengths of 2, 3 or 4 are handled
    // specially.
    
    // This works on power8 and above. The loads and
    // compares are done in big endian order
    // since that allows the used of VCLZD, and allows
    // the same implementation to work on big and little
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 31.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/stmt.go

    		check.labels(body)
    	}
    
    	if sig.results.Len() > 0 && !check.isTerminating(body, "") {
    		check.error(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.7K bytes
    - Viewed (0)
Back to top