- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 1,480 for integer (0.1 sec)
-
android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
@Override public int add(E element, int occurrences) { checkArgument(occurrences >= 0); Integer frequency = backingMap.get(element); if (frequency == null) { frequency = 0; } if (occurrences == 0) { return frequency; } checkArgument(occurrences <= Integer.MAX_VALUE - frequency); backingMap.put(element, frequency + occurrences); return frequency; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsFileConfigCQ.java
return this; } public void setDepth_Equal(Integer depth) { setDepth_Term(depth, null); } public void setDepth_Equal(Integer depth, ConditionOptionCall<TermQueryBuilder> opLambda) { setDepth_Term(depth, opLambda); } public void setDepth_Term(Integer depth) { setDepth_Term(depth, null); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 165.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java
long r = 0; List<Facade<Integer>> list = new ArrayList<>(reps); for (int i = 0; i < reps; i++) { final Facade<Integer> localFuture = impl.newFacade(); list.add(localFuture); localFuture.setException(exception); } for (int i = 0; i < reps; i++) { Facade<Integer> facade = list.get(i); try { facade.get(); r++;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 3.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesFilterArrayListTest.java
public final class IterablesFilterArrayListTest extends AbstractFilteredIterableTest<Iterable<Integer>> { @Override Iterable<Integer> createUnfiltered(Iterable<Integer> contents) { return Lists.newArrayList(contents); } @Override Iterable<Integer> filter(Iterable<Integer> elements, Predicate<? super Integer> predicate) { return Iterables.filter(elements, predicate); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 16 21:55:55 UTC 2022 - 1.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/GraphMutationTest.java
testGraphMutation(GraphBuilder.undirected()); } private static void testGraphMutation(GraphBuilder<? super Integer> graphBuilder) { Random gen = new Random(42); // Fixed seed so test results are deterministic. for (int trial = 0; trial < NUM_TRIALS; ++trial) { MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build(); assertThat(graph.nodes()).isEmpty();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 18 16:17:46 UTC 2017 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java
return suite; } public void testInsertionOrder() { Map<Integer, String> map = CompactLinkedHashMap.create(); map.put(1, "a"); map.put(4, "b"); map.put(3, "d"); map.put(2, "c"); testHasMapEntriesInOrder(map, 1, "a", 4, "b", 3, "d", 2, "c"); } public void testInsertionOrderAfterPutKeyTwice() { Map<Integer, String> map = CompactLinkedHashMap.create(); map.put(1, "a");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.6K bytes - Viewed (0) -
tests/test_tutorial/test_handling_errors/test_tutorial004.py
or "'loc': ('path', 'item_id')" in response.text ) assert ( # TODO: remove when deprecating Pydantic v1 "value is not a valid integer" in response.text or "Input should be a valid integer, unable to parse string as an integer" in response.text ) def test_get_http_error(): response = client.get("/items/3") assert response.status_code == 418, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java
public SubMapMultimapAsMapImplementsMapTest() { super(true, true, true); } private TreeMultimap<String, Integer> createMultimap() { TreeMultimap<String, Integer> multimap = TreeMultimap.create( Ordering.<String>natural().nullsFirst(), Ordering.<Integer>natural().nullsFirst()); multimap.put("a", -1); multimap.put("a", -3); multimap.put("z", -2); return multimap; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/Collections2FilterArrayListTest.java
public final class Collections2FilterArrayListTest extends AbstractFilteredCollectionTest<Collection<Integer>> { @Override Collection<Integer> createUnfiltered(Iterable<Integer> contents) { return Lists.newArrayList(contents); } @Override Collection<Integer> filter(Collection<Integer> elements, Predicate<? super Integer> predicate) { return Collections2.filter(elements, predicate); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 16 21:55:55 UTC 2022 - 1.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
} private static Function<Integer, Integer> add(final int delta) { return new Function<Integer, Integer>() { @Override public Integer apply(Integer input) { return input + delta; } }; } private static AsyncCallable<Integer> asyncAdd( final ListenableFuture<Integer> future, final int delta, final Executor executor) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.7K bytes - Viewed (0)