- Sort Score
- Result 10 results
- Languages All
Results 1351 - 1360 of 4,785 for New (0.05 sec)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java
if (repositoryCache == null) { cache = new ConcurrentHashMap<>(); } else { cache = (ConcurrentHashMap<Object, Supplier<?>>) repositoryCache.computeIfAbsent(session, KEY, ConcurrentHashMap::new); } return new DefaultModelCache(cache); } private final ConcurrentMap<Object, Supplier<?>> cache;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/MIEName.java
// MECH_OID if ( buf.length < i + len ) { throw new IllegalArgumentException(); } byte[] bo = new byte[len]; System.arraycopy(buf, i, bo, 0, len); i += len; this.oid = ASN1ObjectIdentifier.getInstance(bo); // NAME_LEN if ( buf.length < i + NAME_LEN_SIZE ) { throw new IllegalArgumentException(); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN); Object newValue = new Object(); assertSame(entry.getValue(), cache.asMap().put(entry.getKey(), newValue)); // don't let the new entry get GCed warmed.add(entryOf(entry.getKey(), newValue)); Object newKey = new Object(); assertNull(cache.asMap().put(newKey, entry.getValue()));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 15K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
org.apache.maven.model.Resource res = new org.apache.maven.model.Resource(nonNull(resource, "resource")); if (nonNull(scope, "scope") == ProjectScope.MAIN) { prj.addResource(res); } else if (scope == ProjectScope.TEST) { prj.addTestResource(res); } else { throw new IllegalArgumentException("Unsupported scope " + scope); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.3K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java
this.setImplementation(md.getImplementation()); try { this.setParameters(md.getParameters().stream().map(Parameter::new).collect(Collectors.toList())); } catch (DuplicateParameterException e) { throw new IllegalArgumentException(e); } this.mojoDescriptorV4 = md; this.v4Api = true; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 21.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
private final List<SmbTransportImpl> connections = new LinkedList<>(); private final List<SmbTransportImpl> nonPooledConnections = new LinkedList<>(); private final ConcurrentLinkedQueue<SmbTransportImpl> toRemove = new ConcurrentLinkedQueue<>(); final Map<String, Integer> failCounts = new ConcurrentHashMap<>(); @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Dec 20 14:09:34 UTC 2020 - 12.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
return policy == Policies.DISABLED ? new ReentrantReadWriteLock(fair) : new CycleDetectingReentrantReadWriteLock(new LockGraphNode(lockName), fair); } // A static mapping from an Enum type to its set of LockGraphNodes. private static final ConcurrentMap< Class<? extends Enum<?>>, Map<? extends Enum<?>, LockGraphNode>> lockGraphNodesPerType = new MapMaker().weakKeys().makeMap();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Dec 15 19:31:54 UTC 2023 - 35.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest( ListTestSuiteBuilder.using(new ImmutableListOfGenerator()) .named("ImmutableList") .withFeatures(CollectionSize.ANY, SERIALIZABLE, ALLOWS_NULL_QUERIES) .createTestSuite()); suite.addTest( ListTestSuiteBuilder.using(new BuilderAddAllListGenerator())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
List<E> list = new ArrayList<>(); addAll(list, elements); return list; } public static <E extends @Nullable Object> List<E> copyToList(E[] elements) { return copyToList(asList(elements)); } // Clone of Sets.newLinkedHashSet public static <E extends @Nullable Object> Set<E> copyToSet(Iterable<? extends E> elements) { Set<E> set = new LinkedHashSet<>(); addAll(set, elements);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
final String[] froms = time.split(":"); if (froms.length != 2) { throw new FessSystemException("Invalid format: " + time); } final int[] values = new int[2]; values[0] = Integer.parseInt(froms[0]); if (values[0] < 0 || values[0] > 23) { throw new FessSystemException("Invalid format: " + time); } values[1] = Integer.parseInt(froms[1]);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 5.8K bytes - Viewed (0)