Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for SynchronizedList (0.09 seconds)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

    import okio.Buffer
    
    class FakeDns : Dns {
      private val hostAddresses: MutableMap<String, List<InetAddress>> =
        Collections.synchronizedMap(mutableMapOf())
      private val requestedHosts: MutableList<String> = Collections.synchronizedList(mutableListOf())
      private var nextAddress = 0xff000064L // 255.0.0.100 in IPv4; ::ff00:64 in IPv6.
    
      /** Sets the results for `hostname`.  */
      operator fun set(
        hostname: String,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 20:20:29 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

        }
    
        // Test concurrent crawling
        @Test
        public void test_doCrawl_concurrentWebAndData() {
            final List<String> executionOrder = Collections.synchronizedList(new ArrayList<>());
    
            WebFsIndexHelper mockWebHelper = new WebFsIndexHelper() {
                @Override
                public void crawl(String sessionId, List<String> webConfigIdList, List<String> fileConfigIdList) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
Back to Top