- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 97 for emulated (0.06 seconds)
-
android/guava/src/com/google/common/hash/LongAdder.java
* higher space consumption. * * <p>This class extends {@link Number}, but does not define methods such as {@code * equals}, {@code hashCode} and {@code compareTo} because instances are expected to be mutated, and * so are not useful as collection keys. * * <p>jsr166e note: This class is targeted to be placed in java.util.concurrent.atomic. * * @since 1.8 * @author Doug Lea */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Mar 20 13:05:10 GMT 2025 - 5.5K bytes - Click Count (0) -
tensorflow/api_template_v1.__init__.py
If you depend on functionality not listed there, please file an issue. """ contrib = _LazyLoader("contrib", globals(), "tensorflow.contrib", _CONTRIB_WARNING) # The templated code that replaces the placeholder above sometimes # sets the __all__ variable. If it does, we have to be sure to add # "contrib". if "__all__" in vars(): vars()["__all__"].append("contrib")
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Wed Oct 02 22:16:02 GMT 2024 - 7.5K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt
}, logger = logger, ) /** Runs all tasks that are ready. Used by the test thread only. */ fun runTasks() { advanceUntil(nanoTime) } /** Advance the simulated clock, then runs tasks that are ready. Used by the test thread only. */ fun advanceUntil(newTime: Long) { taskRunner.assertLockNotHeld() taskRunner.withLock { check(currentTask == TestThreadSerialTask)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed May 28 23:28:25 GMT 2025 - 11.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java
/** * A maven workspace reader that delegates to a chain of other readers, effectively aggregating their contents. * <p> * This class, while technically is not immutable, should be considered as such once set up. If not mutated, it is also * thread-safe. The mutation of this class instances should happen beforehand their use in session. */ public class MavenChainedWorkspaceReader implements MavenWorkspaceReader {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
* exists but cannot be used for another exchange, it is closed and this returns null. */ private fun planReuseCallConnection(): ReusePlan? { // This may be mutated by releaseConnectionNoEvents()! val candidate = call.connection ?: return null // Make sure this connection is healthy & eligible for new exchanges. If it's no longer needed // then we're on the hook to close it.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 12K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ExtractorResourceManagementTest.java
final InputStream errorStream = new InputStream() { @Override public int read() throws IOException { throw new IOException("Simulated read error"); } }; try { extractor.getText(errorStream, null); fail("Expected ExtractException"); } catch (final ExtractException e) {
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 10.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
setStatus(qr, NtStatus.NT_STATUS_NO_SUCH_FILE); qr.received(); q.setResponse(qr); // Now emulate error thrown by transport for create chain throw new SmbException(NtStatus.NT_STATUS_NO_SUCH_FILE, false); } return null; }).when(tree).send(any(Request.class));
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Closer.java
import org.jspecify.annotations.Nullable; /** * A {@link Closeable} that collects {@code Closeable} resources and closes them all when it is * {@linkplain #close closed}. This was intended to approximately emulate the behavior of Java 7's * <a href="http://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html" * >try-with-resources</a> statement in JDK6-compatible code. Code using this should beCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
// Prepare input SIDs SID s1 = sid("S-1-5-21-1-2-3-1001"); SID s2 = sid("S-1-5-21-1-2-3-1002"); jcifs.SID[] in = new jcifs.SID[] { s1, s2 }; // Stub sendrecv to emulate successful RPC response doAnswer(inv -> { // Capture the outgoing RPC and populate result fields as the server would Object msg = inv.getArgument(0);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
when(mockFuture.actionGet(anyLong(), any(TimeUnit.class))).thenAnswer(invocation -> { int count = attemptCount.incrementAndGet(); if (count <= 5) { throw new RuntimeException("Simulated failure #" + count); } return "Success"; }); final String result = fesenClient.get(c -> mockFuture); assertEquals("Success", result);
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 20 08:44:44 GMT 2025 - 17K bytes - Click Count (0)