Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 4,817 for new2 (0.05 sec)

  1. 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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            ListMultimapTestSuiteBuilder.using(new ImmutableListMultimapGenerator())
                .named("ImmutableListMultimap")
                .withFeatures(ALLOWS_ANY_NULL_QUERIES, SERIALIZABLE, KNOWN_ORDER, CollectionSize.ANY)
                .createTestSuite());
        suite.addTest(
            ListMultimapTestSuiteBuilder.using(new ImmutableListMultimapCopyOfEntriesGenerator())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        StringBuilder builder2 = new StringBuilder();
        copied = CharStreams.copy(new StringReader(I18N), builder2);
        assertEquals(I18N, builder2.toString());
        assertEquals(I18N.length(), copied);
      }
    
      public void testCopy_toStringBuilder_fromReadable() throws IOException {
        StringBuilder builder = new StringBuilder();
        long copied = CharStreams.copy(wrapAsGenericReadable(new StringReader(ASCII)), builder);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharStreamsTest.java

        StringBuilder builder2 = new StringBuilder();
        copied = CharStreams.copy(new StringReader(I18N), builder2);
        assertEquals(I18N, builder2.toString());
        assertEquals(I18N.length(), copied);
      }
    
      public void testCopy_toStringBuilder_fromReadable() throws IOException {
        StringBuilder builder = new StringBuilder();
        long copied = CharStreams.copy(wrapAsGenericReadable(new StringReader(ASCII)), builder);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java

                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id));
            });
            return asJson(new ApiResponse().status(Status.OK).result());
        }
    
        protected EditBody createEditBody(final FileConfig entity) {
            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
                copyOp.excludeNull();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/crypto/CachedCipher.java

                throw new IllegalBlockSizeRuntimeException(e);
            } catch (final BadPaddingException e) {
                throw new BadPaddingRuntimeException(e);
            } finally {
                offerDecryptoCipher(cipher);
            }
            return decrypted;
        }
    
        public String decryptoText(final String text) {
            try {
                return new String(decrypto(Base64Util.decode(text)), charsetName);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

         */
    
        TestListeningExecutorService e = new TestListeningExecutorService();
    
        TestRunnable runnable = new TestRunnable();
        ListenableFuture<?> runnableFuture = e.submit(runnable);
        assertThat(runnableFuture).isInstanceOf(TrustedListenableFutureTask.class);
        assertTrue(runnableFuture.isDone());
        assertTrue(runnable.run);
    
        ListenableFuture<String> callableFuture = e.submit(new TestCallable());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java

        private final List<SettingsProblem> problems;
    
        /**
         * Creates a new exception with the specified problems.
         *
         * @param problems The problems that cause this exception, may be {@code null}.
         */
        public SettingsBuildingException(List<SettingsProblem> problems) {
            super(toMessage(problems));
    
            this.problems = new ArrayList<>();
            if (problems != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Writer.java

     */
    @Deprecated
    public class MavenXpp3Writer {
        // --------------------------/
        // - Class/Member Variables -/
        // --------------------------/
    
        private final MavenStaxWriter delegate = new MavenStaxWriter();
    
        // -----------/
        // - Methods -/
        // -----------/
    
        public MavenXpp3Writer() {
            this(false);
        }
    
        protected MavenXpp3Writer(boolean addLocationInformation) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

         */
    
        TestListeningExecutorService e = new TestListeningExecutorService();
    
        TestRunnable runnable = new TestRunnable();
        ListenableFuture<?> runnableFuture = e.submit(runnable);
        assertThat(runnableFuture).isInstanceOf(TrustedListenableFutureTask.class);
        assertTrue(runnableFuture.isDone());
        assertTrue(runnable.run);
    
        ListenableFuture<String> callableFuture = e.submit(new TestCallable());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
Back to top