- Sort Score
- Result 10 results
- Languages All
Results 701 - 710 of 1,197 for close (0.03 sec)
-
doc/go1.17_spec.html
they cannot be used as function values. </p> <h3 id="Close">Close</h3> <p> For a channel <code>c</code>, the built-in function <code>close(c)</code> records that no more values will be sent on the channel. It is an error if <code>c</code> is a receive-only channel. Sending to or closing a closed channel causes a <a href="#Run_time_panics">run-time panic</a>.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 10 18:25:45 UTC 2024 - 211.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
return session; } newSession = new DefaultRepositorySystemSession(session); } else { newSession = new DefaultRepositorySystemSession(h -> false); // no close handle used } final LocalRepositoryManager llrm = system.newLocalRepositoryManager(newSession, new LocalRepository(repository.getBasedir()));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 26.1K 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) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
.pluginTypes("org.codelibs.opensearch.extension.ExtensionPlugin")); runner.ensureYellow(); } @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Before public void before() throws Exception { runner.admin().indices().prepareDelete("_all").execute().actionGet(); runner.refresh();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
} @Override public byte[] read() throws IOException { Closer closer = Closer.create(); try { FileInputStream in = closer.register(openStream()); return ByteStreams.toByteArray(in, in.getChannel().size()); } catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); } } @Override public String toString() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 33.1K bytes - Viewed (0) -
schema/schema.go
cacheStore: cacheStore, namer: namer, initialized: make(chan struct{}), } // When the schema initialization is completed, the channel will be closed defer close(schema.initialized) // Load exist schema cache, return if exists if v, ok := cacheStore.Load(schemaCacheKey); ok { s := v.(*Schema) // Wait for the initialization of other goroutines to complete
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jun 20 12:19:31 UTC 2024 - 13.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)