- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 584 for functional (0.32 sec)
-
android/guava/src/com/google/common/graph/ImmutableGraph.java
} return nodeConnections.buildOrThrow(); } @SuppressWarnings("unchecked") private static <N> GraphConnections<N, Presence> connectionsOf(Graph<N> graph, N node) { Function<N, Presence> edgeValueFn = (Function<N, Presence>) Functions.constant(Presence.EDGE_EXISTS); return graph.isDirected() ? DirectedGraphConnections.ofImmutable(node, graph.incidentEdges(node), edgeValueFn)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 01 16:30:37 GMT 2022 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EquivalenceTest.java
EquivalenceTester.of(Equivalence.equals().onResultOf(Functions.toStringFunction())) .addEquivalenceGroup(new IntValue(1), new IntValue(1)) .addEquivalenceGroup(new IntValue(2)) .test(); } public void testOnResultOf_equals() { new EqualsTester() .addEqualityGroup( Equivalence.identity().onResultOf(Functions.toStringFunction()),
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 6.5K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10FunctionalType.kt
import org.jetbrains.kotlin.analysis.api.types.KtType import org.jetbrains.kotlin.analysis.api.types.KtTypeNullability import org.jetbrains.kotlin.builtins.* import org.jetbrains.kotlin.builtins.functions.FunctionClassDescriptor import org.jetbrains.kotlin.builtins.functions.isSuspendOrKSuspendFunction import org.jetbrains.kotlin.name.ClassId import org.jetbrains.kotlin.types.SimpleType internal class KtFe10FunctionalType(
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:05:58 GMT 2024 - 5.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt
MemberType.CONSTRUCTOR -> hasConstructorFlags(kmClass::constructors, jvmSignature, predicate) MemberType.METHOD -> hasFunctionFlags(kmClass::functions, jvmSignature, predicate) || hasPropertyFlags(kmClass::properties, jvmSignature, predicate) } } private
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Jun 07 08:14:15 GMT 2023 - 4.5K bytes - Viewed (0) -
docs/en/docs/tutorial/background-tasks.md
```Python hl_lines="14" {!../../../docs_src/background_tasks/tutorial001.py!} ``` `.add_task()` receives as arguments: * A task function to be run in the background (`write_notification`). * Any sequence of arguments that should be passed to the task function in order (`email`).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 5.6K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineFunctionAnalyzer.kt
} } /** * Returns the list of files that contain all reached inline functions. */ fun allFiles(): List<KtFile> = analyzedElements.mapTo(mutableSetOf()) { it.containingKtFile }.toList() /** * Returns the set of [KtObjectDeclaration]s which are defined as an object literal in one of the reached inline functions. */ fun inlineObjectDeclarations(): Set<KtObjectDeclaration> {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Aug 29 23:55:31 GMT 2023 - 5.1K bytes - Viewed (0) -
docs/en/docs/tutorial/security/get-current-user.md
We are not restricted to having only one dependency that can return that type of data. ## Other models You can now get the current user directly in the *path operation functions* and deal with the security mechanisms at the **Dependency Injection** level, using `Depends`. And you can use any model or data for the security requirements (in this case, a Pydantic model `User`).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 7.6K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/sub-dependencies.md
return {"fresh_value": fresh_value} ``` ## Recap Apart from all the fancy words used here, the **Dependency Injection** system is quite simple. Just functions that look the same as the *path operation functions*. But still, it is very powerful, and allows you to declare arbitrarily deeply nested dependency "graphs" (trees). !!! tip All this might not seem as useful with these simple examples.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 5.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
private int nextRandomKey() { int a = random.nextInt(max); /* * For example, if concentration=2.0, the following takes the square root of * the uniformly-distributed random integer, then truncates any fractional * part, so higher integers would appear (in this case linearly) more often * than lower ones. */ return (int) Math.pow(a, 1.0 / concentration); } @AfterExperiment
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.4K bytes - Viewed (0) -
misc/cgo/gmp/gmp.go
var _C_zero *C.mpz_t and then replacing all instances of C.zero with (*_C_zero). Cgo's most interesting translation is for functions. If xxx is a C function, then cgo rewrites C.xxx into a new function _C_xxx that calls the C xxx in a standard pthread. The new function translates its arguments, calls xxx, and translates the return value. Translation of parameters and the return value follows the type
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 9.5K bytes - Viewed (0)