- Sort Score
- Result 10 results
- Languages All
Results 1531 - 1540 of 3,883 for void (0.02 sec)
-
guava-testlib/src/com/google/common/testing/TearDownStack.java
public TearDownStack(boolean suppressThrows) { this.suppressThrows = suppressThrows; } @Override public final void addTearDown(TearDown tearDown) { synchronized (lock) { stack.addFirst(checkNotNull(tearDown)); } } /** Causes teardown to execute. */ public final void runTearDown() { List<Throwable> exceptions = new ArrayList<>(); List<TearDown> stackCopy; synchronized (lock) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 21 10:19:29 UTC 2024 - 2.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java
/** */ @Deprecated class DefaultMavenMetadataCacheTest { private RepositorySystem repositorySystem; @BeforeEach void setUp() { repositorySystem = new TestRepositorySystem(); } @Test void testCacheKey() throws Exception { Artifact a1 = repositorySystem.createArtifact("testGroup", "testArtifact", "1.2.3", "jar"); @SuppressWarnings("deprecation")
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/ArtifactDeployer.java
* @deprecated to be removed before 2.0 after the install/deploy plugins use the alternate * method */ @Deprecated void deploy( String basedir, String finalName, Artifact artifact, ArtifactRepository deploymentRepository, ArtifactRepository localRepository)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/TearDownStack.java
public TearDownStack(boolean suppressThrows) { this.suppressThrows = suppressThrows; } @Override public final void addTearDown(TearDown tearDown) { synchronized (lock) { stack.addFirst(checkNotNull(tearDown)); } } /** Causes teardown to execute. */ public final void runTearDown() { List<Throwable> exceptions = new ArrayList<>(); List<TearDown> stackCopy; synchronized (lock) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 21 10:19:29 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/MultiReader.java
MultiReader(Iterator<? extends CharSource> readers) throws IOException { this.it = readers; advance(); } /** Closes the current reader and opens the next one, if any. */ private void advance() throws IOException { close(); if (it.hasNext()) { current = it.next().openStream(); } } @Override public int read(char[] cbuf, int off, int len) throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 2.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java
.put("SHA-512", Hashing.sha512()) .build(); public void testHashing() { for (String stringToTest : INPUTS) { for (String algorithmToTest : ALGORITHMS.keySet()) { assertMessageDigestHashing(HashTestUtils.ascii(stringToTest), algorithmToTest); } } } public void testPutAfterHash() { Hasher sha1 = Hashing.sha1().newHasher(); assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 4.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashMultisetTest.java
return HashMultiset.create(asList(elements)); } }; } public void testCreate() { Multiset<String> multiset = HashMultiset.create(); multiset.add("foo", 2); multiset.add("bar"); assertEquals(3, multiset.size()); assertEquals(2, multiset.count("foo")); } public void testCreateWithSize() { Multiset<String> multiset = HashMultiset.create(50); multiset.add("foo", 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClusterException.java
* presented below: * * <pre> * void runManyThings({@literal List<ThingToRun>} thingsToRun) { * for (ThingToRun thingToRun : thingsToRun) { * thingToRun.run(); // say this may throw an exception, but you want to * // always run all thingsToRun * } * } * </pre> * * <p>This is what the code would become: * * <pre> * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 26 20:07:17 UTC 2023 - 4K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java
import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; class MavenPropertiesLoaderTest { @Test void testIncludes() throws Exception { FileSystem fs = Jimfs.newFileSystem(Configuration.unix()); Path mavenHome = fs.getPath("/maven"); Files.createDirectories(mavenHome);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/SlackClient.java
} /** Set the OAuth session for this client. */ public synchronized void initOauthSession(OAuthSession session) { this.session = session; this.notifyAll(); } /** Waits for an OAuth session for this client to be set. */ public synchronized void awaitAccessToken(Timeout timeout) throws InterruptedIOException { while (session == null) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 3.4K bytes - Viewed (0)