Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 278 for turn (0.03 sec)

  1. docs/en/docs/tutorial/testing.md

    It is based on <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, which in turn is designed based on Requests, so it's very familiar and intuitive.
    
    With it, you can use <a href="https://docs.pytest.org/" class="external-link" target="_blank">pytest</a> directly with **FastAPI**.
    
    ## Using `TestClient`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/arch/arm.go

    func ARMConditionCodes(prog *obj.Prog, cond string) bool {
    	if cond == "" {
    		return true
    	}
    	bits, ok := ParseARMCondition(cond)
    	if !ok {
    		return false
    	}
    	/* hack to make B.NE etc. work: turn it into the corresponding conditional */
    	if prog.As == arm.AB {
    		prog.As = bcode[(bits^arm.C_SCOND_XOR)&0xf]
    		bits = (bits &^ 0xf) | arm.C_SCOND_NONE
    	}
    	prog.Scond = bits
    	return true
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 23 15:18:14 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

          }
        }
      }
    
      private fun ensureAllTaskQueuesIdle() {
        val entryTime = System.nanoTime()
    
        for (queue in TaskRunner.INSTANCE.activeQueues()) {
          // We wait at most 1 second, so we don't ever turn multiple lost threads into
          // a test timeout failure.
          val waitTime = (entryTime + 1_000_000_000L - System.nanoTime())
          if (!queue.idleLatch().await(waitTime, TimeUnit.NANOSECONDS)) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/InterruptibleTask.java

       */
      abstract void afterRanInterruptiblyFailure(Throwable error);
    
      /**
       * Interrupts the running task. Because this internally calls {@link Thread#interrupt()} which can
       * in turn invoke arbitrary code it is not safe to call while holding a lock.
       */
      @SuppressWarnings("Interruption") // We are implementing a user-requested interrupt.
      final void interruptTask() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. impl/maven-core/lifecycle-executor.txt

            <deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy>
          </phases>
        </lifecycle>
      </lifecycles>
    </configuration>
    
    We need to turn this list of phases into a set of plugin objects that have an XML representation like the following:
    
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. impl/maven-core/plugin-manager.txt

    particular plugin would occur because everything needs to be mediated through the host application. For a given action that is possible for a user to perform in the UI we need to know the URI that is to be used with its given parameters. That URI in turn must map internally to a method in a given component which belongs to a plugin. This mapping should actually be more generalized and it shouldn’t matter internally whether this maps to the core application or extension of the application in the form...
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/first-steps.md

    /// info | "Technical Details"
    
    **FastAPI** will know that it can use the class `OAuth2PasswordBearer` (declared in a dependency) to define the security scheme in OpenAPI because it inherits from `fastapi.security.oauth2.OAuth2`, which in turn inherits from `fastapi.security.base.SecurityBase`.
    
    All the security utilities that integrate with OpenAPI (and the automatic API docs) inherit from `SecurityBase`, that's how **FastAPI** can know how to integrate them in OpenAPI.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. test-site/activator

      Options:
      -v | -verbose      Make this runner chattier
      -d | -debug        Set sbt log level to debug
      -mem <integer>     Set memory options (default: $sbt_mem, which is $(get_mem_opts $sbt_mem))
      -jvm-debug <port>  Turn on JVM debugging, open at the given port.
    
      # java version (default: java from PATH, currently $(java -version 2>&1 | grep version))
      -java-home <path>  Alternate JAVA_HOME
    
      # jvm options and output control
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 9.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/body-nested-models.md

    //// tab | Python 3.8+
    
    ```Python hl_lines="9  14  20  23  27"
    {!> ../../docs_src/body_nested_models/tutorial007.py!}
    ```
    
    ////
    
    /// info
    
    Notice how `Offer` has a list of `Item`s, which in turn have an optional list of `Image`s
    
    ///
    
    ## Bodies of pure lists
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. cmd/net.go

    		ipList.Add(addr)
    	}
    
    	return ipList, err
    }
    
    // sortIPs - sort ips based on higher octets.
    // The logic to sort by last octet is implemented to
    // prefer CIDRs with higher octets, this in-turn skips the
    // localhost/loopback address to be not preferred as the
    // first ip on the list. Subsequently this list helps us print
    // a user friendly message with appropriate values.
    func sortIPs(ipList []string) []string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top