Home
last modified time | relevance | path

Searched full:precomputed (Results 1 – 25 of 1304) sorted by relevance

12345678910>>...53

/aosp_15_r20/prebuilts/go/linux-x86/src/crypto/rsa/
Drsa.go117 // Precomputed contains precomputed values that speed up RSA operations,
120 Precomputed PrecomputedValues member
129 // Precomputed values.
221 n, p, q *bigmod.Modulus // moduli for CRT with Montgomery precomputed constants
224 // CRTValue contains the precomputed Chinese remainder theorem values.
339 Precomputed: PrecomputedValues{
583 if priv.Precomputed.n == nil && len(priv.Primes) == 2 {
584 // Precomputed values _should_ always be valid, but if they aren't
587 priv.Precomputed.n, err = bigmod.NewModulusFromBig(priv.N)
591 priv.Precomputed.p, err = bigmod.NewModulusFromBig(priv.Primes[0])
[all …]
Dboring.go80 Dp = b.orig.Precomputed.Dp
81 Dq = b.orig.Precomputed.Dq
82 Qinv = b.orig.Precomputed.Qinv
120 if x := k.Precomputed.Dp; x != nil {
121 dst.Precomputed.Dp = new(big.Int).Set(x)
123 if x := k.Precomputed.Dq; x != nil {
124 dst.Precomputed.Dq = new(big.Int).Set(x)
126 if x := k.Precomputed.Qinv; x != nil {
127 dst.Precomputed.Qinv = new(big.Int).Set(x)
/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/base/
H A DCharMatcherTest.java177 reallyTestEmpty(matcher.precomputed()); in doTestEmpty()
232 reallyTestNoMatches(matcher.precomputed(), s); in doTestNoMatches()
233 reallyTestAllMatches(matcher.negate().precomputed(), s); in doTestNoMatches()
234 reallyTestAllMatches(matcher.precomputed().negate(), s); in doTestNoMatches()
259 reallyTestAllMatches(matcher.precomputed(), s); in doTestAllMatches()
260 reallyTestNoMatches(matcher.negate().precomputed(), s); in doTestAllMatches()
261 reallyTestNoMatches(matcher.precomputed().negate(), s); in doTestAllMatches()
334 reallyTestOneCharMatch(matcher.precomputed(), s); in doTestOneCharMatch()
335 reallyTestOneCharNoMatch(matcher.negate().precomputed(), s); in doTestOneCharMatch()
336 reallyTestOneCharNoMatch(matcher.precomputed().negate(), s); in doTestOneCharMatch()
[all …]
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/base/
H A DCharMatcherTest.java177 reallyTestEmpty(matcher.precomputed()); in doTestEmpty()
232 reallyTestNoMatches(matcher.precomputed(), s); in doTestNoMatches()
233 reallyTestAllMatches(matcher.negate().precomputed(), s); in doTestNoMatches()
234 reallyTestAllMatches(matcher.precomputed().negate(), s); in doTestNoMatches()
259 reallyTestAllMatches(matcher.precomputed(), s); in doTestAllMatches()
260 reallyTestNoMatches(matcher.negate().precomputed(), s); in doTestAllMatches()
261 reallyTestNoMatches(matcher.precomputed().negate(), s); in doTestAllMatches()
334 reallyTestOneCharMatch(matcher.precomputed(), s); in doTestOneCharMatch()
335 reallyTestOneCharNoMatch(matcher.negate().precomputed(), s); in doTestOneCharMatch()
336 reallyTestOneCharNoMatch(matcher.precomputed().negate(), s); in doTestOneCharMatch()
[all …]
/aosp_15_r20/external/pytorch/aten/src/ATen/native/transformers/cuda/mem_eff_attention/iterators/
H A Dpredicated_tile_iterator_residual_last.h41 A precomputed "Params" object minimizes the amount of state that must be
66 /// Regular tile iterator using a precomputed control structure to minimize
69 /// Layout is assumed to be invariant at the time the precomputed "Params"
225 /// Parameters object is precomputed state and is host-constructible
261 /// Constructs a TileIterator from its precomputed state, threadblock offset,
265 /// Precomputed parameters object
289 Params const& params, ///< Precomputed parameters object in PredicatedTileIteratorResidualLast()
514 /// Parameters object is precomputed state and is host-constructible
545 /// Constructs a TileIterator from its precomputed state, threadblock offset,
549 Params const& params, ///< Precomputed parameters object
[all …]
H A Dpredicated_tile_access_iterator_residual_last.h41 A precomputed "Params" object minimizes the amount of state that must be
177 /// Parameters object with precomputed internal state
206 /// Constructs a TileIterator from its precomputed state, threadblock offset,
210 /// Precomputed parameters object
263 /// Precomputed parameters object in PredicatedTileAccessIteratorResidualLast()
497 /// Parameters object is precomputed state and is host-constructible
530 /// Constructs a TileIterator from its precomputed state, threadblock offset,
534 ///< Precomputed parameters object
562 Params const& params, ///< Precomputed parameters object in PredicatedTileAccessIteratorResidualLast()
722 /// Parameters object is precomputed state and is host-constructible
[all …]
/aosp_15_r20/external/double-conversion/test/cctest/
H A Dtest-dtoa.cc430 Vector<const PrecomputedShortest> precomputed = in TEST() local
432 for (int i = 0; i < precomputed.length(); ++i) { in TEST()
433 const PrecomputedShortest current_test = precomputed[i]; in TEST()
436 CHECK(!sign); // All precomputed numbers are positive. in TEST()
450 Vector<const PrecomputedShortestSingle> precomputed = in TEST() local
452 for (int i = 0; i < precomputed.length(); ++i) { in TEST()
453 const PrecomputedShortestSingle current_test = precomputed[i]; in TEST()
456 CHECK(!sign); // All precomputed numbers are positive. in TEST()
470 Vector<const PrecomputedFixed> precomputed = in TEST() local
472 for (int i = 0; i < precomputed.length(); ++i) { in TEST()
[all …]
H A Dtest-bignum-dtoa.cc330 Vector<const PrecomputedShortest> precomputed = in TEST() local
332 for (int i = 0; i < precomputed.length(); ++i) { in TEST()
333 const PrecomputedShortest current_test = precomputed[i]; in TEST()
348 Vector<const PrecomputedShortestSingle> precomputed = in TEST() local
350 for (int i = 0; i < precomputed.length(); ++i) { in TEST()
351 const PrecomputedShortestSingle current_test = precomputed[i]; in TEST()
366 Vector<const PrecomputedFixed> precomputed = in TEST() local
368 for (int i = 0; i < precomputed.length(); ++i) { in TEST()
369 const PrecomputedFixed current_test = precomputed[i]; in TEST()
387 Vector<const PrecomputedPrecision> precomputed = in TEST() local
[all …]
H A Dtest-fast-dtoa.cc312 Vector<const PrecomputedShortest> precomputed = in TEST() local
314 for (int i = 0; i < precomputed.length(); ++i) { in TEST()
315 const PrecomputedShortest current_test = precomputed[i]; in TEST()
341 Vector<const PrecomputedShortestSingle> precomputed = in TEST() local
343 for (int i = 0; i < precomputed.length(); ++i) { in TEST()
344 const PrecomputedShortestSingle current_test = precomputed[i]; in TEST()
372 Vector<const PrecomputedPrecision> precomputed = in TEST() local
374 for (int i = 0; i < precomputed.length(); ++i) { in TEST()
375 const PrecomputedPrecision current_test = precomputed[i]; in TEST()
390 // The precomputed numbers contain many entries with many requested in TEST()
/aosp_15_r20/external/tink/go/internal/signature/
H A Drsa_test.go103 Precomputed: validPrivKey.Precomputed,
115 Precomputed: validPrivKey.Precomputed,
127 Precomputed: validPrivKey.Precomputed,
144 Precomputed: validPrivKey.Precomputed,
/aosp_15_r20/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewTest.java192 PrecomputedText precomputed = in testUseDynamicLayout() local
204 mTextView.setText(precomputed); in testUseDynamicLayout()
208 mTextView.setText(precomputed); in testUseDynamicLayout()
217 PrecomputedText precomputed = in testUseDynamicLayout_SPANNABLE() local
230 mTextView.setText(precomputed, BufferType.SPANNABLE); in testUseDynamicLayout_SPANNABLE()
234 mTextView.setText(precomputed, BufferType.SPANNABLE); in testUseDynamicLayout_SPANNABLE()
243 PrecomputedText precomputed = in testUseDynamicLayout_EDITABLE() local
255 mTextView.setText(precomputed, BufferType.EDITABLE); in testUseDynamicLayout_EDITABLE()
259 mTextView.setText(precomputed, BufferType.EDITABLE); in testUseDynamicLayout_EDITABLE()
/aosp_15_r20/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/src/com/android/adservices/tests/cts/topics/
DTopicsManagerTest.java125 // Set classifier flag to use precomputed-then-on-device classifier. in testTopicsManager_testTopicsKillSwitch()
128 // Default classifier uses the precomputed list first, then on-device classifier. in testTopicsManager_testTopicsKillSwitch()
220 // Topic should be from the precomputed list and not the on device classifier due to the in testTopicsManager_testOnDeviceKillSwitch_shouldUsePrecomputedList()
241 // Set classifier flag to use precomputed-then-on-device classifier. in testTopicsManager_runDefaultClassifier()
244 // Default classifier uses the precomputed list first, then on-device classifier. in testTopicsManager_runDefaultClassifier()
273 // in the precomputed list. in testTopicsManager_runDefaultClassifier()
410 // Set classifier flag to use precomputed classifier. in testTopicsManager_runPrecomputedClassifier()
441 // We only have 5 topics classified by the precomputed classifier. in testTopicsManager_runPrecomputedClassifier()
477 // Set classifier flag to use precomputed classifier. in testTopicsManager_runPrecomputedClassifier_encryptedTopics()
514 // We only have 5 topics classified by the precomputed classifier. in testTopicsManager_runPrecomputedClassifier_encryptedTopics()
/aosp_15_r20/external/pytorch/torchgen/api/
H A Dstructured.py121 if g.out.precomputed:
123 # certain parameters replaced with precomputed counterparts
129 if isinstance(a, Argument) and a.name in g.out.precomputed.replace:
132 non_out_args_replaced.extend(g.out.precomputed.replace[a.name])
138 # g.out.precomputed.add is the list of parameters that are added
140 args.extend(g.out.precomputed.add)
/aosp_15_r20/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/
DClassifierManager.java105 + "falling back to precomputed classifier"); in classify()
124 // Collect package names that do not have any topics in the precomputed list. in classify()
135 // do not have valid precomputed classifications. in classify()
162 + "falling back to precomputed classifier"); in getTopTopics()
194 + "falling back to precomputed classifier"); in getTopicsTaxonomy()
209 // Prefer precomputed values for topics if the list is not empty.
/aosp_15_r20/prebuilts/go/linux-x86/src/crypto/x509/
Dpkcs1.go119 Dp: key.Precomputed.Dp,
120 Dq: key.Precomputed.Dq,
121 Qinv: key.Precomputed.Qinv,
124 priv.AdditionalPrimes = make([]pkcs1AdditionalRSAPrime, len(key.Precomputed.CRTValues))
125 for i, values := range key.Precomputed.CRTValues {
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/topics/src/com/android/adservices/service/topics/classifier/
DClassifierManagerTest.java106 // Verify the topics returned are from precomputed classifier. in testClassify_preComputedClassifier()
129 // Verify the topics returned are from precomputed classifier. in testClassify_precomputedThenOnDevice_verifyPriorityToPrecomputedClassifier()
147 // Empty precomputed classifier topics. in testClassify_precomputedThenOnDevice_emptyPrecomputedTopics()
171 // Empty map for precomputed topics. in testClassify_precomputedThenOnDevice_missingPrecomputedTopics()
193 // Empty list for precomputed classification. in testClassify_precomputedThenOnDevice_bothListsAreEmpty()
222 // Verify the topics returned are from precomputed classifier. in testClassify_invalidClassifier_verifyDefaultBehaviour()
244 // Verify the topics returned are from precomputed classifier. in testClassify_onDeviceClassifierKillSwitch_fallbackToPrecomputedClassifier()
/aosp_15_r20/external/apache-commons-math/src/main/java/org/apache/commons/math3/stat/descriptive/moment/
H A DVariance.java379 * the input array, using the precomputed mean value. Returns
396 * @param mean the precomputed mean value
433 * precomputed mean value. Returns <code>Double.NaN</code> if the array
452 * @param mean the precomputed mean value
462 * the input array, using the precomputed weighted mean value. Returns
498 * @param mean the precomputed weighted mean value
541 * the precomputed weighted mean value.</p>
575 * @param mean the precomputed weighted mean value
/aosp_15_r20/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
H A DVariance.java364 * the input array, using the precomputed mean value. Returns
381 * @param mean the precomputed mean value
418 * precomputed mean value. Returns <code>Double.NaN</code> if the array
437 * @param mean the precomputed mean value
447 * the input array, using the precomputed weighted mean value. Returns
483 * @param mean the precomputed weighted mean value
525 * the precomputed weighted mean value.</p>
559 * @param mean the precomputed weighted mean value
/aosp_15_r20/external/private-join-and-compute/private_join_and_compute/crypto/
H A Dshanks_discrete_log.h21 // This class will construct a table of precomputed values, which depend
22 // on the generator and the percompute_bits argument. The precomputed table
50 // The precompute_bits parameter means that a precomputed table will be
51 // constructed for the first precompute_bits. In particular, the precomputed
/aosp_15_r20/external/aws-sdk-java-v2/core/http-auth-aws/src/main/java/software/amazon/awssdk/http/auth/aws/internal/signer/
H A DChecksummer.java74 …* Get a precomputed checksummer which places the precomputed checksum to the x-amz-content-sha256 …
81 …summer that performs two checksums: the given checksum-algorithm and a precomputed checksum from t…
82 …* given checksum string. It places the precomputed checksum in x-amz-content-sha256 header, and th…
/aosp_15_r20/prebuilts/go/linux-x86/src/crypto/internal/edwards25519/
Dtables.go16 // A precomputed lookup table for fixed-base, constant-time scalar muls.
26 // A precomputed lookup table for fixed-base, variable-time scalar muls.
48 // This is not optimised for speed; fixed-base tables should be precomputed.
75 // This is not optimised for speed; fixed-base tables should be precomputed.
/aosp_15_r20/external/tink/go/signature/
H A Drsassapkcs1_signer_key_manager.go69 Precomputed: rsa.PrecomputedValues{
131 Dp: rsaKey.Precomputed.Dp.Bytes(),
132 Dq: rsaKey.Precomputed.Dq.Bytes(),
133 Crt: rsaKey.Precomputed.Qinv.Bytes(),
H A Drsassapss_signer_key_manager.go69 Precomputed: rsa.PrecomputedValues{
160 Dp: privKey.Precomputed.Dp.Bytes(),
161 Dq: privKey.Precomputed.Dq.Bytes(),
162 Crt: privKey.Precomputed.Qinv.Bytes(),
/aosp_15_r20/external/tink/go/jwt/
H A Djwt_rsa_ssa_pss_signer_key_manager.go71 Precomputed: rsa.PrecomputedValues{
137 Dp: rsaKey.Precomputed.Dp.Bytes(),
138 Dq: rsaKey.Precomputed.Dq.Bytes(),
142 Crt: rsaKey.Precomputed.Qinv.Bytes(),
H A Djwt_rsa_ssa_pkcs1_signer_key_manager.go75 Precomputed: rsa.PrecomputedValues{
144 Dp: rsaKey.Precomputed.Dp.Bytes(),
145 Dq: rsaKey.Precomputed.Dq.Bytes(),
149 Crt: rsaKey.Precomputed.Qinv.Bytes(),

12345678910>>...53