- Sort Score
- Result 10 results
- Languages All
Results 2911 - 2920 of 4,415 for Static (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing; import static com.google.common.collect.testing.Helpers.mapEntry; import static com.google.common.collect.testing.Helpers.orderEntriesByKey; import com.google.common.annotations.GwtCompatible; import java.util.List; import java.util.Map; import java.util.Map.Entry;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 2.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java
import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public final class RewriteResponseCacheControl { /** Dangerous interceptor that rewrites the server's cache-control header. */ private static final Interceptor REWRITE_CACHE_CONTROL_INTERCEPTOR = chain -> { Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .header("Cache-Control", "max-age=60")Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 2.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PackagingProfileActivator.java
return getActivationPackaging(profile).isPresent(); } private static boolean isPackaging(ProfileActivationContext context, String p) { String packaging = context.getUserProperties().get(ProfileActivationContext.PROPERTY_NAME_PACKAGING); return Objects.equals(p, packaging); } private static Optional<String> getActivationPackaging(org.apache.maven.model.Profile profile) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 2.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jConfigurationFactory.java
* the corresponding Slf4jConfiguration. * * @since 3.1.0 */ public class Slf4jConfigurationFactory { public static final String RESOURCE = "META-INF/maven/slf4j-configuration.properties"; public static Slf4jConfiguration getConfiguration(ILoggerFactory loggerFactory) { String slf4jBinding = loggerFactory.getClass().getCanonicalName(); try {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 08 08:49:11 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java
import org.jspecify.annotations.NullUnmarked; /** * Test case for {@link AsyncEventBus}. * * @author Cliff Biffle */ @NullUnmarked public class AsyncEventBusTest extends TestCase { private static final String EVENT = "Hello"; /** The executor we use to fake asynchronicity. */ private FakeExecutor executor; private AsyncEventBus bus; @Override protected void setUp() throws Exception {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.util.concurrent; import static org.junit.Assert.assertThrows; import com.google.common.testing.NullPointerTester; import java.util.concurrent.atomic.AtomicReferenceArray; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing.features; import static com.google.common.collect.testing.Helpers.copyToSet; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
*/ @ExtendWith(MockitoExtension.class) public class SmbBasicFileInfoTest { /** * Simple concrete implementation used for testing return values. */ private static class TestInfo implements SmbBasicFileInfo { private final int attributes; private final long createTime; private final long lastWriteTime; private final long lastAccessTime;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/SerializableTester.java
* * @return the re-serialized object * @throws RuntimeException if the specified object was not successfully serialized or * deserialized */ @CanIgnoreReturnValue public static <T> T reserialize(T object) { return Platform.reserialize(object); } /** * Serializes and deserializes the specified object and verifies that the re-serialized object is
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java
import org.apache.maven.plugin.version.PluginVersionResolutionException; import org.apache.maven.project.MavenProject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import static java.util.Objects.requireNonNull; /** * <p> * Calculates the task segments in the build * </p> * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Dec 13 23:07:01 UTC 2024 - 6.3K bytes - Viewed (0)