- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 65 for Double (0.18 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/FileSizeFormat.java
} public void formatRate(MessageBuilder builder, double rate) { // Handle invalid rates gracefully (including negative values) if (Double.isNaN(rate) || Double.isInfinite(rate) || rate < 0) { builder.append("? B/s"); return; } ScaleUnit unit = ScaleUnit.getScaleUnit(Math.round(rate)); double scaledRate = rate / unit.bytes();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Apr 16 10:09:21 GMT 2025 - 7K bytes - Click Count (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt
// The result would be something like DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'" \"-javaagent:$APP_HOME/lib/agents/foobar.jar\"" line + getAgentOptions("\$APP_HOME").joinToString(separator = " ", prefix = "\" ", postfix = "\"") { // Wrap the agent switch in double quotes, as the expanded APP_HOME may contain spaces.Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Apr 08 01:46:59 GMT 2025 - 6.3K bytes - Click Count (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PrimitiveKotlinTypeStrings.kt
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Sep 19 08:18:50 GMT 2025 - 1.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/AbstractMavenTransferListener.java
Duration duration = Duration.between(resource.getStartTime(), MonotonicClock.now()); long nanos = duration.toNanos(); if (nanos > 0) { double seconds = nanos / (double) TimeUnit.SECONDS.toNanos(1); // Convert to fractional seconds double bytesPerSecond = contentLength / seconds; message.append(" at "); format.formatRate(message, bytesPerSecond); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Apr 22 22:13:51 GMT 2025 - 4.3K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java
} double scaledSize = (double) size / unit.bytes(); if (unit == ScaleUnit.BYTE) { builder.append(Long.toString(size)); } else if (scaledSize < 0.05d || scaledSize >= 10.0d) { builder.append(Long.toString(Math.round(scaledSize))); } else { builder.append(Double.toString(Math.round(scaledSize * 10d) / 10d)); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Apr 16 10:09:21 GMT 2025 - 6.5K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Apr 22 22:13:51 GMT 2025 - 9.2K bytes - Click Count (0) -
tensorflow/c/c_test_util.cc
values[0] = v; return TF_NewTensor(TF_INT32, nullptr, 0, values, num_bytes, &Int32Deallocator, nullptr); } TF_Tensor* DoubleTensor(double v) { const int num_bytes = sizeof(double); double* values = new double[1]; values[0] = v; return TF_NewTensor(TF_DOUBLE, nullptr, 0, values, num_bytes, &DoubleDeallocator, nullptr); } TF_Tensor* FloatTensor(float v) {
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 17.8K bytes - Click Count (1) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java
import java.util.Collections; import java.util.HashSet; import java.util.Set; /** * Result of an upgrade strategy application. * Uses sets of paths to track which POMs were processed, modified, or had errors, * avoiding double-counting when multiple strategies affect the same POMs. * * @param processedPoms the set of POMs that were processed * @param modifiedPoms the set of POMs that were modified * @param errorPoms the set of POMs that had errors
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 3.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
"int" to "Int", "java.lang.Long" to "Long", "long" to "Long", "java.lang.Float" to "Float", "float" to "Float", "java.lang.Double" to "Double", "double" to "Double" ) // See `org.gradle.kotlin.dsl.internal.sharedruntime.codegen.ApiTypeProviderKt.mappedTypeStrings` private val collectionTypeStrings = mapOf(
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jul 08 07:02:19 GMT 2025 - 13.2K bytes - Click Count (0) -
docs/fr/llm-prompt.md
Translate to French (français). Language code: fr. ### Grammar to use when talking to the reader Use the formal grammar (use «vous» instead of «tu»). ### Quotes 1) Convert neutral double quotes («"») and English double typographic quotes («“» and «”») to French guillemets (««» and «»»). 2) In the French docs, guillemets are written without extra spaces: use «texte», not « texte ».
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 10:41:43 GMT 2025 - 4.1K bytes - Click Count (0)