- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 3,441 for New (0.18 sec)
-
guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java
@Override public Set<K> keySet() { return new StandardKeySet(); } @Override public Collection<V> values() { return new StandardValues(); } @Override public String toString() { return standardToString(); } @Override public Set<Entry<K, V>> entrySet() { return new StandardEntrySet() { @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 7.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
hasher.putShort((short) 0x0201); hasher.assertBytes(new byte[] {1, 2}); } public void testInt() { TestHasher hasher = new TestHasher(); hasher.putInt(0x04030201); hasher.assertBytes(new byte[] {1, 2, 3, 4}); } public void testLong() { TestHasher hasher = new TestHasher(); hasher.putLong(0x0807060504030201L);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
private final List<String> list = new LinkedList<>(); private final int maxLineBuffer; public InputStreamThread(final InputStream is, final String charset, final int maxOutputLineBuffer) { try { br = new BufferedReader(new InputStreamReader(is, charset)); } catch (final UnsupportedEncodingException e) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 9.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java
HashingOutputStream out = new HashingOutputStream(Hashing.md5(), buffer); out.write(buf); assertEquals(expectedHash, out.hash()); } public void testChecksForNull() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods( new HashingOutputStream(Hashing.md5(), new ByteArrayOutputStream()));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Oct 02 16:24:50 GMT 2020 - 3.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
Map<String, Object> doc = new HashMap<>(); doc.put("key1", new String[] { "aaa", "bbb" }); assertArrayEquals(new String[] { "aaa", "bbb" }, DocumentUtil.getValue(doc, "key1", String[].class)); assertEquals(Arrays.asList("aaa", "bbb"), (List<String>) DocumentUtil.getValue(doc, "key1", List.class)); } public void test_list() { Map<String, Object> doc = new HashMap<>();
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTest.java
TestByteSink failSink = new TestByteSink(WRITE_THROWS); assertThrows(IOException.class, () -> new TestByteSource(new byte[10]).copyTo(failSink)); assertTrue(failSink.wasStreamClosed()); } public void testClosesOnErrors_writingFromInputStreamThatThrows() throws IOException { TestByteSink okSink = new TestByteSink(); TestInputStream in = new TestInputStream(new ByteArrayInputStream(new byte[10]), READ_THROWS);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.7K bytes - Viewed (0) -
scripts/mkdocs_hooks.py
new_title = first_child.title or new_title # Creating a new section makes it render it collapsed by default # no idea why, so, let's just modify the existing one # new_section = Section(title=new_title, children=new_children) item.title = new_title item.children = new_children new_items.append(item) else:
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 5.1K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java
try (InputStream expected = Files.newInputStream(beforePomFile)) { Model model = new Model(new MavenStaxReader().read(expected)); MavenProject project = new MavenProject(model); project.setOriginalModel(model); DefaultConsumerPomArtifactTransformer t = new DefaultConsumerPomArtifactTransformer((s, p, f) -> { try (InputStream is = Files.newInputStream(f)) {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Dec 05 09:23:26 GMT 2023 - 4.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsBuilder.java
RegexBasedInterpolator interpolator = new RegexBasedInterpolator(); interpolator.addValueSource(new MapBasedValueSource(request.getSession().getUserProperties())); interpolator.addValueSource(new MapBasedValueSource(request.getSession().getSystemProperties())); try { interpolator.addValueSource(new EnvarBasedValueSource()); } catch (IOException e) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 8.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
final AtomicBoolean interruptedExceptionThrown = new AtomicBoolean(); final CountDownLatch enterLatch = new CountDownLatch(1); final CountDownLatch exitLatch = new CountDownLatch(1); final TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create( new Callable<Integer>() { @Override public Integer call() throws Exception {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 7.3K bytes - Viewed (0)