Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1041 - 1050 of 1,105 for errC (0.02 sec)

  1. buildscripts/minio-upgrade.sh

    #!/bin/bash
    
    trap 'cleanup $LINENO' ERR
    
    # shellcheck disable=SC2120
    cleanup() {
    	MINIO_VERSION=dev /tmp/gopath/bin/docker-compose \
    		-f "buildscripts/upgrade-tests/compose.yml" \
    		down || true
    
    	MINIO_VERSION=dev /tmp/gopath/bin/docker-compose \
    		-f "buildscripts/upgrade-tests/compose.yml" \
    		rm || true
    
    	for volume in $(docker volume ls -q | grep upgrade); do
    		docker volume rm ${volume} || true
    	done
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. docs/bucket/replication/delete-replication.sh

    #!/usr/bin/env bash
    
    echo "Running $0"
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		echo "dc1 server logs ========="
    		cat /tmp/dc1.log
    		echo "dc2 server logs ========="
    		cat /tmp/dc2.log
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	set +e
    	pkill minio
    	pkill mc
    	rm -rf /tmp/xl/
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. api/go1.15.txt

    pkg crypto/x509, type RevocationList struct, ThisUpdate time.Time
    pkg database/sql, method (*DB) SetConnMaxIdleTime(time.Duration)
    pkg database/sql, method (*Row) Err() error
    pkg database/sql, type DBStats struct, MaxIdleTimeClosed int64
    pkg database/sql/driver, type Validator interface { IsValid }
    pkg database/sql/driver, type Validator interface, IsValid() bool
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jul 17 02:15:01 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/testing.md

    │   ├── main.py
    │   └── test_main.py
    ```
    
    Digamos que agora o arquivo `main.py` com seu aplicativo **FastAPI** tenha algumas outras **operações de rotas**.
    
    Ele tem uma operação `GET` que pode retornar um erro.
    
    Ele tem uma operação `POST` que pode retornar vários erros.
    
    Ambas as *operações de rotas* requerem um cabeçalho `X-Token`.
    
    //// tab | Python 3.10+
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. src/main/assemblies/files/fess.in.bat

    @echo off
    
    if DEFINED JAVA_HOME goto cont
    
    :err
    ECHO JAVA_HOME environment variable must be set! 1>&2
    EXIT /B 1 
    
    :cont
    set SCRIPT_DIR=%~dp0
    for %%I in ("%SCRIPT_DIR%..") do set FESS_HOME=%%~dpfI
    
    
    REM ***** JAVA options *****
    
    if "%FESS_MIN_MEM%" == "" (
    set FESS_MIN_MEM=256m
    )
    
    if "%FESS_MAX_MEM%" == "" (
    set FESS_MAX_MEM=1g
    )
    
    if NOT "%FESS_HEAP_SIZE%" == "" (
    set FESS_MIN_MEM=%FESS_HEAP_SIZE%
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. cmd/admin-router.go

    	adminAPIClientDevExtraTime     = "/speedtest/client/devnull/extratime"
    )
    
    var gzipHandler = func() func(http.Handler) http.HandlerFunc {
    	gz, err := gzhttp.NewWrapper(gzhttp.MinSize(1000), gzhttp.CompressionLevel(gzip.BestSpeed))
    	if err != nil {
    		// Static params, so this is very unlikely.
    		logger.Fatal(err, "Unable to initialize server")
    	}
    	return gz
    }()
    
    // Set of handler options as bit flags
    type hFlag uint8
    
    const (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/extra-models.md

    Se estivesse em uma anotação de tipo, poderíamos ter usado a barra vertical, como:
    
    ```Python
    some_variable: PlaneItem | CarItem
    ```
    
    Mas se colocarmos isso em `response_model=PlaneItem | CarItem` teríamos um erro, pois o Python tentaria executar uma **operação inválida** entre `PlaneItem` e `CarItem` em vez de interpretar isso como uma anotação de tipo.
    
    ## Lista de modelos
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. src/cmd/cgo/doc.go

    function returns void). For example:
    
    	n, err = C.sqrt(-1)
    	_, err := C.voidFunc()
    	var n, err = C.sqrt(1)
    
    Note that the C errno value may be non-zero, and thus the err result may be
    non-nil, even if the function call is successful. Unlike normal Go conventions,
    you should first check whether the call succeeded before checking the error
    result. For example:
    
    	n, err := C.setenv(key, value, 1)
    	if n != 0 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
  9. cmd/metrics-resource.go

    	globalLocalDrivesMu.RLock()
    	localDrives := cloneDrives(globalLocalDrivesMap)
    	globalLocalDrivesMu.RUnlock()
    
    	for _, d := range localDrives {
    		di, err := d.DiskInfo(GlobalContext, DiskInfoOptions{})
    		labels := map[string]string{"drive": di.Endpoint}
    		if err == nil {
    			updateResourceMetrics(driveSubsystem, usedBytes, float64(di.Used), labels, false)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/security/oauth2-scopes.md

    Nós verificamos que nós obtemos um `username`, e extraímos os escopos.
    
    E depois nós validamos esse dado com o modelo Pydantic (capturando a exceção `ValidationError`), e se nós obtemos um erro ao ler o token JWT ou validando os dados com o Pydantic, nós levantamos a exceção `HTTPException` que criamos anteriormente.
    
    Para isso, nós atualizamos o modelo Pydantic `TokenData` com a nova propriedade `scopes`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top