- Sort Score
- Result 10 results
- Languages All
Results 1071 - 1080 of 4,785 for new (0.04 sec)
-
guava-tests/test/com/google/common/io/ByteSourceTester.java
public void testContentEquals() throws IOException { assertTrue( source.contentEquals( new ByteSource() { @Override public InputStream openStream() throws IOException { return new RandomAmountInputStream( new ByteArrayInputStream(expected), new Random()); } })); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 8.6K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
private static Test testsForHashMapNullKeysForbidden() { return wrappedHashMapTests( new WrappedHashMapGenerator() { @Override Map<String, String> wrap(final HashMap<String, String> map) { if (map.containsKey(null)) { throw new NullPointerException(); } return new AbstractMap<String, String>() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 11.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
return new TreeRangeMap<>(entriesByLowerBound); } else { NavigableMap<Cut<K>, RangeMapEntry<K, V>> entriesByLowerBound = Maps.newTreeMap(); for (Entry<Range<K>, ? extends V> entry : rangeMap.asMapOfRanges().entrySet()) { entriesByLowerBound.put( entry.getKey().lowerBound(), new RangeMapEntry<K, V>(entry.getKey(), entry.getValue())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java
int start = bufferIndex; SmbShareInfo e; setUseUnicode(false); SmbShareInfo[] results = new SmbShareInfo[getNumEntries()]; for ( int i = 0; i < getNumEntries(); i++ ) { results[ i ] = e = new SmbShareInfo(); e.netName = readString(buffer, bufferIndex, 13, false); bufferIndex += 14;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java
return getGraph(); } else if (requestType.equals(MetadataResolutionRequestTypeEnum.versionedGraph)) { return new MetadataGraph(getTree(), true, false); } else if (requestType.equals(MetadataResolutionRequestTypeEnum.scopedGraph)) { return new MetadataGraph(getTree(), true, true); } return null; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
} } @Test public void testMng7714() { ComparableVersion f = new ComparableVersion("1.0.final-redhat"); ComparableVersion sp1 = new ComparableVersion("1.0-sp1-redhat"); ComparableVersion sp2 = new ComparableVersion("1.0-sp-1-redhat"); ComparableVersion sp3 = new ComparableVersion("1.0-sp.1-redhat"); assertTrue(f.compareTo(sp1) < 0, "expected " + f + " < " + sp1);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
public class Crc32cHashFunctionTest extends TestCase { public void testEmpty() { assertCrc(0, new byte[0]); } public void testZeros() { // Test 32 byte array of 0x00. byte[] zeros = new byte[32]; assertCrc(0x8a9136aa, zeros); } public void testZeros100() { // Test 100 byte array of 0x00. byte[] zeros = new byte[100]; assertCrc(0x07cb9ff6, zeros); } public void testFull() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.5K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java
class ActivationOSTest { @Test void testHashCodeNullSafe() { new ActivationOS().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new ActivationOS().equals(null)); new ActivationOS().equals(new ActivationOS()); } @Test void testEqualsIdentity() { ActivationOS thing = new ActivationOS(); assertTrue(thing.equals(thing)); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java
@Test void testHashCodeNullSafe() { new PluginConfiguration().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new PluginConfiguration().equals(null)); new PluginConfiguration().equals(new PluginConfiguration()); } @Test void testEqualsIdentity() { PluginConfiguration thing = new PluginConfiguration(); assertTrue(thing.equals(thing));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0)