- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 97 for emulated (0.07 seconds)
-
android/guava/src/com/google/common/math/Quantiles.java
* * @param dataset the dataset to do the calculation on, which must be non-empty, which will be * cast to doubles (with any associated lost of precision), and which will not be mutated by * this call (it is copied instead) * @return the quantile value */ public double compute(Collection<? extends Number> dataset) { return computeInPlace(Doubles.toArray(dataset)); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 30.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
if (is.available() > 0) { throw new RuntimeException("Simulated processing error"); } } fail("Should have thrown RuntimeException"); } catch (RuntimeException e) { assertEquals("Simulated processing error", e.getMessage()); // If InputStream wasn't properly closed, this would leak resources
Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 9.6K bytes - Click Count (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
String result = circuitBreaker.executeWithCircuitBreaker(() -> { if ((threadId + iteration) % 10 == 0) { throw new RuntimeException("Simulated failure"); } return "success"; }); successCount.incrementAndGet();
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
AtomicInteger existingZero = new AtomicInteger(0); // initial map.get() when(backingMap.get(KEY)).thenReturn(null); // since get returned null, try a putIfAbsent; that fails due to a simulated race when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(existingZero); // since the putIfAbsent returned a zero, we'll try to replace...
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 08 22:42:14 GMT 2025 - 16.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt
private var nextTcpConnectAtNanos = Long.MIN_VALUE /** * Plans currently being connected, and that will later be added to [connectResults]. This is * mutated by the call thread only. If is accessed by background connect threads. */ private val tcpConnectsInFlight = CopyOnWriteArrayList<Plan>() /**
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 5.8K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/ResponseDataUtilTest.java
return new InputStream() { @Override public int read() throws IOException { throw new IOException("Simulated read error"); } }; } @Override public String getUrl() { return "http://example.com/error"; }
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Nov 22 13:28:22 GMT 2025 - 7.9K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java
final InputStream errorStream = new InputStream() { @Override public int read() throws IOException { throw new IOException("Simulated read error"); } }; final String customEncoding = "ISO-8859-1"; textExtractor.setEncoding(customEncoding); try { textExtractor.getText(errorStream, null);
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
protected boolean performReconnection(HandleInfo info) throws Exception { if (shouldSucceed) { return true; } else { throw new IOException("Simulated reconnection failure"); } } public void testCreateReconnectionRequest(HandleInfo handle) { createReconnectionRequest(handle); } }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 5.6K bytes - Click Count (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 */ @GwtCompatibleCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (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 aCreated: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat May 13 00:49:12 GMT 2023 - 7.6K bytes - Click Count (0)