Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2841 - 2850 of 6,076 for new1 (0.41 seconds)

  1. benchmarks/src/main/java/org/elasticsearch/common/bytes/BytesArrayReadLongBenchmark.java

            final BytesStreamOutput tmp = new BytesStreamOutput();
            final long bytes = new ByteSizeValue(dataMb, ByteSizeUnit.MB).getBytes();
            for (int i = 0; i < bytes / 8; i++) {
                tmp.writeLong(i);
            }
            bytesArray = tmp.copyBytes();
            if (bytesArray instanceof BytesArray == false) {
                throw new AssertionError("expected BytesArray but saw [" + bytesArray.getClass() + "]");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Apr 12 20:25:06 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  2. benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadLongBenchmark.java

            final BytesStreamOutput tmp = new BytesStreamOutput();
            final long bytes = new ByteSizeValue(dataMb, ByteSizeUnit.MB).getBytes();
            for (int i = 0; i < bytes / 8; i++) {
                tmp.writeLong(i);
            }
            pagedBytes = tmp.bytes();
            if (pagedBytes instanceof PagedBytesReference == false) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Apr 12 20:25:06 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsFileConfigBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends FileConfig> RESULT updateEntity(Map<String, Object> source, RESULT result) {
            return result;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/log/bsbhv/BsSearchLogBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends SearchLog> RESULT updateEntity(Map<String, Object> source, RESULT result) {
            return result;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

        }
    
        return valuesCollectionFeatures;
      }
    
      public static Set<Feature<?>> computeCommonDerivedCollectionFeatures(
          Set<Feature<?>> mapFeatures) {
        mapFeatures = new HashSet<>(mapFeatures);
        Set<Feature<?>> derivedFeatures = new HashSet<>();
        mapFeatures.remove(CollectionFeature.SERIALIZABLE);
        if (mapFeatures.remove(CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 11K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        }
      }
    
      private <T extends @Nullable Object> void actsLikeIteratorHelper(List<T> list) {
        // Check with modifiable copies of the list
        new PeekingIteratorTester<T>(list).test();
    
        // Check with unmodifiable lists
        new IteratorTester<T>(
            list.size() * 2 + 2, UNMODIFIABLE, list, IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<T> newTargetIterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/CreateForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for creating new duplicate host configuration entries.
     * This form handles the creation of duplicate host mappings that redirect
     * crawling from duplicate hostnames to the regular canonical hostname.
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/entity/GeoInfoTest.java

            MockletHttpServletRequest request = getMockRequest();
            request.setParameter("geo.location.point", "34,150");
            request.setParameter("geo.location.distance", "10km");
    
            final GeoInfo geoInfo = new GeoInfo(request);
            String result =
                    "{\"geo_distance\":{\"location\":[150.0,34.0],\"distance\":10000.0,\"distance_type\":\"arc\",\"validation_method\":\"STRICT\",\"ignore_unmapped\":false,\"boost\":1.0}}";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/app/pager/KeyMatchPagerTest.java

            assertEquals(999, keyMatchPager.getCurrentPageNumber());
            List<Integer> pageNumberList = new ArrayList<Integer>(1);
            keyMatchPager.setPageNumberList(pageNumberList);
            assertEquals(pageNumberList, keyMatchPager.getPageNumberList());
    
        }
    
        public void test_clear() {
            KeyMatchPager keyMatchPager = new KeyMatchPager();
            keyMatchPager.id = "testId";
            keyMatchPager.term = "testTerm";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 12:58:11 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  10. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

        @Test
        void testGetProblems() {
            DefaultProblemCollector collector = new DefaultProblemCollector(null);
            assertNotNull(collector.getProblems());
            assertEquals(0, collector.getProblems().size());
    
            collector.add(null, "MESSAGE1", -1, -1, null);
    
            Exception e2 = new Exception();
            collector.add(Severity.WARNING, null, 42, 127, e2);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
Back to Top