- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 517 for Unsafe (1.5 sec)
-
src/main/java/org/codelibs/fess/util/DocumentUtil.java
} /** * Encodes a URL by encoding non-URL-safe characters. * Uses the request's character encoding if available, otherwise defaults to UTF-8. * Only encodes characters that are not considered URL-safe according to CharUtil. * * @param url the URL to encode * @return the encoded URL with non-URL-safe characters properly encoded */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Joiner.java
* useForNull} has no effect on the instance it is invoked on! You must store and use the new joiner * instance returned by the method. This makes joiners thread-safe, and safe to store as {@code * static final} constants. * * {@snippet : * // Bad! Do not do this! * Joiner joiner = Joiner.on(','); * joiner.skipNulls(); // does nothing! * return joiner.join("wrong", null, "wrong");Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 21K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DenseImmutableTable.java
C columnKey = columnKeySet().asList().get(columnIndex); // requireNonNull is safe because we use indexes that were populated by the constructor. V value = requireNonNull(values[rowIndex][columnIndex]); return cellOf(rowKey, columnKey, value); } @Override V getValue(int index) { // requireNonNull is safe because we use indexes that were populated by the constructor.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 9.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
* comparator is not consistent with {@code equals}. * * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the * methods that they depend on are thread-safe. * * @author Mike Bostock * @author Louis Wasserman * @since 2.0 */ @GwtCompatibleRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Primitives.java
* wrap(Integer.class) == Integer.class * wrap(String.class) == String.class * </pre> */ public static <T> Class<T> wrap(Class<T> type) { checkNotNull(type); // cast is safe: long.class and Long.class are both of type Class<Long> @SuppressWarnings("unchecked") Class<T> wrapped = (Class<T>) PRIMITIVE_TO_WRAPPER_TYPE.get(type); return (wrapped == null) ? type : wrapped; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapEntry.java
*/ @SuppressWarnings("unchecked") // Safe as long as the javadocs are followed static <K, V> ImmutableMapEntry<K, V>[] createEntryArray(int size) { return (ImmutableMapEntry<K, V>[]) new ImmutableMapEntry<?, ?>[size]; } ImmutableMapEntry(K key, V value) { super(key, value); checkEntryNotNull(key, value); } // Redeclare methods to make them `final`, just to be extra-safe. @Override @ParametricNullnessRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 21:42:29 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/LruHashMap.java
* <p> * <strong>Thread-Safety:</strong> This class is <strong>NOT thread-safe</strong>. * It extends {@link LinkedHashMap} without synchronization. If multiple threads access * an instance concurrently, and at least one thread modifies the map structurally, * it must be synchronized externally. * </p> * <p> * For thread-safe usage, wrap with {@link java.util.Collections#synchronizedMap(Map)}: * </p> * <pre>
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/MultilineMessageHelperTest.java
msgs.add("* as @threadSafe to support parallel building. *"); msgs.add("* While this /may/ work fine, please look for plugin updates *"); msgs.add("* and/or request plugins be made thread-safe. *"); msgs.add("* If reporting an issue, report it against the plugin in *"); msgs.add("* question, not against maven-core *");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java
new MessageDigestHashFunction(algorithmName, maxSize + 1, algorithmName); fail(); } catch (IllegalArgumentException expected) { } } catch (NoSuchAlgorithmException nsae) { throw new AssertionError(nsae); } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/UrlEscaperTesting.java
assertUnescaped(e, '~'); assertUnescaped(e, ':'); assertUnescaped(e, '@'); // Don't use plus for spaces assertEscaping(e, "%20", ' '); assertEquals("safe%20with%20spaces", e.escape("safe with spaces")); assertEquals("******@****.***", e.escape("******@****.***")); } private UrlEscaperTesting() {}
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.6K bytes - Viewed (0)