Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 2,310 for Contains (0.05 seconds)

  1. guava/src/com/google/common/collect/ForwardingSortedSet.java

        return delegate().tailSet(fromElement);
      }
    
      /**
       * A sensible definition of {@link #contains} in terms of the {@code first()} method of {@link
       * #tailSet}. If you override {@link #tailSet}, you may wish to override {@link #contains} to
       * forward to this implementation.
       *
       * @since 7.0
       */
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java

        assertFalse(elementSet.contains(e3()));
        getMultiset().add(e3(), 4);
        assertTrue(elementSet.contains(e3()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testElementSetReflectsRemove() {
        Set<E> elementSet = getMultiset().elementSet();
        assertTrue(elementSet.contains(e0()));
        getMultiset().removeAll(singleton(e0()));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  3. internal/logger/target/loggertypes/types.go

    //go:generate stringer -type=TargetType -trimprefix=Target $GOFILE
    
    // Constants for target types
    const (
    	_ TargetType = iota
    	TargetConsole
    	TargetHTTP
    	TargetKafka
    )
    
    // TargetStats contains statistics for a target.
    type TargetStats struct {
    	// QueueLength is the queue length if any messages are queued.
    	QueueLength int
    
    	// TotalMessages is the total number of messages sent in the lifetime of the target
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 18 21:56:31 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        ImmutableIntArray iia = ImmutableIntArray.of(1, 1, 2, 3, 5, 8);
        assertThat(iia.contains(1)).isTrue();
        assertThat(iia.contains(8)).isTrue();
        assertThat(iia.contains(4)).isFalse();
        assertThat(ImmutableIntArray.of(13).contains(13)).isTrue();
        assertThat(ImmutableIntArray.of().contains(21)).isFalse();
        assertThat(iia.subArray(1, 5).contains(1)).isTrue();
      }
    
      public void testForEach() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/util/SettingsResourceLoaderTest.java

                // Load the analyzer config which contains ${fess.dictionary.path}
                String content = SettingsResourceLoader.loadJsonResourceWithDictionaryPath("suggest_indices/suggest_analyzer.json");
    
                assertNotNull(content);
                assertTrue(content.length() > 0);
                // The placeholder should be replaced with the system property value
                assertFalse(content.contains("${fess.dictionary.path}"));
            } finally {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThat(iia.contains(1)).isTrue();
        assertThat(iia.contains(8)).isTrue();
        assertThat(iia.contains(4)).isFalse();
        assertThat(ImmutableDoubleArray.of(13).contains(13)).isTrue();
        assertThat(ImmutableDoubleArray.of().contains(21)).isFalse();
        assertThat(iia.subArray(1, 5).contains(1)).isTrue();
      }
    
      public void testForEach() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ForwardingMultiset.java

        return delegate().setCount(element, oldCount, newCount);
      }
    
      /**
       * A sensible definition of {@link #contains} in terms of {@link #count}. If you override {@link
       * #count}, you may wish to override {@link #contains} to forward to this implementation.
       *
       * @since 7.0
       */
      @Override
      protected boolean standardContains(@Nullable Object object) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/LogNotificationAppenderTest.java

            assertEquals(1, events.size());
            assertNotNull(events.get(0).getThrowable());
            assertTrue(events.get(0).getThrowable().contains("RuntimeException"));
            assertTrue(events.get(0).getThrowable().contains("test exception"));
            assertTrue(events.get(0).getThrowable().length() <= 500);
        }
    
        @Test
        public void test_append_nullLoggerName() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

        @Test
        public void test_toString() {
            loadTestData();
            String result = stopwordsFile.toString();
            assertTrue(result.contains("StopwordsFile"));
            assertTrue(result.contains("path=" + testFile.getAbsolutePath()));
            assertTrue(result.contains("id=test_id"));
        }
    
        // Test unescape private method through reload
        @Test
        public void test_unescape_noBackslash() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt

    // This file contains members that we should consider to pull upstream
    // and make available to all Kotlin DSL users
    package gradlebuild.basics.kotlindsl
    
    import org.gradle.process.ExecOperations
    import java.io.ByteArrayOutputStream
    import java.io.File
    
    
    /**
     * `dir / "sub"` is the same as `dir.resolve("sub")`.
     *
     * @see [File.resolve]
     */
    operator fun File.div(child: String): File =
        resolve(child)
    
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon May 19 11:33:57 GMT 2025
    - 965 bytes
    - Click Count (0)
Back to Top