- Sort Score
- Num 10 results
- Language All
Results 4921 - 4930 of 6,702 for If (0.04 seconds)
-
docs_src/dependencies/tutorial011_py310.py
from fastapi import Depends, FastAPI app = FastAPI() class FixedContentQueryChecker: def __init__(self, fixed_content: str): self.fixed_content = fixed_content def __call__(self, q: str = ""): if q: return self.fixed_content in q return False checker = FixedContentQueryChecker("bar") @app.get("/query-checker/")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 504 bytes - Click Count (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
void messageOnlyConstructor_setsMessage_andUnsuccessfulStatus(String msg) { // Arrange & Act SMBSignatureValidationException ex = new SMBSignatureValidationException(msg); // Assert if (msg == null) { assertNull(ex.getMessage(), "Null message should remain null"); } else { assertEquals(msg, ex.getMessage(), "Message should be stored as provided"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
docs/en/docs/advanced/strict-content-type.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Feb 23 17:45:20 GMT 2026 - 3.2K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/config.yml
blank_issues_enabled: false contact_links: - name: Ask for help url: http://help.gradle.org/ about: If you need help with Gradle or have a usage question, please reach our community instead of creating an issue. - name: Create an issue without template url: https://github.com/gradle/gradle/issues/new?template=blankCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Apr 02 09:20:35 GMT 2025 - 402 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
} @Test public void test_initializeProbes() { // Test that initializeProbes doesn't throw exception try { ThumbnailGenerator.initializeProbes(); // If no exception thrown, test passes assertTrue(true); } catch (Exception e) { fail("initializeProbes should not throw exception: " + e.getMessage()); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/FutureCallback.java
void onSuccess(@ParametricNullness V result); /** * Invoked when a {@code Future} computation fails or is canceled. * * <p>If the future's {@link Future#get() get} method throws an {@link ExecutionException}, then * the cause is passed to this method. Any other thrown object is passed unaltered. */ void onFailure(Throwable t);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapFeature.java
import java.lang.annotation.RetentionPolicy; import java.util.Set; /** * Optional features of classes derived from {@code Multimap}. * * @author Louis Wasserman */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum MultimapFeature implements Feature<Multimap> { VALUE_COLLECTIONS_SUPPORT_ITERATOR_REMOVE; private final Set<Feature<? super Multimap>> implied;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 1.8K bytes - Click Count (0) -
guava-gwt/src/com/google/common/annotations/Annotations.gwt.xml
tests, either. This causes it to fail to find AtomicLongMapTest. Our workaround is to tell GWT that util.concurrent and all other packages have prod supersource, even if they have none. GWT is happy to ignore us when we specify a nonexistent path. (I hope that this workaround does not cause its own problems in the future.) --> <super-source path="super"/>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 19 16:02:36 GMT 2024 - 1.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureDefaultAtomicHelperTest.java
* Android. */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class AbstractFutureDefaultAtomicHelperTest extends TestCase { public void testUsingExpectedAtomicHelper() throws Exception { if (isJava8() || isAndroid()) { assertThat(AbstractFutureState.atomicHelperTypeForTest()).isEqualTo("UnsafeAtomicHelper"); } else {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SuperPomProvider.java
* * @param version The model version to retrieve the super POM for (e.g. "4.0.0"), must not be {@code null}. * @return The super POM, never {@code null}. * @throws SuperPomProviderException if the super POM could not be retrieved */ @Nonnull Model getSuperPom(@Nonnull String version);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Feb 28 23:54:53 GMT 2024 - 1.5K bytes - Click Count (0)