- Sort Score
- Num 10 results
- Language All
Results 661 - 670 of 1,015 for Prevent (0.05 seconds)
-
guava/src/com/google/common/collect/Streams.java
} /** * If a value is present in {@code optional}, returns a stream containing only that element, * otherwise returns an empty stream. */ public static <T> Stream<T> stream(com.google.common.base.Optional<T> optional) { return optional.isPresent() ? Stream.of(optional.get()) : Stream.empty(); } /** * If a value is present in {@code optional}, returns a stream containing only that element,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 36.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/StatsTests.java
assertTrue(res.size() > 0, "Stats should contain at least some data"); // Check for common stats fields (these may need to be adjusted based on actual implementation) // Examples of fields that might be present: // - Document count // - Index size // - Memory usage // - System stats // etc. for (Map.Entry<String, Object> entry : res.entrySet()) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt
} else if (name !in HTTP_2_SKIPPED_RESPONSE_HEADERS) { headersBuilder.addLenient(name, value) } } if (statusLine == null) throw ProtocolException("Expected ':status' header not present") return Response .Builder() .protocol(protocol) .code(statusLine.code) .message(statusLine.message) .headers(headersBuilder.build()) } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jul 29 21:11:09 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java
// Test that the exception is serializable ScheduledJobException exception = new ScheduledJobException("Serialization test"); // Verify that the exception has serialVersionUID field (won't compile if not present) assertTrue(exception instanceof java.io.Serializable); } @Test public void test_longMessage() { // Test with very long message StringBuilder sb = new StringBuilder();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
expectMissing(e3()); } @CollectionFeature.Require(absent = SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) public void testAdd_unsupportedPresent() { try { assertFalse("add(present) should return false or throw", collection.add(e0())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @CollectionFeature.Require(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
expectMissing(e3()); } @CollectionFeature.Require(absent = SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) public void testAdd_unsupportedPresent() { try { assertFalse("add(present) should return false or throw", collection.add(e0())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @CollectionFeature.Require(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6K bytes - Click Count (0) -
docs/bucket/versioning/DESIGN.md
``` The "Metadata" section contains a single version, encoded in similar fashion as each version in the `Versions` array of the previous version. ## Inline Data Inline data is optional. If no inline data is present, it is encoded as 0 bytes. | Entry | Encoding | Content | --------------------|-----------------------------|----------------------------------------
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jul 17 15:43:14 GMT 2022 - 5.8K bytes - Click Count (0) -
internal/bucket/encryption/bucket-sse-config_test.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 16 18:28:30 GMT 2022 - 6.1K bytes - Click Count (0) -
ci/official/utilities/rename_and_verify_wheels.sh
cd "$TFCI_OUTPUT_DIR" # Move extra wheel files somewhere out of the way. This script # expects just one wheel file to exist. if [[ "$(ls *.whl | wc -l | tr -d ' ')" != "1" ]]; then echo "More than one wheel file is present: moving the oldest to" echo "$TFCI_OUTPUT_DIR/extra_wheels." # List all .whl files by their modification time (ls -t) and move anything # other than the most recently-modified one (the newest one).
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Sep 22 21:39:32 GMT 2025 - 4.4K bytes - Click Count (0) -
src/bufio/bufio.go
// than n bytes, it also returns an error explaining why the read is short. // The error is [ErrBufferFull] if n is larger than b's buffer size. // // Calling Peek prevents a [Reader.UnreadByte] or [Reader.UnreadRune] call from succeeding // until the next read operation. func (b *Reader) Peek(n int) ([]byte, error) { if n < 0 { return nil, ErrNegativeCount }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 06 17:28:40 GMT 2026 - 22K bytes - Click Count (0)