Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for x2 (0.01 sec)

  1. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

          int result = BigIntegerMath.log2(x, HALF_UP);
          BigInteger x2 = x.pow(2);
          // x^2 < 2^(2 * result + 1), or else we would have rounded up
          assertTrue(ZERO.setBit(2 * result + 1).compareTo(x2) > 0);
          // x^2 >= 2^(2 * result - 1), or else we would have rounded down
          assertTrue(result == 0 || ZERO.setBit(2 * result - 1).compareTo(x2) <= 0);
        }
      }
    
      public void testLog2HalfDown() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/LinearTransformation.java

         * must not both be identical to the values given in the first mapping. If only the {@code x}
         * values are identical, the transformation is vertical. If only the {@code y} values are
         * identical, the transformation is horizontal (i.e. the slope is zero).
         */
        public LinearTransformation and(double x2, double y2) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/BigIntegerMath.java

            //
            // To determine which side of logFloor.5 the logarithm is,
            // we compare x^2 to 2^(2 * logFloor + 1).
            BigInteger x2 = x.pow(2);
            int logX2Floor = x2.bitLength() - 1;
            return (logX2Floor < 2 * logFloor + 1) ? logFloor : logFloor + 1;
        }
        throw new AssertionError();
      }
    
      /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. maven-tests/mvnw.cmd

      $MAVEN_HOME_PARENT = "$env:MAVEN_USER_HOME/wrapper/dists/$distributionUrlNameMain"
    }
    $MAVEN_HOME_NAME = ([System.Security.Cryptography.MD5]::Create().ComputeHash([byte[]][char[]]$distributionUrl) | ForEach-Object {$_.ToString("x2")}) -join ''
    $MAVEN_HOME = "$MAVEN_HOME_PARENT/$MAVEN_HOME_NAME"
    
    if (Test-Path -Path "$MAVEN_HOME" -PathType Container) {
      Write-Verbose "found existing MAVEN_HOME at $MAVEN_HOME"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Throwables.java

       *     null}.
       */
      @Deprecated
      @J2ktIncompatible
      @GwtIncompatible // propagateIfInstanceOf
      public static <X1 extends Throwable, X2 extends Throwable> void propagateIfPossible(
          @Nullable Throwable throwable, Class<X1> declaredType1, Class<X2> declaredType2)
          throws X1, X2 {
        checkNotNull(declaredType2);
        propagateIfInstanceOf(throwable, declaredType1);
        propagateIfPossible(throwable, declaredType2);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

     * <li>A hyphen usually precedes a qualifier, and is always less important than digits/number. For example
     *   {@code 1.0.RC2 < 1.0-RC3 < 1.0.1}; but prefer {@code 1.0.0-RC2} over {@code 1.0.0.RC2}, and more
     *   generally: {@code 1.0.X2 < 1.0-X3 < 1.0.1} for any string {@code X}; but prefer {@code 1.0.0-X1}
     *   over {@code 1.0.0.X1}.</li>
     * </ul>
     *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        private final ImmutableLongArray parent;
    
        private AsList(ImmutableLongArray parent) {
          this.parent = parent;
        }
    
        // inherit: isEmpty, containsAll, toArray x2, iterator, listIterator, stream, forEach, mutations
    
        @Override
        public int size() {
          return parent.length();
        }
    
        @Override
        public Long get(int index) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/ImmutableIntArray.java

        private final ImmutableIntArray parent;
    
        private AsList(ImmutableIntArray parent) {
          this.parent = parent;
        }
    
        // inherit: isEmpty, containsAll, toArray x2, iterator, listIterator, stream, forEach, mutations
    
        @Override
        public int size() {
          return parent.length();
        }
    
        @Override
        public Integer get(int index) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    			}
    			for rm, x := range v.XferStats {
    				x2, ok := v2.XferStats[replication.MetricName(rm)]
    				if !ok {
    					x2 = replication.XferStats{}
    				}
    				x2.AvgRate += x.Avg
    				x2.CurrRate += x.Curr
    				if x.Peak > x2.PeakRate {
    					x2.PeakRate = x.Peak
    				}
    				v2.XferStats[replication.MetricName(rm)] = x2
    			}
    			sm.Metrics[dID] = v2
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
Back to top