Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 855 for Function1 (0.05 sec)

  1. docs_src/websockets/tutorial002_py310.py

    1. </ul>
    2. <script>
    3. var ws = null;
    4. function connect(event) {
    5. var itemId = document.getElementById("itemId")
    6. var token = document.getElementById("token")
    7. ws = new WebSocket("ws://localhost:8000/items/" + itemId.value + "/ws?token=" + token.value);
    8. ws.onmessage = function(event) {
    9. var messages = document.getElementById('messages')
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. docs/en/docs/reference/background.md

    1. # Background Tasks - `BackgroundTasks`
    2.  
    3. You can declare a parameter in a *path operation function* or dependency function with the type `BackgroundTasks`, and then you can use it to schedule the execution of background tasks after the response is sent.
    4.  
    5. You can import it directly from `fastapi`:
    6.  
    7. ```python
    8. from fastapi import BackgroundTasks
    9. ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 377 bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ForwardingListIteratorTest.java

    1. * See the License for the specific language governing permissions and
    2. * limitations under the License.
    3. */
    4.  
    5. package com.google.common.collect;
    6.  
    7. import com.google.common.base.Function;
    8. import com.google.common.testing.ForwardingWrapperTester;
    9. import java.util.ListIterator;
    10. import junit.framework.TestCase;
    11.  
    12. /**
    13. * Tests for {@code ForwardingListIterator}.
    14. *
    15. * @author Robert Konigsberg
    16. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Absent.java

    1. public T orNull() {
    2. return null;
    3. }
    4.  
    5. @Override
    6. public Set<T> asSet() {
    7. return Collections.emptySet();
    8. }
    9.  
    10. @Override
    11. public <V> Optional<V> transform(Function<? super T, V> function) {
    12. checkNotNull(function);
    13. return Optional.absent();
    14. }
    15.  
    16. @Override
    17. public boolean equals(@CheckForNull Object object) {
    18. return object == this;
    19. }
    20.  
    21. @Override
    22. public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  5. docs_src/websockets/tutorial002_an.py

    1. </ul>
    2. <script>
    3. var ws = null;
    4. function connect(event) {
    5. var itemId = document.getElementById("itemId")
    6. var token = document.getElementById("token")
    7. ws = new WebSocket("ws://localhost:8000/items/" + itemId.value + "/ws?token=" + token.value);
    8. ws.onmessage = function(event) {
    9. var messages = document.getElementById('messages')
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. docs_src/websockets/tutorial002_an_py39.py

    1. </ul>
    2. <script>
    3. var ws = null;
    4. function connect(event) {
    5. var itemId = document.getElementById("itemId")
    6. var token = document.getElementById("token")
    7. ws = new WebSocket("ws://localhost:8000/items/" + itemId.value + "/ws?token=" + token.value);
    8. ws.onmessage = function(event) {
    9. var messages = document.getElementById('messages')
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. buildscripts/checkdeps.sh

    1. PHYS_DIR=$(pwd -P)
    2. RESULT=$PHYS_DIR/$TARGET_FILE
    3. echo $RESULT
    4. }
    5.  
    6. ## FIXME:
    7. ## In OSX, 'sort -V' option does not exist, hence
    8. ## we have our own version compare function.
    9. ## Once OSX has the option, below function is good enough.
    10. ##
    11. ## check_minimum_version() {
    12. ## versions=($(echo -e "$1\n$2" | sort -V))
    13. ## return [ "$1" == "${versions[0]}" ]
    14. ## }
    15. ##
    16. check_minimum_version() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/bucket-extensions.kt

    1. *
    2. * @param list the list to split, must be ordered by size desc
    3. * @param toIntFunction the function used to map the element to its "size"
    4. * @param largeElementSplitFunction the function used to further split the large element into smaller pieces
    5. * @param smallElementAggregateFunction the function used to aggregate tiny elements into a large bucket
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Nov 17 05:17:44 UTC 2022
    - 4K bytes
    - Viewed (0)
  9. docs/changelogs/upgrading_to_okhttp_4.md

    1. * **Route**: address, proxy, socketAddress
    2. * **TlsVersion**: javaName
    3.  
    4. #### Renamed Functions
    5.  
    6. * **Headers.of()**: for symmetry with `listOf()`, `setOf()`, etc., weve replaced
    7. `Headers.of(String...)` with `headersOf(vararg String)`.
    8.  
    9. #### Extension Functions
    10.  
    11. Weve migrated from static functions to extension functions where we think they fit.
    12.  
    13. | Java | Kotlin |
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/HashFunctionEnum.java

    1. * See the License for the specific language governing permissions and
    2. * limitations under the License.
    3. */
    4.  
    5. package com.google.common.hash;
    6.  
    7.  
    8. /**
    9. * An enum that contains all of the known hash functions.
    10. *
    11. * @author Kurt Alfred Kluever
    12. */
    13. enum HashFunctionEnum {
    14. ADLER32(Hashing.adler32()),
    15. CRC32(Hashing.crc32()),
    16. GOOD_FAST_HASH_32(Hashing.goodFastHash(32)),
    17. GOOD_FAST_HASH_64(Hashing.goodFastHash(64)),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 08 13:56:22 UTC 2021
    - 1.7K bytes
    - Viewed (0)
Back to top