- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 1,477 for function (0.1 seconds)
-
tests/test_depends_hashable.py
def dep(): pass def test_depends_hashable(): dep() # just for coverage d1 = Depends(dep) d2 = Depends(dep) d3 = Depends(dep, scope="function") d4 = Depends(dep, scope="function") s1 = Security(dep) s2 = Security(dep) assert hash(d1) == hash(d2) assert hash(s1) == hash(s2) assert hash(d1) != hash(d3)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Nov 19 16:50:18 GMT 2025 - 596 bytes - Click Count (0) -
buildscripts/checkdeps.sh
PHYS_DIR=$(pwd -P) RESULT=$PHYS_DIR/$TARGET_FILE echo $RESULT } ## FIXME: ## In OSX, 'sort -V' option does not exist, hence ## we have our own version compare function. ## Once OSX has the option, below function is good enough. ## ## check_minimum_version() { ## versions=($(echo -e "$1\n$2" | sort -V)) ## return [ "$1" == "${versions[0]}" ] ## } ## check_minimum_version() {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jun 08 16:12:05 GMT 2025 - 3.4K bytes - Click Count (0) -
docs/en/docs/tutorial/security/get-current-user.md
# Get Current User { #get-current-user } In the previous chapter the security system (which is based on the dependency injection system) was giving the *path operation function* a `token` as a `str`: {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *} But that is still not that useful. Let's make it give us the current user. ## Create a user model { #create-a-user-model } First, let's create a Pydantic user model.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Interners.java
} } } /** * Returns a function that delegates to the {@link Interner#intern} method of the given interner. * * @since 8.0 */ public static <E> Function<E, E> asFunction(Interner<E> interner) { return new InternerFunction<>(checkNotNull(interner)); } private static final class InternerFunction<E> implements Function<E, E> { private final Interner<E> interner;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 6K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/BucketExtensions.kt
* * @param list the list to split, must be ordered by size desc * @param toIntFunction the function used to map the element to its "size" * @param largeElementSplitFunction the function used to further split the large element into smaller pieces * @param smallElementAggregateFunction the function used to aggregate tiny elements into a large bucket
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 5.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt
*/ fun <T : Any> tag( type: KClass<T>, computeIfAbsent: () -> T, ): T /** * Returns the tag attached with [type] as a key. If it is absent, then [computeIfAbsent] is * called and that value is both inserted and returned. * * If multiple calls to this function are made concurrently with the same [type], multiple values
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 6.8K bytes - Click Count (0) -
docs/en/docs/python-types.md
At some point you would have started the definition of the function, you had the parameters ready... But then you have to call "that method that converts the first letter to upper case". Was it `upper`? Was it `uppercase`? `first_uppercase`? `capitalize`? Then, you try with the old programmer's friend, editor autocompletion.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
src/main/webapp/js/admin/adminlte.min.js.map
==========\n */\n\n$(document).on('click', SELECTOR_DATA_COLLAPSE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n CardWidget._jQueryInterface.call($(this), 'toggle')\n})\n\n$(document).on('click', SELECTOR_DATA_REMOVE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n CardWidget._jQueryInterface.call($(this), 'remove')\n})\n\n$(document).on('click', SELECTOR_DATA_MAXIMIZE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n Ca...
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Oct 26 01:49:09 GMT 2024 - 132.4K bytes - Click Count (0) -
fastapi/routing.py
) -> Any: # Only called by get_request_handler. Has been split into its own function to # facilitate profiling endpoints, since inner functions are harder to profile. assert dependant.call is not None, "dependant.call must be a function" if is_coroutine: return await dependant.call(**values) else:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 193K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java
*/ package org.apache.maven.cling.invoker; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.function.Consumer; import java.util.function.Function; import org.apache.maven.api.cli.Options; import org.apache.maven.api.cli.ParserRequest; /** * Options that are "layered" by precedence order. * * @param <O> The type of options.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Feb 26 17:31:44 GMT 2025 - 5.7K bytes - Click Count (0)