Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 691 - 700 of 3,329 for new1 (0.02 seconds)

  1. guava-tests/test/com/google/common/io/ByteSourceTester.java

      public void testContentEquals() throws IOException {
        assertTrue(
            source.contentEquals(
                new ByteSource() {
                  @Override
                  public InputStream openStream() throws IOException {
                    return new RandomAmountInputStream(
                        new ByteArrayInputStream(expected), new Random());
                  }
                }));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

        Cache cache = new Cache(cacheDirectory, 1024 * 1024);
        cache.evictAll();
    
        client = new OkHttpClient.Builder()
            .cache(cache)
            .build();
      }
    
      public void run() throws Exception {
        for (int i = 0; i < 5; i++) {
          System.out.println("    Request: " + i);
    
          Request request = new Request.Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 2.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/convert/BigDecimalConversionUtil.java

                    return new BigDecimal(new SimpleDateFormat(pattern).format(o));
                }
                return new BigDecimal(Long.toString(((java.util.Date) o).getTime()));
            } else if (o instanceof String) {
                final String s = (String) o;
                if (StringUtil.isEmpty(s)) {
                    return null;
                }
                return normalize(new BigDecimal(s));
            } else {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/hash/Hashing.java

          @Override
          public Checksum get() {
            return new CRC32();
          }
        },
        ADLER_32("Hashing.adler32()") {
          @Override
          public Checksum get() {
            return new Adler32();
          }
        };
    
        public final HashFunction hashFunction;
    
        ChecksumType(String toString) {
          this.hashFunction = new ChecksumHashFunction(this, 32, toString);
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 29.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java

        }
    
        /**
         * Gets the delay time in milliseconds for waiting for new URLs.
         *
         * @return the delay time in milliseconds for waiting for new URLs
         */
        public long getDelayMillisForWaitingNewUrl() {
            return delayMillisForWaitingNewUrl;
        }
    
        /**
         * Sets the delay time in milliseconds for waiting for new URLs.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Nov 19 07:09:17 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/sql/StatementUtil.java

            assertArgumentNotNull("statement", statement);
            assertArgumentNotEmpty("sql", sql);
    
            try {
                return statement.execute(sql);
            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * Sets the fetch size.
         *
         * @param statement
         *            {@link Statement}. Must not be {@literal null}.
         * @param fetchSize
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsPathMappingCA.java

            PathMappingCQ cq = new PathMappingCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                PathMappingCA ca = new PathMappingCA();
                aggsLambda.callback(ca);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 59.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerActionTest.java

            // Setup: job with logging enabled
            final AtomicReference<LaunchNowOption> capturedOption = new AtomicReference<>();
            final ScheduledJob scheduledJob = createScheduledJob("job-1", "Test Job", true, true);
    
            registerMockJobManager("job-1", opCall -> {
                final LaunchNowOption option = new LaunchNowOption();
                opCall.callback(option);
                capturedOption.set(option);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

            final String testKey = "domain.title";
            final int threadCount = 10;
            final Thread[] threads = new Thread[threadCount];
            final String[] results = new String[threadCount];
    
            for (int i = 0; i < threadCount; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
                    results[index] = fessConfig.get(testKey);
                });
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/crawler/interval/FessIntervalControllerTest.java

        @Test
        public void test_constructor() {
            FessIntervalController controller = new FessIntervalController();
            assertNotNull(controller);
        }
    
        /**
         * Test getter and setter for delayMillisAfterProcessing
         */
        @Test
        public void test_delayMillisAfterProcessing() {
            FessIntervalController controller = new FessIntervalController();
    
            controller.setDelayMillisAfterProcessing(1000L);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 6.2K bytes
    - Click Count (0)
Back to Top