- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 370 for biglen (0.41 sec)
-
android/guava-tests/test/com/google/common/math/IntMathTest.java
BigInteger bigX = BigInteger.valueOf(x); BigInteger bigY = BigInteger.valueOf(y); BigDecimal bigMean = new BigDecimal(bigX.add(bigY)).divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR); // parseInt blows up on overflow as opposed to intValue() which does not. return Integer.parseInt(bigMean.toString()); } private static boolean fitsInInt(BigInteger big) { return big.bitLength() <= 31;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 24.5K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa_s390x.go
case "P-384": return 2, 48, true case "P-521": return 3, 80, true } return 0, 0, false // A mismatch } func hashToBytes(dst, hash []byte, c elliptic.Curve) { l := len(dst) if n := c.Params().N.BitLen(); n == l*8 { // allocation free path for curves with a length that is a whole number of bytes if len(hash) >= l { // truncate hash copy(dst, hash[:l]) return } // pad hash with leading zeros
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 5.3K bytes - Viewed (0) -
test/chanlinear.go
if t2 < 3*t1 { if false { fmt.Println(typ, "\t", time.Since(t0)) } return } // If n ops run in under a second and the ratio // doesn't work out, make n bigger, trying to reduce // the effect that a constant amount of overhead has // on the computed ratio. if t1 < 1*time.Second { n *= 2 continue } // Once the test runs long enough for n ops,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 2.1K bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
And your **FastAPI** application might also be composed of several files/modules, etc. ### **FastAPI** app file Let's say you have a file structure as described in [Bigger Applications](bigger-applications.md){.internal-link target=_blank}: ``` . ├── app │ ├── __init__.py │ └── main.py ``` In the file `main.py` you have your **FastAPI** app: ```Python
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 6.2K bytes - Viewed (0) -
security/pkg/pki/util/crypto.go
if t := reflect.TypeOf(privKey); t != reflect.TypeOf(&rsa.PrivateKey{}) { return 0, fmt.Errorf("key type is not RSA: %v", t) } pkey := privKey.(*rsa.PrivateKey) return pkey.N.BitLen(), nil } // GetEllipticCurve returns the type of curve associated with the private key; // if ECDSA is used, then only 384 and 256 (default) are returned; if non-ECDSA // is used then an error is returned
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 13:00:07 UTC 2024 - 5.3K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/DefaultNativeExecutableBinarySpecTest.groovy
@Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) final testUtil = TestUtil.create(tmpDir) def namingScheme = DefaultBinaryNamingScheme.component("bigOne").withBinaryType("executable") def tasks = new DefaultNativeExecutableBinarySpec.DefaultTasksCollection(new DefaultBinaryTasksCollection(null, null, CollectionCallbackActionDecorator.NOOP))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/jit/clone_constants_for_better_clustering.h
// by nodes X and Y. If X and Y are put in different clusters (for whatever // reason) Y's cluster now has to wait for all the operations in X's cluster // to finish before it starts running. // // - It lets us create bigger clusters in multi-GPU benchmarks. Consider the // following graph: // // digraph { // Const -> GPU_1 // Const -> GPU_0_Y // GPU_0_X -> GPU_0_Y // } //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 19 23:57:44 UTC 2023 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/version/helpers.go
limitations under the License. */ package version import ( "regexp" "strconv" "strings" ) type versionType int const ( // Bigger the version type number, higher priority it is versionTypeAlpha versionType = iota versionTypeBeta versionTypeGA ) var kubeVersionRegex = regexp.MustCompile("^v([\\d]+)(?:(alpha|beta)([\\d]+))?$")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun May 20 08:40:04 UTC 2018 - 2.3K bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
And the `items_per_user` would keep its default value of `50`. ## Settings in another module You could put those settings in another module file as you saw in [Bigger Applications - Multiple Files](../tutorial/bigger-applications.md){.internal-link target=_blank}. For example, you could have a file `config.py` with: ```Python {!../../../docs_src/settings/app01/config.py!} ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 23:43:13 UTC 2024 - 15.7K bytes - Viewed (0) -
src/runtime/heapdump.go
// conservative - everything might be a pointer for off := child.argoff; off < child.argoff+child.arglen; off += goarch.PtrSize { dumpint(fieldKindPtr) dumpint(uint64(off)) } } // Dump fields in the local vars section if stkmap == nil { // No locals information, dump everything. for off := child.arglen; off < s.varp-s.sp; off += goarch.PtrSize { dumpint(fieldKindPtr) dumpint(uint64(off)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 17.6K bytes - Viewed (0)