- Sort Score
- Result 10 results
- Languages All
Results 3291 - 3300 of 3,865 for should (0.08 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java
public void testRemove_nullKeyQueriesUnsupported() { try { assertFalse(getMap().remove(null, v3())); } catch (NullPointerException tolerated) { // since the operation would be a no-op, the exception is not required } expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_VALUE_QUERIES) public void testRemove_nullValueQueriesUnsupported() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/DeadEvent.java
package com.google.common.eventbus; import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.base.MoreObjects; /** * Wraps an event that was posted, but which had no subscribers and thus could not be delivered. * * <p>Registering a DeadEvent subscriber is useful for debugging or logging, as it can detect * misconfigurations in a system's event distribution. * * @author Cliff Biffle * @since 10.0 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 22 13:05:46 UTC 2021 - 2.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java
file = new File(targetFile, paths[i] + "_" + j); if (!file.exists()) { if (!file.mkdirs()) { throw new CrawlerSystemException("Could not create " + file.getAbsolutePath()); } break; } if (file.isDirectory()) { break;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequestPopulator.java
* @return The populated execution request, never {@code null}. * @throws MavenExecutionRequestPopulationException If the execution request could not be populated. * @since 3.3.0 */ MavenExecutionRequest populateFromToolchains(MavenExecutionRequest request, PersistedToolchains toolchains) throws MavenExecutionRequestPopulationException;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
src/bytes/iter.go
// The iterator yields the same strings that would be returned by Split(s, sep), // but without constructing the slice. // It returns a single-use iterator. func SplitSeq(s, sep []byte) iter.Seq[[]byte] { return splitSeq(s, sep, 0) } // SplitAfterSeq returns an iterator over substrings of s split after each instance of sep. // The iterator yields the same strings that would be returned by SplitAfter(s, sep),
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:23:13 UTC 2024 - 3.7K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java
} //this if is a bit cheesy but 1-letter classname surely means a generic type and the warning will be useless if (className.length() > 1) { listener.warning(String.format("Could not generate link for unknown class '%s'", className)); } Element element = document.createElement("classname"); element.appendChild(document.createTextNode(className)); return element;
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
final InputStreamThread ist = jobProcess.getInputStreamThread(); try { ist.interrupt(); } catch (final Exception e) { logger.warn("Could not interrupt a thread of an input stream.", e); } final CountDownLatch latch = new CountDownLatch(3); final Process process = jobProcess.getProcess(); new Thread(() -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 6.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java
public void testRemove_nullKeyQueriesUnsupported() { try { assertFalse(getMap().remove(null, v3())); } catch (NullPointerException tolerated) { // since the operation would be a no-op, the exception is not required } expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_VALUE_QUERIES) public void testRemove_nullValueQueriesUnsupported() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java
Stopwatch s = Stopwatch.createStarted(); // here is where you would do something total += s.elapsed(NANOSECONDS); } return total; } @Benchmark long manual(int reps) { long total = 0; for (int i = 0; i < reps; i++) { long start = System.nanoTime(); // here is where you would do something total += (System.nanoTime() - start); } return total; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 1.5K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial005_an_py39.py
@needs_py39 def test_incorrect_token(client: TestClient): response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"}) assert response.status_code == 401, response.text assert response.json() == {"detail": "Could not validate credentials"} assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"' @needs_py39 def test_incorrect_token_type(client: TestClient): response = client.get(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 16.3K bytes - Viewed (0)