- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 1,090 for safe (0.01 sec)
-
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
* real problem: The Entry objects are ImmutableMap entries, whose fields are all final and thus * safe to read even when the Entry object is unsafely published. But with a mutable graph, the * Entry object is likely to have a non-final value field, which is not safe to read when * unsafely published. (The Entry object might even be newly created by each iterator.next()
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 32.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
try { String shareName = "share" + (threadId % 5); // Use 5 different shares // Test concurrent tree operations (should be thread-safe with CopyOnWriteArrayList) long opStart = System.nanoTime(); session.getSmbTree(shareName, null); long opEnd = System.nanoTime();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
tentativeArgs.set(i, alternateArg); return createInstance(factory, tentativeArgs).hashCode() == createInstance(factory, args).hashCode(); } // distinctValues is a type-safe class-values mapping, but we don't have a type-safe data // structure to hold the mappings. @SuppressWarnings({"unchecked", "rawtypes"}) private FreshValueGenerator newFreshValueGenerator() { FreshValueGenerator generator =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java
emptyGenerator = new EmptyGenerator(); // Test that destroy method can be called without error emptyGenerator.destroy(); // Call destroy multiple times to ensure it's safe emptyGenerator.destroy(); emptyGenerator.destroy(); } public void test_isAvailable() { // Initialize without container emptyGenerator = new EmptyGenerator();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FakeTicker.java
* * <p>The ticker can be configured so that the time is incremented whenever {@link #read} is called: * see {@link #setAutoIncrementStep}. * * <p>This class is thread-safe. * * @author Jige Yu * @since 10.0 */ @NullMarked @GwtCompatible public class FakeTicker extends Ticker { private final AtomicLong nanos = new AtomicLong();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/PatternFilenameFilter.java
import java.io.FilenameFilter; import java.util.regex.Pattern; import java.util.regex.PatternSyntaxException; /** * File name filter that only accepts files matching a regular expression. This class is thread-safe * and immutable. * * @author Apple Chow * @since 1.0 */ @J2ktIncompatible @GwtIncompatible public final class PatternFilenameFilter implements FilenameFilter { private final Pattern pattern;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.7K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/CompactHashMap.java
return requireNonNull(values); } /* * The following methods are safe to call as long as the conditions in the *previous* comment are * met *and* the index is less than size(). * * (The above explains when these methods are safe from a `nullness` perspective. From an * `unchecked` perspective, they're safe because we put only K/V elements into each array.) */ @SuppressWarnings("unchecked")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 35.7K bytes - Viewed (0) -
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: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/Subscriber.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
* {@link Builder#putAll} * * <p>Despite the method name, this method attempts to avoid actually copying the data when it is * safe to do so. The exact circumstances under which a copy will or will not be performed are * undocumented and subject to change. */ public static <R, C, V> ImmutableTable<R, C, V> copyOf(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.4K bytes - Viewed (0)