Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3281 - 3290 of 6,076 for new1 (0.17 seconds)

  1. src/test/java/org/codelibs/fess/query/DefaultQueryBuilderTest.java

        @Test
        public void test_invalid_null() {
            try {
                new DefaultQueryBuilder(null);
                fail();
            } catch (IllegalArgumentException e) {
                // nothing
            }
        }
    
        @Test
        public void test_invalid_query() {
            try {
                new DefaultQueryBuilder(QueryBuilders.matchAllQuery());
                fail();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/BaseTest.java

         */
        protected byte[] createTestData(int size) {
            byte[] data = new byte[size];
            for (int i = 0; i < size; i++) {
                data[i] = (byte) (i % 256);
            }
            return data;
        }
    
        /**
         * Create a test string with specified length
         */
        protected String createTestString(int length) {
            StringBuilder sb = new StringBuilder(length);
            for (int i = 0; i < length; i++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Iterables.java

      public static <T extends @Nullable Object> Iterable<T> consumingIterable(Iterable<T> iterable) {
        checkNotNull(iterable);
    
        return new FluentIterable<T>() {
          @Override
          public Iterator<T> iterator() {
            return (iterable instanceof Queue)
                ? new ConsumingQueueIterator<>((Queue<T>) iterable)
                : Iterators.consumingIterator(iterable.iterator());
          }
    
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/exentity/ElevateWord.java

            final List<LabelType> list = getLabelTypeList();
            final List<String> labelValueList = new ArrayList<>(list.size());
            for (final LabelType labelType : list) {
                labelValueList.add(labelType.getValue());
            }
            return labelValueList.toArray(new String[labelValueList.size()]);
        }
    
        public String getId() {
            return asDocMeta().id();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantShellTask.java

        public VagrantShellTask() {
            extension = getProject().getExtensions().findByType(VagrantExtension.class);
            if (extension == null) {
                throw new IllegalStateException("elasticsearch.vagrant-base must be applied to create " + getClass().getName());
            }
            service = getProject().getExtensions().getByType(VagrantMachine.class);
        }
    
        @Input
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

      private ExecutionSequencer() {}
    
      /** Creates a new instance. */
      public static ExecutionSequencer create() {
        return new ExecutionSequencer();
      }
    
      /** This reference acts as a pointer tracking the head of a linked list of ListenableFutures. */
      private final AtomicReference<ListenableFuture<@Nullable Void>> ref =
          new AtomicReference<>(immediateVoidFuture());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/math/DoubleMathTest.java

            BigDecimal expected = new BigDecimal(d).setScale(0, mode);
            assertEquals(expected.toBigInteger(), DoubleMath.roundToBigInteger(d, mode));
          }
        }
      }
    
      @GwtIncompatible // DoubleMath.roundToBigInteger(double, RoundingMode)
      public void testRoundExactIntegralDoubleToBigInteger() {
        for (double d : INTEGRAL_DOUBLE_CANDIDATES) {
          BigDecimal expected = new BigDecimal(d).setScale(0, UNNECESSARY);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 03 16:20:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java

        /**
         * Creates a new instance of CorsHandlerFactory.
         */
        public CorsHandlerFactory() {
            // Default constructor
        }
    
        private static final Logger logger = LogManager.getLogger(CorsHandlerFactory.class);
    
        /**
         * Map of origin patterns to their corresponding CORS handlers.
         */
        protected Map<String, CorsHandler> handerMap = new HashMap<>();
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/bsentity/BsGroup.java

        //                                                                              ======
        @Override
        public Map<String, Object> toSource() {
            Map<String, Object> sourceMap = new HashMap<>();
            if (gidNumber != null) {
                addFieldToSource(sourceMap, "gidNumber", gidNumber);
            }
            if (name != null) {
                addFieldToSource(sourceMap, "name", name);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/hash/HashFunctionBenchmark.java

      // Use a statically configured random instance for all of the benchmarks
      private static final Random random = new Random(42);
    
      @Param({"10", "1000", "100000", "1000000"})
      private int size;
    
      @Param HashFunctionEnum hashFunctionEnum;
    
      private byte[] testBytes;
    
      @BeforeExperiment
      void setUp() {
        testBytes = new byte[size];
        random.nextBytes(testBytes);
      }
    
      @Benchmark
      int hasher(int reps) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.4K bytes
    - Click Count (0)
Back to Top