Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 1,821 for Examples (0.09 seconds)

  1. src/test/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardActionTest.java

        @Test
        public void test_convertCrawlingPath_http_protocol() {
            assertEquals("http://example.com", wizardAction.convertCrawlingPath("http://example.com"));
            assertEquals("http://example.com/path", wizardAction.convertCrawlingPath("http://example.com/path"));
            assertEquals("http://localhost:8080/app", wizardAction.convertCrawlingPath("http://localhost:8080/app"));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            assertNull(auth.getUser());
            auth.setUser("");
            assertEquals("", auth.getUser());
    
            // Realm accessors
            assertNull(auth.getRealm());
            auth.setRealm("EXAMPLE.COM");
            assertEquals("EXAMPLE.COM", auth.getRealm());
    
            // Service accessors
            assertEquals("cifs", auth.getService());
            auth.setService("");
            assertEquals("", auth.getService());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. tests/test_response_model_data_filter.py

        response = client.post(
            "/users", json={"email": "johndoe@example.com", "password": "secret"}
        )
        assert response.json() == {"email": "johndoe@example.com"}
    
    
    def test_filter_second_level_model():
        response = client.get("/pets/1")
        assert response.json() == {
            "name": "Nibbler",
            "owner": {"email": "johndoe@example.com"},
        }
    
    
    def test_list_of_models():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/Splitter.java

       * empty strings from the results. For example, {@code
       * Splitter.on(',').omitEmptyStrings().split(",a,,,b,c,,")} returns an iterable containing only
       * {@code ["a", "b", "c"]}.
       *
       * <p>If either {@code trimResults} option is also specified when creating a splitter, that
       * splitter always trims results first before checking for emptiness. So, for example, {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testRemoveIf_sometimesTrue() {
        assertTrue(
            "removeIf(isEqual(present)) should return true",
            collection.removeIf(Predicate.isEqual(samples.e0())));
        expectMissing(samples.e0());
      }
    
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveIf_allPresent() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 20:34:52 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            host1.setRegularName("www.example.com");
            host1.setDuplicateHostName("example.com");
            helper.duplicateHostList.add(host1);
    
            DuplicateHost host2 = new DuplicateHost();
            host2.setRegularName("secure.example.com");
            host2.setDuplicateHostName("www.example.com");
            helper.duplicateHostList.add(host2);
    
            String url = "http://example.com/test";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestSortedMapGenerator.java

      SortedMap<K, V> create(Object... elements);
    
      /**
       * Returns an entry with a key less than the keys of the {@link #samples()} and less than the key
       * of {@link #belowSamplesGreater()}.
       */
      Entry<K, V> belowSamplesLesser();
    
      /**
       * Returns an entry with a key less than the keys of the {@link #samples()} but greater than the
       * key of {@link #belowSamplesLesser()}.
       */
      Entry<K, V> belowSamplesGreater();
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

        }
    
        // Test with different origin formats
        @Test
        public void test_doFilter_differentOrigins() throws Exception {
            String[] origins = { "http://localhost:8080", "https://example.com", "http://subdomain.example.com", "https://example.com:3000" };
    
            for (String origin : origins) {
                resetMocks(); // Reset for each test
                mockRequest.setHeader("Origin", origin);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  9. docs_src/metadata/tutorial001_1_py310.py

        description=description,
        summary="Deadpool's favorite app. Nuff said.",
        version="0.0.1",
        terms_of_service="http://example.com/terms/",
        contact={
            "name": "Deadpoolio the Amazing",
            "url": "http://x-force.example.com/contact/",
            "email": "dp@x-force.example.com",
        },
        license_info={
            "name": "Apache 2.0",
            "identifier": "Apache-2.0",
        },
    )
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 774 bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                referralData.fixupDomain("example.com");
    
                assertEquals("SERVER.example.com", referralData.getServer());
            }
    
            @Test
            @DisplayName("Should not fixup domain for qualified name")
            void testFixupDomainWithQualifiedName() {
                setupReferralWithServer("server.example.com");
    
                referralData.fixupDomain("otherdomain.com");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
Back to Top