Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 2,310 for Contains (0.06 seconds)

  1. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            // Test toString
            String result = fileInternalInfo.toString();
    
            // Verify string contains expected components
            assertNotNull(result);
            assertTrue(result.contains("SmbQueryFileInternalInfo"));
            assertTrue(result.contains("indexNumber="));
            assertTrue(result.contains(String.valueOf(expectedIndexNumber)));
        }
    
        @Test
        @DisplayName("Test toString with zero index number")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        assertTrue(rangeSet.encloses(Range.greaterThan(3)));
        assertFalse(rangeSet.encloses(Range.closedOpen(1, 5)));
    
        assertTrue(rangeSet.contains(3));
        assertTrue(rangeSet.contains(5));
        assertFalse(rangeSet.contains(0));
        assertFalse(rangeSet.contains(2));
    
        assertEquals(ImmutableRangeSet.of(Range.atMost(2)), rangeSet.complement());
      }
    
      public void testSingleBoundedAboveRange() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/curl/CurlRequestTest.java

            try {
                new CurlRequest(null, url);
                fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException e) {
                assertTrue(e.getMessage().contains("method must not be null"));
            }
        }
    
        @Test
        public void testSingleArgumentConstructor() {
            CurlRequest request = new CurlRequest(Method.POST);
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      }
    
      @Override
      protected void expectMissing(Entry<K, V>... entries) {
        for (Entry<K, V> entry : entries) {
          assertFalse("Should not contain entry " + entry, actualContents().contains(entry));
          assertFalse(
              "Should not contain key " + entry.getKey() + " mapped to value " + entry.getValue(),
              equal(getMap().get(entry.getKey()), entry.getValue()));
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java

        }
    
        assertEquals(values.size(), multimap().get(key).size());
        assertEquals(values.size() > 0, multimap().containsKey(key));
        assertEquals(values.size() > 0, multimap().keySet().contains(key));
        assertEquals(values.size() > 0, multimap().keys().contains(key));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

         *
         * @param array  the array to search through
         * @param valueToFind  the value to find
         * @return <code>true</code> if the array contains the object
         */
        public static boolean contains(char[] array, char valueToFind) {
            if (array == null) {
                return false;
            }
            for (char c : array) {
                if (valueToFind == c) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

         *
         * @param array  the array to search through
         * @param valueToFind  the value to find
         * @return <code>true</code> if the array contains the object
         */
        public static boolean contains(char[] array, char valueToFind) {
            if (array == null) {
                return false;
            }
            for (char c : array) {
                if (valueToFind == c) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/context/BaseContextTest.java

            assertNotSame(pipe1, pipe2, "Different pipes should be different instances");
    
            assertTrue(resource1.getLocator().getURL().toString().contains("server1"), "First resource should contain server1");
            assertTrue(resource2.getLocator().getURL().toString().contains("server2"), "Second resource should contain server2");
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

        /** Prefix for case-insensitive regular expression patterns. */
        public static final String REGEXP_IGNORE_CASE = "regexpIgnoreCase:";
    
        /** Prefix for contains-based string matching patterns. */
        public static final String CONTAINS = "contains:";
    
        /** XML element name for collections container. */
        protected static final String COLLECTIONS = "collections";
    
        /** XML element name for individual collection. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  10. src/archive/tar/example_test.go

    )
    
    func Example_minimal() {
    	// Create and add some files to the archive.
    	var buf bytes.Buffer
    	tw := tar.NewWriter(&buf)
    	var files = []struct {
    		Name, Body string
    	}{
    		{"readme.txt", "This archive contains some text files."},
    		{"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"},
    		{"todo.txt", "Get animal handling license."},
    	}
    	for _, file := range files {
    		hdr := &tar.Header{
    			Name: file.Name,
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Nov 16 16:54:08 GMT 2017
    - 1.4K bytes
    - Click Count (0)
Back to Top