- Sort Score
- Result 10 results
- Languages All
Results 791 - 800 of 977 for close1 (0.11 sec)
-
docs/ru/docs/tutorial/request-files.md
* Наример, `await myfile.seek(0)` перейдет к началу файла. * Это особенно удобно, если вы один раз выполнили команду `await myfile.read()`, а затем вам нужно прочитать содержимое файла еще раз. * `close()`: Закрыть файл. Поскольку все эти методы являются `async` методами, вам следует использовать "await" вместе с ними. Например, внутри `async` *функции операции пути* можно получить содержимое с помощью: ```Python
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 15.3K bytes - Viewed (0) -
mockwebserver-deprecated/api/mockwebserver.api
public final fun addHeaderLenient (Ljava/lang/String;Ljava/lang/Object;)Lokhttp3/mockwebserver/MockResponse; public final fun clearHeaders ()Lokhttp3/mockwebserver/MockResponse; public synthetic fun clone ()Ljava/lang/Object; public fun clone ()Lokhttp3/mockwebserver/MockResponse; public final fun getBody ()Lokio/Buffer; public final fun getBodyDelay (Ljava/util/concurrent/TimeUnit;)J public final fun getHeaders ()Lokhttp3/Headers;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jul 22 12:28:51 UTC 2023 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
f.connect(); assertFalse(true); } catch ( SmbAuthException e ) { // ignore } assertFalse(cifsContext.close()); } // #46 @Test public void testCredentialURLs () throws MalformedURLException, SmbException { try { testCredentialUrl(
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 15.8K bytes - Viewed (0) -
docs/zh/docs/tutorial/request-files.md
* `read(size)`:按指定数量的字节或字符(`size` (`int`))读取文件内容; * `seek(offset)`:移动至文件 `offset` (`int`)字节处的位置; * 例如,`await myfile.seek(0) ` 移动到文件开头; * 执行 `await myfile.read()` 后,需再次读取已读取内容时,这种方法特别好用; * `close()`:关闭文件。 因为上述方法都是 `async` 方法,要搭配「await」使用。 例如,在 `async` *路径操作函数* 内,要用以下方式读取文件内容: ```Python contents = await myfile.read() ``` 在普通 `def` *路径操作函数* 内,则可以直接访问 `UploadFile.file`,例如: ```Python
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.9K bytes - Viewed (0) -
misc/ios/go_ios_exec.go
return nil } func copyLocalDir(dst, src string) error { if err := os.Mkdir(dst, 0755); err != nil { return err } d, err := os.Open(src) if err != nil { return err } defer d.Close() fi, err := d.Readdir(-1) if err != nil { return err } for _, f := range fi { if f.IsDir() { if f.Name() == "testdata" { if err := cp(dst, filepath.Join(src, f.Name())); err != nil {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jun 18 16:32:49 UTC 2024 - 8.7K bytes - Viewed (0) -
cmd/local-locker.go
if len(v) == 0 { delete(l.lockMap, k) continue } lockCopy[k] = append(make([]lockRequesterInfo, 0, len(v)), v...) } return lockCopy } func (l *localLocker) Close() error { return nil } // IsOnline - local locker is always online. func (l *localLocker) IsOnline() bool { return true } // IsLocal - local locker returns true.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 10.7K bytes - Viewed (0) -
api/go1.9.txt
pkg crypto, const BLAKE2s_256 Hash pkg crypto/x509, type Certificate struct, ExcludedDNSDomains []string pkg database/sql, method (*Conn) BeginTx(context.Context, *TxOptions) (*Tx, error) pkg database/sql, method (*Conn) Close() error pkg database/sql, method (*Conn) ExecContext(context.Context, string, ...interface{}) (Result, error) pkg database/sql, method (*Conn) PingContext(context.Context) error
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 04 20:20:20 UTC 2021 - 10.7K bytes - Viewed (0) -
cmd/test-utils_test.go
err = func() (err error) { defer zippedFile.Close() extractedFilePath := filepath.Join(targetDir, file.Name) if file.FileInfo().IsDir() { return os.MkdirAll(extractedFilePath, file.Mode()) } outputFile, err := os.OpenFile(extractedFilePath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, file.Mode()) if err != nil { return err } defer outputFile.Close() _, err = io.Copy(outputFile, zippedFile)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultiset.java
} else if (cmp == 0) { switch (range.getLowerBoundType()) { case OPEN: return aggr.nodeAggregate(node) + aggr.treeAggregate(node.left); case CLOSED: return aggr.treeAggregate(node.left); } throw new AssertionError(); } else { return aggr.treeAggregate(node.left) + aggr.nodeAggregate(node)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 34.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
* Returns the probability that {@linkplain #mightContain(Object)} will erroneously return {@code * true} for an object that has not actually been put in the {@code BloomFilter}. * * <p>Ideally, this number should be close to the {@code fpp} parameter passed in {@linkplain * #create(Funnel, int, double)}, or smaller. If it is significantly higher, it is usually the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 26.6K bytes - Viewed (0)