- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,094 for allocations (0.32 sec)
-
tensorflow/c/experimental/stream_executor/stream_executor.h
typedef struct SP_StreamExecutor { size_t struct_size; void* ext; // reserved for future use /*** ALLOCATION CALLBACKS ***/ // Synchronously allocates `size` bytes on the underlying platform and returns // `SP_DeviceMemoryBase` representing that allocation. In the case of failure, // nullptr is returned. // `memory_space` is reserved for a potential future usage and should be set // to 0.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 24 08:40:35 UTC 2022 - 21.6K bytes - Viewed (0) -
src/crypto/rsa/rsa_test.go
return } if !bytes.Equal(dec, msg) { t.Errorf("got:%x want:%x (%+v)", dec, msg, priv) } } func TestAllocations(t *testing.T) { if boring.Enabled { t.Skip("skipping allocations test with BoringCrypto") } testenv.SkipIfOptimizationOff(t) m := []byte("Hello Gophers") c, err := EncryptPKCS1v15(rand.Reader, &test2048Key.PublicKey, m) if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 12 00:55:41 UTC 2024 - 30.9K bytes - Viewed (0) -
src/crypto/internal/edwards25519/scalar.go
wideBytes[31] |= 64 return s.SetUniformBytes(wideBytes[:]) } // Bytes returns the canonical 32-byte little-endian encoding of s. func (s *Scalar) Bytes() []byte { // This function is outlined to make the allocations inline in the caller // rather than happen on the heap. var encoded [32]byte return s.bytes(&encoded) } func (s *Scalar) bytes(out *[32]byte) []byte { var ss fiatScalarNonMontgomeryDomainFieldElement
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 10.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/cse.go
// non-equivalent arguments. Repeat until we can't find any // more splits. var splitPoints []int byArgClass := new(partitionByArgClass) // reusable partitionByArgClass to reduce allocations for { changed := false // partition can grow in the loop. By not using a range loop here, // we process new additions as they arrive, avoiding O(n^2) behavior. for i := 0; i < len(partition); i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 21:41:20 UTC 2022 - 9.6K bytes - Viewed (0) -
src/runtime/mbitmap.go
// The caller is also responsible for cgo pointer checks if this // may be writing Go pointers into non-Go memory. // // Pointer data is not maintained for allocations containing // no pointers at all; any caller of bulkBarrierPreWrite must first // make sure the underlying allocation contains pointers, usually // by checking typ.PtrBytes. // // The typ argument is the type of the space at src and dst (and the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 60K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go
deadline, _ := ctx.Deadline() identifier := fmt.Sprintf("key: %q, labels: %q, fields: %q", key, pred.Label, pred.Field) // Create a watcher here to reduce memory allocations under lock, // given that memory allocation may trigger GC and block the thread. // Also note that emptyFunc is a placeholder, until we will be able // to compute watcher.forget function (which has to happen under lock).
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 51.8K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go
`tc_deletearray`, `tc_new_nothrow`, `tc_newarray_nothrow`, // Memory-allocation routines on OS X. `malloc_zone_malloc`, `malloc_zone_calloc`, `malloc_zone_valloc`, `malloc_zone_realloc`, `malloc_zone_memalign`, `malloc_zone_free`, // Go runtime `runtime\..*`, // Other misc. memory allocation routines `BaseArena::.*`, `(::)?do_malloc_no_errno`, `(::)?do_malloc_pages`,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 18:58:12 UTC 2022 - 32.8K bytes - Viewed (0) -
src/crypto/internal/edwards25519/edwards25519.go
return v } // Encoding. // Bytes returns the canonical 32-byte encoding of v, according to RFC 8032, // Section 5.1.2. func (v *Point) Bytes() []byte { // This function is outlined to make the allocations inline in the caller // rather than happen on the heap. var buf [32]byte return v.bytes(&buf) } func (v *Point) bytes(buf *[32]byte) []byte { checkInitialized(v) var zInv, x, y field.Element
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 13 19:21:54 UTC 2023 - 10.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/config.go
} type Logger interface { // Logf logs a message from the compiler. Logf(string, ...interface{}) // Log reports whether logging is not a no-op // some logging calls account for more than a few heap allocations. Log() bool // Fatalf reports a compiler error and exits. Fatalf(pos src.XPos, msg string, args ...interface{}) // Warnl writes compiler messages in the form expected by "errorcheck" tests
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:11:47 UTC 2024 - 12.9K bytes - Viewed (0) -
src/syscall/js/js_test.go
t.Errorf("garbage collection ineffective") } } // This table is used for allocation tests. We expect a specific allocation // behavior to be seen, depending on the number of arguments applied to various // JavaScript functions. // Note: All JavaScript functions return a JavaScript array, which will cause // one allocation to be created to track the Value.gcPtr for the Value finalizer. var allocTests = []struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 17.7K bytes - Viewed (0)