- Sort Score
- Result 10 results
- Languages All
Results 621 - 630 of 1,456 for created (0.04 sec)
-
Charsets.java
(ISO-LATIN-1). L53: * L54: * <p><b>Note:</b> this constant is now unnecessary and should be treated as deprecated; use L55: * {@link StandardCharsets#ISO_8859_1} instead. L56: * L57: */ L58: public static final Charset ISO_8859_1 = StandardCharsets.ISO_8859_1; L59: L60: /** L61: * UTF-8: eight-bit UCS Transformation Format. L62: * L63: * <p><b>Note:</b> this constant is now unnecessary and should be treated as deprecated; use L64: * {@link StandardCharsets#UTF_8} instead. L65: * L66: ...github.com/google/guava/guava/src/com/google/co...Thu Jul 25 23:55:36 UTC 2024 3.9K bytes -
SingletonImmutableTableTest.java
ImmutableMap.of(1, "blah")), testTable.rowMap()); L70: } L71: L72: public void testEqualsObject() { L73: new EqualsTester() L74: .addEqualityGroup(testTable, HashBasedTable.create(testTable)) L75: .addEqualityGroup(ImmutableTable.of(), HashBasedTable.create()) L76: .addEqualityGroup(HashBasedTable.create(ImmutableTable.of('A', 2, ""))) L77: .testEquals(); L78: } L79: L80: @GwtIncompatible // ArrayTable L81: public void testEqualsObjectNullValues() { L82: new EqualsTester()...github.com/google/guava/android/guava-tests/tes...Sat Oct 19 00:05:46 UTC 2024 4K bytes -
FileOperatorTest.kt
operator.read(4, buffer, 19) L106: operator.write(80, buffer, buffer.size) L107: assertThat(snapshot()).isEqualTo( L108: ( L109: "" + L110: "god creates dinosaurs. " + L111: "god destroys dinosaurs. " + L112: "god creates man. " + L113: "man destroys god. " + L114: "man creates dinosaurs. " L115: ).encodeUtf8(), L116: ) L117: } L118: L119: @Test L120: fun multipleOperatorsShareOneFile() { L121: val operatorA = L122: FileOperator(...github.com/square/okhttp/okhttp/src/test/java/o...Mon Jan 08 01:13:22 UTC 2024 5.8K bytes -
CompactLinkedHashMapTest.java
suite.addTest( L42: MapTestSuiteBuilder.using( L43: new TestStringMapGenerator() { L44: @Override L45: protected Map<String, String> create(Entry<String, String>[] entries) { L46: Map<String, String> map = CompactLinkedHashMap.create(); L47: for (Entry<String, String> entry : entries) { L48: map.put(entry.getKey(), entry.getValue()); L49: } L50: ...github.com/google/guava/guava-tests/test/com/go...Sat Oct 19 00:05:46 UTC 2024 7.7K bytes -
MultisetIteratorTester.java
MODIFIABLE, L51: getSubjectGenerator().order(asList(e0(), e1(), e1(), e2())), L52: IteratorTester.KnownOrder.KNOWN_ORDER) { L53: @Override L54: protected Iterator<E> newTargetIterator() { L55: return getSubjectGenerator().create(e0(), e1(), e1(), e2()).iterator(); L56: } L57: }.test(); L58: } L59: L60: @CollectionFeature.Require(value = SUPPORTS_ITERATOR_REMOVE, absent = KNOWN_ORDER) L61: public void testRemovingIteratorUnknownOrder() { L62: new IteratorTester<E>(...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 4.4K bytes -
MapGenerators.java
TestStringMapGenerator { L76: @Override L77: protected Map<String, String> create(Entry<String, String>[] entries) { L78: return ImmutableMap.copyOf(asList(entries)); L79: } L80: } L81: L82: public static class ImmutableMapUnhashableValuesGenerator L83: extends TestUnhashableCollectionGenerator<Collection<UnhashableObject>> { L84: L85: @Override L86: public Collection<UnhashableObject> create(UnhashableObject[] elements) { L87: ImmutableMap.Builder<Integer, UnhashableObject>...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 8.5K bytes -
CompactHashSetTest.java
tHashSetTest.class); L58: suite.addTest( L59: SetTestSuiteBuilder.using( L60: new TestStringSetGenerator() { L61: @Override L62: protected Set<String> create(String[] elements) { L63: return CompactHashSet.create(asList(elements)); L64: } L65: }) L66: .named("CompactHashSet") L67: .withFeatures(allFeatures) L68: .createTestSuite()); L69: suite.addTest(...github.com/google/guava/guava-tests/test/com/go...Sat Oct 19 00:05:46 UTC 2024 4.6K bytes -
BiMapGenerators.java
Chan L34: */ L35:@GwtCompatible L36:@ElementTypesAreNonnullByDefault L37:public class BiMapGenerators { L38: public static class ImmutableBiMapGenerator extends TestStringBiMapGenerator { L39: @Override L40: protected BiMap<String, String> create(Entry<String, String>[] entries) { L41: ImmutableBiMap.Builder<String, String> builder = ImmutableBiMap.builder(); L42: for (Entry<String, String> entry : entries) { L43: checkNotNull(entry); L44: builder.put(entry.getKey(),...github.com/google/guava/android/guava-testlib/s...Sat Oct 19 00:05:46 UTC 2024 2.3K bytes -
EnumBiMap.java
fields L55: * themselves their proper values under GWT, since GWT's EnumMap does need the Class instance. L56: * L57: * Note that sometimes these fields *do* have correct values under J2CL: They will if the caller L58: * calls `create(Foo.class)`, rather than `create(map)`. That's fine; we just shouldn't rely on L59: * it. L60: */ L61: transient Class<K> keyTypeOrObjectUnderJ2cl; L62: transient Class<V> valueTypeOrObjectUnderJ2cl; L63: L64: /** L65: * Returns a new, empty {@code EnumBiMap}...github.com/google/guava/android/guava/src/com/g...Thu Aug 24 01:40:03 UTC 2023 6.3K bytes -
EnumBiMap.java
fields L55: * themselves their proper values under GWT, since GWT's EnumMap does need the Class instance. L56: * L57: * Note that sometimes these fields *do* have correct values under J2CL: They will if the caller L58: * calls `create(Foo.class)`, rather than `create(map)`. That's fine; we just shouldn't rely on L59: * it. L60: */ L61: transient Class<K> keyTypeOrObjectUnderJ2cl; L62: transient Class<V> valueTypeOrObjectUnderJ2cl; L63: L64: /** L65: * Returns a new, empty {@code EnumBiMap}...github.com/google/guava/guava/src/com/google/co...Thu Aug 24 01:40:03 UTC 2023 6.3K bytes