Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 76 for answered (0.18 sec)

  1. docs_src/events/tutorial003.py

    from contextlib import asynccontextmanager
    
    from fastapi import FastAPI
    
    
    def fake_answer_to_everything_ml_model(x: float):
        return x * 42
    
    
    ml_models = {}
    
    
    @asynccontextmanager
    async def lifespan(app: FastAPI):
        # Load the ML model
        ml_models["answer_to_everything"] = fake_answer_to_everything_ml_model
        yield
        # Clean up the ML models and release the resources
        ml_models.clear()
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 07 15:46:00 GMT 2023
    - 569 bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SortedListsTest.java

              assertEquals(list.lastIndexOf(key), answer);
              return;
            }
            break;
          case ANY_PRESENT:
            if (list.contains(key)) {
              assertEquals(key, list.get(answer));
              return;
            }
            break;
          case FIRST_AFTER:
            if (list.contains(key)) {
              assertEquals(list.lastIndexOf(key) + 1, answer);
              return;
            }
            break;
          case LAST_BEFORE:
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SortedListsTest.java

              assertEquals(list.lastIndexOf(key), answer);
              return;
            }
            break;
          case ANY_PRESENT:
            if (list.contains(key)) {
              assertEquals(key, list.get(answer));
              return;
            }
            break;
          case FIRST_AFTER:
            if (list.contains(key)) {
              assertEquals(list.lastIndexOf(key) + 1, answer);
              return;
            }
            break;
          case LAST_BEFORE:
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  4. CONTRIBUTING.md

    See the [security policy](https://golang.org/security) for details.
    
    The recommended way to file an issue is by running `go bug`.
    Otherwise, when filing an issue, make sure to answer these five questions:
    
    1. What version of Go are you using (`go version`)?
    2. What operating system and processor architecture are you using?
    3. What did you do?
    4. What did you expect to see?
    5. What did you see instead?
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Mar 29 22:00:27 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static org.mockito.Answers.CALLS_REAL_METHODS;
    import static org.mockito.Mockito.doReturn;
    import static org.mockito.Mockito.mock;
    
    import com.google.common.base.Function;
    import com.google.common.collect.ForwardingObject;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jan 05 19:41:03 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  6. docs/ru/docs/fastapi-people.md

    {% for user in people.maintainers %}
    
    <div class="user"><a href="{{ user.url }}" target="_blank"><div class="avatar-wrapper"><img src="{{ user.avatarUrl }}"/></div><div class="title">@{{ user.login }}</div></a> <div class="count">Answers: {{ user.answers }}</div><div class="count">Pull Requests: {{ user.prs }}</div></div>
    {% endfor %}
    
    </div>
    {% endif %}
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  7. android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt

            -----END CERTIFICATE-----
            """.trimIndent().decodeCertificatePem()
    
          val handshakeCertificates =
            HandshakeCertificates.Builder()
              // TODO reenable in official answers
    //      .addPlatformTrustedCertificates()
              .addTrustedCertificate(cert)
              .build()
    
          clientBuilder
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.4K bytes
    - Viewed (1)
  8. .github/ISSUE_TEMPLATE/04-vuln.yml

    description: Issues or feature requests about Go vulnerability management
    title: "x/vuln: issue title"
    labels: ["vulncheck or vulndb"]
    body:
      - type: markdown
        attributes:
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/01-pkgsite.yml

    name: Pkg.go.dev bugs or feature requests
    description: Issues or feature requests for the documentation site
    title: "x/pkgsite: issue title"
    labels: ["pkgsite"]
    body:
      - type: markdown
        attributes:
          value: "Please answer these questions before submitting your issue. Thanks!"
      - type: input
        id: url
        attributes:
          label: "What is the URL of the page with the issue?"
        validations:
          required: true
      - type: input
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  10. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

        @BeforeEach
        fun setUp() {
            val stepsCapturer = slot<BuildSteps.() -> Unit>()
            every { buildType.steps } returns steps
            every {
                buildType.steps(capture(stepsCapturer))
            } answers {
                stepsCapturer.captured(steps)
                mockk()
            }
        }
    
        @Test
        fun `can apply defaults to configurations`() {
            applyDefaults(buildModel, buildType, "myTask")
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
Back to top