Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 980 for simple (0.04 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

        super.setUp();
        service = SimpleTimeLimiter.create(executor);
      }
    
      public void testNewProxy_goodMethodWithEnoughTime() throws Exception {
        SampleImpl target = new SampleImpl(DELAY_MS);
        Sample proxy = service.newProxy(target, Sample.class, ENOUGH_MS, MILLISECONDS);
        Stopwatch stopwatch = Stopwatch.createStarted();
    
        String result = proxy.sleepThenReturnInput("x");
    
        assertThat(result).isEqualTo("x");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/testing.md

    Crie funções com um nome que comece com `test_` (essa é a convenção padrão do `pytest`).
    
    Use o objeto `TestClient` da mesma forma que você faz com `httpx`.
    
    Escreva instruções `assert` simples com as expressões Python padrão que você precisa verificar (novamente, `pytest` padrão).
    
    {* ../../docs_src/app_testing/tutorial001_py39.py hl[2,12,15:18] *}
    
    /// tip | Dica
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_static_files/test_tutorial001.py

        sample_file = static_dir / "sample.txt"
        sample_file.write_text("This is a sample static file.")
        from docs_src.static_files.tutorial001_py39 import app
    
        with TestClient(app) as client:
            yield client
        sample_file.unlink()
        static_dir.rmdir()
    
    
    def test_static_files(client: TestClient):
        response = client.get("/static/sample.txt")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

                if (!inExample) {
                    continue;
                }
    
                if (line.equals("[.multi-language-sample]")) { // first [.multi-language-sample]
                    int headerLine = i + 1; // 1-based
                    // Look ahead to find [source, ...] until next sample or end of example block
                    String sourceLang = null;
                    for (int j = i + 1; j < lines.size(); j++) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Aug 29 10:12:17 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

       */
      private @Nullable Object generate(TypeToken<?> type) {
        Class<?> rawType = type.getRawType();
        List<Object> samples = sampleInstances.get(rawType);
        Object sample = pickInstance(samples, null);
        if (sample != null) {
          return sample;
        }
        if (rawType.isEnum()) {
          return pickInstance(rawType.getEnumConstants(), null);
        }
        if (type.isArray()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  6. okhttp/src/jvmMain/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.list

    showa.yamanashi.jp
    shunan.yamaguchi.jp
    shw.io
    si
    si.eu.org
    si.it
    sic.it
    sicilia.it
    sicily.it
    siellak.no
    siena.it
    sieradz.pl
    sigdal.no
    siiites.com
    siljan.no
    silk
    simple-url.com
    simplesite.com
    simplesite.com.br
    simplesite.gr
    simplesite.pl
    sina
    sinaapp.com
    singles
    siracusa.it
    sirdal.no
    sisko.replit.dev
    site
    site.rb-hosting.io
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 129.6K bytes
    - Viewed (3)
  7. docs/pt/docs/deployment/https.md

    Após isso, o cliente e o servidor possuem uma conexão TCP encriptada, que é provida pelo TLS. E então eles podem usar essa conexão para começar a comunicação HTTP propriamente dita.
    
    E isso resume o que é HTTPS, apenas HTTP simples dentro de uma conexão TLS segura em vez de uma conexão TCP pura (não encriptada).
    
    /// tip | Dica
    
    Percebe que a encriptação da comunicação acontece no nível do TCP, não no nível do HTTP.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Interners.java

        }
    
        @Override
        public E intern(E sample) {
          while (true) {
            // trying to read the canonical...
            @SuppressWarnings("rawtypes") // using raw types to avoid a bug in our nullness checker :(
            InternalEntry entry = map.getEntry(sample);
            if (entry != null) {
              Object canonical = entry.getKey();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/body-nested-models.md

    ///
    
    ## Recapitulação { #recap }
    
    Com **FastAPI** você tem a flexibilidade máxima fornecida pelos modelos Pydantic, enquanto seu código é mantido simples, curto e elegante.
    
    Mas com todos os benefícios:
    
    * Suporte do editor (preenchimento automático em todo canto!)
    * Conversão de dados (parsing/serialização)
    * Validação de dados
    * Documentação dos esquemas
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. fess-crawler/src/test/resources/extractor/json/test.json

    {
      "title": "Sample Document",
      "author": "John Doe",
      "version": "1.0",
      "published": "2025-01-15",
      "tags": ["crawler", "extractor", "json"],
      "content": {
        "summary": "This is a sample JSON document for testing",
        "body": "The extractor should handle nested objects and arrays properly"
      },
      "metadata": {
        "created_at": "2025-01-01T00:00:00Z",
        "updated_at": "2025-01-15T12:00:00Z"
      }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 412 bytes
    - Viewed (0)
Back to top