- Sort Score
- Result 10 results
- Languages All
Results 751 - 760 of 1,896 for methods_ (0.16 sec)
-
guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java
import com.google.caliper.Benchmark; import com.google.caliper.Param; import java.util.ArrayList; import java.util.LinkedList; /** * Tests the speed of iteration of different iteration methods for collections. * * @author David Richter */ public class IteratorBenchmark { @Param({"0", "1", "16", "256", "4096", "65536"}) int size;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.1K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nullable; /** * Defines a simple logging interface for Maven CLI operations. * This interface provides methods for logging messages at different severity levels * and supports logging with or without associated exceptions. * * @since 4.0.0 */ @Experimental public interface Logger { /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 03 16:03:55 UTC 2024 - 4.1K bytes - Viewed (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())) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java
return suite; } protected Collection<Method> suppressForArrayDeque() { return emptySet(); } protected Collection<Method> suppressForLinkedList() { return emptySet(); } protected Collection<Method> suppressForArrayBlockingQueue() { return emptySet(); } protected Collection<Method> suppressForConcurrentLinkedQueue() { return emptySet(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
val requestBuilder = userResponse.request.newBuilder() if (HttpMethod.permitsRequestBody(method)) { val responseCode = userResponse.code val maintainBody = HttpMethod.redirectsWithBody(method) || responseCode == HTTP_PERM_REDIRECT || responseCode == HTTP_TEMP_REDIRECT if (HttpMethod.redirectsToGet(method) && responseCode != HTTP_PERM_REDIRECT && responseCode != HTTP_TEMP_REDIRECT) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:24:48 UTC 2024 - 12.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java
expectedHashCode, getList().hashCode()); } /** * Returns the {@link Method} instance for {@link #testHashCode()} so that list tests on * unhashable objects can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getHashCodeMethod() { return getMethod(ListHashCodeTester.class, "testHashCode"); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2K bytes - Viewed (0) -
guava/src/com/google/common/collect/TransformedIterator.java
/** * An iterator that transforms a backing iterator; for internal use. This avoids the object overhead * of constructing a {@link com.google.common.base.Function Function} for internal methods. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault abstract class TransformedIterator<F extends @Nullable Object, T extends @Nullable Object> implements Iterator<T> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 09 17:31:04 UTC 2021 - 1.7K bytes - Viewed (0) -
src/archive/zip/zip_test.go
if err != nil { t.Fatalf("got %v, expected nil", err) } zh := zf.File[0].FileHeader if zh.Name != h.Name || zh.Method != h.Method || zh.UncompressedSize64 != uint64(len("hi")) { t.Fatalf("got %q/%d/%d expected %q/%d/%d", zh.Name, zh.Method, zh.UncompressedSize64, h.Name, h.Method, len("hi")) } } // Issue 4302. func TestHeaderInvalidTagAndSize(t *testing.T) { const timeFormat = "20060102T150405.000.txt"
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
size, getMultiset().size()); } /** Call the {@code setCount()} method under test, and check its return value. */ abstract void setCountCheckReturnValue(E element, int count); /** * Call the {@code setCount()} method under test, but do not check its return value. Callers * should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 13K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolver.java
* * @see ArtifactVersion#compareTo * @since 3.0 */ @Named("oldest") @Singleton @Deprecated public class OldestConflictResolver implements ConflictResolver { // ConflictResolver methods ----------------------------------------------- /* * @see org.apache.maven.artifact.resolver.conflict.ConflictResolver#resolveConflict(org.apache.maven.artifact.resolver.ResolutionNode,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0)