- Sort Score
- Result 10 results
- Languages All
Results 911 - 920 of 2,158 for booleans (0.1 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/-RequestBodyCommon.kt
} } } @Suppress("unused") fun RequestBody.commonContentLength(): Long = -1L @Suppress("unused") fun RequestBody.commonIsDuplex(): Boolean = false @Suppress("unused") fun RequestBody.commonIsOneShot(): Boolean = false /** Returns a new request body that transmits this. */ fun ByteString.commonToRequestBody(contentType: MediaType?): RequestBody { return object : RequestBody() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
@GwtIncompatible // java.math.BigInteger public void testIsPowerOfTwo() { for (long x : ALL_LONG_CANDIDATES) { // Checks for a single bit set. BigInteger bigX = BigInteger.valueOf(x); boolean expected = (bigX.signum() > 0) && (bigX.bitCount() == 1); assertEquals(expected, LongMath.isPowerOfTwo(x)); } } public void testLog2ZeroAlwaysThrows() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 30.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Equivalence.java
*/ public final boolean equivalent(@CheckForNull T a, @CheckForNull T b) { if (a == b) { return true; } if (a == null || b == null) { return false; } return doEquivalent(a, b); } /** * * @since 10.0 (previously, subclasses would override equivalent()) */ @ForOverride protected abstract boolean doEquivalent(T a, T b); /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu May 16 14:34:47 UTC 2024 - 13.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
+ "Continuing with the assumption that it is up-to-date.", e); return true; } } private boolean hasBeenPackagedDuringThisSession(MavenProject project) { boolean packaged = false; for (String phase : getLifecycles(project)) { switch (phase) { case "clean": packaged = false;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
// Save expectedSize for use in allocArrays() this.metadata = Ints.constrainToRange(expectedSize, 1, CompactHashing.MAX_SIZE); } /** Returns whether arrays need to be allocated. */ boolean needsAllocArrays() { return table == null; } /** Handle lazy allocation of arrays. */ @CanIgnoreReturnValue int allocArrays() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 24K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java
} /** * Returns the status of the specified flag. * * @param flag The flag to test (i.e., <code>NTLMSSP_NEGOTIATE_OEM</code>). * @return A <code>boolean</code> indicating whether the flag is set. */ public boolean getFlag(int flag) { return (getFlags() & flag) != 0; } /** * Sets or clears the specified flag. * * @param flag The flag to set/clear (i.e.,
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 4.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java
stringBuilder.append("[").append(dependency.getExclusions().size()).append(" exclusions]"); } return stringBuilder.toString(); } private boolean equals(Dependency d1, Dependency d2) { return Objects.equals(d1.getGroupId(), d2.getGroupId()) && Objects.equals(d1.getArtifactId(), d2.getArtifactId())
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt
if (planningThrowable != null) throw planningThrowable return result } override fun hasNext(failedConnection: RealConnection?): Boolean { return deferredPlans.isNotEmpty() || nextPlanIndex < plans.size || autoGeneratePlans } override fun sameHostAndPort(url: HttpUrl): Boolean { return url.host == address.url.host && url.port == address.url.port } override fun close() { factory.close() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 24 04:40:49 UTC 2024 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingBlockingDeque.java
@Override public void putLast(E e) throws InterruptedException { delegate().putLast(e); } @Override public boolean offerFirst(E e, long timeout, TimeUnit unit) throws InterruptedException { return delegate().offerFirst(e, timeout, unit); } @Override public boolean offerLast(E e, long timeout, TimeUnit unit) throws InterruptedException { return delegate().offerLast(e, timeout, unit); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSequenceReader.java
pos += charsToSkip; return charsToSkip; } @Override public synchronized boolean ready() throws IOException { checkOpen(); return true; } @Override public boolean markSupported() { return true; } @Override public synchronized void mark(int readAheadLimit) throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 4.5K bytes - Viewed (0)