- Sort Score
- Result 10 results
- Languages All
Results 1291 - 1300 of 2,799 for Create (0.03 sec)
-
android/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/smb1/smb1/SmbComNegotiateTest.java
*/ class SmbComNegotiateTest { private SmbComNegotiate smbComNegotiate; private static final String DIALECTS = "\u0002NT LM 0.12\u0000"; @BeforeEach void setUp() { // Create a new instance before each test smbComNegotiate = new SmbComNegotiate(); } /** * Test the constructor of SmbComNegotiate. * It should initialize the command and flags2 with default values.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
class ConstructorTests { @Test @DisplayName("Default constructor should create instance with default values") void testDefaultConstructor() { // When DcerpcBind defaultBind = new DcerpcBind(); // Then assertNotNull(defaultBind, "Default constructor should create instance"); assertEquals(0, defaultBind.getOpnum(), "Default opnum should be 0"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/TopKSelector.java
/** * An accumulator that selects the "top" {@code k} elements added to it, relative to a provided * comparator. "Top" can mean the greatest or the lowest elements, specified in the factory used to * create the {@code TopKSelector} instance. * * <p>If your input data is available as a {@link Stream}, prefer passing {@link * Comparators#least(int)} to {@link Stream#collect(java.util.stream.Collector)}. If it is available
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 11.4K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java
* @param urlQueue The URL queue entry to insert. */ @Override public void insert(final OpenSearchUrlQueue urlQueue) { try { super.insert(urlQueue, urlQueue.getId() == null ? OpType.CREATE : OpType.INDEX); } catch (final OpenSearchAccessException e) { final Throwable cause = e.getCause(); if (cause != null && "VersionConflictEngineException".equals(cause.getClass().getSimpleName())) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
private static final String TEST_TARGET = "TEST_TARGET"; private static final String TEST_DOMAIN = "TEST_DOMAIN"; private static final String TEST_HOSTNAME = "TEST_HOSTNAME"; /** * Helper method to create a fully mocked CIFSContext with all necessary dependencies */ private CIFSContext createMockContext() { CIFSContext mockContext = mock(CIFSContext.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
ComponentUtil.register(searchEngineClient, "searchEngineClient"); ComponentUtil.register(ingestFactory, "ingestFactory"); ComponentUtil.register(fessConfig, "fessConfig"); // Create test implementation of IndexUpdateCallbackImpl indexUpdateCallback = new TestableIndexUpdateCallbackImpl(); indexUpdateCallback.init(); } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/archive/zip/writer_test.go
} for i, wt := range writeTests { testReadFile(t, r.File[i], &wt) } } func TestWriterFlush(t *testing.T) { var buf bytes.Buffer w := NewWriter(struct{ io.Writer }{&buf}) _, err := w.Create("foo") if err != nil { t.Fatal(err) } if buf.Len() > 0 { t.Fatalf("Unexpected %d bytes already in buffer", buf.Len()) } if err := w.Flush(); err != nil { t.Fatal(err) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jan 28 04:20:09 UTC 2025 - 14.4K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt
} open class Factory @JvmOverloads constructor( private val logger: HttpLoggingInterceptor.Logger = HttpLoggingInterceptor.Logger.DEFAULT, ) : EventListener.Factory { override fun create(call: Call): EventListener = LoggingEventListener(logger) } companion object
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Apr 01 11:07:32 UTC 2024 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* begins. Consider replacing code that creates {@link ListenableFuture}s of closeable types, * including those that pass them to this method, with {@link #submit(ClosingCallable, * Executor)} in order to ensure that resources do not leak. Or, to start a pipeline with a * {@link ListenableFuture} that doesn't create values that should be closed, use {@link * ClosingFuture#from}. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 97.8K bytes - Viewed (0)