- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 638 for open (0.04 sec)
-
src/main/java/jcifs/SmbResource.java
/** * Opens an output stream writing to the file (truncating, write only, sharable) * * @return output stream, needs to be closed when finished * @throws CIFSException */ OutputStream openOutputStream () throws CIFSException; /** * Opens an input stream reading the file (read only) * * @param flags * open flags * @param access
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Dec 20 14:09:34 UTC 2020 - 26K bytes - Viewed (1) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
} /** * @return whether the stream is open */ public boolean isOpen () { return this.handle != null && this.handle.isValid(); } protected synchronized SmbFileHandleImpl ensureOpen () throws CIFSException { if ( !isOpen() ) { // one extra acquire to keep this open till the stream is released
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Nov 13 15:14:04 UTC 2021 - 11.9K bytes - Viewed (0) -
docs_src/background_tasks/tutorial002_an_py39.py
from typing import Annotated, Union from fastapi import BackgroundTasks, Depends, FastAPI app = FastAPI() def write_log(message: str): with open("log.txt", mode="a") as log: log.write(message) def get_query(background_tasks: BackgroundTasks, q: Union[str, None] = None): if q: message = f"found query: {q}\n" background_tasks.add_task(write_log, message) return q
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 696 bytes - Viewed (0) -
docs_src/custom_response/tutorial008.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Jul 19 19:14:58 UTC 2021 - 360 bytes - Viewed (0) -
docs_src/background_tasks/tutorial002_an.py
from typing import Union from fastapi import BackgroundTasks, Depends, FastAPI from typing_extensions import Annotated app = FastAPI() def write_log(message: str): with open("log.txt", mode="a") as log: log.write(message) def get_query(background_tasks: BackgroundTasks, q: Union[str, None] = None): if q: message = f"found query: {q}\n" background_tasks.add_task(write_log, message) return q
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 725 bytes - Viewed (0) -
api/maven-api-toolchain/src/main/mdo/toolchains.mdo
<description> Toolchain identification information, which will be matched against project requirements. <p>Actual content structure is completely open: each toolchain type will define its own format and semantics. <p>This is generally a properties format: {@code <name>value</name>} with predefined properties names.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Aug 22 14:47:43 UTC 2024 - 9.7K bytes - Viewed (0) -
docs/debugging/healing-bin/main.go
cli.ShowAppHelpAndExit(c, 1) // last argument is exit code } ht := make(map[string]map[string]interface{}) file := c.Args().Get(0) if strings.HasSuffix(file, ".zip") { var sz int64 f, err := os.Open(file) if err != nil { return err } if st, err := f.Stat(); err == nil { sz = st.Size() } defer f.Close() zr, err := zip.NewReader(f, sz) if err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.2K bytes - Viewed (0) -
README.md
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 30 22:38:34 UTC 2024 - 6.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt
import javax.net.ssl.SSLSocket import javax.net.ssl.SSLSocketFactory /** * A [SSLSocketFactory] that delegates calls. Sockets can be configured after creation by * overriding [.configureSocket]. */ open class DelegatingSSLSocketFactory(private val delegate: SSLSocketFactory) : SSLSocketFactory() { @Throws(IOException::class) override fun createSocket(): SSLSocket { val sslSocket = delegate.createSocket() as SSLSocket
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.8K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_03_an_py39.py
with path.open("rb") as file: response = client.post("/files/", files={"file": file}) assert response.status_code == 200, response.text assert response.json() == {"file_size": 14} @needs_py39 def test_post_upload_file(tmp_path, client: TestClient): path = tmp_path / "test.txt" path.write_bytes(b"<file content>") with path.open("rb") as file:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 6.2K bytes - Viewed (0)