Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 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. android/guava/src/com/google/common/io/ByteStreams.java

        }
        checkPositionIndexes(off, off + len, b.length);
        int total = 0;
        while (total < len) {
          int result = in.read(b, off + total, len - total);
          if (result == -1) {
            break;
          }
          total += result;
        }
        return total;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

                fsObj.path = f.getAbsolutePath();
                fsObj.free = f.getFreeSpace();
                fsObj.total = f.getTotalSpace();
                fsObj.usable = f.getUsableSpace();
                fsObj.used = fsObj.total - fsObj.usable;
                fsObj.percent = (short) (100 * fsObj.used / fsObj.total);
                return fsObj;
            }).toArray(n -> new FsObj[n]);
        }
    
        private JvmObj getJvmObj() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  6. 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)
  7. guava/src/com/google/common/cache/CacheStats.java

     *             are incremented, and the total loading time, in nanoseconds, is added to {@code
     *             totalLoadTime}.
     *         <li>When an exception is thrown while loading an entry, {@code missCount} and {@code
     *             loadExceptionCount} are incremented, and the total loading time, in nanoseconds, is
     *             added to {@code totalLoadTime}.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheStats.java

     *             are incremented, and the total loading time, in nanoseconds, is added to {@code
     *             totalLoadTime}.
     *         <li>When an exception is thrown while loading an entry, {@code missCount} and {@code
     *             loadExceptionCount} are incremented, and the total loading time, in nanoseconds, is
     *             added to {@code totalLoadTime}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

            protected List<T> settings;
            protected long total = 0;
    
            public ApiConfigsResponse<T> settings(final List<T> settings) {
                this.settings = settings;
                this.total = settings.size();
                return this;
            }
    
            public ApiConfigsResponse<T> total(final long total) {
                this.total = total;
                return this;
            }
    
            @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  10. 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)
Back to top