Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AtomicLongMap (0.04 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

      public void testModify_basher() throws Exception {
        int nTasks = 3000;
        int nThreads = 100;
        int getsPerTask = 1000;
        int deltaRange = 10000;
        String key = "key";
    
        AtomicLongMap<String> map = AtomicLongMap.create();
    
        ExecutorService threadPool = newFixedThreadPool(nThreads);
        ArrayList<Future<Long>> futures = new ArrayList<>();
        for (int i = 0; i < nTasks; i++) {
          futures.add(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top