Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 677 for 1001 (0.02 seconds)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

                final int index = i;
                threads[i] = new Thread(() -> {
                    for (int j = 0; j < 100; j++) {
                        String name = "file" + index + "_" + j + ".txt";
                        entry.updateChild(name, j * 100L, j * 1000L, false, 0x20, j * 500L, j * 800L);
                    }
                });
                threads[i].start();
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

     * Class-level state (static fields, metaclass mutations) persists across evaluations
     * of the same script. In Fess, scripts are short expressions configured by
     * administrators (e.g., "data1 &gt; 10", "10 * boost1 + boost2") and do not use
     * static state, so this is acceptable.</p>
     *
     * <p>Resource Management: Each cached entry's GroovyClassLoader is closed on
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            assertTrue("Test should complete quickly (duration: " + duration + "ms)", duration < 1000);
        }
    
        // Fast mock implementations to minimize overhead
    
        private static class FastMockIndexUpdateCallback implements IndexUpdateCallback {
            @Override
            public long getExecuteTime() {
                return 100L;
            }
    
            @Override
            public long getDocumentSize() {
    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)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

          if (deltaSeconds == Long.MIN_VALUE) {
            expiresAt = Long.MIN_VALUE
          } else if (deltaSeconds != -1L) {
            val deltaMilliseconds =
              if (deltaSeconds <= Long.MAX_VALUE / 1000) {
                deltaSeconds * 1000
              } else {
                Long.MAX_VALUE
              }
            expiresAt = currentTimeMillis + deltaMilliseconds
            if (expiresAt < currentTimeMillis || expiresAt > MAX_DATE) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 23.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

            assertNotNull(json);
            assertTrue(json.contains("\"type\":\"heartbeat\""));
            assertTrue(json.contains("\"instanceId\":\"test-instance\""));
            assertTrue(json.contains("\"createdTime\":1000"));
        }
    
        @Test
        public void test_toJson_emptyMap() {
            final String json = coordinatorHelper.toJson(Map.of());
            assertEquals("{}", json);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              () -> {
                currentFuture.get().addListener(listener, executor);
                return null;
              });
        }
        assertEquals(allTasks.size() + 1, barrier.getParties());
        for (int i = 0; i < 1000; i++) {
          Collections.shuffle(allTasks);
          AbstractFuture<String> future = new AbstractFuture<String>() {};
          currentFuture.set(future);
          for (Callable<?> task : allTasks) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

            }
            if (form.lang != null) {
                final Set<String> langSet = new HashSet<>();
                for (final String lang : form.lang) {
                    if (StringUtil.isNotBlank(lang) && lang.length() < 1000) {
                        if (Constants.ALL_LANGUAGES.equals(lang)) {
                            langSet.clear();
                            break;
                        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 14K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

        }
    
        @Test
        public void test_longMessage() {
            // Setup - test with a very long message
            final StringBuilder longMessageBuilder = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longMessageBuilder.append("Query segment ").append(i).append("; ");
            }
            final String longMessage = longMessageBuilder.toString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  9. internal/s3select/csv/reader.go

    	for range runtime.GOMAXPROCS(0) {
    		go func() {
    			for in := range r.input {
    				if len(in.input) == 0 {
    					in.dst <- nil
    					continue
    				}
    				dst := r.csvDstPool.Get()
    				if len(dst) < 1000 {
    					dst = make([][]string, 0, 1000)
    				}
    
    				cr := newReader(bytes.NewBuffer(in.input))
    				all := dst[:0]
    				err := func() error {
    					// Read all records until EOF or another error.
    					for {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        HashBiMap<String, String> bimap = HashBiMap.create(map);
        assertThat(bimap.get("canada")).isEqualTo("dollar");
        assertThat(bimap.inverse().get("dollar")).isEqualTo("canada");
      }
    
      private static final int N = 1000;
    
      public void testBashIt() throws Exception {
        BiMap<Integer, Integer> bimap = HashBiMap.create(N);
        BiMap<Integer, Integer> inverse = bimap.inverse();
    
        for (int i = 0; i < N; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
Back to Top