Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 540 for Sprintf (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. configure.py

        if user_input == 'y':
          print(yes_reply)
          var = True
        elif user_input == 'n':
          print(no_reply)
          var = False
        elif not user_input:
          if enabled_by_default:
            print(yes_reply)
            var = True
          else:
            print(no_reply)
            var = False
        else:
          print('Invalid selection: {}'.format(user_input_origin))
      return var
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Dec 19 16:32:04 GMT 2025
    - 48.3K bytes
    - Click Count (0)
  2. internal/s3select/sql/jsonpath_test.go

    				// fmt.Println(rec)
    				r, _, err := jsonpathEval(jp.PathExpr, rec)
    				if err != nil {
    					t.Errorf("Error: %d %d %v", i, j, err)
    				}
    				if !reflect.DeepEqual(r, tc.res[j]) {
    					fmt.Printf("%#v (%v) != %v (%v)\n", r, reflect.TypeOf(r), tc.res[j], reflect.TypeOf(tc.res[j]))
    					t.Errorf("case: %d %d failed", i, j)
    				}
    			}
    		})
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. scripts/add_latest_release_date.py

            if date_part:
                print(f"Latest release {version} already has a date: {date_part}")
                sys.exit(0)
    
            today = date.today().isoformat()
            lines[i] = f"## {version} ({today})\n"
            print(f"Added date: {version} ({today})")
    
            with open(RELEASE_NOTES_FILE, "w") as f:
                f.writelines(lines)
            sys.exit(0)
    
        print("No release header found")
        sys.exit(1)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:06:36 GMT 2026
    - 1023 bytes
    - Click Count (0)
  4. scripts/docs.py

        new_content = generate_readme_content()
        if new_content != old_content:
            print("README.md outdated from the latest index.md")
            print("Updating README.md")
            readme_path.write_text(new_content, encoding="utf-8")
            raise typer.Exit(1)
        print("README.md is up to date ✅")
    
    
    @app.command()
    def build_all() -> None:
        """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:46:10 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  5. docs_src/python_types/tutorial008_py310.py

    def process_items(prices: dict[str, float]):
        for item_name, item_price in prices.items():
            print(item_name)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 145 bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonAgainstSchemaTask.java

            } else {
                try (PrintWriter printWriter = new PrintWriter(getReport())) {
                    printWriter.printf("Schema: %s%n", jsonSchemaOnDisk);
                    printWriter.println("----------Validation Errors-----------");
                    errors.values().stream().flatMap(Collection::stream).forEach(printWriter::println);
                }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jul 28 11:09:58 GMT 2021
    - 5.4K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/resources/templates/release-notes-index.asciidoc

    [[es-release-notes]]
    = Release notes
    
    [partintro]
    --
    
    This section summarizes the changes in each release.
    
    <% versions.each { print "* <<release-notes-${ it }>>\n" } %>
    --
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 257 bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/TestTls13Request.kt

      OkHttpClient
        .Builder()
        .connectionSpecs(listOf(*specs))
        .build()
    
    private fun sendRequest(
      client: OkHttpClient,
      url: String,
    ) {
      System.out.printf("%-40s ", url)
      System.out.flush()
      println(Platform.get())
      val request =
        Request
          .Builder()
          .url(url)
          .build()
      try {
        client.newCall(request).execute().use { response ->
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu May 22 14:39:30 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. docs/de/docs/advanced/advanced-python-types.md

    Zum Beispiel könnten Sie deklarieren, dass etwas ein `str` oder `None` sein könnte:
    
    ```python
    from typing import Union
    
    
    def say_hi(name: Union[str, None]):
            print(f"Hi {name}!")
    ```
    
    `typing` hat außerdem eine Abkürzung, um zu deklarieren, dass etwas `None` sein könnte, mit `Optional`.
    
    Hier ist ein Tipp aus meiner sehr **subjektiven** Perspektive:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  10. docs/ru/docs/advanced/advanced-python-types.md

    Например, вы можете объявить, что значение может быть `str` или `None`:
    
    ```python
    from typing import Union
    
    
    def say_hi(name: Union[str, None]):
            print(f"Hi {name}!")
    ```
    
    В `typing` также есть сокращение, чтобы объявить, что значение может быть `None`, — `Optional`.
    
    Вот совет с моей очень субъективной точки зрения:
    
    - 🚨 Избегайте использования `Optional[SomeType]`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 19:57:34 GMT 2026
    - 3.3K bytes
    - Click Count (0)
Back to Top