Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 721 - 730 of 880 for def2 (0.34 seconds)

  1. build-conventions/build.gradle

     */
    
    import org.gradle.plugins.ide.eclipse.model.SourceFolder
    
    plugins {
        id 'java-gradle-plugin'
        id 'java-test-fixtures'
        id 'eclipse'
    }
    
    group = "org.elasticsearch"
    
    def minRuntimeJava = JavaVersion.toVersion(file('../build-tools-internal/src/main/resources/minimumRuntimeVersion').text)
    targetCompatibility = minRuntimeJava
    sourceCompatibility = minRuntimeJava
    
    gradlePlugin {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 01 09:43:51 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/resources/templates/breaking-changes.asciidoc

    the old behavior is supported until the next major release.
    To find out if you are using any deprecated functionality,
    enable <<deprecation-logging, deprecation logging>>.
    <%
    [true, false].each { isNotable ->
        def breakingChangesByArea = breakingChangesByNotabilityByArea.getOrDefault(isNotable, [])
    
        breakingChangesByArea.eachWithIndex { area, breakingChanges, i ->
            print "\n"
    
            if (isNotable) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jul 28 11:09:58 GMT 2021
    - 2.9K bytes
    - Click Count (0)
  3. src/bufio/scan_test.go

    		}
    		err := s.Err()
    		if err != nil {
    			t.Errorf("#%d: %v", n, err)
    		}
    	}
    }
    
    var wordScanTests = []string{
    	"",
    	" ",
    	"\n",
    	"a",
    	" a ",
    	"abc def",
    	" abc def ",
    	" abc\tdef\nghi\rjkl\fmno\vpqr\u0085stu\u00a0\n",
    }
    
    // Test that the word splitter returns the same data as strings.Fields.
    func TestScanWords(t *testing.T) {
    	for n, test := range wordScanTests {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/testing.md

    {* ../../docs_src/app_testing/tutorial001_py310.py hl[2,12,15:18] *}
    
    /// tip | Consejo
    
    Nota que las funciones de prueba son `def` normales, no `async def`.
    
    Y las llamadas al cliente también son llamadas normales, sin usar `await`.
    
    Esto te permite usar `pytest` directamente sin complicaciones.
    
    ///
    
    /// note | Detalles técnicos
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  5. docs/ru/docs/tutorial/testing.md

    {* ../../docs_src/app_testing/tutorial001_py310.py hl[2,12,15:18] *}
    
    /// tip | Подсказка
    
    Обратите внимание, что тестирующая функция является обычной `def`, а не асинхронной `async def`.
    
    И вызов клиента также осуществляется без `await`.
    
    Это позволяет вам использовать `pytest` без лишних усложнений.
    
    ///
    
    /// note | Технические детали
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/base/StringsTest.java

            .isEqualTo("\uD8AB\uDCABdef");
        // Differing valid surrogate pairs.
        assertThat(Strings.commonSuffix("abc\uD8AB\uDCABdef", "abc\uD8AC\uDCABdef")).isEqualTo("def");
        // One invalid pair.
        assertThat(Strings.commonSuffix("abc\uD8AB\uDCABdef", "xyz\uDCAB\uDCABdef")).isEqualTo("def");
        // Two identical invalid pairs.
        assertThat(Strings.commonSuffix("abc\uD8AB\uD8ABdef", "xyz\uD8AB\uD8ABdef"))
            .isEqualTo("\uD8AB\uD8ABdef");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/dependencies/sub-dependencies.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.10+ 非Annotated
    
    /// tip | 豆知識
    
    可能であれば`Annotated`版を使うことを推奨します。
    
    ///
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/testing.md

    {* ../../docs_src/app_testing/tutorial001_py310.py hl[2,12,15:18] *}
    
    /// tip | Tipp
    
    Beachten Sie, dass die Testfunktionen normal `def` und nicht `async def` sind.
    
    Und die Anrufe an den Client sind ebenfalls normale Anrufe, die nicht `await` verwenden.
    
    Dadurch können Sie `pytest` ohne Komplikationen direkt nutzen.
    
    ///
    
    /// note | Technische Details
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  9. scripts/deploy_docs_status.py

        run_id: int
        state: Literal["pending", "success", "error"] = "pending"
    
    
    class LinkData(BaseModel):
        previous_link: str
        preview_link: str
        en_link: str | None = None
    
    
    def main() -> None:
        logging.basicConfig(level=logging.INFO)
        settings = Settings()
    
        logging.info(f"Using config: {settings.model_dump_json()}")
        g = Github(auth=Auth.Token(settings.github_token.get_secret_value()))
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 30 05:56:53 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/http/NtlmHttpURLConnection.java

        @Override
        public int getHeaderFieldInt(final String header, final int def) {
            handshake();
            return this.connection.getHeaderFieldInt(header, def);
        }
    
        @Override
        public long getHeaderFieldDate(final String header, final long def) {
            handshake();
            return this.connection.getHeaderFieldDate(header, def);
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 25.6K bytes
    - Click Count (0)
Back to Top