- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 2,287 for Math (0.03 sec)
-
guava-tests/test/com/google/common/math/MathPreconditionsTest.java
* limitations under the License. */ package com.google.common.math; import static com.google.common.math.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.truth.Truth.assertThat; import com.google.common.annotations.GwtCompatible; import java.math.BigInteger; import java.math.RoundingMode; import junit.framework.TestCase; /** * Unit tests for {@link MathPreconditions}.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/armv6.s
MOVF F2, 0x00ffffff(R2) // MOVF F2, 16777215(R2) MOVD F2, 0x00ffffff(R2) // MOVD F2, 16777215(R2) MOVF F0, math·Exp(SB) // MOVF F0, math.Exp(SB) MOVF math·Exp(SB), F0 // MOVF math.Exp(SB), F0 MOVD F0, math·Exp(SB) // MOVD F0, math.Exp(SB) MOVD math·Exp(SB), F0 // MOVD math.Exp(SB), F0 MOVF F4, F5 // 445ab0ee MOVD F6, F7 // 467bb0ee
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 23 15:18:14 UTC 2024 - 4.7K bytes - Viewed (0) -
internal/bucket/bandwidth/reader.go
r.opts.HeaderSize = 0 need = int(math.Min(float64(b-hdr), float64(need))) // use remaining tokens towards payload tokens = need + hdr } else { // part of header can be accommodated r.opts.HeaderSize -= b - 1 need = 1 // to ensure we read at least one byte for every Read tokens = b } } else { // all tokens go towards payload need = int(math.Min(float64(b), float64(need))) tokens = need }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 14:57:31 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
end = Math.max(end, this.headerStart + this.parameterOffset + this.parameterCount + this.pad2); } if ( this.dataCount > 0 ) { System.arraycopy(this.txn_buf, this.bufDataOffset, dst, this.headerStart + this.dataOffset, this.dataCount); this.bufDataOffset += this.dataCount; end = Math.max(end, this.headerStart + this.dataOffset + this.dataCount);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun May 17 13:43:42 UTC 2020 - 13.2K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/DoublesMethodsForWeb.java
import jsinterop.annotations.JsPackage; /** Web specializations for {@link Doubles} methods. */ public abstract class DoublesMethodsForWeb { @JsMethod(name = "Math.min", namespace = JsPackage.GLOBAL) public static native double min(double... array); @JsMethod(name = "Math.max", namespace = JsPackage.GLOBAL) public static native double max(double... array);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 26 00:50:12 UTC 2023 - 1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathBenchmarking.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.math; import java.math.BigInteger; import java.util.Random; /** * Utilities for benchmarks. * * <p>In many cases, we wish to vary the order of magnitude of the input as much as we want to vary
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/InternersBenchmark.java
for (int i = 0; i < reps; i++) { String unused = interner.intern(Double.toHexString(Math.random())); } return reps; } @Benchmark int strongInterner(int reps) { Interner<String> interner = Interners.newStrongInterner(); for (int i = 0; i < reps; i++) { String unused = interner.intern(Double.toHexString(Math.random())); } return reps; } @Benchmark
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Mar 04 04:06:35 UTC 2022 - 1.4K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
* Math.sqrt(k * k) <= Math.sqrt(x) <= Math.sqrt((k + 1) * (k + 1)) * since Math.sqrt is monotonic. * (long) Math.sqrt(k * k) <= (long) Math.sqrt(x) <= (long) Math.sqrt((k + 1) * (k + 1)) * since casting to long is monotonic * k <= (long) Math.sqrt(x) <= k + 1 * since (long) Math.sqrt(k * k) == k, as checked exhaustively in
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 09 16:39:37 UTC 2024 - 45.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
private static final double[] VALUES = { Double.NEGATIVE_INFINITY, -Double.MAX_VALUE, (double) Long.MIN_VALUE, (double) Integer.MIN_VALUE, -Math.PI, -1.0, -Double.MIN_VALUE, -0.0, +0.0, Double.MIN_VALUE, 1.0, Math.PI, (double) Integer.MAX_VALUE, (double) Long.MAX_VALUE, Double.MAX_VALUE, Double.POSITIVE_INFINITY, Double.NaN, Float.MAX_VALUE,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 14.6K bytes - Viewed (0)