Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 3,152 for Then (0.58 seconds)

  1. docs/en/docs/reference/response.md

    # `Response` class
    
    You can declare a parameter in a *path operation function* or dependency to be of type `Response` and then you can set data for the response like headers or cookies.
    
    You can also use it directly to create an instance of it and return it from your *path operations*.
    
    Read more about it in the [FastAPI docs about returning a custom Response](https://fastapi.tiangolo.com/advanced/response-directly/#returning-a-custom-response)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 12:41:54 GMT 2026
    - 559 bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/math/BigIntegerMath.java

        /*
         * Adapted from Hacker's Delight, Figure 11-1.
         *
         * Using DoubleUtils.bigToDouble, getting a double approximation of x is extremely fast, and
         * then we can get a double approximation of the square root. Then, we iteratively improve this
         * guess with an application of Newton's method, which sets guess := (guess + (x / guess)) / 2.
         * This iteration has the following two properties:
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  3. cmd/object-handlers-common.go

    	// Return false for methods other than GET and HEAD.
    	if r.Method != http.MethodPut {
    		return false
    	}
    	// If the object doesn't have a modtime (IsZero), or the modtime
    	// is obviously garbage (Unix time == 0), then ignore modtimes
    	// and don't process the If-Modified-Since header.
    	if objInfo.ModTime.IsZero() || objInfo.ModTime.Equal(time.Unix(0, 0)) {
    		return false
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jul 23 12:36:06 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/index.md

    The first step is to install FastAPI.
    
    Make sure you create a [virtual environment](../virtual-environments.md), activate it, and then **install FastAPI**:
    
    <div class="termy">
    
    ```console
    $ pip install "fastapi[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    /// note
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertFullyRead(reader);
    
        // reset, skip, mark, then read the rest
        reader.reset();
        assertEquals(5, reader.skip(5));
        reader.mark(Integer.MAX_VALUE);
        assertThat(readFully(reader)).isEqualTo(string.substring(5));
        assertFullyRead(reader);
    
        // reset to the mark and then read the rest
        reader.reset();
        assertThat(readFully(reader)).isEqualTo(string.substring(5));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  6. docs/en/docs/alternatives.md

    But documentation is still missing. Then APISpec was created.
    
    It is a plug-in for many frameworks (and there's a plug-in for Starlette too).
    
    The way it works is that you write the definition of the schema using YAML format inside the docstring of each function handling a route.
    
    And it generates OpenAPI schemas.
    
    That's how it works in Flask, Starlette, Responder, etc.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  7. mockwebserver-junit4/README.md

    =========================
    
    This module integrates mockwebserver3.MockWebServer with JUnit 4.
    
    To use, first add this library as a test dependency:
    
    ```
    testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:5.3.0")
    ```
    
    Then in tests annotated `@org.junit.Test`, you may declare a field with the `@Rule` annotation:
    
    ```
    @Rule public final MockWebServerRule serverRule = new MockWebServerRule();
    ```
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 706 bytes
    - Click Count (0)
  8. ci/official/containers/ml_build/builder.devtoolset/rpm-patch.sh

      N=$(echo "${cmd}" |sed 's,%patch\([0-9]\+\).*,\1,')
      file=$(grep "Patch$N:" "${SPEC}" |sed 's,.*: ,,')
      parg=$(echo "${cmd}" |sed 's,.*\(-p[0-9]\).*,\1,')
      if [[ ! "${file}" =~ doxygen && "${cmd}" != \#* ]]; then
        echo "patch ${parg} -s < ${file}"
        patch ${parg} -s < "${file}"
      fi
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Sep 24 20:45:58 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/stream-json-lines.md

    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[27:30] hl[28] *}
    
    ### No Return Type { #no-return-type }
    
    You can also omit the return type. FastAPI will then use the [`jsonable_encoder`](./encoder.md) to convert the data to something that can be serialized to JSON and then send it as JSON Lines.
    
    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[33:36] hl[34] *}
    
    ## Server-Sent Events (SSE) { #server-sent-events-sse }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  10. internal/mountinfo/mountinfo_linux.go

    	if s1.Mode()&os.ModeSymlink != 0 {
    		return false
    	}
    
    	s2, err := os.Lstat(filepath.Dir(strings.TrimSuffix(path, "/")))
    	if err != nil {
    		return false
    	}
    
    	// If the directory has a different device as parent, then it is a mountpoint.
    	ss1, ok1 := s1.Sys().(*syscall.Stat_t)
    	ss2, ok2 := s2.Sys().(*syscall.Stat_t)
    	return ok1 && ok2 &&
    		// path/.. on a different device as path
    		(ss1.Dev != ss2.Dev ||
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 4.7K bytes
    - Click Count (0)
Back to Top