- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 158 for Sizes (0.05 sec)
-
src/cmd/compile/internal/types2/api.go
// The type checker reports an error if an importer is needed // but none was installed. Importer Importer // If Sizes != nil, it provides the sizing functions for package unsafe. // Otherwise SizesFor("gc", "amd64") is used instead. Sizes Sizes // If DisableUnusedImportCheck is set, packages are not checked // for unused imports. DisableUnusedImportCheck bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 13:48:53 UTC 2024 - 17.4K bytes - Viewed (0) -
src/runtime/mpallocbits_test.go
0x80000000bbbbbbbb, 0xbbbbbbbb00000001, 0xcccccccccccccccc, 0x4444444444444444, 0x4040404040404040, 0x4000400040004000, } sizes := []uint{ 2, 8, 32, } for _, pattern := range patterns { for _, size := range sizes { b.Run(fmt.Sprintf("Pattern%02XSize%d", pattern, size), func(b *testing.B) { for i := 0; i < b.N; i++ { FindBitRange64(pattern, size) } })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 17 22:00:17 UTC 2020 - 13.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go
cap := v.Cap() max := cap for _, size := range sizes { if size > max { max = size } } if len(sizes) == 0 || max > maxCapacity { max = maxCapacity } if max <= cap { return } if v.Len() > 0 { extra := reflect.MakeSlice(v.Type(), v.Len(), max) reflect.Copy(extra, v) v.Set(extra) } else { extra := reflect.MakeSlice(v.Type(), 0, max)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 11:56:42 UTC 2024 - 35.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
override fun close() { if (closed) return closed = true detachTimeout(timeout) state = STATE_READ_RESPONSE_HEADERS } } /** * An HTTP body with alternating chunk sizes and chunk bodies. It is the caller's responsibility * to buffer chunks; typically by using a buffered sink with this sink. */ private inner class ChunkedSink : Sink {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.9K bytes - Viewed (0) -
src/crypto/rsa/pss.go
// length in octets of the RSA modulus n." 🙄 // // This is extremely annoying, as all other encrypt and decrypt inputs are // always the exact same size as the modulus. Since it only happens for // weird modulus sizes, fix it by padding inefficiently. if emLen, k := len(em), priv.Size(); emLen < k { emNew := make([]byte, k) copy(emNew[k-emLen:], em) em = emNew } return decrypt(priv, em, withCheck) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 11K bytes - Viewed (0) -
src/internal/trace/traceviewer/mmu.go
// utilization distribution for that window size. // // Render plot progressively so rough outline is visible quickly even // for very complex MUTs. Start by computing just a few window sizes // and then add more window sizes. // // Consider using sampling to compute an approximate MUT. This would // work by sampling the mutator utilization at randomly selected // points in time in the trace to build an empirical distribution. We
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:29:53 UTC 2023 - 13K bytes - Viewed (0) -
src/runtime/slice_test.go
// but not the "normal" (occasionally grow) path, // because it is a blend of the other two. // We use small numbers and small sizes in an attempt // to avoid benchmarking memory allocation and copying. // We use scalars instead of pointers in an attempt // to avoid benchmarking the write barriers. // We benchmark four common sizes (byte, pointer, string/interface, slice), // and one larger size. func BenchmarkAppendInPlace(b *testing.B) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 17 09:45:44 UTC 2020 - 10.3K bytes - Viewed (0) -
src/math/big/nat_test.go
for i := 0; i < b.N; i++ { n.setBytes(buf[:l]) } }) } } func TestNatDiv(t *testing.T) { sizes := []int{ 1, 2, 5, 8, 15, 25, 40, 65, 100, 200, 500, 800, 1500, 2500, 4000, 6500, 10000, } for _, i := range sizes { for _, j := range sizes { a := rndNat1(i) b := rndNat1(j) // the test requires b >= 2 if len(b) == 1 && b[0] == 1 { b[0] = 2 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 09 15:29:36 UTC 2024 - 26.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go
// report parse errors. err = nil } return nil, err } files = append(files, f) } tc := &types.Config{ Importer: makeTypesImporter(cfg, fset), Sizes: types.SizesFor("gc", build.Default.GOARCH), // TODO(adonovan): use cfg.Compiler GoVersion: cfg.GoVersion, } info := &types.Info{ Types: make(map[ast.Expr]types.TypeAndValue),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13K bytes - Viewed (0)