Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for resiliency (0.26 sec)

  1. go.mod

    	github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
    	github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect
    	github.com/docker/go-units v0.5.0 // indirect
    	github.com/eapache/go-resiliency v1.7.0 // indirect
    	github.com/eapache/go-xerial-snappy v0.0.0-20230731223053-c322873962e3 // indirect
    	github.com/eapache/queue v1.1.0 // indirect
    	github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. internal/ioutil/ioutil.go

    	}()
    
    	select {
    	case v := <-c:
    		return v.val, v.err
    	case <-ctx.Done():
    		var zero V
    		return zero, ctx.Err()
    	}
    }
    
    // DeadlineWorker implements the deadline/timeout resiliency pattern.
    type DeadlineWorker struct {
    	timeout time.Duration
    }
    
    // NewDeadlineWorker constructs a new DeadlineWorker with the given timeout.
    // To return values, use the WithDeadline helper instead.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/IntMathTest.java

        assertEquals(
            "The mean of x and y should equal the mean of y and x", expectedMean, IntMath.mean(y, x));
      }
    
      /**
       * Computes the mean in a way that is obvious and resilient to overflow by using BigInteger
       * arithmetic.
       */
      private static int computeMeanSafely(int x, int y) {
        BigInteger bigX = BigInteger.valueOf(x);
        BigInteger bigY = BigInteger.valueOf(y);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/IntMathTest.java

        assertEquals(
            "The mean of x and y should equal the mean of y and x", expectedMean, IntMath.mean(y, x));
      }
    
      /**
       * Computes the mean in a way that is obvious and resilient to overflow by using BigInteger
       * arithmetic.
       */
      private static int computeMeanSafely(int x, int y) {
        BigInteger bigX = BigInteger.valueOf(x);
        BigInteger bigY = BigInteger.valueOf(y);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/LongMathTest.java

        assertEquals(
            "The mean of x and y should equal the mean of y and x", expectedMean, LongMath.mean(y, x));
      }
    
      /**
       * Computes the mean in a way that is obvious and resilient to overflow by using BigInteger
       * arithmetic.
       */
      private static long computeMeanSafely(long x, long y) {
        BigInteger bigX = BigInteger.valueOf(x);
        BigInteger bigY = BigInteger.valueOf(y);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/LongMath.java

      static boolean fitsInInt(long x) {
        return (int) x == x;
      }
    
      /**
       * Returns the arithmetic mean of {@code x} and {@code y}, rounded toward negative infinity. This
       * method is resilient to overflow.
       *
       * @since 14.0
       */
      public static long mean(long x, long y) {
        // Efficient method for computing the arithmetic mean.
        // The alternative (x + y) / 2 fails for large values.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/LongMath.java

      static boolean fitsInInt(long x) {
        return (int) x == x;
      }
    
      /**
       * Returns the arithmetic mean of {@code x} and {@code y}, rounded toward negative infinity. This
       * method is resilient to overflow.
       *
       * @since 14.0
       */
      public static long mean(long x, long y) {
        // Efficient method for computing the arithmetic mean.
        // The alternative (x + y) / 2 fails for large values.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top