- Sort Score
- Num 10 results
- Language All
Results 471 - 480 of 825 for needs (0.02 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
* TODO(cpovirk): make "too small" and "too large" elements available for better navigation * testing. At that point, we may be able to eliminate the "hole" tests, which would mean that * ContiguousSet's tests would no longer need to suppress them. */ @CollectionSize.Require(SEVERAL) public void testLower() { assertEquals(null, navigableSet.lower(a)); assertEquals(a, navigableSet.lower(b));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 8.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
for (int insertion = 0; insertion < totalInsertions; insertion++) { RandomHasherAction.pickAtRandom(random).performAction(random, sinksAndControl); } // We need to ensure that at least 4 bytes have been put into the hasher or else // Hasher#hash will throw an ISE. int intToPut = random.nextInt(); for (Hasher hasher : sinksAndControl) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 8.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java
} // Handle exact equality first if (modelVersion.equals(targetVersion)) { return true; } // For now, handle the specific cases we need if (MODEL_VERSION_4_1_0.equals(targetVersion)) { return isNewerThan410(modelVersion); } // Default to false for unknown comparisons return false; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 9.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
.thenThrow(new InterruptedException()); AtomicBoolean terminated = new AtomicBoolean(); // we need to keep this in a flag because t.isInterrupted() returns false after t.join() AtomicBoolean interrupted = new AtomicBoolean(); // we need to use another thread because it will be interrupted and thus using // the current one, owned by JUnit, would make the test fail Thread thread =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
* requests, responding to them with {@link #notifyStarted()} and {@link #notifyStopped()} * callbacks. Its subclasses must manage threads manually; consider {@link * AbstractExecutionThreadService} if you need only a single execution thread. * * @author Jesse Wilson * @author Luke Sandberg * @since 1.0 */ @GwtIncompatible @J2ktIncompatible public abstract class AbstractService implements Service {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 20.3K bytes - Click Count (0) -
.github/PULL_REQUEST_TEMPLATE.md
/kind feature Optionally add one or more of the following kinds if applicable: /kind api-change /kind deprecation /kind failing-test /kind flake /kind regression --> #### What this PR does / why we need it: #### Which issue(s) this PR is related to: <!-- Please link relevant issues to help with tracking. To automatically close the linked issue(s) when this PR is merged,
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Tue Jan 20 23:14:09 GMT 2026 - 3.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java
// https://publicobject.com (Comodo) and https://squareup.com (Entrust). But they aren't // sufficient to connect to most HTTPS sites including https://godaddy.com and https://visa.com. // Typically developers will need to get a PEM file from their organization's TLS administrator. final X509Certificate comodoRsaCertificationAuthority = Certificates.decodeCertificatePem("" + "-----BEGIN CERTIFICATE-----\n"
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 9.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/SubtypeTester.java
* } * * public void testMySubtypes() throws Exception { * new MySubtypeTests().testAllDeclarations(); * } * } * * The calls to {@link #isSubtype} and {@link #notSubtype} tells the framework what assertions need * to be made. * * <p>The declaration methods must be public. */ @AndroidIncompatible // only used by android incompatible tests. @NullUnmarked abstract class SubtypeTester implements Cloneable {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ByteArrayAsListTest.java
ListFeature.SUPPORTS_SET) .createTestSuite()); } return suite; } // Test generators. To let the GWT test suite generator access them, they need to be // public named classes with a public default constructor. public static final class BytesAsListGenerator extends TestByteListGenerator { @Override protected List<Byte> create(Byte[] elements) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java
ListFeature.SUPPORTS_SET) .createTestSuite()); } return suite; } // Test generators. To let the GWT test suite generator access them, they need to be // public named classes with a public default constructor. public static final class LongsAsListGenerator extends TestLongListGenerator { @Override protected List<Long> create(Long[] elements) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.5K bytes - Click Count (0)