- Sort Score
- Result 10 results
- Languages All
Results 2011 - 2020 of 2,850 for createG (0.17 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
@CollectionFeature.Require(ALLOWS_NULL_VALUES) public void testEquals_containingNull() { Collection<E> elements = getSampleElements(getNumElements() - 1); elements.add(null); collection = getSubjectGenerator().create(elements.toArray()); assertTrue( "A Set should equal any other Set containing the same elements," + " even if some elements are null.", getSet().equals(MinimalSet.from(elements))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java
4)) .expect(1.0, 1.0, 2.0, 3.0); } public void testMultisetsSpliterator() { Multiset<String> multiset = TreeMultiset.create(); multiset.add("a", 3); multiset.add("b", 1); multiset.add("c", 2); List<String> actualValues = new ArrayList<>(); multiset.spliterator().forEachRemaining(actualValues::add);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java
@J2ktIncompatible @AndroidIncompatible // test-suite builders public static class ImmutableEnumMapGenerator extends TestEnumMapGenerator { @Override protected Map<AnEnum, String> create(Entry<AnEnum, String>[] entries) { Map<AnEnum, String> map = new HashMap<>(); for (Entry<AnEnum, String> entry : entries) { map.put(entry.getKey(), entry.getValue()); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
@CollectionFeature.Require(ALLOWS_NULL_VALUES) public void testEquals_containingNull() { Collection<E> elements = getSampleElements(getNumElements() - 1); elements.add(null); collection = getSubjectGenerator().create(elements.toArray()); assertTrue( "A Set should equal any other Set containing the same elements," + " even if some elements are null.", getSet().equals(MinimalSet.from(elements))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
public void testEquals_containingNull() { ArrayList<E> elements = new ArrayList<>(getSampleElements()); elements.set(elements.size() / 2, null); collection = getSubjectGenerator().create(elements.toArray()); List<E> other = new ArrayList<>(getSampleElements()); assertFalse( "Two Lists should not be equal if exactly one of them has null at a given index.", getList().equals(other)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
@Test @DisplayName("Should create with configuration only") void testConstructorWithConfig() { ServerMessageBlock2 msg = new TestServerMessageBlock2(mockConfig); assertNotNull(msg); assertEquals(mockConfig, msg.getConfig()); assertEquals(0, msg.getCommand()); } @Test @DisplayName("Should create with configuration and command")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
NetworkInterfaceInfo localIf = selectLocalInterface(index); NetworkInterfaceInfo remoteIf = selectRemoteInterface(index); // Create transport for this channel SmbTransport transport = createTransport(localIf, remoteIf); // Create channel info String channelId = "channel-" + channelCounter.incrementAndGet();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java
assertEquals("", emptyEvent.getEventType()); } // Test multiple implementations public void test_multipleImplementations() { // Create different implementations SearchLogEvent event1 = new TestSearchLogEvent("id1", 1L, "type1"); SearchLogEvent event2 = new NullSearchLogEvent(); SearchLogEvent event3 = new EmptySearchLogEvent();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/MathBenchmarking.java
* the result is chosen uniformly at random in [0, numBits), and then the result is chosen in that * range uniformly at random. Zero is treated as having log2 == 0. */ static BigInteger randomNonNegativeBigInteger(int numBits) { int digits = RANDOM_SOURCE.nextInt(numBits); if (digits == 0) { return new BigInteger(1, RANDOM_SOURCE);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.2K bytes - Viewed (0)