- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 85 for emulated (0.05 sec)
-
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
assertSideEffectFree(hash); assertReadableBytes(hash); } private static void assertSideEffectFree(HashCode hash) { byte[] original = hash.asBytes(); byte[] mutated = hash.asBytes(); mutated[0]++; assertTrue(Arrays.equals(original, hash.asBytes())); } private static void assertReadableBytes(HashCode hashCode) { assertTrue(hashCode.bits() >= 32); // sanity
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 13.1K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/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 */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
tensorflow/c/c_api_internal.h
std::unordered_map<tensorflow::string, tensorflow::Node*> name_map TF_GUARDED_BY(mu); // The keys of this map are all the active sessions using this graph. Each // value records whether the graph has been mutated since the corresponding // session has been run (this is detected in RecordMutation function). If the // string is empty, no mutation has occurred. Otherwise the string is a
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Sat May 13 00:49:12 UTC 2023 - 7.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java
} // Mock class for testing exception scenarios private static class MockMultiThreadedHttpConnectionManager { public static void shutdownAll() { throw new RuntimeException("Simulated exception during shutdown"); } } // Test to verify the logger field is properly initialized public void test_loggerFieldInitialization() throws Exception {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (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")
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Wed Oct 02 22:16:02 UTC 2024 - 7.5K bytes - Viewed (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)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 11.9K bytes - Viewed (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));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (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 = connectionUser.candidateConnection() ?: return null // Make sure this connection is healthy & eligible for new exchanges. If it's no longer needed
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 12K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
* under the JVM. (We could arrange for one if we really wanted, but that will break once the * JDK further restricts access to Unsafe.) But we have coverage under an Android emulator, * which uses UnsafeAtomicHelper when it runs AbstractFutureTest itself. */ runTestMethod(NO_ATOMIC_REFERENCE_FIELD_UPDATER); // TODO(lukes): assert that the logs are full of errors }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.1K bytes - Viewed (0)