- Sort Score
- Result 10 results
- Languages All
Results 631 - 640 of 1,456 for created (0.04 sec)
-
HashMultisetTest.java
TestStringMultisetGenerator hashMultisetGenerator() { L65: return new TestStringMultisetGenerator() { L66: @Override L67: protected Multiset<String> create(String[] elements) { L68: return HashMultiset.create(asList(elements)); L69: } L70: }; L71: } L72: L73: public void testCreate() { L74: Multiset<String> multiset = HashMultiset.create(); L75: multiset.add("foo", 2); L76: multiset.add("bar"); L77: assertEquals(3, multiset.size()); L78: assertEquals(2, multiset.count("foo"));...github.com/google/guava/android/guava-tests/tes...Sat Oct 19 00:05:46 UTC 2024 4.4K bytes -
ConcurrentHashMultisetTest.java
TestStringMultisetGenerator() { L79: @Override L80: protected Multiset<String> create(String[] elements) { L81: return ConcurrentHashMultiset.create(asList(elements)); L82: } L83: }; L84: } L85: L86: private static TestStringMultisetGenerator concurrentSkipListMultisetGenerator() { L87: return new TestStringMultisetGenerator() { L88: @Override L89: protected Multiset<String> create(String[] elements) { L90: Multiset<String> multiset = L91: new C...github.com/google/guava/guava-tests/test/com/go...Wed Sep 06 17:04:31 UTC 2023 14.2K bytes -
LinkedHashMultisetTest.java
return suite; L62: } L63: L64: private static TestStringMultisetGenerator linkedHashMultisetGenerator() { L65: return new TestStringMultisetGenerator() { L66: @Override L67: protected Multiset<String> create(String[] elements) { L68: return LinkedHashMultiset.create(asList(elements)); L69: } L70: L71: @Override L72: public List<String> order(List<String> insertionOrder) { L73: List<String> order = Lists.newArrayList(); L74: for (String s : insertionOrder)...github.com/google/guava/guava-tests/test/com/go...Sat Oct 19 00:05:46 UTC 2024 4.5K bytes -
MultimapsTest.java
L122: checkUnmodifiableMultimap( L123: ArrayListMultimap.<@Nullable String, @Nullable Integer>create(), true); L124: } L125: L126: @J2ktIncompatible L127: @GwtIncompatible // SerializableTester L128: public void testSerializingUnmodifiableArrayListMultimap() { L129: Multimap<String, Integer> unmodifiable = L130: prepareUnmodifiableTests(ArrayListMultimap.<String, Integer>create(), true, null, null); L131: SerializableTester.reserializeAndAssert(unmodifiable); L132: } L133:...github.com/google/guava/android/guava-tests/tes...Wed Oct 30 16:15:19 UTC 2024 38.4K bytes -
BsBadWordCA.java
} L112: L113: public void setCreatedBy_Terms(ConditionOptionCall<TermsAggregationBuilder> opLambda) { L114: setCreatedBy_Terms("createdBy", opLambda, null); L115: } L116: L117: public void setCreatedBy_Terms(ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsBadWordCA> aggsLambda) { L118: setCreatedBy_Terms("createdBy", opLambda, aggsLambda); L119: } L120: L121: public void setCreatedBy_Terms(String name, ConditionOptionCall<TermsAggregationBuilder>...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 46.6K bytes -
OneSizeGenerator.java
generator.samples(); L53: } L54: L55: @Override L56: public T create(Object... elements) { L57: return generator.create(elements); L58: } L59: L60: @Override L61: public E[] createArray(int length) { L62: return generator.createArray(length); L63: } L64: L65: @Override L66: public T createTestSubject() { L67: Collection<E> elements = getSampleElements(getCollectionSize().getNumElements()); L68: return generator.create(elements.toArray()); L69: } L70: L71: @Override L72: public...github.com/google/guava/android/guava-testlib/s...Sat Oct 19 00:05:46 UTC 2024 2.5K bytes -
TestEnumMapGenerator.java
L45: L46: @Override L47: public final Map<AnEnum, String> create(Object... entries) { L48: @SuppressWarnings("unchecked") L49: Entry<AnEnum, String>[] array = (Entry<AnEnum, String>[]) new Entry<?, ?>[entries.length]; L50: int i = 0; L51: for (Object o : entries) { L52: @SuppressWarnings("unchecked") L53: Entry<AnEnum, String> e = (Entry<AnEnum, String>) o; L54: array[i++] = e; L55: } L56: return create(array); L57: } L58: L59: protected abstract Map<AnEnum, String>...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 2.5K bytes -
preinst
# Debian #################################################### L30: install|upgrade) L31: L32: # Create fess group if not existing L33: if ! getent group "$FESS_GROUP" > /dev/null 2>&1 ; then L34: echo -n "Creating $FESS_GROUP group..." L35: addgroup --quiet --system "$FESS_GROUP" L36: echo " OK" L37: fi L38: L39: # Create fess user if not existing L40: if ! id $FESS_USER > /dev/null 2>&1 ; then L41: echo -n "Creating...github.com/codelibs/fess/src/packaging/common/s...Thu Dec 01 09:48:15 UTC 2016 2.3K bytes -
LinkedHashMultisetTest.java
return suite; L62: } L63: L64: private static TestStringMultisetGenerator linkedHashMultisetGenerator() { L65: return new TestStringMultisetGenerator() { L66: @Override L67: protected Multiset<String> create(String[] elements) { L68: return LinkedHashMultiset.create(asList(elements)); L69: } L70: L71: @Override L72: public List<String> order(List<String> insertionOrder) { L73: List<String> order = Lists.newArrayList(); L74: for (String s : insertionOrder)...github.com/google/guava/android/guava-tests/tes...Sat Oct 19 00:05:46 UTC 2024 4.5K bytes -
AbstractCache.java
{ L203: private final LongAddable hitCount = LongAddables.create(); L204: private final LongAddable missCount = LongAddables.create(); L205: private final LongAddable loadSuccessCount = LongAddables.create(); L206: private final LongAddable loadExceptionCount = LongAddables.create(); L207: private final LongAddable totalLoadTime = LongAddables.create(); L208: private final LongAddable evictionCount = LongAddables.create(); L209: L210: /** Constructs an instance with all counts...github.com/google/guava/android/guava/src/com/g...Tue Jun 15 18:00:07 UTC 2021 9.1K bytes