- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for Implementation (0.28 sec)
-
src/testing/testing.go
// command-line flags, including those of the testing package, it should call // flag.Parse explicitly. Command line flags are always parsed by the time test // or benchmark functions run. // // A simple implementation of TestMain is: // // func TestMain(m *testing.M) { // // call flag.Parse() here if TestMain uses flags // os.Exit(m.Run()) // } //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
src/net/http/transport.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // HTTP client implementation. See RFC 7230 through 7235. // // This is the low-level Transport implementation of RoundTripper. // The high-level interface is in client.go. package http import ( "bufio" "compress/gzip" "container/list" "context" "crypto/tls" "errors"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 91K bytes - Viewed (0) -
src/crypto/internal/nistec/p256_asm_ppc64le.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !purego #include "textflag.h" // This is a port of the s390x asm implementation. // to ppc64le. // Some changes were needed due to differences in // the Go opcodes and/or available instructions // between s390x and ppc64le. // 1. There were operand order differences in the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 56.5K bytes - Viewed (0) -
src/math/big/int_test.go
b := new(Int).SetBytes(bBytes) d := new(Int).GCD(x, y, a, b) x.Mul(x, a) y.Mul(y, b) x.Add(x, y) return x.Cmp(d) == 0 } // euclidExtGCD is a reference implementation of Euclid's // extended GCD algorithm for testing against optimized algorithms. // Requirements: a, b > 0 func euclidExtGCD(a, b *Int) (g, x, y *Int) { A := new(Int).Set(a) B := new(Int).Set(b)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0) -
src/crypto/tls/handshake_server_test.go
} } // Note: see comment in handshake_test.go for details of how the reference // tests work. // serverTest represents a test of the TLS server handshake against a reference // implementation. type serverTest struct { // name is a freeform string identifying the test and the file in which // the expected results will be stored. name string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 64.7K bytes - Viewed (0) -
src/runtime/mprof.go
// them is responsible. // // Matching that behavior for runtime-internal locks will require identifying // which Ms are blocked on the mutex. The semaphore-based implementation is // ready to allow that, but the futex-based implementation will require a bit // more work. Until then, we report contention on runtime-internal locks with a // call stack taken from the unlock call (like the rest of the user-space
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 53.3K bytes - Viewed (0) -
src/runtime/traceback.go
// // Typical use of an unwinder looks like: // // var u unwinder // for u.init(gp, 0); u.valid(); u.next() { // // ... use frame info in u ... // } // // Implementation note: This is carefully structured to be pointer-free because // tracebacks happen in places that disallow write barriers (e.g., signals). // Even if this is stack-allocated, its pointer-receiver methods don't know that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
src/vendor/golang.org/x/net/dns/dnsmessage/message.go
// license that can be found in the LICENSE file. // Package dnsmessage provides a mostly RFC 1035 compliant implementation of // DNS message packing and unpacking. // // The package also supports messages with Extension Mechanisms for DNS // (EDNS(0)) as defined in RFC 6891. // // This implementation is designed to minimize heap allocations and avoid // unnecessary packing and unpacking as much as possible. package dnsmessage
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 00:09:40 UTC 2024 - 69K bytes - Viewed (0) -
src/os/os_test.go
t.Log(errormsg) t.Log("A filesystem is mounted with noatime; ignoring.") } else { switch runtime.GOOS { case "netbsd", "dragonfly": // On a 64-bit implementation, birth time is generally supported and cannot be changed. // When supported, atime update is restricted and depends on the file system and on the // OS configuration.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
src/syscall/syscall_windows.go
//sys getFinalPathNameByHandle(file Handle, filePath *uint16, filePathSize uint32, flags uint32) (n uint32, err error) [n == 0 || n >= filePathSize] = kernel32.GetFinalPathNameByHandleW // syscall interface implementation for other packages func makeInheritSa() *SecurityAttributes { var sa SecurityAttributes sa.Length = uint32(unsafe.Sizeof(sa)) sa.InheritHandle = 1 return &sa }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:46 UTC 2024 - 52.7K bytes - Viewed (0)