- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 1,090 for safe (0.02 sec)
-
android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
*/ ) { continue; } Class<?> clazz = info.load(); try { Method unused = clazz.getDeclaredMethod("writeReplace"); continue; // It overrides writeReplace, so it's safe. } catch (NoSuchMethodException e) { // This is a class whose supertypes we want to examine. We'll do that below. } Optional<Class<?>> supersWithPackagePrivateWriteReplace =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 03:07:54 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
// Multiple shutdowns should be safe assertDoesNotThrow(() -> channelManager.shutdown()); } @Test void testLoadBalancerAccess() { ChannelLoadBalancer balancer = channelManager.getLoadBalancer(); assertNotNull(balancer); // Should return same instance assertSame(balancer, channelManager.getLoadBalancer()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
@MapFeature.Require(SUPPORTS_REMOVE) /* * SetMultimap.asMap essentially returns a Map<K, Set<V>>; we just can't declare it that way. * Thus, calls like asMap().values().remove(someSet) are safe because they are comparing a set to * a collection of other sets. */ @SuppressWarnings("CollectionUndefinedEquality") public void testValuesRemove() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
// Assert assertNull(ex.getCause(), "Null cause should be preserved"); assertNotNull(ex.toString(), "toString should be safe to call"); } @ParameterizedTest @NullAndEmptySource @ValueSource(strings = { "oops", "multi word", "中文" }) @DisplayName("Message+Cause constructor: preserves both values; no interactions with cause")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMaker.java
* #weakValues} was specified, the map uses identity comparisons for values. * * <p>The view collections of the returned map have <i>weakly consistent iterators</i>. This means * that they are safe for concurrent use, but if other threads modify the map after the iterator is * created, it is undefined which of these changes, if any, are reflected in that iterator. These
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt
.build() val acceptedIssuers = handshakeCertificates.trustManager.acceptedIssuers val names = acceptedIssuers .map { it.subjectDN.name } .toSet() // It's safe to assume all platforms will have a major Internet certificate issuer. assertThat(names).matchesPredicate { strings -> strings.any { it.matches(Regex("[A-Z]+=Entrust.*")) } } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
// assumes that each set is a singleton or less (as is done for the samples) for (Object elem : elements) { @SuppressWarnings("unchecked") // safe by generator contract Entry<String, Collection<Integer>> entry = (Entry<String, Collection<Integer>>) elem; Integer value = getOnlyElement(entry.getValue()); builder.put(entry.getKey(), value); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 8.6K bytes - Viewed (0) -
ci/official/utilities/setup.sh
echo 'If you have not, you will see a lot of undefined variable errors.' else FROM_ENV=$(mktemp) # "export -p" prints a list of environment values in a safe-to-source format, # e.g. `declare -x TFCI_BAZEL_COMMON_ARGS="list of args"` for bash. export -p | grep TFCI > "$FROM_ENV" # Source the default ci values source ./ci/official/envs/ci_default
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Jan 09 18:37:25 UTC 2025 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Platform.java
static <E extends @Nullable Object> Set<E> newHashSetWithExpectedSize(int expectedSize) { return Sets.newHashSetWithExpectedSize(expectedSize); } /** Returns the platform preferred implementation of a thread-safe hash set. */ static <E> Set<E> newConcurrentHashSet() { return ConcurrentHashMap.newKeySet(); } /** * Returns the platform preferred implementation of an insertion ordered set based on a hash * table.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
* <p> * Unlike a cache, this session data is not subject to purging. For this same reason, session data should also not be * abused as a cache (i.e. for storing values that can be re-calculated) to avoid memory exhaustion. * <p> * <strong>Note:</strong> Actual implementations must be thread-safe. * * @see Session#getData() * @since 4.0.0 */ @Experimental @ThreadSafe @Provider
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Feb 28 23:31:09 UTC 2024 - 4.7K bytes - Viewed (0)