Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 859 for floats (0.13 sec)

  1. cmd/xl-storage-errors.go

    import (
    	"errors"
    	"os"
    	"runtime"
    	"syscall"
    )
    
    // No space left on device error
    func isSysErrNoSpace(err error) bool {
    	return errors.Is(err, syscall.ENOSPC)
    }
    
    // Invalid argument, unsupported flags such as O_DIRECT
    func isSysErrInvalidArg(err error) bool {
    	return errors.Is(err, syscall.EINVAL)
    }
    
    // Input/output error
    func isSysErrIO(err error) bool {
    	return errors.Is(err, syscall.EIO)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/body.md

    The function parameters will be recognized as follows:
    
    * If the parameter is also declared in the **path**, it will be used as a path parameter.
    * If the parameter is of a **singular type** (like `int`, `float`, `str`, `bool`, etc) it will be interpreted as a **query** parameter.
    * If the parameter is declared to be of the type of a **Pydantic model**, it will be interpreted as a request **body**.
    
    /// note
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:58:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/body.md

    Les paramètres de la fonction seront reconnus comme tel :
    
    * Si le paramètre est aussi déclaré dans le **chemin**, il sera utilisé comme paramètre de chemin.
    * Si le paramètre est d'un **type singulier** (comme `int`, `float`, `str`, `bool`, etc.), il sera interprété comme un paramètre de **requête**.
    * Si le paramètre est déclaré comme ayant pour type un **modèle Pydantic**, il sera interprété comme faisant partie du **corps** de la requête.
    
    /// note
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:34:41 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/path-params-numeric-validations.md

    同样的规则适用于:
    
    * `gt`:大于(`g`reater `t`han)
    * `le`:小于等于(`l`ess than or `e`qual)
    
    ```Python hl_lines="9"
    {!../../docs_src/path_params_numeric_validations/tutorial005.py!}
    ```
    
    ## 数值校验:浮点数、大于和小于
    
    数值校验同样适用于 `float` 值。
    
    能够声明 <abbr title="大于"><code>gt</code></abbr> 而不仅仅是 <abbr title="大于等于"><code>ge</code></abbr> 在这个前提下变得重要起来。例如,你可以要求一个值必须大于 `0`,即使它小于 `1`。
    
    因此,`0.5` 将是有效值。但是 `0.0`或 `0` 不是。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_experimental_test.cc

      CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_);
      TFE_OpSetAttrType(fill_op, "T", TF_FLOAT);
      TFE_OpSetAttrType(fill_op, "Tshape", TF_INT32);
    
      float five = 5.0;
      TFE_TensorHandle* scalar = TestScalarTensorHandle(tfe_context_, five);
      TF_Tensor* scalarTensor = TFE_TensorHandleResolve(scalar, status_);
      CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  6. docs/uk/docs/tutorial/body.md

    ////
    
    Параметри функції будуть розпізнаватися наступним чином:
    
    * Якщо параметр також оголошено в **шляху**, він використовуватиметься як параметр шляху.
    * Якщо параметр має **сингулярний тип** (наприклад, `int`, `float`, `str`, `bool` тощо), він буде інтерпретуватися як параметр **запиту**.
    * Якщо параметр оголошується як тип **Pydantic моделі**, він інтерпретується як **тіло** запиту.
    
    /// note
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. docs/fa/docs/features.md

        * JSON objects (`dict`)
        * آرایه های (‍‍‍‍`list`) JSON با قابلیت مشخص سازی تایپ ایتم های درون لیست.
        * فیلد های رشته (`str`)، به همراه مشخص سازی حداقل و حداکثر طول رشته.
        * اعداد (‍‍`int`,`float`) با حداقل و حداکثر مقدار و غیره.
    
    * اعتبارسنجی برای تایپ های عجیب تر، مثل:
        * URL.
        * Email.
        * UUID.
        * و غیره.
    
    تمام اعتبارسنجی ها توسط کتابخانه اثبات شده و قدرتمند **Pydantic** انجام میشود.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. src/main/webapp/css/admin/bootstrap.min.css

    l-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media (min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media (min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media (min-width:992px){.float-lg-left{float:lef...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 158.5K bytes
    - Viewed (0)
  9. internal/rest/client.go

    			attempt = 16
    		}
    		// sleep = random_between(unit, min(cap, base * 2 ** attempt))
    		sleep := unit * time.Duration(1<<attempt)
    		if sleep > cap {
    			sleep = cap
    		}
    		sleep -= time.Duration(r.Float64() * float64(sleep-unit))
    		return sleep
    	}
    }
    
    func (c *Client) runHealthCheck() bool {
    	// Start goroutine that will attempt to reconnect.
    	// If server is already trying to reconnect this will have no effect.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/spnego/NegTokenInit.java

            if ( this.getMechanismListMIC() != null ) {
                mic = Hexdump.toHexString(this.getMechanismListMIC(), 0, this.getMechanismListMIC().length);
            }
            return String.format("NegTokenInit[flags=%d,mechs=%s,mic=%s]", this.getContextFlags(), Arrays.toString(this.getMechanisms()), mic);
        }
    
    
        @Override
        public byte[] toByteArray () {
            try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top