- Sort Score
- Num 10 results
- Language All
Results 1521 - 1530 of 6,020 for new1 (0.02 seconds)
-
guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(ForwardingCollectionTest.class); suite.addTest( CollectionTestSuiteBuilder.using( new TestStringCollectionGenerator() { @Override protected Collection<String> create(String[] elements) { return new StandardImplForwardingCollection<>(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 4.8K bytes - Click Count (0) -
build-tools-internal/src/test/java/org/elasticsearch/gradle/AbstractDistributionDownloadPluginTests.java
protected static final BwcVersions BWC_MINOR = new BwcVersions( new TreeSet<>(Arrays.asList(BWC_BUGFIX_VERSION, BWC_MINOR_VERSION, BWC_MAJOR_VERSION)), BWC_MAJOR_VERSION ); protected static final BwcVersions BWC_STAGED = new BwcVersions( new TreeSet<>(Arrays.asList(BWC_STAGED_VERSION, BWC_MINOR_VERSION, BWC_MAJOR_VERSION)), BWC_MAJOR_VERSION );Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 22 07:24:59 GMT 2021 - 4.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
return new TreeSet<E>(contents); } }, UnmodifiableSetImpl { @Override public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { return unmodifiableSet(new HashSet<E>(contents)); } }, SynchronizedSetImpl { @Override public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { return synchronizedSet(new HashSet<E>(contents));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 12.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
assertTrue( "A List should equal any other List containing the same elements.", getList().equals(new ArrayList<E>(getOrderedElements()))); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherListWithDifferentElements() { ArrayList<E> other = new ArrayList<>(getSampleElements()); other.set(other.size() / 2, getSubjectGenerator().samples().e3()); assertFalse(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
Profile profile = new Profile(); profile.setId(profileXmlProfile.getId()); profile.setSource("profiles.xml"); org.apache.maven.profiles.Activation profileActivation = profileXmlProfile.getActivation(); if (profileActivation != null) { Activation activation = new Activation();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
if (TZ.inDaylightTime(new Date())) { // in DST if (TZ.inDaylightTime(new Date(t))) { // t also in DST so no correction } else { // t not in DST so subtract 1 hour t -= 3600000; } } else // not in DST if (TZ.inDaylightTime(new Date(t))) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
return (T[]) Array.newInstance(type, length); } /** * Returns a new array of the given length with the same type as a reference array. * * @param reference any array of the desired type * @param length the length of the new array */ /* * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 9.2K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
// Test request with existing authentication should proceed Properties props = new Properties(); props.setProperty("jcifs.smb.client.domain", "TEST_DOMAIN"); CIFSContext context = new BaseContext(new PropertyConfiguration(props)); NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(context, "TEST_DOMAIN", "user", "pass");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 12.8K bytes - Click Count (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; }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 21.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteSink.java
* bytes encoded with the given {@link Charset charset}. */ public CharSink asCharSink(Charset charset) { return new AsCharSink(charset); } /** * Opens a new {@link OutputStream} for writing to this sink. This method returns a new, * independent stream each time it is called. * * <p>The caller is responsible for ensuring that the returned stream is closed. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 4.9K bytes - Click Count (0)