Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 306 for rounding (0.08 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. fastapi/routing.py

    from starlette.routing import (
        BaseRoute,
        Match,
        compile_path,
        get_name,
    )
    from starlette.routing import Mount as Mount  # noqa
    from starlette.types import AppType, ASGIApp, Lifespan, Receive, Scope, Send
    from starlette.websockets import WebSocket
    from typing_extensions import deprecated
    
    
    # Copy of starlette.routing.request_response modified to include the
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        private final CountDownLatch stopLatch = new CountDownLatch(1);
    
        private volatile boolean running = false;
    
        @Override
        public @Nullable Void call() throws InterruptedException {
          running = true;
          startLatch.countDown();
          stopLatch.await();
          running = false;
          return null;
        }
    
        void waitForStart() throws InterruptedException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  10. docs/ru/docs/advanced/sub-applications.md

    ## Монтирование приложения **FastAPI** { #mounting-a-fastapi-application }
    
    «Монтирование» означает добавление полностью независимого приложения по конкретному пути; далее оно будет обрабатывать всё под этим путём, используя объявленные в подприложении _операции пути_.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 4.6K bytes
    - Click Count (0)
Back to Top