- Sort Score
- Num 10 results
- Language All
Results 411 - 420 of 1,129 for unsafe (0.14 seconds)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java
/** * Builder class for creating RequestData objects using a fluent interface. * This class provides a simple way to construct RequestData objects with method chaining. * * <p>Usage example:</p> * <pre> * RequestData request = RequestDataBuilder.newRequestData() * .method("GET") * .url("https://example.com") * .weight(1.0f) * .build(); * </pre> *
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
@DisplayName("release() decrements usage; closes only when count reaches zero") void release_decrementsAndClosesOnZero() throws CIFSException { when(cfg.isTraceResourceUsage()).thenReturn(false); stubValidTree(8L, true, true); SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, new byte[] { 1, 2, 3 }, tree, "//srv/share", 0, 0, 0, 0, 0L); // Increase usage to 2 h.acquire();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
keyList.count = 0; modCount++; } else { // requireNonNull is safe (under the conditions listed in the comment in the branch above). KeyList<K, V> keyList = requireNonNull(keyToKeyList.get(node.getKey())); keyList.count--; if (node.previousSibling == null) { // requireNonNull is safe because we checked that not *both* siblings were null.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 27K bytes - Click Count (0) -
ci/official/utilities/generate_index_html.sh
# limitations under the License. # ============================================================================== # Generates a handy index.html with a bunch of Kokoro links for GitHub # presubmits. # Usage: generate_index_html.sh /path/to/output/index.html cat > "$1" <<EOF <html> <head> <title>$(basename "$KOKORO_JOB_NAME")</title> </head> <body> <h1>TensorFlow Job Logs and Links</h1> <h2>Job Details</h2>
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Sep 29 20:26:13 GMT 2023 - 2.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
// Create some objects to change memory usage @SuppressWarnings("unused") String[] largeArray = new String[1000]; for (int i = 0; i < 1000; i++) { largeArray[i] = "test" + i; } long memory2 = MemoryUtil.getUsedMemory(); assertTrue(memory2 >= 0); // Memory usage should have changed (though we can't guarantee direction due to GC) }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12K bytes - Click Count (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.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 9.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* ClosingFuture} will be equivalent to this one. * * <p>If the function throws an exception, that exception is used as the result of the derived * {@code ClosingFuture}. * * <p>Example usage: * * {@snippet : * ClosingFuture<List<Row>> rowsFuture = * queryFuture.transform((closer, result) -> result.getRows(), executor); * } *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 101.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
* primary input succeeds, it is never invoked. If, during the invocation of {@code fallback}, an * exception is thrown, this exception is used as the result of the output {@code Future}. * * <p>Usage example: * * {@snippet : * // Falling back to a zero counter in case an exception happens when processing the RPC to fetch * // counters. * ListenableFuture<Integer> faultTolerantFuture =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 19.8K bytes - Click Count (0) -
guava/src/com/google/common/cache/Cache.java
* */ CacheStats stats(); /** * Returns a view of the entries stored in this cache as a thread-safe map. Modifications made to * the map directly affect the cache. * * <p>Iterators from the returned map are at least <i>weakly consistent</i>: they are safe for * concurrent use, but if the cache is modified (including by eviction) after the iterator is
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/MarkdownRenderer.java
import org.commonmark.parser.Parser; import org.commonmark.renderer.html.HtmlRenderer; import org.owasp.html.HtmlPolicyBuilder; import org.owasp.html.PolicyFactory; /** * Renders markdown to sanitized HTML for safe display in the chat interface. * Uses commonmark for markdown parsing and OWASP HTML Sanitizer for XSS prevention. */ public class MarkdownRenderer {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 12 10:32:40 GMT 2026 - 5.3K bytes - Click Count (0)