- Sort Score
- Num 10 results
- Language All
Results 1291 - 1300 of 4,556 for true (0.03 seconds)
-
internal/bucket/replication/and.go
return err } } return nil } // ContainsDuplicateTag - returns true if duplicate keys are present in And func (a And) ContainsDuplicateTag() bool { x := make(map[string]struct{}, len(a.Tags)) for _, t := range a.Tags { if _, has := x[t.Key]; has { return true } x[t.Key] = struct{}{} } return false
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.8K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/bucket/terms/StringTermsSerializationBenchmark.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Aug 12 21:50:17 GMT 2021 - 3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
@SuppressWarnings({"unused", "nullness"}) Future<?> possiblyIgnoredError1 = serializer.submitAsync(thirdCallable, directExecutor()); secondFuture.cancel(true); assertThat(secondCallable.called).isFalse(); assertThat(thirdCallable.called).isFalse(); firstFuture.set(null); assertThat(secondCallable.called).isFalse(); assertThat(thirdCallable.called).isTrue();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 13.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/timer/TimeoutManager.java
* @return <code>true</code> if the thread has terminated * @throws InterruptedException * If interrupted while waiting */ public boolean stop(final long timeoutMillis) throws InterruptedException { final Thread t = this.thread; synchronized (this) { if (t == null) { return true; } this.thread = null;
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 7.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java
assertFalse("Listener called more than once", wasCalled()); calledCountDown.countDown(); } void expectCall() { assertFalse("expectCall is already true", expectCall); expectCall = true; } boolean wasCalled() { return calledCountDown.getCount() == 0; } void waitForCall() throws InterruptedException { assertTrue("expectCall is false", expectCall);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
// Verify that request buffer was created with correct parameters Field requestField = Trans2GetDfsReferral.class.getDeclaredField("request"); requestField.setAccessible(true); DfsReferralRequestBuffer request = (DfsReferralRequestBuffer) requestField.get(trans2GetDfsReferral); assertNotNull(request); } @Test @DisplayName("Constructor should handle null filename")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java
} } public void testLifecycle() { boolean[] setUp = {false}; Runnable setUpRunnable = () -> setUp[0] = true; boolean[] tearDown = {false}; Runnable tearDownRunnable = () -> tearDown[0] = true; MyTestSuiteBuilder builder = new MyTestSuiteBuilder(); Test test = builder .usingGenerator("yam") .named("yam")
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/CredentialsTest.java
} @Test @DisplayName("Should check for anonymous credentials") void testIsAnonymous() { // Given when(mockCredentials.isAnonymous()).thenReturn(true); // When boolean isAnonymous = mockCredentials.isAnonymous(); // Then assertTrue(isAnonymous); verify(mockCredentials).isAnonymous(); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/TablesTransformValuesColumnTest.java
import org.jspecify.annotations.NullMarked; @GwtCompatible @NullMarked public class TablesTransformValuesColumnTest extends ColumnTests { public TablesTransformValuesColumnTest() { super(false, false, true, true, false); } @Override Table<String, Character, Integer> makeTable() { Table<String, Character, Integer> table = HashBasedTable.create(); return transformValues(table, DIVIDE_BY_2); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java
* @param responseData the response data containing MIME type information * @return true if the MIME type represents a supported image format, false otherwise */ protected boolean isImageMimeType(final ResponseData responseData) { final String mimeType = responseData.getMimeType(); if (mimeType == null) { return true; } return switch (mimeType) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 10.6K bytes - Click Count (0)