Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,451 for New (0.16 sec)

  1. 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)
  2. 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)
  3. src/main/java/jcifs/spnego/NegTokenTarg.java

                    fields.add(new DERTaggedObject(true, 3, new DEROctetString(mechanismListMIC)));
                }
                der.writeObject(new DERTaggedObject(true, 1, new DERSequence(fields)));
                return collector.toByteArray();
            }
            catch ( IOException ex ) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/MapCacheTest.java

        return Arrays.asList(
            new Object[][] {
              {new MapIteratorCache<String, String>(new HashMap<String, String>())},
              {new MapIteratorCache<String, String>(new TreeMap<String, String>(nullsLast))},
              {new MapRetrievalCache<String, String>(new HashMap<String, String>())},
              {new MapRetrievalCache<String, String>(new TreeMap<String, String>(nullsLast))}
            });
      }
    
      @Before
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 26 16:23:26 GMT 2021
    - 3.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            .add(new Striped.LargeLazyStriped<ReadWriteLock>(50, READ_WRITE_LOCK_SUPPLIER))
            .add(new Striped.LargeLazyStriped<ReadWriteLock>(64, READ_WRITE_LOCK_SUPPLIER))
            .add(new Striped.SmallLazyStriped<Lock>(50, LOCK_SUPPLER))
            .add(new Striped.SmallLazyStriped<Lock>(64, LOCK_SUPPLER))
            .add(new Striped.LargeLazyStriped<Lock>(50, LOCK_SUPPLER))
            .add(new Striped.LargeLazyStriped<Lock>(64, LOCK_SUPPLER))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  8. 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)
  9. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

        testSortDescending(new byte[] {}, 0, 0, new byte[] {});
        testSortDescending(new byte[] {1}, 0, 1, new byte[] {1});
        testSortDescending(new byte[] {1, 2}, 0, 2, new byte[] {2, 1});
        testSortDescending(new byte[] {1, 3, 1}, 0, 2, new byte[] {3, 1, 1});
        testSortDescending(new byte[] {1, 3, 1}, 0, 1, new byte[] {1, 3, 1});
        testSortDescending(new byte[] {-1, -2, 1, 2}, 1, 3, new byte[] {-1, 1, -2, 2});
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/TypeResolverTest.java

        Type t1 = new TypeCapture<T1>() {}.capture();
        Type t2 = new TypeCapture<T2>() {}.capture();
        assertEquals(t2, new TypeResolver().where(t1, t2).resolveType(t1));
      }
    
      public <T> void testWhere_genericArrayMapping() {
        Type t = new TypeCapture<T>() {}.capture();
        assertEquals(
            String.class,
            new TypeResolver()
                .where(new TypeCapture<T[]>() {}.capture(), String[].class)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.7K bytes
    - Viewed (0)
Back to top