- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 282 for detekt (0.2 seconds)
-
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
import junit.framework.AssertionFailedError; import junit.framework.TestCase; import org.jspecify.annotations.Nullable; /** * Tests for {@link ForwardingWrapperTester}. Live in a different package to detect reflection * access issues, if any. * * @author Ben Yu */ public class ForwardingWrapperTesterTest extends TestCase { private final ForwardingWrapperTester tester = new ForwardingWrapperTester();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.9K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
try { new NullPointerTester().testInstanceMethods(instance, visibility); } catch (AssertionError expected) { return; } fail("Should detect problem in " + instance.getClass().getSimpleName()); } private static void shouldFail(Object instance) { shouldFail(instance, Visibility.PACKAGE); shouldFail(instance, Visibility.PROTECTED);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 47.9K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/precommit/LicenseHeadersPrecommitPluginFuncTest.groovy
import org.elasticsearch.gradle.fixtures.AbstractGradleFuncTest import org.gradle.testkit.runner.TaskOutcome class LicenseHeadersPrecommitPluginFuncTest extends AbstractGradleFuncTest { def "detects invalid files with invalid license header"() { given: buildFile << """ plugins { id 'java' id 'elasticsearch.internal-licenseheaders' } """Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 03 10:22:28 GMT 2021 - 4.1K bytes - Click Count (0) -
maven-tests/mvnw
:Darwin*x86_64) distributionPlatform=darwin-amd64 ;; :Darwin*arm64) distributionPlatform=darwin-aarch64 ;; :Linux*x86_64*) distributionPlatform=linux-amd64 ;; *) echo "Cannot detect native platform for mvnd on $(uname)-$(uname -m), use pure java version" >&2 distributionPlatform=linux-amd64 ;; esac distributionUrl="${distributionUrl%-bin.*}-$distributionPlatform.zip" ;;Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Sep 25 18:22:49 GMT 2025 - 10.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
assertEquals(0, cleaned); assertNotNull(leaseManager.getLease(key)); } @Test @DisplayName("Should detect lease capabilities") void testLeaseCapabilities() { String path = "/share/file.txt"; // Test full leaseCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 13.2K bytes - Click Count (0) -
docs/en/docs/tutorial/body.md
But adding the type annotations will allow your editor to give you better support and detect errors. /// ## Without Pydantic { #without-pydantic }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
* transformation however contradicts the other use case of precisely obeying the repository's layout. The below * flag tries to detect which use case applies to make both plugins happy. */ realLocalRepo = (layout instanceof DefaultRepositoryLayout) && "local".equals(delegate.getId()); } @Override
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 13.1K bytes - Click Count (0) -
docs/tr/docs/advanced/advanced-python-types.md
İkisi de eşdeğer ve temelde aynıdır; ancak "**optional**" kelimesi değerin isteğe bağlı olduğunu ima eder. Oysa aslında " `None` olabilir" demektir; değer isteğe bağlı olmasa ve hâlâ zorunlu olsa bile. Bence `Union[SomeType, None]` ne demek istediğini daha açık anlatır. Burada mesele sadece kelimeler ve isimler. Ancak bu kelimeler sizin ve ekip arkadaşlarınızın koda bakışını etkileyebilir. Örnek olarak şu fonksiyona bakalım: ```python
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 12:41:38 GMT 2026 - 2.1K bytes - Click Count (0) -
docs/de/docs/advanced/advanced-dependencies.md
{* ../../docs_src/dependencies/tutorial011_an_py310.py hl[9] *} In diesem Fall wird **FastAPI** `__init__` nie berühren oder sich darum kümmern, wir werden es direkt in unserem Code verwenden. ## Eine Instanz erstellen { #create-an-instance } Wir könnten eine Instanz dieser Klasse erstellen mit: {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[18] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 10.3K bytes - Click Count (0) -
docs/de/docs/tutorial/dependencies/index.md
Sie übergeben `Depends` nur einen einzigen Parameter. Dieser Parameter muss so etwas wie eine Funktion sein. Sie **rufen diese nicht direkt auf** (fügen Sie am Ende keine Klammern hinzu), sondern übergeben sie einfach als Parameter an `Depends()`. Und diese Funktion akzeptiert Parameter auf die gleiche Weise wie *Pfadoperation-Funktionen*. /// tip | Tipp
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 11.3K bytes - Click Count (0)