- Sort Score
- Result 10 results
- Languages All
Results 3131 - 3140 of 3,883 for void (0.03 sec)
-
android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
int size; @Param({"2", "20"}) int nonAlphaRatio; // one non-alpha char per this many chars @Param boolean noWorkToDo; Random random; String testString; @BeforeExperiment void setUp() { random = new Random(0xdeadbeef); // fix the seed so results are comparable across runs int nonAlpha = size / nonAlphaRatio; int alpha = size - nonAlpha;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
@Param({"3", "30", "300"}) int count; @Param({"0", "1", "16", "32", "100"}) int componentLength; private Iterable<String> components; @BeforeExperiment void setUp() { String component = Strings.repeat("a", componentLength); String[] raw = new String[count]; Arrays.fill(raw, component); components = Arrays.asList(raw); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java
@Param Topology topology; @Param({"1", "100", "10000", "1000000"}) int size; @Param Traversal traversal; @Param({"1234"}) SpecialRandom rng; @BeforeExperiment void setUp() { this.view = traversal.view(topology.createTree(size, rng).get(), VIEWER); } @Benchmark int traversal(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 26 19:18:53 UTC 2019 - 4.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
"net", "primitives", "reflect", "util.concurrent", "xml") .transform("com.google.common."::concat) .toSet(); public void testClassesHaveOverrides() throws Exception { for (ClassInfo info : ClassPath.from(getClass().getClassLoader()).getAllClasses()) { if (!GUAVA_PACKAGES.contains(info.getPackageName())) { continue; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 18:53:31 UTC 2024 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/QueryCommand.java
public abstract class QueryCommand { public abstract QueryBuilder execute(final QueryContext context, final Query query, final float boost); protected abstract String getQueryClassName(); public void register() { ComponentUtil.getQueryProcessor().add(getQueryClassName(), this); } protected QueryFieldConfig getQueryFieldConfig() { return ComponentUtil.getQueryFieldConfig(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 6.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java
return line.substring(0, commentIndex); } return line; } public boolean isEnabled() { return enabled; } public void setEnabled(final boolean enabled) { this.enabled = enabled; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 6.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeBasedTable.java
} @CheckForNull transient SortedMap<C, V> wholeRow; // If the row was previously empty, we check if there's a new row here every time we're queried. void updateWholeRowField() { if (wholeRow == null || (wholeRow.isEmpty() && backingMap.containsKey(rowKey))) { wholeRow = (SortedMap<C, V>) backingMap.get(rowKey); } } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.5K bytes - Viewed (0) -
guava/src/com/google/common/math/PairedStatsAccumulator.java
private final StatsAccumulator yStats = new StatsAccumulator(); private double sumOfProductsOfDeltas = 0.0; /** Adds the given pair of values to the dataset. */ public void add(double x, double y) { // We extend the recursive expression for the one-variable case at Art of Computer Programming // vol. 2, Knuth, 4.2.2, (16) to the two-variable case. We have two value series x_i and y_i.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 17:02:53 UTC 2023 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/SignedBytes.java
* * @since 23.1 */ public static void sortDescending(byte[] array) { checkNotNull(array); sortDescending(array, 0, array.length); } /** * Sorts the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex} * exclusive in descending order. * * @since 23.1 */ public static void sortDescending(byte[] array, int fromIndex, int toIndex) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 7.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
this.timeoutFutureRef = timeoutFuture; } @Override // TODO: b/227335009 - Maybe change interruption behavior, but it requires thought. @SuppressWarnings("Interruption") public void run() { // If either of these reads return null then we must be after a successful cancel or another // call to this method. TimeoutFuture<V> timeoutFuture = timeoutFutureRef;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 8.1K bytes - Viewed (0)