Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 4,253 for Fname (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/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

        /**
         * Combines path and name to create a full object name.
         *
         * @param path the directory path
         * @param name the file or directory name
         * @return the full object name
         */
        public static String getObjectName(final String path, final String name) {
            return getPathPrefix(path) + name;
        }
    
        /**
         * Encodes an object name to a URL-safe base64 string.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  3. .github/workflows/test.yml

          STARLETTE_SRC: ${{ matrix.starlette-src }}
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v6
          - name: Set up Python
            uses: actions/setup-python@v6
            with:
              python-version: ${{ matrix.python-version }}
          - name: Setup uv
            uses: astral-sh/setup-uv@v7
            with:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

        /**
         * Sets the header named [name] to [value]. If this request already has any headers
         * with that name, they are all replaced.
         */
        open fun header(
          name: String,
          value: String,
        ) = apply {
          headers[name] = value
        }
    
        /**
         * Adds a header with [name] and [value]. Prefer this method for multiply-valued
         * headers like "Cookie".
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
  5. 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)
  6. docs_src/response_status_code/tutorial001_py310.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.post("/items/", status_code=201)
    async def create_item(name: str):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 145 bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

            // header names must be lowercase.
            val name = headers.name(i).lowercase(Locale.US)
            if (name !in HTTP_2_SKIPPED_REQUEST_HEADERS ||
              name == TE &&
              headers.value(i) == "trailers"
            ) {
              result.add(Header(name, headers.value(i)))
            }
          }
          return result
        }
    
        /** Returns headers for a name value block containing an HTTP/2 response. */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 29 21:11:09 GMT 2025
    - 7K bytes
    - Click Count (0)
  8. docs_src/additional_status_codes/tutorial001_an_py310.py

    app = FastAPI()
    
    items = {"foo": {"name": "Fighters", "size": 6}, "bar": {"name": "Tenders", "size": 3}}
    
    
    @app.put("/items/{item_id}")
    async def upsert_item(
        item_id: str,
        name: Annotated[str | None, Body()] = None,
        size: Annotated[int | None, Body()] = None,
    ):
        if item_id in items:
            item = items[item_id]
            item["name"] = name
            item["size"] = size
            return item
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 686 bytes
    - Click Count (0)
  9. internal/event/target/postgresql_test.go

    	invalidTables := []string{"table name", "table \"name\"", "✅✅", "$table$"}
    
    	for _, name := range validTables {
    		if err := validatePsqlTableName(name); err != nil {
    			t.Errorf("Should be valid: %s - %s", name, err)
    		}
    	}
    	for _, name := range invalidTables {
    		if err := validatePsqlTableName(name); err != errInvalidPsqlTablename {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsWebConfigCA.java

            }
        }
    
        public void scriptedMetric(String name, ConditionOptionCall<ScriptedMetricAggregationBuilder> opLambda) {
            ScriptedMetricAggregationBuilder builder = regScriptedMetricA(name);
            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void topHits(String name, ConditionOptionCall<TopHitsAggregationBuilder> opLambda) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 149K bytes
    - Click Count (0)
Back to Top