- Sort Score
- Result 10 results
- Languages All
Results 3171 - 3180 of 3,883 for void (0.02 sec)
-
guava-tests/benchmark/com/google/common/collect/ImmutableSetHashFloodingDetectionBenchmark.java
@Param({"10", "100", "1000", "10000"}) int size; @Param Impl impl; private static final Object[][] tables = new Object[TEST_CASES][]; @BeforeExperiment public void setUp() { int tableSize = ImmutableSet.chooseTableSize(size); int mask = tableSize - 1; for (int i = 0; i < TEST_CASES; i++) { tables[i] = new Object[tableSize]; for (int j = 0; j < size; j++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 03 20:16:35 UTC 2021 - 6.8K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java
private final ConverterLookup converterLookup; public DefaultBeanConfigurator() { converterLookup = new EnhancedConverterLookup(); } public void configureBean(BeanConfigurationRequest request) throws BeanConfigurationException { Objects.requireNonNull(request, "request cannot be null"); Objects.requireNonNull(request.getBean(), "request.bean cannot be null");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheRefreshTest.java
import junit.framework.TestCase; /** * Tests relating to automatic cache refreshing. * * @author Charles Fry */ public class CacheRefreshTest extends TestCase { public void testAutoRefresh() { FakeTicker ticker = new FakeTicker(); IncrementingLoader loader = incrementingLoader(); LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java
int size; // use concrete classes to remove any possible polymorphic overhead? Object[] array; ArrayList<Object> arrayList; LinkedList<Object> linkedList; @BeforeExperiment void setUp() { array = new Object[size]; arrayList = Lists.newArrayListWithCapacity(size); linkedList = Lists.newLinkedList(); for (int i = 0; i < size; i++) { Object value = new Object();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java
private static final int RANDOM_SEED = new Random().nextInt(); @Param({"10", "1000", "100000", "1000000"}) private int size; private byte[] testBytes; @BeforeExperiment void setUp() { testBytes = new byte[size]; new Random(RANDOM_SEED).nextBytes(testBytes); } // CRC32 @Benchmark byte crc32HashFunction(int reps) { return runHashFunction(reps, Hashing.crc32());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 16:53:43 UTC 2024 - 3.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java
plugin.setArtifactId(pluginInfo.artifactId); plugin.setName(pluginInfo.name); result.getPlugins().add(plugin); return result; } @Override protected void merge(Metadata recessive) { List<Plugin> recessivePlugins = recessive.getPlugins(); List<Plugin> plugins = metadata.getPlugins(); if (!recessivePlugins.isEmpty() || !plugins.isEmpty()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java
this.usedTypes = new ConcurrentHashMap<>(); this.manager = nonNull(manager, "artifactHandlerManager"); } @Override public void onEvent(Object event) { if (event instanceof ExecutionEvent) { ExecutionEvent executionEvent = (ExecutionEvent) event; if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java
public SisuDiBridgeModule() { this(true); } public SisuDiBridgeModule(boolean discover) { this.discover = discover; } @Override protected void configure() { Provider<PlexusContainer> containerProvider = getProvider(PlexusContainer.class); Provider<BeanLocator> beanLocatorProvider = getProvider(BeanLocator.class);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/Handler.java
if ( this.transportContext == null ) { this.transportContext = SingletonContext.getInstance(); } return this.transportContext; } @Override protected void parseURL ( URL u, String spec, int start, int limit ) { String host = u.getHost(); String path, ref; int port; if ( spec.equals("smb://") ) { spec = "smb:////";
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jun 06 09:14:24 UTC 2020 - 2.9K bytes - Viewed (0)