- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 622 for onOpen (0.46 sec)
-
internal/ioutil/append-file_windows.go
) // AppendFile - appends the file "src" to the file "dst" func AppendFile(dst string, src string, osync bool) error { appendFile, err := lock.Open(dst, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0o666) if err != nil { return err } defer appendFile.Close() srcFile, err := lock.Open(src, os.O_RDONLY, 0o666) if err != nil { return err } defer srcFile.Close() _, err = io.Copy(appendFile, srcFile) return err
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
public long length() { return 0; } @Override public int getFileIndex() { return 0; } } @Test @DisplayName("open(): invalid URL path without trailing slash throws SmbException") void invalidUrlPathThrows() throws Exception { // Override the default setup for this specific test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
docs/es/docs/advanced/events.md
{* ../../docs_src/events/tutorial003_py39.py hl[1,13] *} Un **context manager** en Python es algo que puedes usar en un statement `with`, por ejemplo, `open()` puede ser usado como un context manager: ```Python with open("file.txt") as file: file.read() ``` En versiones recientes de Python, también hay un **async context manager**. Lo usarías con `async with`: ```PythonRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 8.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt
* * This test includes tests from [Guava's](https://code.google.com/p/guava-libraries/) * MediaTypeTest. */ open class MediaTypeTest { open fun MediaType.charsetName(): String? = parameter("charset")?.uppercase() protected open fun parse(string: String): MediaType = string.toMediaTypeOrNull()!! protected open fun assertInvalid( string: String, exceptionMessage: String?, ) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 7.5K bytes - Viewed (0) -
tests/error_translator_test.go
untranslatedErr := errors.New("some random error") db, _ := gorm.Open(tests.DummyDialector{TranslatedErr: translatedErr}) err := db.AddError(untranslatedErr) if !errors.Is(err, untranslatedErr) { t.Fatalf("expected err: %v got err: %v", untranslatedErr, err) } // it should translate error when the TranslateError flag is true db, _ = gorm.Open(tests.DummyDialector{TranslatedErr: translatedErr}, &gorm.Config{TranslateError: true})
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 3.1K bytes - Viewed (0) -
docs/es/docs/deployment/fastapicloud.md
* HTTPS * Replicación, con autoescalado basado en requests * etc. FastAPI Cloud es el sponsor principal y proveedor de financiación de los proyectos open source de *FastAPI and friends*. ✨ ## Desplegar en otros proveedores de la nube { #deploy-to-other-cloud-providers } FastAPI es open source y está basado en estándares. Puedes desplegar apps de FastAPI en cualquier proveedor de la nube que elijas.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:16:35 UTC 2025 - 2.1K bytes - Viewed (0) -
docs/en/docs/deployment/fastapicloud.md
* HTTPS * Replication, with autoscaling based on requests * etc. FastAPI Cloud is the primary sponsor and funding provider for the *FastAPI and friends* open source projects. ✨ ## Deploy to other cloud providers { #deploy-to-other-cloud-providers } FastAPI is open source and based on standards. You can deploy FastAPI apps to any cloud provider you choose. Follow your cloud provider's guides to deploy FastAPI apps with them. 🤓Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 17 19:33:53 UTC 2025 - 2K bytes - Viewed (0) -
docs_src/background_tasks/tutorial001_py39.py
from fastapi import BackgroundTasks, FastAPI app = FastAPI() def write_notification(email: str, message=""): with open("log.txt", mode="w") as email_file: content = f"notification for {email}: {message}" email_file.write(content) @app.post("/send-notification/{email}") async def send_notification(email: str, background_tasks: BackgroundTasks):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 519 bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomain.java
import jcifs.dcerpc.rpc; /** * MSRPC implementation for opening a domain handle. * This class provides functionality to open a handle to a SAM domain * using the SAMR RPC interface. */ public class MsrpcSamrOpenDomain extends samr.SamrOpenDomain { /** * Creates a new request to open a domain handle. * * @param handle the SAM policy handle * @param access the desired access rightsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt
* characters to lowercase. */ open fun canonicalize(s: String): String = s } /** Tests integration between HttpUrl and the host platform's built-in URL classes, if any. */ open class Platform { open fun test( codePoint: Int, codePointString: String, encoding: Encoding, component: Component,Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.3K bytes - Viewed (0)