- Sort Score
- Result 10 results
- Languages All
Results 1131 - 1140 of 4,785 for new (0.08 sec)
-
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
public static Policy permissivePolicy() { return new AdjustablePolicy // Permissions j.u.c. needs directly ( new RuntimePermission("modifyThread"), new RuntimePermission("getClassLoader"), new RuntimePermission("setContextClassLoader"), // Permissions needed to change permissions! new SecurityPermission("getPolicy"), new SecurityPermission("setPolicy"),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 37.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FauxveridesTest.java
Map<Object, Object> original = ImmutableMap.of(new Object(), new Object(), new Object(), new Object()); assertThrows(ClassCastException.class, () -> ImmutableSortedMap.copyOf(original)); } public void testImmutableSortedSetCopyOfIterable() { Set<Object> original = ImmutableSet.of(new Object(), new Object());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
Map<Object, Object> original = ImmutableMap.of(new Object(), new Object(), new Object(), new Object()); assertThrows(ClassCastException.class, () -> ImmutableSortedMap.copyOf(original)); } public void testImmutableSortedSetCopyOfIterable() { Set<Object> original = ImmutableSet.of(new Object(), new Object());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.2K bytes - Viewed (0) -
android/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) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
if (headerFields != null) return headerFields; Map map = new HashMap(); String key = connection.getHeaderFieldKey(0); String value = connection.getHeaderField(0); for (int i = 1; key != null || value != null; i++) { List values = (List) map.get(key); if (values == null) { values = new ArrayList(); map.put(key, values); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 20.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
* * <pre>{@code * static final ImmutableClassToInstanceMap<Handler> HANDLERS = * new ImmutableClassToInstanceMap.Builder<Handler>() * .put(FooHandler.class, new FooHandler()) * .put(BarHandler.class, new SubBarHandler()) * .put(Handler.class, new QuuxHandler()) * .build(); * }</pre> * * <p>After invoking {@link #build()} it is still possible to add more entries and build again.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 10 21:56:03 UTC 2023 - 7.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/QueryProcessorTest.java
QueryContext context = new QueryContext(null, false); MatchAllDocsQuery query = new MatchAllDocsQuery(); QueryBuilder queryBuilder = queryProcessor.execute(context, query, 1.0f); assertTrue(called.get()); assertEquals(BoolQueryBuilder.class, queryBuilder.getClass()); called.set(false); final AtomicBoolean calledFirst = new AtomicBoolean(false);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
if (thumbnailPath != null) { baseDir = new File(thumbnailPath); } else { final String varPath = System.getProperty(Constants.FESS_VAR_PATH); if (varPath != null) { baseDir = new File(varPath, THUMBNAILS_DIR_NAME); } else { baseDir = ResourceUtil.getThumbnailPath().toFile();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 21.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
super.setUp(); emptyAccumulator = new StatsAccumulator(); emptyAccumulatorByAddAllEmptyIterable = new StatsAccumulator(); emptyAccumulatorByAddAllEmptyIterable.addAll(ImmutableList.<Double>of()); emptyAccumulatorByAddAllEmptyStats = new StatsAccumulator(); emptyAccumulatorByAddAllEmptyStats.addAll(Stats.of()); oneValueAccumulator = new StatsAccumulator(); oneValueAccumulator.add(ONE_VALUE);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 36.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
@Override public Checksum get() { return new CRC32(); } }, ADLER_32("Hashing.adler32()") { @Override public Checksum get() { return new Adler32(); } }; public final HashFunction hashFunction; ChecksumType(String toString) { this.hashFunction = new ChecksumHashFunction(this, 32, toString); } } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 29.3K bytes - Viewed (0)