- Sort Score
- Result 10 results
- Languages All
Results 3711 - 3720 of 4,441 for avoid (0.02 sec)
-
android/guava-tests/benchmark/com/google/common/hash/HashFunctionBenchmark.java
@Param({"10", "1000", "100000", "1000000"}) private int size; @Param HashFunctionEnum hashFunctionEnum; private byte[] testBytes; @BeforeExperiment void setUp() { testBytes = new byte[size]; random.nextBytes(testBytes); } @Benchmark int hasher(int reps) { HashFunction hashFunction = hashFunctionEnum.getHashFunction(); int result = 37;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java
Activation activation = new Activation(); Profile profile = new Profile(); profile.setId(id); profile.setActivation(activation); return profile; } @Test void testThrowingActivator() { DefaultProfileSelector selector = new DefaultProfileSelector(); selector.addProfileActivator(new ProfileActivator() { @Override
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 2.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CWD.java
* * @throws NullPointerException if {@code seg} is {@code null}. * @throws IllegalArgumentException if {@code seg} leads to non-existent directory. */ public void change(String seg) { Path newCwd = resolve(seg); if (Files.isDirectory(newCwd)) { this.directory = newCwd; } else {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Mar 24 14:09:05 UTC 2025 - 2.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MavenScopeDependenciesValidator.java
@Inject MavenScopeDependenciesValidator(PluginValidationManager pluginValidationManager) { super(pluginValidationManager); } @Override protected void doValidate( RepositorySystemSession session, Artifact pluginArtifact, ArtifactDescriptorResult artifactDescriptorResult) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/properties/internal/EnvironmentUtils.java
* variable lookup. * * @param props The properties to add the environment variables to, may be {@code null}. */ public static void addEnvVars(Properties props) { if (props != null) { if (envVars == null) { Properties tmp = new Properties(); boolean caseSensitive = !Os.IS_WINDOWS;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java
import com.google.inject.Scope; import com.google.inject.name.Named; /** * SessionScope */ public class SessionScope extends org.apache.maven.impl.di.SessionScope implements Scope { public <T> void seed(Class<T> clazz, Provider<T> value) { getScopeState().seed(clazz, value::get); } @Override public <T> Provider<T> scope(final Key<T> key, final Provider<T> unscoped) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.2K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/canonical/CanonicalProjectBuilderTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; /** */ class CanonicalProjectBuilderTest extends AbstractMavenProjectTestCase { @Test void testProjectBuilder() throws Exception { File f = getFileForClasspathResource("canonical-pom.xml"); MavenProject project = getProject(f);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Mar 25 09:45:07 UTC 2025 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeBasedTableRowMapInterfaceTest.java
} @Override protected String getKeyNotInPopulatedMap() { return "q"; } @Override protected String getValueNotInPopulatedMap() { return "p"; } public void testClearSubMapOfRowMap() { TreeBasedTable<String, String, String> table = TreeBasedTable.create(); table.put("a", "b", "c"); table.put("c", "b", "a"); table.put("b", "b", "x"); table.put("b", "c", "y");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Defaults.java
/** * Returns the default value of {@code type} as defined by JLS --- {@code 0} for numbers, {@code * false} for {@code boolean} and {@code '\0'} for {@code char}. For non-primitive types and * {@code void}, {@code null} is returned. */ @SuppressWarnings("unchecked") public static <T> @Nullable T defaultValue(Class<T> type) { checkNotNull(type); if (type.isPrimitive()) { if (type == boolean.class) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java
private final ListenableFuture<V> delegate; ForwardingFluentFuture(ListenableFuture<V> delegate) { this.delegate = checkNotNull(delegate); } @Override public void addListener(Runnable listener, Executor executor) { delegate.addListener(listener, executor); } @Override public boolean cancel(boolean mayInterruptIfRunning) { return delegate.cancel(mayInterruptIfRunning);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0)