Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 52 for Rounding (0.06 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

        assertThat(cookie.name).isEqualTo("a")
        assertThat(cookie.value).isEqualTo("android")
        assertThat(cookie.commentURL).isNull()
        assertThat(cookie.discard).isFalse()
        // Converting to a fixed date can cause rounding!
        assertThat(cookie.maxAge.toDouble()).isCloseTo(60.0, 5.0)
        assertThat(cookie.path).isEqualTo("/path")
        assertThat(cookie.secure).isTrue()
      }
    
      @Test
      fun testQuotedAttributeValues() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 19 07:46:39 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertThrows(IllegalArgumentException.class, () -> RateLimiter.create(1.0, -1, NANOSECONDS));
      }
    
      @AndroidIncompatible // difference in String.format rounding?
      public void testWarmUp() {
        RateLimiter limiter = RateLimiter.create(2.0, 4000, MILLISECONDS, 3.0, stopwatch);
        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // #1
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertThrows(IllegalArgumentException.class, () -> RateLimiter.create(1.0, -1, NANOSECONDS));
      }
    
      @AndroidIncompatible // difference in String.format rounding?
      public void testWarmUp() {
        RateLimiter limiter = RateLimiter.create(2.0, 4000, MILLISECONDS, 3.0, stopwatch);
        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // #1
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/Quantiles.java

            low = mid;
          } else {
            return mid; // allRequired[mid] = centerFloor, so we can't get closer than that
          }
        }
    
        // Now pick the closest of the two candidates. Note that there is no rounding here.
        if (from + to - allRequired[low] - allRequired[high] > 0) {
          return high;
        } else {
          return low;
        }
      }
    
      /** Swaps the values at {@code i} and {@code j} in {@code array}. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  5. doc/go_spec.html

    fused operation, possibly across statements, and produce a result that differs
    from the value obtained by executing and rounding the instructions individually.
    An explicit <a href="#Numeric_types">floating-point type</a> <a href="#Conversions">conversion</a> rounds to
    the precision of the target type, preventing fusion that would discard that rounding.
    </p>
    
    <p>
    For instance, some architectures provide a "fused multiply and add" (FMA) instruction
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
  6. RELEASE.md

            model is called for the first time.
    *   `tf.linalg`:
        *   Add `CompositeTensor` as a base class to `LinearOperator`.
    *   `tf.lite`:
        *   Fix mean op reference quantization rounding issue.
        *   Added `framework_stable` BUILD target, which links in only the
            non-experimental TF Lite APIs.
        *   Remove deprecated Java `Interpreter` methods:
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
  7. src/cmd/asm/internal/asm/testdata/riscv64.s

    	VASUBVV		V1, V2, V3			// d7a1202e
    	VASUBVV		V1, V2, V0, V3			// d7a1202c
    	VASUBVX		X10, V2, V3			// d761252e
    	VASUBVX		X10, V2, V0, V3			// d761252c
    
    	// 31.12.3: Vector Single-Width Fractional Multiply with Rounding and Saturation
    	VSMULVV		V1, V2, V3			// d781209e
    	VSMULVV		V1, V2, V0, V3			// d781209c
    	VSMULVX		X10, V2, V3			// d741259e
    	VSMULVX		X10, V2, V0, V3			// d741259c
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sat Apr 04 05:25:40 GMT 2026
    - 74.2K bytes
    - Click Count (0)
  8. docs/fr/docs/tutorial/static-files.md

    ///
    
    ### Qu'est-ce que « Mounting » { #what-is-mounting }
    
    « Mounting » signifie ajouter une application complète « indépendante » sur un chemin spécifique, qui se chargera ensuite de gérer tous les sous-chemins.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  9. docs/tr/docs/tutorial/static-files.md

    **FastAPI**, geliştirici olarak size kolaylık olsun diye `starlette.staticfiles`'ı `fastapi.staticfiles` olarak da sağlar. Ancak aslında doğrudan Starlette'den gelir.
    
    ///
    
    ### "Mounting" Nedir { #what-is-mounting }
    
    "Mounting", belirli bir path'te tamamen "bağımsız" bir uygulama eklemek ve sonrasında tüm alt path'leri handle etmesini sağlamak demektir.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/static-files.md

    /// note | 技术细节
    
    你也可以用 `from starlette.staticfiles import StaticFiles`。
    
    **FastAPI** 提供了和 `starlette.staticfiles` 相同的 `fastapi.staticfiles`,只是为了方便你这个开发者。但它确实直接来自 Starlette。
    
    ///
    
    ### 什么是“挂载”(Mounting) { #what-is-mounting }
    
    “挂载”表示在特定路径添加一个完全“独立”的应用,然后负责处理所有子路径。
    
    这与使用 `APIRouter` 不同,因为挂载的应用是完全独立的。主应用的 OpenAPI 和文档不会包含已挂载应用的任何内容,等等。
    
    你可以在[高级用户指南](../advanced/index.md)中了解更多。
    
    ## 细节 { #details }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 1.5K bytes
    - Click Count (0)
Back to Top