- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 6,531 for mode (0.23 sec)
-
guava-tests/test/com/google/common/math/IntMathTest.java
int x = 1000000; for (RoundingMode mode : ALL_ROUNDING_MODES) { assertEquals(6, IntMath.log10(x, mode)); } } // Simple test to cover sqrt(0) for all types and all modes. @GwtIncompatible // sqrt public void testSqrtZeroAlwaysZero() { for (RoundingMode mode : ALL_ROUNDING_MODES) { assertEquals(0, IntMath.sqrt(0, mode)); } } @GwtIncompatible // sqrt
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 24.5K bytes - Viewed (0) -
android/guava/src/com/google/common/math/IntMath.java
/** * Returns the result of dividing {@code p} by {@code q}, rounding using the specified {@code * RoundingMode}. * * @throws ArithmeticException if {@code q == 0}, or if {@code mode == UNNECESSARY} and {@code a} * is not an integer multiple of {@code b} */ @SuppressWarnings("fallthrough") public static int divide(int p, int q, RoundingMode mode) { checkNotNull(mode); if (q == 0) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 23.5K bytes - Viewed (0) -
fastapi/_compat.py
def _model_rebuild(model: Type[BaseModel]) -> None: model.model_rebuild() def _model_dump( model: BaseModel, mode: Literal["json", "python"] = "json", **kwargs: Any ) -> Any: return model.model_dump(mode=mode, **kwargs) def _get_model_config(model: BaseModel) -> Any: return model.model_config def get_schema_from_model_field(
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 22.6K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt
return result } private fun asPsiTypeElement(type: KotlinType, useSitePosition: PsiElement, mode: TypeMappingMode): PsiTypeElement? { if (type !is SimpleTypeMarker) return null val signatureWriter = BothSignatureWriter(BothSignatureWriter.Mode.SKIP_CHECKS) typeMapper.mapType(type, mode, signatureWriter) val canonicalSignature = signatureWriter.toString()
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Thu Mar 28 16:10:07 GMT 2024 - 6.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/LongMathRoundingBenchmark.java
for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += LongMath.log2(positive[j], mode); } return tmp; } @Benchmark int log10(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += LongMath.log10(positive[j], mode); } return tmp; } @Benchmark int sqrt(int reps) { int tmp = 0;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.6K bytes - Viewed (0) -
docs/bucket/retention/README.md
```sh awscli s3api put-object-lock-configuration --bucket mybucket --object-lock-configuration 'ObjectLockEnabled=\"Enabled\",Rule={DefaultRetention={Mode=\"GOVERNANCE\",Days=1}}' ``` ### Set object lock
Plain Text - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Sep 29 04:28:45 GMT 2022 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* <p>These heuristics do not always match the behavior of the filesystem. In particular, consider * the path {@code a/../b}, which {@code simplifyPath} will change to {@code b}. If {@code a} is a * symlink to {@code x}, {@code a/../b} may refer to a sibling of {@code x}, rather than the * sibling of {@code a} referred to by {@code b}. * * @since 11.0 */ public static String simplifyPath(String pathname) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 33.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java
int j = i & ARRAY_MASK; tmp += DoubleMath.roundToInt(doubleInIntRange[j], mode); } return tmp; } @Benchmark long roundToLong(int reps) { long tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += DoubleMath.roundToLong(doubleInLongRange[j], mode); } return tmp; } @Benchmark int roundToBigInteger(int reps) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.6K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java
/** * Merge recessive into dominant and return either {@code dominant} * with merged information or a clone of {@code recessive} if * {@code dominant} is {@code null}. * * @param dominant the node * @param recessive if {@code null}, nothing will happen * @return the merged node */ @Nullable
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Nov 27 23:11:34 GMT 2023 - 4.3K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/Fe10AnalysisFacade.kt
fun getAnalysisContext(ktModule: KtModule, token: KtLifetimeToken): Fe10AnalysisContext fun analyze(elements: List<KtElement>, mode: AnalysisMode = AnalysisMode.FULL): BindingContext fun analyze(element: KtElement, mode: AnalysisMode = AnalysisMode.FULL): BindingContext { return analyze(listOf(element), mode) } fun getOrigin(file: VirtualFile): KtSymbolOrigin enum class AnalysisMode { ALL_COMPILER_CHECKS,
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Fri Jan 26 16:20:19 GMT 2024 - 2.6K bytes - Viewed (0)