Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 129 for waiters (0.38 seconds)

  1. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

              return false;
            } else {
              long now = System.nanoTime();
              NANOSECONDS.timedWait(lock, nanos);
              nanos -= System.nanoTime() - now; // subtract the actual time we waited
            }
          }
        }
      }
    
      /**
       * Checks if the executor has been shut down and increments the running task count.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 16 14:23:59 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            final List<Map<String, String>> enItems = systemHelper.getLanguageItems(Locale.ENGLISH);
            assertEquals(55, enItems.size());
            final List<Map<String, String>> jaItems = systemHelper.getLanguageItems(Locale.JAPANESE);
            assertEquals(55, jaItems.size());
        }
    
        @Test
        public void test_getHostnamet() {
            assertNotNull(systemHelper.getHostname());
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/curl/CurlRequest.java

                        logger.fine(() -> ">>> " + body);
                        connection.setDoOutput(true);
                        try (BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(connection.getOutputStream(), encoding))) {
                            writer.write(body);
                            writer.flush();
                        }
                    } else if (bodyStream != null) {
                        logger.fine(() -> ">>> <binary>");
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Interners.java

            InternalEntry entry = map.getEntry(sample);
            if (entry != null) {
              Object canonical = entry.getKey();
              if (canonical != null) { // only matters if weak/soft keys are used
                // The compiler would know this is safe if not for our use of raw types (see above).
                @SuppressWarnings("unchecked")
                E result = (E) canonical;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 6K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

        assertThat(bodyToHex(body), "Retransmit body").isEqualTo("48656c6c6f")
      }
    
      @Test
      fun file() {
        val file = File.createTempFile("RequestTest", "tmp")
        val writer = FileWriter(file)
        writer.write("abc")
        writer.close()
        val contentType = "text/plain".toMediaType()
        val body: RequestBody = file.asRequestBody(contentType)
        assertThat(body.contentType()).isEqualTo(contentType)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 24.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

                return headers.get(name);
            }
    
            @Override
            public PrintWriter getWriter() {
                return writer;
            }
    
            public String getWrittenContent() {
                writer.flush();
                return stringWriter.toString();
            }
    
            // Minimal implementations for other required methods
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/cache/CacheStats.java

       * missRate =~ 1.0}. Cache misses include all requests which weren't cache hits, including
       * requests which resulted in either successful or failed loading attempts, and requests which
       * waited for other threads to finish loading. It is thus the case that {@code missCount >=
       * loadSuccessCount + loadExceptionCount}. Multiple concurrent misses for the same key will result
       * in a single load operation.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/cache/CacheStats.java

       * missRate =~ 1.0}. Cache misses include all requests which weren't cache hits, including
       * requests which resulted in either successful or failed loading attempts, and requests which
       * waited for other threads to finish loading. It is thus the case that {@code missCount >=
       * loadSuccessCount + loadExceptionCount}. Multiple concurrent misses for the same key will result
       * in a single load operation.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

      private lateinit var server: MockWebServer
      private lateinit var client: OkHttpClient
    
      @BeforeEach
      fun setUp() {
        // Sockets on some platforms can have large buffers that mean writes do not block when
        // required. These socket factories explicitly set the buffer sizes on sockets created.
        server = MockWebServer()
        server.serverSocketFactory =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 18:33:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.Reader;
    import java.io.StringReader;
    import java.io.StringWriter;
    import java.io.Writer;
    import java.lang.reflect.Method;
    import java.lang.reflect.Type;
    import java.math.BigDecimal;
    import java.math.BigInteger;
    import java.nio.Buffer;
    import java.nio.ByteBuffer;
    import java.nio.CharBuffer;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 18.6K bytes
    - Click Count (0)
Back to Top