- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 951 for functions (0.08 sec)
-
guava-tests/test/com/google/common/base/SuppliersTest.java
new EqualsTester() .addEqualityGroup( Suppliers.compose(Functions.constant(1), Suppliers.ofInstance("foo")), Suppliers.compose(Functions.constant(1), Suppliers.ofInstance("foo"))) .addEqualityGroup(Suppliers.compose(Functions.constant(2), Suppliers.ofInstance("foo"))) .addEqualityGroup(Suppliers.compose(Functions.constant(1), Suppliers.ofInstance("bar"))) .testEquals(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.9K bytes - Viewed (0) -
src/cmd/cgo/doc.go
For example: // #cgo noescape cFunctionName When a Go function calls a C function, it prepares for the C function to call back to a Go function. The #cgo nocallback directive may be used to tell the compiler that these preparations are not necessary. If the nocallback directive is used and the C function does call back into Go code, the program will panic. For example:
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 01 22:52:54 UTC 2024 - 44K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/bytes/61901.md
The [bytes] package adds several functions that work with iterators: - [Lines] returns an iterator over the newline-terminated lines in the byte slice s. - [SplitSeq] returns an iterator over all substrings of s separated by sep. - [SplitAfterSeq] returns an iterator over substrings of s split after each instance of sep. - [FieldsSeq] returns an iterator over substrings of s split around runs of whitespace characters, as defined by unicode.IsSpace.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:23:13 UTC 2024 - 582 bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
* **Route**: address, proxy, socketAddress * **TlsVersion**: javaName #### Renamed Functions * **Headers.of()**: for symmetry with `listOf()`, `setOf()`, etc., we’ve replaced `Headers.of(String...)` with `headersOf(vararg String)`. #### Extension Functions We’ve migrated from static functions to extension functions where we think they fit. | 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) -
cmd/benchmark-utils_test.go
} // cleaning up the backend by removing all the directories and files created on function return. defer removeRoots(disks) // uses *testing.B and the object Layer to run the benchmark. runPutObjectPartBenchmark(b, objLayer, objSize) } // creates Erasure/FS backend setup, obtains the object layer and calls the runPutObjectBenchmark function. func benchmarkPutObject(b *testing.B, instanceType string, objSize int) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 23 15:46:00 UTC 2022 - 8.2K bytes - Viewed (0) -
src/main/webapp/WEB-INF/fe.tld
<function-class>org.codelibs.fess.taglib.FessFunctions</function-class> <function-signature>java.lang.String sdh(java.lang.String)</function-signature> <example>${fe:sdh(doc.similar_docs_hash)}</example> </function> <function> <description>Concatenate strings.</description> <name>join</name> <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Dec 23 06:18:48 UTC 2023 - 10K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
public void testTransform_absent() { assertEquals(Optional.absent(), Optional.absent().transform(Functions.identity())); assertEquals(Optional.absent(), Optional.absent().transform(Functions.toStringFunction())); } public void testTransform_presentIdentity() { assertEquals(Optional.of("a"), Optional.of("a").transform(Functions.identity())); } public void testTransform_presentToString() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.5K bytes - Viewed (0) -
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)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.1K bytes - Viewed (0) -
tensorflow/c/eager/gradients.h
// grad_outputs[1]->Ref(); // return OkStatus(); // } // ~AddGradientFunction() override {} // }; // // GradientFunction* AddRegisterer(const ForwardOperation& op) { // // More complex gradient functions can use inputs/attrs etc. from the // // forward `op`. // return new AddGradientFunction; // } // // Status RegisterGradients(GradientRegistry* registry) { // return registry->Register("Add", AddRegisterer);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 6.9K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
You can define event handlers (functions) that need to be executed before the application starts up, or when the application is shutting down. These functions can be declared with `async def` or normal `def`. ### `startup` event To add a function that should be run before the application starts, declare it with the event `"startup"`:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 10:36:22 UTC 2024 - 7.6K bytes - Viewed (0)