- Sort Score
- Result 10 results
- Languages All
Results 2111 - 2120 of 2,181 for Text (0.04 sec)
-
guava-tests/test/com/google/common/math/IntMathTest.java
IntMath.biggestBinomials[k] == Integer.MAX_VALUE || !fitsInInt(BigIntegerMath.binomial(IntMath.biggestBinomials[k] + 1, k))); // In the first case, any int is valid; in the second, we want to test that the next-bigger // int overflows. } assertFalse( fitsInInt( BigIntegerMath.binomial( 2 * IntMath.biggestBinomials.length, IntMath.biggestBinomials.length))); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 23.1K bytes - Viewed (0) -
guava/src/com/google/common/math/BigIntegerMath.java
// Use floor(log2(num)) + 1 to prevent overflow of multiplication. int productBits = LongMath.log2(product, FLOOR) + 1; int bits = LongMath.log2(startingNumber, FLOOR) + 1; // Check for the next power of two boundary, to save us a CLZ operation. int nextPowerOfTwo = 1 << (bits - 1); // Iteratively multiply the longs as big as they can go. for (long num = startingNumber; num <= n; num++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 18.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
public E higher(E e) { return Iterables.<@Nullable E>getFirst(tailSet(e, false), null); } @Override public E first() { return iterator().next(); } @Override public E last() { return descendingIterator().next(); } /** * Guaranteed to throw an exception and leave the set unmodified. * * @since 12.0 * @throws UnsupportedOperationException always
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 27.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
assertEquals("1.0", artifact.getVersion(), "collect has modified version in originating artifact"); Artifact resolvedArtifact = result.getArtifacts().iterator().next(); assertEquals("1.0", resolvedArtifact.getVersion(), "Resolved version don't match original artifact version"); } @Test void testResolveCompileScopeOverTestScope()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 42.5K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/amd64enc.s
// generated by x86test -amd64 // DO NOT EDIT #include "../../../../../runtime/textflag.h" TEXT asmtest(SB),DUPOK|NOSPLIT,$0 ADCB $7, AL // 1407 ADCW $61731, AX // 661523f1 ADCL $4045620583, AX // 15674523f1 ADCQ $-249346713, AX // 4815674523f1 ADCW $61731, (BX) // 66811323f1 ADCW $61731, (R11) // 6641811323f1
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Oct 08 21:38:44 UTC 2021 - 581.9K bytes - Viewed (1) -
api/go1.12.txt
pkg os, method (*File) SyscallConn() (syscall.RawConn, error) pkg os, method (*ProcessState) ExitCode() int pkg os/exec, method (ExitError) ExitCode() int pkg reflect, method (*MapIter) Key() Value pkg reflect, method (*MapIter) Next() bool pkg reflect, method (*MapIter) Value() Value pkg reflect, method (Value) MapRange() *MapIter pkg reflect, type MapIter struct pkg runtime/debug, func ReadBuildInfo() (*BuildInfo, bool)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Jan 02 21:21:53 UTC 2019 - 13.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
if (stk.size() < 2) { return null; } Iterator<ActivationFrame> f = stk.iterator(); String location = f.next().location; ActivationFrame parent = f.next(); return parent.parent.map(p -> p.getLocation(location)).orElse(null); }; final UnaryOperator<String> transformer = s -> {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 77.1K bytes - Viewed (0) -
cmd/erasure-object.go
goi, _, gerr := er.getObjectInfoAndQuorum(ctx, bucket, object, opts) if gerr != nil && goi.Name == "" { if _, ok := gerr.(InsufficientReadQuorum); ok { // Add an MRF heal for next time. er.addPartial(bucket, object, opts.VersionID) return objInfo, InsufficientWriteQuorum{} } return objInfo, gerr }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 78.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
* ... * synchronized (multimap) { // Synchronizing on multimap, not values! * Iterator<V> i = values.iterator(); // Must be in synchronized block * while (i.hasNext()) { * foo(i.next()); * } * } * }</pre> * * <p>Failure to follow this advice may result in non-deterministic behavior. * * <p>Note that the generated multimap's {@link Multimap#removeAll} and {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 86.3K bytes - Viewed (0)