Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 686 for clears (0.03 sec)

  1. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.search.SearchHit;
    import org.opensearch.transport.client.Client;
    
    /**
     * Utility class for suggest feature.
     */
    public final class SuggestUtil {
        private static final int MAX_QUERY_TERM_NUM = 5;
        private static final int MAX_QUERY_TERM_LENGTH = 48;
    
        private static final Base64.Encoder encoder = Base64.getEncoder();
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

        dns.assertRequests(PROXY_A_HOST)
        assertThat(selection1.hasNext()).isFalse()
        assertThat(routeSelector.hasNext()).isTrue()
        dns.clear(PROXY_B_HOST)
        assertFailsWith<UnknownHostException> {
          routeSelector.next()
        }
        dns.assertRequests(PROXY_B_HOST)
        assertThat(routeSelector.hasNext()).isTrue()
        dns[PROXY_A_HOST] = dns.allocate(1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        assertThrows(IOException.class, () -> failSource.copyTo(new TestCharSink()));
        assertTrue(failSource.wasStreamClosed());
      }
    
      public void testClosesOnErrors_copyingToWriterThatThrows() {
        TestCharSource okSource = new TestCharSource(STRING);
        assertThrows(IOException.class, () -> okSource.copyTo(new TestWriter(WRITE_THROWS)));
        assertTrue(okSource.wasStreamClosed());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                return getJobTemplateTitleData();
            }
            return "None";
        }
    
        String getSchedulerJobClass();
    
        default Class<? extends LaJob> getSchedulerJobClassAsClass() {
            try {
                return (Class<? extends LaJob>) Class.forName(getSchedulerJobClass());
            } catch (final ClassNotFoundException e) {
                throw new ClassNotFoundRuntimeException(e);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  5. cmd/storage-rest-server.go

    		if doneCh == nil {
    			return
    		}
    
    		// Indicate we are ready to write.
    		doneCh <- err
    
    		// Wait for channel to be closed so we don't race on writes.
    		<-doneCh
    
    		// Clear so we can be called multiple times without crashing.
    		doneCh = nil
    	}, &closeNotifier{rc: r.Body, done: bodyDoneCh}
    }
    
    // keepHTTPResponseAlive can be used to avoid timeouts with long storage
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 45.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameServiceClientImpl.java

     *
     * @author mbechler
     */
    public class NameServiceClientImpl implements Runnable, NameServiceClient {
    
        private static final int NAME_SERVICE_UDP_PORT = 137;
    
        static final byte[] UNKNOWN_MAC_ADDRESS = { (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
    
        private static final Logger log = LoggerFactory.getLogger(NameServiceClientImpl.class);
    
        private final Object LOCK = new Object();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       worse, and possibly better, than creating a mutable collection and copying it.
     *   <li>Implementations generally do not cache hash codes. If your element or key type has a slow
     *       {@code hashCode} implementation, it should cache it itself.
     * </ul>
     *
     * <h4>Example usage</h4>
     *
     * {@snippet :
     * class Foo {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/audit/SecurityAuditLogger.java

            // Clean up old windows periodically
            if (currentCount == 1) {
                cleanupOldRateLimitCounters(currentWindow);
            }
    
            return currentCount <= maxEventsPerWindow;
        }
    
        private void cleanupOldRateLimitCounters(long currentWindow) {
            // Clean up counters from previous windows to prevent memory leaks
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

                    return new SimpleRequestManager() {
                        public OptionalThing<LoginManager> findLoginManager(Class<?> userBeanType) {
                            return OptionalThing.empty();
                        }
                    };
                }
            };
            envMap.clear();
            systemHelper.init();
            systemHelper.addShutdownHook(() -> {});
            ComponentUtil.register(systemHelper, "systemHelper");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

            writerToClose?.closeQuietly()
          }
        }
      }
    
      internal class Message(
        val formatOpcode: Int,
        val data: ByteString,
      )
    
      internal class Close(
        val code: Int,
        val reason: ByteString?,
        val cancelAfterCloseMillis: Long,
      )
    
      private inner class WriterTask : Task("$name writer") {
        override fun runOnce(): Long {
          try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
Back to top