Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 678 for counts (0.07 sec)

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

        CountingRunnable listener = new CountingRunnable();
        future.addListener(listener, directExecutor());
        assertEquals(1, listener.count);
      }
    
      private static final class CountingRunnable implements Runnable {
        int count;
    
        @Override
        public void run() {
          count++;
        }
      }
    
      @AndroidIncompatible // Mocking ExecutorService is forbidden there. TODO(b/218700094): Don't mock.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

                AtomicInteger count = new AtomicInteger();
                String[] queryLogs = new String[] { field + ":検索", field + ":fess", field + ":検索エンジン" };
    
                @Override
                public QueryLog read() {
                    if (count.get() >= queryLogs.length) {
                        return null;
                    }
                    return new QueryLog(queryLogs[count.getAndIncrement()], null);
                }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

            requireNonNull(thread);
            if (nameFormat != null) {
              // requireNonNull is safe because we create `count` if (and only if) we have a nameFormat.
              thread.setName(format(nameFormat, requireNonNull(count).getAndIncrement()));
            }
            if (daemon != null) {
              thread.setDaemon(daemon);
            }
            if (priority != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 14 22:50:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

            return roles;
        }
    
        public SuggestItem toSuggestItem() {
            final String[][] readingArray =
                    this.getReadings().stream().map(reading -> new String[] { reading }).toArray(count -> new String[count][]);
            return new SuggestItem(new String[] { this.getElevateWord() }, readingArray, fields.toArray(new String[fields.size()]), 1, 0,
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/UniAddress.java

                }
                resolveOrder = new int[i];
                System.arraycopy( tmp, 0, resolveOrder, 0, i );
            }
        }
    
        static class Sem {
            Sem( int count ) {
                this.count = count;
            }
            int count;
        }
    
        static class QueryThread extends Thread {
        
            Sem sem;
            String host, scope;
            int type;
            NbtAddress ans = null;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        }
      }
    
      private static final class CountingRunnable implements Runnable {
        int count;
    
        @Override
        public void run() {
          count++;
        }
    
        void assertNotRun() {
          assertEquals(0, count);
        }
    
        void assertRun() {
          assertEquals(1, count);
        }
      }
    
      private static void assertSetAsynchronously(AbstractFuture<Integer> future) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

        public boolean setCount(T element, int oldCount, int newCount) {
          return standardSetCount(element, oldCount, newCount);
        }
    
        @Override
        public int setCount(T element, int count) {
          return standardSetCount(element, count);
        }
    
        @Override
        public Set<T> elementSet() {
          return new StandardElementSet();
        }
    
        @Override
        public Iterator<T> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. tests/non_std_test.go

    		t.Errorf("UpdatedAt should be updated")
    	}
    
    	var animals []Animal
    	DB.Find(&animals)
    	if count := DB.Model(Animal{}).Where("1=1").Update("CreatedAt", time.Now().Add(2*time.Hour)).RowsAffected; count != int64(len(animals)) {
    		t.Error("RowsAffected should be correct when do batch update")
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. manifests/addons/dashboards/pilot.libsonnet

          panels.timeSeries.base('CPU Usage', queries.cpuUsage, 'CPU usage of each running instance'),
          panels.timeSeries.base('Goroutines', queries.goroutines, 'Goroutine count for each running instance'),
        ]),
      ], panelHeight=10, startY=1)
      + g.util.grid.makeGrid([
        row.new('Push Information')
        + row.withPanels([
          panels.timeSeries.xdsPushes(
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. cmd/metrics-v3-cluster-erasure-set.go

    		"Write quorum for the erasure set in a pool", poolIDL, setIDL)
    	erasureSetOnlineDrivesCountMD = NewGaugeMD(erasureSetOnlineDrivesCount,
    		"Count of online drives in the erasure set in a pool", poolIDL, setIDL)
    	erasureSetHealingDrivesCountMD = NewGaugeMD(erasureSetHealingDrivesCount,
    		"Count of healing drives in the erasure set in a pool", poolIDL, setIDL)
    	erasureSetHealthMD = NewGaugeMD(erasureSetHealth,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 14 07:25:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top