Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for total (0.13 sec)

  1. guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

      }
    
      @Benchmark
      void charSplitter(int reps) {
        int total = 0;
    
        for (int i = 0; i < reps; i++) {
          total += Iterables.size(CHAR_SPLITTER.split(input));
        }
      }
    
      @Benchmark
      void stringSplitter(int reps) {
        int total = 0;
    
        for (int i = 0; i < reps; i++) {
          total += Iterables.size(STRING_SPLITTER.split(input));
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

      }
    
      @Benchmark
      void charSplitter(int reps) {
        int total = 0;
    
        for (int i = 0; i < reps; i++) {
          total += Iterables.size(CHAR_SPLITTER.split(input));
        }
      }
    
      @Benchmark
      void stringSplitter(int reps) {
        int total = 0;
    
        for (int i = 0; i < reps; i++) {
          total += Iterables.size(STRING_SPLITTER.split(input));
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

            buf.append("\"cpu\":{");
            append(buf, "percent", () -> processProbe.getProcessCpuPercent()).append(',');
            append(buf, "total", () -> processProbe.getProcessCpuTotalTime());
            buf.append("},");
            buf.append("\"virtual_memory\":{");
            append(buf, "total", () -> processProbe.getTotalVirtualMemorySize());
            buf.append('}');
            buf.append("},");
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/dict/DictTests.java

            String response = checkGetMethod(searchBody, "").asString();
            final int total = JsonPath.from(response).getInt("response.total");
            final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings");
            final int status = JsonPath.from(response).getInt("response.status");
            assertEquals(total, dicts.size());
            assertEquals(0, status);
        }
    
        @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

        for (Construction<T> pathway : constructions) {
          smallCounter.zero();
          pathway.create(haveSameHashesSmall);
          long smallOps = smallCounter.total();
    
          largeCounter.zero();
          pathway.create(haveSameHashesLarge);
          long largeOps = largeCounter.total();
    
          double ratio = (double) largeOps / smallOps;
          assertWithMessage(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/guide/PostExample.java

            + "'lastSaved':1367702411696,"
            + "'dateStarted':1367702378785,"
            + "'players':["
            + "{'name':'" + player1 + "','history':[10,8,6,7,8],'color':-13388315,'total':39},"
            + "{'name':'" + player2 + "','history':[6,10,5,10,10],'color':-48060,'total':41}"
            + "]}";
      }
    
      public static void main(String[] args) throws IOException {
        PostExample example = new PostExample();
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

    public class StopwatchBenchmark {
      @Benchmark
      long stopwatch(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
          Stopwatch s = Stopwatch.createStarted();
          // here is where you would do something
          total += s.elapsed(TimeUnit.NANOSECONDS);
        }
        return total;
      }
    
      @Benchmark
      long manual(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
          long start = System.nanoTime();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.5K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

    public class StopwatchBenchmark {
      @Benchmark
      long stopwatch(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
          Stopwatch s = Stopwatch.createStarted();
          // here is where you would do something
          total += s.elapsed(TimeUnit.NANOSECONDS);
        }
        return total;
      }
    
      @Benchmark
      long manual(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
          long start = System.nanoTime();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.5K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

            CharBuffer buf = CharStreams.createBuffer();
            long total = 0;
            while (from.read(buf) != -1) {
              ((Buffer) buf).flip();
              to.append(buf);
              total += buf.remaining();
              ((Buffer) buf).clear();
            }
            return total;
          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 18:59:54 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

            CharBuffer buf = CharStreams.createBuffer();
            long total = 0;
            while (from.read(buf) != -1) {
              ((Buffer) buf).flip();
              to.append(buf);
              total += buf.remaining();
              ((Buffer) buf).clear();
            }
            return total;
          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 23 18:59:54 GMT 2023
    - 3.2K bytes
    - Viewed (0)
Back to top