- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 688 for Handler (0.04 seconds)
-
tensorflow/c/c_api.cc
memcpy(buf, new_handle.c_str(), new_handle.size() + 1); *handle = buf; } } void TF_DeletePRunHandle(const char* handle) { delete[] handle; // TODO(suharshs): Free up any resources held by the partial run state. } void TF_SessionPRun(TF_Session* session, const char* handle, const TF_Output* inputs, TF_Tensor* const* input_values,
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 102.4K bytes - Click Count (0) -
docs/en/docs/tutorial/background-tasks.md
Create a function to be run as the background task. It is just a standard function that can receive parameters. It can be an `async def` or normal `def` function, **FastAPI** will know how to handle it correctly. In this case, the task function will write to a file (simulating sending an email). And as the write operation doesn't use `async` and `await`, we define the function with normal `def`:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.8K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt
val proxies: MutableList<Proxy> = mutableListOf() fun addProxy(proxy: Proxy): FakeProxySelector { proxies.add(proxy) return this } override fun select(uri: URI): List<Proxy> { // Don't handle 'socket' schemes, which the RI's Socket class may request (for SOCKS). return if (uri.scheme == "http" || uri.scheme == "https") proxies else listOf(Proxy.NO_PROXY) } override fun connectFailed( uri: URI,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.3K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java
import java.io.Writer; import java.nio.file.Files; import java.util.Map; import java.util.Objects; import org.apache.maven.settings.Settings; import org.apache.maven.settings.v4.SettingsStaxWriter; /** * Handles serialization of settings into the default textual format. * * @deprecated since 4.0.0, use {@link SettingsStaxWriter} instead */ @Named @Singleton @Deprecated(since = "4.0.0")Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.8K bytes - Click Count (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt
} } override fun getSelectedProtocol(sslSocket: SSLSocket): String? = if (sslSocket is BCSSLSocket) { when (val protocol = (sslSocket as BCSSLSocket).applicationProtocol) { // Handles both un-configured and none selected. null, "" -> null else -> protocol } } else { super.getSelectedProtocol(sslSocket) } companion object {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java
import java.nio.file.Files; import java.util.Map; import java.util.Objects; import org.apache.maven.artifact.repository.metadata.Metadata; import org.apache.maven.metadata.v4.MetadataStaxReader; /** * Handles deserialization of metadata from some kind of textual format like XML. * */ @Named @Singleton public class DefaultMetadataReader implements MetadataReader { @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java
import java.util.Map; import java.util.Objects; import org.apache.maven.model.Model; import org.apache.maven.model.io.xpp3.MavenXpp3Writer; import org.codehaus.plexus.util.WriterFactory; /** * Handles serialization of a model into some kind of textual format like XML. * * @deprecated use {@link org.apache.maven.model.v4.MavenStaxWriter} instead */ @Named @Singleton @Deprecated(since = "4.0.0")Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 2.7K bytes - Click Count (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt
} } override fun getSelectedProtocol(sslSocket: SSLSocket): String? = if (sslSocket is org.openjsse.javax.net.ssl.SSLSocket) { when (val protocol = sslSocket.applicationProtocol) { // Handles both un-configured and none selected. null, "" -> null else -> protocol } } else { super.getSelectedProtocol(sslSocket) } companion object {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.6K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java
import java.util.Objects; import org.apache.maven.api.toolchain.InputSource; import org.apache.maven.toolchain.model.PersistedToolchains; import org.apache.maven.toolchain.v4.MavenToolchainsStaxReader; /** * Handles deserialization of toolchains from the default textual format. * * @since 3.3.0 * @deprecated since 4.0.0, use {@link MavenToolchainsStaxReader} instead */ @Named @Singleton @Deprecated(since = "4.0.0")Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 3.8K bytes - Click Count (0) -
compat/maven-settings/src/main/java/org/apache/maven/settings/RuntimeInfo.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.settings; import java.io.File; /** * To handle runtime informations like local repository or profiles. * */ @Deprecated public class RuntimeInfo { @SuppressWarnings("checkstyle:constantname")Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 1.6K bytes - Click Count (0)