Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1111 - 1120 of 1,590 for EXAMPLE (0.3 seconds)

  1. scripts/tests/test_translation_fixer/test_complex_doc/data/translated_doc.md

    ```python
    # Это пример блока кода на Python
    def hello_world():
        # Комментарий с отступом
        print("Hello, world!")  # Печать приветствия
    ```
    
    ```toml
    # Это пример блока кода на TOML
    title = "TOML Example"  # Заголовок документа
    ```
    
    ```console
    // Используйте команду "live" и передайте код языка в качестве аргумента CLI
    $ python ./scripts/docs.py live es
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 08:08:04 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_background_tasks/test_tutorial002.py

        if log.is_file():
            os.remove(log)  # pragma: no cover
        response = client.post("/send-notification/foo@example.com?q=some-query")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Message sent"}
        with open("./log.txt") as f:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 10:53:47 GMT 2026
    - 968 bytes
    - Click Count (0)
  3. tests/test_openapi_servers.py

            {
                "url": "http://staging.localhost.tiangolo.com:8000",
                "description": "Staging but actually localhost still",
            },
            {"url": "https://prod.example.com"},
        ]
    )
    
    
    @app.get("/foo")
    def foo():
        return {"message": "Hello World"}
    
    
    client = TestClient(app)
    
    
    def test_app():
        response = client.get("/foo")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      }
    
      /**
       * Annotates a method to be the instance generator of a certain type. The return type is the
       * generated type. The method parameters correspond to the generated type's type parameters. For
       * example, if the annotated method returns {@code Map<K, V>}, the method signature should be:
       * {@code Map<K, V> generateMap(K key, V value)}.
       */
      @Target(ElementType.METHOD)
      @Retention(RetentionPolicy.RUNTIME)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     * shared state without additional synchronization necessary for visibility to later executions of
     * the life cycle methods.
     *
     * <h3>Usage Example</h3>
     *
     * <p>Here is a sketch of a service which crawls a website and uses the scheduling capabilities to
     * rate limit itself.
     *
     * {@snippet :
     * class CrawlingService extends AbstractScheduledService {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  6. tensorflow/c/eager/c_api_experimental.h

    //
    // device_info is an opaque caller-defined type stored with the custom device
    // which is passed to the functions referenced in the TFE_CustomDevice struct
    // `device` (execute, delete_device, etc.). It can for example contain the
    // names of wrapped devices.
    //
    // There are currently no graph semantics implemented for registered custom
    // devices, so executing tf.functions which contain operations placed on the
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Click Count (1)
  7. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

                    props.setProperty(FessEnv.MAIL_SUBJECT_TEST_PREFIX, "[テスト環境]");
                    props.setProperty(FessEnv.MAIL_RETURN_PATH, "no-reply+bounce@example.co.jp");
                    return props;
                }
            };
    
            assertEquals("smtp-relay.example.com:465", specialMailEnv.getMailSmtpServerMainHostAndPort());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/app/web/go/GoActionTest.java

            assertFalse(goAction.isFileSystemPath("http://example.com/path/file.txt"));
            assertFalse(goAction.isFileSystemPath("http://localhost:8080/file.txt"));
        }
    
        @Test
        public void test_isFileSystemPath_https_protocol_not_file_system() {
            assertFalse(goAction.isFileSystemPath("https://example.com/path/file.txt"));
            assertFalse(goAction.isFileSystemPath("https://secure.example.com/file.txt"));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        if (supportsRemove) {
          // We use a copy of "entryToRemove" in the assertion because "entryToRemove" might be
          // invalidated and have undefined behavior after entrySet.removeAll(entriesToRemove),
          // for example entryToRemove.getValue() might be null.
          Entry<K, V> entryToRemoveCopy = mapEntry(entryToRemove.getKey(), entryToRemove.getValue());
    
          int initialSize = map.size();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/http/HandlerTest.java

            // This test verifies that once a handler is cached, subsequent calls reuse it.
            setupMockProtocolHandlers();
            URL url1 = new URL("http://example.com/resource1");
            URL url2 = new URL("http://example.com/resource2");
    
            URLConnection connection1 = handler.openConnection(url1);
            URLConnection connection2 = handler.openConnection(url2);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
Back to Top