- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 446 for Unsafe (0.07 sec)
-
android/guava/src/com/google/common/collect/ForwardingMultiset.java
* invoke methods, they invoke methods on the {@code ForwardingMultiset}. * * <p>The {@code standard} methods and any collection views they return are not guaranteed to be * thread-safe, even when all of the methods that they depend on are thread-safe. * * @author Kevin Bourrillion * @author Louis Wasserman * @since 2.0 */ @GwtCompatibleRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
* Collections#emptyList}, and is preferable mainly for consistency and maintainability of your * code. * * <p><b>Performance note:</b> the instance returned is a singleton. */ // Casting to any type is safe because the list will never hold any elements. @SuppressWarnings("unchecked") public static <E> ImmutableList<E> of() { return (ImmutableList<E>) EMPTY; } /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.5K bytes - Viewed (0) -
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/jcifs/util/InputValidatorTest.java
void testValidDomains(String domain) { assertDoesNotThrow(() -> InputValidator.validateDomain(domain)); } @Test @DisplayName("Test safe integer addition") void testSafeAddition() { assertEquals(100, InputValidator.safeAdd(50, 50)); assertEquals(0, InputValidator.safeAdd(-50, 50));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
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: Tue Jul 08 18:32:10 UTC 2025 - 39.6K bytes - Viewed (0) -
android/guava/src/com/google/common/annotations/Beta.java
* annotation implies nothing about the quality or performance of the API in question, only the fact * that it is not "API-frozen." * * <p>It is generally safe for <i>applications</i> to depend on beta APIs, at the cost of some extra * work during upgrades. However it is generally inadvisable for <i>libraries</i> (which get
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Dec 16 19:54:45 UTC 2020 - 1.8K bytes - Viewed (0) -
guava/src/com/google/common/annotations/Beta.java
* annotation implies nothing about the quality or performance of the API in question, only the fact * that it is not "API-frozen." * * <p>It is generally safe for <i>applications</i> to depend on beta APIs, at the cost of some extra * work during upgrades. However it is generally inadvisable for <i>libraries</i> (which get
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Dec 16 19:54:45 UTC 2020 - 1.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Result.java
* <li>Access to the session context used during processing</li> * <li>Correlation of results with their initiating parameters</li> * </ul> * * @param <REQ> the type of Request that produced this result, ensuring type-safe * access to the original request parameters * * @see Request * @since 4.0.0 */ @Experimental @Immutable public interface Result<REQ extends Request<?>> { /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 29 08:17:07 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ingest/IngestFactory.java
// Default constructor } /** * Adds an ingester to the factory. * The ingester is inserted into the collection and the array is re-sorted by priority. * This method is thread-safe. * * @param ingester the ingester to add */ public synchronized void add(final Ingester ingester) { if (logger.isDebugEnabled()) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
checkNonnegative(expectedSize, "expectedSize"); return new Builder<>(expectedSize); } static void checkNoConflict( boolean safe, String conflictDescription, Object entry1, Object entry2) { if (!safe) { throw conflictException(conflictDescription, entry1, entry2); } } static IllegalArgumentException conflictException(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0)