Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 4,785 for new (0.04 sec)

  1. src/test/java/org/codelibs/opensearch/extension/analysis/NumberConcatenationFilterFactory.java

                try (Reader reader = IOUtils.getDecodingReader(new FileInputStream(suffixWordsFile), StandardCharsets.UTF_8)) {
                    suffixWords = WordlistLoader.getWordSet(reader);
                } catch (final IOException e) {
                    throw new IllegalArgumentException("Could not load " + suffixWordsFile.getAbsolutePath(), e);
                }
            } else {
                suffixWords = new CharArraySet(0, false);
            }
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. 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)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

                body.q = Constants.MATCHES_ALL_QUERY;
            }
    
            final SearchRenderData renderData = new SearchRenderData();
            body.initialize();
            try {
                searchHelper.search(body, renderData, getUserBean());
                return asJson(new ApiDocsResponse().renderData(renderData).status(Status.OK).result());
            } catch (final InvalidQueryException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/nio/ChannelUtil.java

            assertArgumentNotNull("mode", mode);
    
            try {
                return channel.map(mode, 0, channel.size());
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * ファイルのサイズを返します。
         *
         * @param channel
         *            ファイルチャネル。{@literal null}であってはいけません
         * @return ファイルのサイズ
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

        public String toString () {
            return new String(
                "SmbFindFileBothDirectoryInfo[" + "nextEntryOffset=" + this.nextEntryOffset + ",fileIndex=" + this.fileIndex + ",creationTime="
                        + new Date(this.creationTime) + ",lastAccessTime=" + new Date(this.lastAccessTime) + ",lastWriteTime="
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

                return List.of();
            }
        };
    
        private static final PackagingRegistry emptyPackagingRegistry = new PackagingRegistry() {
            @Override
            public Optional<Packaging> lookup(String id) {
                return Optional.of(new Packaging() {
                    @Override
                    public String id() {
                        return id;
                    }
    
                    @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

                String throughput = "";
                long duration = System.currentTimeMillis() - resource.getTransferStartTime();
                if (duration > 0) {
                    DecimalFormat format = new DecimalFormat("0.0", new DecimalFormatSymbols(Locale.ENGLISH));
                    double kbPerSec = (contentLength / 1024.0) / (duration / 1000.0);
                    throughput = " at " + format.format(kbPerSec) + " KB/sec";
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

            Model target = new Model();
            Model source = new Model();
            target.setLicenses(new ArrayList<License>());
            License lic1 = new License();
            License lic2 = new License();
            target.getLicenses().add(lic1);
            source.setLicenses(new ArrayList<License>());
            source.getLicenses().add(lic2);
    
            new MavenMerger().mergeModel(target, source, false, null);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. 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)
  10. src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java

            c = new ArrayList<String>();
            assertThat(CollectionsUtil.isEmpty(c), is(true));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.collection.CollectionsUtil#isNotEmpty(java.util.Collection)}
         * .
         */
        @Test
        public void testIsNotEmptyCollectionOfQ() {
            final Collection<String> c = new ArrayList<String>();
            c.add("hoge");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top