- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 385 for Implementation (0.19 sec)
-
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) -
src/vendor/golang.org/x/net/nettest/nettest.go
} switch network { case "ip4": if ip := ip.To4(); ip != nil { return ip, true } case "ip6": if ip.IsLoopback() { // addressing scope of the loopback address depends on each implementation return nil, false } if ip := ip.To16(); ip != nil && ip.To4() == nil { return ip, true } default: if ip := ip.To4(); ip != nil { return ip, true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 8.5K bytes - Viewed (0) -
cmd/object-lambda-handlers.go
return nil } return apiErr } return nil } // GetObjectLamdbaHandler - GET Object with transformed data via lambda functions // ---------- // This implementation of the GET operation applies lambda functions and returns the // response generated via the lambda functions. To use this API, you must have READ access // to the object.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 10.2K bytes - Viewed (0) -
src/syscall/syscall_darwin.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 syscall import ( "internal/abi" "unsafe" ) func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:50 UTC 2024 - 11K bytes - Viewed (0) -
pkg/controller/testutil/test_utils.go
testingclock "k8s.io/utils/clock/testing" jsonpatch "gopkg.in/evanphx/json-patch.v4" ) var ( keyFunc = cache.DeletionHandlingMetaNamespaceKeyFunc ) // FakeNodeHandler is a fake implementation of NodesInterface and NodeInterface. It // allows test cases to have fine-grained control over mock behaviors. We also need // PodsInterface and PodInterface to test list & delete pods, which is implemented in
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 15.6K bytes - Viewed (0) -
src/go/types/typeparam.go
func (t *TypeParam) Underlying() Type { return t.iface() } func (t *TypeParam) String() string { return TypeString(t, nil) } // ---------------------------------------------------------------------------- // Implementation func (t *TypeParam) cleanup() { t.iface() t.check = nil } // iface returns the constraint interface of t. func (t *TypeParam) iface() *Interface { bound := t.bound
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 5.1K bytes - Viewed (0) -
src/runtime/hash_test.go
"math" "math/rand" "os" . "runtime" "slices" "strings" "testing" "unsafe" ) func TestMemHash32Equality(t *testing.T) { if *UseAeshash { t.Skip("skipping since AES hash implementation is used") } var b [4]byte r := rand.New(rand.NewSource(1234)) seed := uintptr(r.Uint64()) for i := 0; i < 100; i++ { randBytes(r, b[:]) got := MemHash32(unsafe.Pointer(&b), seed)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 17:50:18 UTC 2024 - 18.4K bytes - Viewed (0) -
src/net/net.go
// // The two methods [Addr.Network] and [Addr.String] conventionally return strings // that can be passed as the arguments to [Dial], but the exact form // and meaning of the strings is up to the implementation. type Addr interface { Network() string // name of the network (for example, "tcp", "udp") String() string // string form of address (for example, "192.0.2.1:25", "[2001:db8::1]:80") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 26.8K bytes - Viewed (0) -
src/cmd/go/internal/base/base.go
package base import ( "context" "flag" "fmt" "log" "os" "os/exec" "reflect" "strings" "sync" "cmd/go/internal/cfg" "cmd/go/internal/str" ) // A Command is an implementation of a go command // like go build or go fix. type Command struct { // Run runs the command. // The args are the arguments after the command name. Run func(ctx context.Context, cmd *Command, args []string)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 5.3K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa_legacy.go
package ecdsa import ( "crypto/elliptic" "errors" "io" "math/big" "golang.org/x/crypto/cryptobyte" "golang.org/x/crypto/cryptobyte/asn1" ) // This file contains a math/big implementation of ECDSA that is only used for // deprecated custom curves. func generateLegacy(c elliptic.Curve, rand io.Reader) (*PrivateKey, error) { k, err := randFieldElement(c, rand) if err != nil { return nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 4.8K bytes - Viewed (0)