- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 815 for Threads (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
import assertk.assertions.isGreaterThan import assertk.assertions.isIn import assertk.assertions.isLessThan import assertk.assertions.isNull import assertk.assertions.isTrue import java.lang.Thread.sleep import java.util.concurrent.TimeUnit import kotlin.concurrent.thread import kotlin.test.assertFailsWith import kotlin.time.Duration import kotlin.time.Duration.Companion.milliseconds import kotlin.time.measureTime import mockwebserver3.MockResponse
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 08 21:45:04 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
} catch (final UnsupportedEncodingException e) { throw new CurlException("Invalid encoding: " + encoding, e); } } /** * Sets the thread pool for executing the request. * * @param threadPool the thread pool * @return this CurlRequest instance */ public CurlRequest threadPool(final ForkJoinPool threadPool) { this.threadPool = threadPool;
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 18.6K bytes - Viewed (0) -
internal/s3select/json/reader.go
// Reader - JSON record reader for S3Select. type Reader struct { args *ReaderArgs decoder *jstream.Decoder valueCh chan *jstream.MetaValue readCloser io.ReadCloser } // Read - reads single record. func (r *Reader) Read(dst sql.Record) (sql.Record, error) { v, ok := <-r.valueCh if !ok { if err := r.decoder.Err(); err != nil { return nil, errJSONParsingError(err) } return nil, io.EOFRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
*/ @Test void testReadParameterWordsWireFormat() { byte[] buffer = new byte[10]; int bufferIndex = 0; // The method should return 0 as it reads no parameter words int result = smbComNegotiate.readParameterWordsWireFormat(buffer, bufferIndex); assertEquals(0, result, "readParameterWordsWireFormat should return 0."); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt
private val openSockets: MutableSet<Socket> = ConcurrentHashMap.newKeySet() fun play() { serverSocket = ServerSocket(0) executor.execute { val threadName = "SocksProxy ${serverSocket!!.localPort}" Thread.currentThread().name = threadName try { while (true) { val socket = serverSocket!!.accept() connectionCount.incrementAndGet() service(socket) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 7.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
* <pre> * {@code * String escapedXml = XmlUtil.escapeXml("<tag>value</tag>"); * Map<String, Object> dataMap = XmlUtil.getDataMap(accessResultData); * } * </pre> * * <h2>Thread Safety:</h2> * <p> * This class is thread-safe as it does not maintain any state. * </p> * * <h2>Dependencies:</h2> * <ul> * <li>org.apache.logging.log4j.Logger</li> * <li>org.apache.logging.log4j.LogManager</li>
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 9.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java
logger.info(""); logger.info(String.format( "Using the %s implementation with a thread count of %d", executor.getClass().getSimpleName(), degreeOfConcurrency)); } ClassLoader oldContextClassLoader = Thread.currentThread().getContextClassLoader();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/AbstractConfigHelper.java
/** * The abstract helper for configuration. * * This class provides a basic framework for managing configurations that can be reloaded. * It includes functionality for updating configurations in a separate thread and controlling the reloading interval. */ public abstract class AbstractConfigHelper { /** * Default constructor. */ public AbstractConfigHelper() { // Default constructor }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
@MethodSource("int32Provider") @DisplayName("readParameterWordsWireFormat correctly decodes 32-bit offset") void testReadParameterWords(int expectedInt, byte[] bytes) { // The implementation reads via SMBUtil.readInt4 which returns an int // When assigned to a long field, it gets sign-extended int readLen = response.readParameterWordsWireFormat(bytes, 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
* lifted. Such writes occur on an application-provided thread and may occur concurrently with * reads of the [ResponseBody]. For duplex request bodies, [writeTo] should return * quickly, possibly by handing off the provided request body to another thread to perform * writing. * * [grpc]: https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 14:16:29 UTC 2025 - 9.3K bytes - Viewed (0)