- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 500 for OS (0.02 sec)
-
lib/time/mkzip.go
// or the current time. package main import ( "archive/zip" "bytes" "flag" "fmt" "hash/crc32" "io/fs" "log" "os" "path/filepath" "strings" ) func usage() { fmt.Fprintf(os.Stderr, "usage: go run mkzip.go zoneinfo.zip\n") os.Exit(2) } func main() { log.SetPrefix("mkzip: ") log.SetFlags(0) flag.Usage = usage flag.Parse() args := flag.Args()
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Mar 04 17:32:07 UTC 2024 - 2.1K bytes - Viewed (0) -
docs/ja/docs/environment-variables.md
環境変数をPythonの**外側**、ターミナル(や他の方法)で作成し、**Python内で読み取る**こともできます。 例えば、以下のような`main.py`ファイルを用意します: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> の第2引数は、デフォルトで返される値を指定します。 この引数を省略するとデフォルト値として`None`が返されますが、ここではデフォルト値として`"World"`を指定しています。 ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Jan 27 15:39:04 UTC 2025 - 9.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-fields.md
Você pode então utilizar `Field` com atributos do modelo: {* ../../docs_src/body_fields/tutorial001.py hl[11:14] *} `Field` funciona da mesma forma que `Query`, `Path` e `Body`, ele possui todos os mesmos parâmetros, etc. /// note | Detalhes técnicos
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.1K bytes - Viewed (0) -
ci/official/utilities/convert_msys_paths_to_win_paths.py
This is necessary on Windows, because some applications do not understand/handle Linux-like paths MSYS uses, for example, Docker. """ import argparse import os def should_convert(var_name: str, blacklist: list[str] | None, whitelist_prefix: list[str] | None): """Check the variable name against white/black lists."""
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Wed Aug 07 23:01:25 UTC 2024 - 2.5K bytes - Viewed (0) -
src/archive/zip/example_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package zip_test import ( "archive/zip" "bytes" "compress/flate" "fmt" "io" "log" "os" ) func ExampleWriter() { // Create a buffer to write our archive to. buf := new(bytes.Buffer) // Create a new zip archive. w := zip.NewWriter(buf) // Add some files to the archive.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 27 00:22:03 UTC 2016 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/WriterUtil.java
* * @param os the stream (must not be {@literal null}) * @param encoding the encoding (must not be {@literal null} or empty) * @return a {@link Writer} to output to the stream */ public static Writer create(final OutputStream os, final String encoding) { assertArgumentNotNull("os", os); assertArgumentNotEmpty("encoding", encoding); try {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/util/UpdateWrapper.kt
package util import common.BuildToolBuildJvm import common.Os import common.VersionedSettingsBranch import common.javaHome import common.requiresOs import common.toCapitalized import jetbrains.buildServer.configs.kotlin.AbsoluteId import jetbrains.buildServer.configs.kotlin.BuildType import jetbrains.buildServer.configs.kotlin.ParameterDisplay import jetbrains.buildServer.configs.kotlin.buildSteps.exec
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Jul 24 03:08:48 UTC 2025 - 2.7K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/CheckLinks.kt
package configurations import common.Os import common.buildScanTagParam import model.CIBuildModel import model.Stage class CheckLinks( model: CIBuildModel, stage: Stage, ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, failStage = false, init = { id("${model.projectId}_CheckLinks") name = "CheckLinks" description = "Check links in documentations" applyDefaults( model,
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Tue Aug 26 11:35:04 UTC 2025 - 799 bytes - Viewed (0) -
docs/pt/docs/tutorial/path-params-numeric-validations.md
## Importe `Path` Primeiro, importe `Path` de `fastapi`: {* ../../docs_src/path_params_numeric_validations/tutorial001_py310.py hl[1] *} ## Declare metadados Você pode declarar todos os parâmetros da mesma maneira que na `Query`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.1K bytes - Viewed (0) -
src/cmd/asm/main.go
default: log.Printf("unknown setting -spectre=%s", *flags.Spectre) os.Exit(2) case "": // nothing case "index": // known to compiler; ignore here so people can use // the same list with -gcflags=-spectre=LIST and -asmflags=-spectrre=LIST case "all", "ret": ctxt.Retpoline = true } ctxt.Bso = bufio.NewWriter(os.Stdout) defer ctxt.Bso.Flush() architecture.Init(ctxt)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Sun Apr 13 15:09:12 UTC 2025 - 2.9K bytes - Viewed (0)