Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1201 - 1210 of 2,800 for int3 (0.03 sec)

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

     */
    final class MathBenchmarking {
      static final int ARRAY_SIZE = 0x10000;
      static final int ARRAY_MASK = 0x0ffff;
      static final Random RANDOM_SOURCE = new Random(314159265358979L);
      static final int MAX_EXPONENT = 100;
    
      /*
       * Duplicated from LongMath.
       * binomial(biggestBinomials[k], k) fits in a long, but not
       * binomial(biggestBinomials[k] + 1, k).
       */
      static final int[] biggestBinomials = {
        Integer.MAX_VALUE,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

    @RunWith(JUnit4.class)
    
    public final class NetworkMutationTest {
      private static final int NUM_TRIALS = 5;
      private static final int NUM_NODES = 20;
      private static final int NUM_EDGES = 100;
      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
      public void directedNetwork() {
        testNetworkMutation(NetworkBuilder.directed());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 10 19:42:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

     * returning more-or-less the same answers.
     */
    public class QuantilesAlgorithmTest extends TestCase {
    
      private static final Random RNG = new Random(82674067L);
      private static final int DATASET_SIZE = 1000;
      private static final double ALLOWED_ERROR = 1.0e-10;
      private static final QuantilesAlgorithm REFERENCE_ALGORITHM = QuantilesAlgorithm.SORTING;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          expectFailure(platformMatches(OPENJSSE_PROPERTY))
        }
    
        fun expectFailureFromJdkVersion(majorVersion: Int) {
          if (!TestUtil.isGraalVmImage) {
            expectFailure(fromMajor(majorVersion))
          }
        }
    
        fun expectFailureOnJdkVersion(majorVersion: Int) {
          if (!TestUtil.isGraalVmImage) {
            expectFailure(onMajor(majorVersion))
          }
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      fun tearDown() {
        taskQueue.shutdown()
        taskQueue.idleLatch().await(10, TimeUnit.SECONDS)
      }
    
      @Synchronized fun sentPingCount(): Int = sentPingCount
    
      @Synchronized fun receivedPingCount(): Int = receivedPingCount
    
      @Synchronized fun receivedPongCount(): Int = receivedPongCount
    
      @Throws(IOException::class)
      override fun onReadMessage(text: String) {
        listener.onMessage(this, text)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTree.java

    class SmbTree {
    
        private static int tree_conn_counter;
    
        /* 0 - not connected
         * 1 - connecting
         * 2 - connected
         * 3 - disconnecting
         */
        int connectionState;
        int tid;
    
        String share;
        String service = "?????";
        String service0;
        SmbSession session;
        boolean inDfs, inDomainDfs;
        int tree_num; // used by SmbFile.isOpen
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            return false;
        }
    
        public static String toSnapshotVersion(String version) {
            notBlank(version, "version can neither be null, empty nor blank");
    
            int lastHyphen = version.lastIndexOf('-');
            if (lastHyphen > 0) {
                int prevHyphen = version.lastIndexOf('-', lastHyphen - 1);
                if (prevHyphen > 0) {
                    Matcher m = Artifact.VERSION_FILE_PATTERN.matcher(version);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java

      }
    
      @Benchmark
      void longEqualJava(int reps) {
        for (int i = 0; i < reps; ++i) {
          if (javaImpl.compare(ba1, ba2) != 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      @Benchmark
      void longEqualUnsafe(int reps) {
        for (int i = 0; i < reps; ++i) {
          if (unsafeImpl.compare(ba1, ba2) != 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/TypesTest.java

        Type jvmType = new TypeCapture<int[][]>() {}.capture();
        Type ourType = Types.newArrayType(int[].class);
        assertEquals(jvmType.toString(), ourType.toString());
        new EqualsTester().addEqualityGroup(jvmType, ourType).testEquals();
      }
    
      public void testNewArrayType_primitive() {
        Type jvmType = new TypeCapture<int[]>() {}.capture();
        Type ourType = Types.newArrayType(int.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/TypesTest.java

        Type jvmType = new TypeCapture<int[][]>() {}.capture();
        Type ourType = Types.newArrayType(int[].class);
        assertEquals(jvmType.toString(), ourType.toString());
        new EqualsTester().addEqualityGroup(jvmType, ourType).testEquals();
      }
    
      public void testNewArrayType_primitive() {
        Type jvmType = new TypeCapture<int[]>() {}.capture();
        Type ourType = Types.newArrayType(int.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top