Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 4661 - 4670 of 6,702 for If (0.09 seconds)

  1. docs_src/query_params_str_validations/tutorial002_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: str | None = Query(default=None, max_length=50)):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 276 bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/service/WebAuthenticationService.java

        }
    
        /**
         * Gets a web authentication configuration by its ID.
         *
         * @param id The ID of the web authentication configuration
         * @return Optional containing the web authentication if found
         */
        public OptionalEntity<WebAuthentication> getWebAuthentication(final String id) {
            return webAuthenticationBhv.selectByPK(id);
        }
    
        /**
         * Stores a web authentication configuration.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. configure

    #!/usr/bin/env bash
    
    set -e
    set -o pipefail
    
    if [ -z "$PYTHON_BIN_PATH" ]; then
      PYTHON_BIN_PATH=$(which python3 || which python || true)
    fi
    
    # Set all env variables
    CONFIGURE_DIR=$(dirname "$0")
    "$PYTHON_BIN_PATH" "${CONFIGURE_DIR}/configure.py" "$@"
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sun Apr 12 14:04:24 GMT 2020
    - 285 bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

       */
      private static void assertInterrupted() {
        try {
          /*
           * The sleep() will end immediately if we've already been interrupted or
           * wait patiently for the interrupt if not.
           */
          Thread.sleep(LONG_DELAY_MS);
          fail("Dude, where's my interrupt?");
        } catch (InterruptedException expected) {
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/NaturalOrdering.java

      @Override
      @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this??
      public <S extends Comparable<?>> Ordering<@Nullable S> nullsFirst() {
        Ordering<@Nullable Comparable<?>> result = nullsFirst;
        if (result == null) {
          result = nullsFirst = super.<Comparable<?>>nullsFirst();
        }
        return (Ordering<@Nullable S>) result;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 01:34:19 GMT 2026
    - 3K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/testing-dependencies.md

    You send it a token and it returns an authenticated user.
    
    This provider might be charging you per request, and calling it might take some extra time than if you had a fixed mock user for tests.
    
    You probably want to test the external provider once, but not necessarily call it for every test that runs.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. guava-gwt/src/com/google/common/DummyJavadocClass.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common;
    
    /**
     * A dummy class so that the Maven Javadoc plugin will produce a jar. If it doesn't produce a jar,
     * then the Sonatype repository manager issues an error.
     *
     * @author Chris Povirk
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jan 07 19:38:21 GMT 2020
    - 848 bytes
    - Click Count (0)
  8. src/test/java/jcifs/util/SecureKeyManagerTest.java

                            byte[] retrieved = keyManager.getRawKey(sid);
                            if (Arrays.equals(key, retrieved)) {
                                successCount.incrementAndGet();
                            }
    
                            // Occasionally rotate
                            if (i % 10 == 0) {
                                try {
                                    keyManager.rotateSessionKey(sid);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. build-logic/build.gradle.kts

            val rootProperties = readProperties(rootPropertiesFile.asFile)
            val jvmArgs = listOf(buildLogicProperties, rootProperties).map { it.getProperty("org.gradle.jvmargs") }.toSet()
            if (jvmArgs.size > 1) {
                throw GradleException("gradle.properties and build-logic/gradle.properties have different org.gradle.jvmargs " +
                    "which may cause two daemons to be spawned on CI and in IDEA. " +
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Feb 09 03:14:32 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java

            // Check values
            if (queryMap.containsKey("labels.facet_filetype_pdf")) {
                assertEquals("filetype:pdf", queryMap.get("labels.facet_filetype_pdf"));
            } else {
                assertEquals("filetype:pdf", queryMap.get("PDF"));
            }
    
            if (queryMap.containsKey("DOC")) {
                assertEquals("filetype:doc", queryMap.get("DOC"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 17.9K bytes
    - Click Count (0)
Back to Top