Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 500 for os (0.01 sec)

  1. cmd/xl-storage-errors_test.go

    package cmd
    
    import (
    	"os"
    	"runtime"
    	"syscall"
    	"testing"
    )
    
    func TestSysErrors(t *testing.T) {
    	pathErr := &os.PathError{Err: syscall.ENAMETOOLONG}
    	ok := isSysErrTooLong(pathErr)
    	if !ok {
    		t.Fatalf("Unexpected error expecting %s", syscall.ENAMETOOLONG)
    	}
    	pathErr = &os.PathError{Err: syscall.ENOTDIR}
    	ok = isSysErrNotDir(pathErr)
    	if !ok {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  2. 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)
  3. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                    org.apache.maven.model.ActivationOS os = new org.apache.maven.model.ActivationOS();
    
                    os.setArch(profileOs.getArch());
                    os.setFamily(profileOs.getFamily());
                    os.setName(profileOs.getName());
                    os.setVersion(profileOs.getVersion());
    
                    activation.setOs(os);
                }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. cmd/xl-storage_noatime_notsupported.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"os"
    )
    
    var (
    	// No special option for reads on windows
    	readMode = os.O_RDONLY
    
    	// Write with sync no buffering only used only for `xl.meta` writes
    	writeMode = os.O_SYNC
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jul 23 16:36:24 UTC 2024
    - 1001 bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/request-form-models.md

    Você precisa apenas declarar um **modelo Pydantic** com os campos que deseja receber como **campos de formulários**, e então declarar o parâmetro como um `Form`:
    
    {* ../../docs_src/request_form_models/tutorial001_an_py39.py hl[9:11,15] *}
    
    O **FastAPI** irá **extrair** as informações para **cada campo** dos **dados do formulário** na requisição e dar para você o modelo Pydantic que você definiu.
    
    ## Confira os Documentos
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. 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)
  7. docs/pt/docs/tutorial/schema-extra-example.md

    ### Exemplos na UI da documentação
    
    Com `examples` adicionado a `Body()`, os `/docs` vão ficar assim:
    
    <img src="/img/tutorial/body-fields/image02.png">
    
    ## Detalhes técnicos
    
    /// warning | Atenção
    
    Esses são detalhes muito técnicos sobre os padrões **JSON Schema** e **OpenAPI**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. 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)
  9. .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)
  10. .github/workflows/upgrade-ci-cd.yaml

      cancel-in-progress: true
    
    permissions:
      contents: read
    
    jobs:
      build:
        name: Go ${{ matrix.go-version }} on ${{ matrix.os }}
        runs-on: ${{ matrix.os }}
        strategy:
          matrix:
            go-version: [1.24.x]
            os: [ubuntu-latest]
    
        steps:
          - uses: actions/checkout@v4
          - uses: actions/setup-go@v5
            with:
              go-version: ${{ matrix.go-version }}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 729 bytes
    - Viewed (0)
Back to top