Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1061 - 1070 of 5,324 for newE (0.02 sec)

  1. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

         * @throws Exception
         */
        @Test
        public void testRemove3() throws Exception {
            Map<MyKey, String> m = new ArrayMap<MyKey, String>();
            m.put(new MyKey("1"), "d");
            m.put(new MyKey("2"), "d");
            m.remove(new MyKey("1"));
            assertThat(m.containsKey(new MyKey("1")), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/FileUtilTest.java

         * @throws Exception
         */
        @Test
        public void testIsPathSafe_WithFiles() throws Exception {
            final File baseDir = tempFolder.getRoot();
            final File safeFile = new File(baseDir, "subdir/file.txt");
            final File unsafeFile = new File(baseDir, "../../../etc/passwd");
    
            assertTrue("Safe file should be allowed", FileUtil.isPathSafe(safeFile, baseDir));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

            body.dictId = dictId;
            validateApi(body, messages -> {});
            final StopwordsPager pager = copyBeanToNewBean(body, StopwordsPager.class);
            return asJson(new ApiResult.ApiConfigsResponse<EditBody>().settings(stopwordsService.getStopwordsList(body.dictId, pager)
                    .stream()
                    .map(stopwordsItem -> createEditBody(stopwordsItem, dictId))
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            Thread[] threads = new Thread[threadNum];
            ESSourceReader reader = new ESSourceReader(client, settings, indexName);
            reader.setScrollSize(100);
            for (int i = 0; i < threadNum; i++) {
                threads[i] = new Thread(() -> {
                    Map<String, Object> source;
                    while ((source = reader.read()) != null) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 13:04:17 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ListsTest.java

      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(ListsTest.class);
    
        suite.addTest(
            ListTestSuiteBuilder.using(
                    new TestStringListGenerator() {
                      @Override
                      protected List<String> create(String[] elements) {
                        String[] rest = new String[elements.length - 1];
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/context/SingletonContext.java

            if (INSTANCE != null) {
                throw new CIFSException("Singleton context is already initialized");
            }
            final Properties p = new Properties();
            try {
                final String filename = System.getProperty("jcifs.properties");
                if (filename != null && filename.length() > 1) {
    
                    try (FileInputStream in = new FileInputStream(filename)) {
                        p.load(in);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/entity/GeoInfo.java

                                            list = new ArrayList<>();
                                            geoMap.put(geoField, list);
                                        }
                                        final String[] values = pt.split(",");
                                        if (values.length != 2) {
                                            throw new InvalidQueryException(
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

                return List.of();
            }
        };
    
        private static final PackagingRegistry EMPTY_PACKAGING_REGISTRY = new PackagingRegistry() {
            @Override
            public Optional<Packaging> lookup(String id) {
                return Optional.of(new Packaging() {
                    @Override
                    public String id() {
                        return id;
                    }
    
                    @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

                return List.of();
            }
        };
    
        private static final PackagingRegistry EMPTY_PACKAGING_REGISTRY = new PackagingRegistry() {
            @Override
            public Optional<Packaging> lookup(String id) {
                return Optional.of(new Packaging() {
                    @Override
                    public String id() {
                        return id;
                    }
    
                    @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top