Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 815 for Threads (0.04 sec)

  1. src/test/java/jcifs/internal/witness/MockWitnessService.java

        private final AtomicInteger registrationCounter = new AtomicInteger(0);
        private final ConcurrentHashMap<String, MockRegistration> registrations = new ConcurrentHashMap<>();
        private Thread serverThread;
    
        /**
         * Mock registration data
         */
        private static class MockRegistration {
            final String registrationId;
            final String shareName;
            final String serverAddress;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. internal/ringbuffer/README.md

    `TryRead` and `TryWrite` are still available for non-blocking reads and writes.
    
    To signify the end of the stream, close the ring buffer from the writer side with `rb.CloseWriter()`
    
    Either side can use `rb.CloseWithError(err error)` to signal an error and close the ring buffer. 
    Any reads or writes will return the error on next call.
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

     * Node singleNode = xPathAPI.selectSingleNode(contextNode, "//example[1]");
     * XPathEvaluationResult<?> result = xPathAPI.eval(contextNode, "count(//example)");
     * }
     * </pre>
     *
     * <p>Note: This class is not thread-safe. Each thread should create its own instance of XPathAPI.</p>
     *
     * @see javax.xml.xpath.XPath
     * @see javax.xml.xpath.XPathFactory
     * @see javax.xml.xpath.XPathExpressionException
     */
    public class XPathAPI {
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingMapEntry.java

     * comparator is not consistent with {@code equals}.
     *
     * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the
     * methods that they depend on are thread-safe.
     *
     * @author Mike Bostock
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt

        var ms = nanos / 1_000_000L
        val ns = nanos - (ms * 1_000_000L)
    
        while (ms > 100) {
          Thread.sleep(100)
          if (javaNetSocket.isClosed) throw InterruptedIOException("socket closed")
          ms -= 100L
        }
    
        if (ms > 0L || ns > 0) {
          Thread.sleep(ms, ns.toInt())
        }
      }
    
      override fun cancel() {
        delegate.cancel()
      }
    
      override fun close() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/internal/MultilineMessageHelperTest.java

            msgs.add("* as @threadSafe to support parallel building.                  *");
            msgs.add("* While this /may/ work fine, please look for plugin updates    *");
            msgs.add("* and/or request plugins be made thread-safe.                   *");
            msgs.add("* If reporting an issue, report it against the plugin in        *");
            msgs.add("* question, not against maven-core                              *");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/package-info.java

     * under the License.
     */
    
    /**
     * Provides an immutable XML processing API for Maven, offering classes and interfaces
     * for reading, manipulating, and writing XML documents in a thread-safe manner.
     * This package is used extensively for POM, settings, and other Maven configuration files.
     *
     * @since 4.0.0
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 04 14:17:18 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

       * certain core JDK classes.
       */
      private void runTestMethod(ClassLoader classLoader) throws Exception {
        ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader();
        Thread.currentThread().setContextClassLoader(classLoader);
        try {
          Class<?> test = classLoader.loadClass(FuturesTest.class.getName());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt

      }
    
      private fun makeSynchronousCall(call: Call): Thread {
        val thread =
          Thread {
            try {
              call.execute()
              throw AssertionError()
            } catch (expected: IOException) {
            }
          }
        thread.start()
        return thread
      }
    
      private fun newRequest(url: String): Request = Request.Builder().url(url).build()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt

          Request
            .Builder()
            .url(server.url("/"))
            .build()
        val call = client.newCall(request)
        call.timeout().timeout(250, TimeUnit.MILLISECONDS)
        val response = call.execute()
        Thread.sleep(500)
        assertFailsWith<IOException> {
          response.body.source().readUtf8()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("timeout")
          assertThat(call.isCanceled()).isTrue()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top