- Sort Score
- Num 10 results
- Language All
Results 1841 - 1850 of 3,180 for when (0.08 seconds)
-
guava-testlib/test/com/google/common/testing/FakeTickerTest.java
assertEquals(20, ticker.read()); for (TimeUnit timeUnit : TimeUnit.values()) { ticker.setAutoIncrementStep(0, timeUnit); assertEquals( "Expected no auto-increment when setting autoIncrementStep to 0 " + timeUnit, 30, ticker.read()); } } public void testAutoIncrement_negative() { FakeTicker ticker = new FakeTicker(); assertThrows(
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) -
tests/test_response_dependency.py
assert resp.headers.get("X-Second") == "2" def test_response_dependency_returns_different_response_instance(): """Dependency that returns a different Response instance should work. When a dependency returns a new Response object (e.g., JSONResponse) instead of modifying the injected one, the returned response should be used and any modifications to it in the endpoint should be preserved. """
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 05 18:23:16 GMT 2026 - 5.2K bytes - Click Count (0) -
internal/config/subnet/config.go
cfg.APIKey = strings.TrimSpace(env.Get(config.EnvMinIOSubnetAPIKey, kvs.Get(config.APIKey))) cfg.Proxy = proxy if transport == nil { // when transport is nil, it means we are just validating the // inputs not performing any network calls. return cfg, nil } // Make sure to clone the transport before editing the ProxyURL if proxyURL != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 3.9K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteSink.java
* Opens a new buffered {@link OutputStream} for writing to this sink. The returned stream is not * required to be a {@link BufferedOutputStream} in order to allow implementations to simply * delegate to {@link #openStream()} when the stream returned by that method does not benefit from * additional buffering (for example, a {@code ByteArrayOutputStream}). This method returns a new, * independent stream each time it is called. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 4.9K bytes - Click Count (0) -
internal/bucket/encryption/bucket-sse-config_test.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 16 18:28:30 GMT 2022 - 6.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java
QueryParseException queryParseException = new QueryParseException(null); assertNotNull(queryParseException); assertNull(queryParseException.getCause()); // getMessage() may return null when constructed with null // This is expected behavior for exceptions with null cause } @Test public void test_nestedCause() { // Test with nested exceptions
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 5.3K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
for (int j = 0; j < dataSize; ++j) { dataset.addEntries(helper); } dummy ^= helper.toString().hashCode(); } return dummy; } // When omitEmptyValues() is released, remove this method and add a new @Param "omitEmptyValues".
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.4K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java
public String getVersion() { if (version != null) { return version; } else { return artifact.getVersion(); } } // Revise these three methods when MRESOLVER-233 is delivered @Override public Artifact setVersion(String version) { String current = getVersion(); if (current.equals(version) || (version == null && current.isEmpty())) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
* multimap.asMap()} view. Repeated occurrences of an entry in the multimap after the first are * ignored. * * <p>Despite the method name, this method attempts to avoid actually copying the data when it is * safe to do so. The exact circumstances under which a copy will or will not be performed are * undocumented and subject to change. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 19 22:57:35 GMT 2026 - 26.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingMultiset.java
* default} methods. Instead, it inherits their default implementations. When those implementations * invoke methods, they invoke methods on the {@code ForwardingMultiset}. * * <p>The {@code standard} methods and any collection views they return are not guaranteed to be * thread-safe, even when all of the methods that they depend on are thread-safe. * * @author Kevin Bourrillion * @author Louis WassermanCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.3K bytes - Click Count (0)