Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3551 - 3560 of 4,228 for NAME (0.02 seconds)

  1. docs/tr/docs/advanced/advanced-python-types.md

    from typing import Optional
    
    
    def say_hi(name: Optional[str]):
        print(f"Hey {name}!")
    ```
    
    `name` parametresi `Optional[str]` olarak tanımlıdır; ancak isteğe bağlı değildir, parametre olmadan fonksiyonu çağıramazsınız:
    
    ```Python
    say_hi()  # Ah hayır, bu hata fırlatır! 😱
    ```
    
    `name` parametresi varsayılan bir değeri olmadığı için hâlâ zorunludur (yani *optional* değildir). Yine de `name`, değer olarak `None` kabul eder:
    
    ```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)
  2. src/test/java/jcifs/ResolverTypeTest.java

            assertEquals("RESOLVER_WINS", ResolverType.RESOLVER_WINS.name());
            assertEquals("RESOLVER_BCAST", ResolverType.RESOLVER_BCAST.name());
            assertEquals("RESOLVER_DNS", ResolverType.RESOLVER_DNS.name());
            assertEquals("RESOLVER_LMHOSTS", ResolverType.RESOLVER_LMHOSTS.name());
        }
    
        /**
         * Tests the ordinal values of the enum constants.
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/resources/eclipse.settings/org.eclipse.jdt.ui.prefs

    deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n *\n */</template><template autoinsert\="false" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n *\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment...
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.9K bytes
    - Click Count (0)
  4. docs/pt/docs/advanced/advanced-python-types.md

    ```python
    from typing import Optional
    
    
    def say_hi(name: Optional[str]):
        print(f"Hey {name}!")
    ```
    
    O parâmetro `name` é definido como `Optional[str]`, mas não é opcional; não é possível chamar a função sem o parâmetro:
    
    ```Python
    say_hi()  # Ah, não, isso gera um erro! 😱
    ```
    
    O parâmetro `name` continua obrigatório (não é opcional) porque não tem valor padrão. Ainda assim, `name` aceita `None` como valor:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/log/cbean/cq/bs/BsFavoriteLogCQ.java

        // ===================================================================================
        //                                                                       Name Override
        //                                                                       =============
        @Override
        public String asTableDbName() {
            return "favorite_log";
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 42.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       * multimap's key and value orderings correspond to the iteration ordering of the {@code
       * multimap.asMap()} view.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

            void testGetFileId() {
                assertArrayEquals(testFileId, response.getFileId());
            }
    
            @Test
            @DisplayName("getFileName should return the file name passed in constructor")
            void testGetFileName() {
                assertEquals(testFileName, response.getFileName());
            }
        }
    
        @Nested
        @DisplayName("writeBytesWireFormat Tests")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_body_updates/test_tutorial002.py

        )
        assert response.json() == {
            "name": "Fooz",
            "description": "Item description",
            "price": 3,
            "tax": 10.5,
            "tags": ["tag1", "tag2"],
        }
    
    
    def test_patch_name(client: TestClient):
        response = client.patch(
            "/items/bar",
            json={"name": "Barz"},
        )
        assert response.json() == {
            "name": "Barz",
            "description": "The bartenders",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ImmutableSet.java

        /*
         * TODO(lowasser): consider checking for ImmutableAsList here
         * TODO(lowasser): consider checking for Multiset here
         */
        // Don't refer to ImmutableSortedSet by name so it won't pull in all that code
        if (elements instanceof ImmutableSet && !(elements instanceof SortedSet)) {
          @SuppressWarnings("unchecked") // all supported methods are covariant
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Oct 11 14:54:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_bigger_applications/test_main.py

        response = client.get(
            "/items?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 200
        assert response.json() == {
            "plumbus": {"name": "Plumbus"},
            "gun": {"name": "Portal Gun"},
        }
    
    
    def test_items_with_no_token_jessica(client: TestClient):
        response = client.get("/items", headers={"X-Token": "fake-super-secret-token"})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 22.8K bytes
    - Click Count (0)
Back to Top