- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for Closer (0.16 sec)
-
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)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 17:26:51 GMT 2024 - 76.2K bytes - Viewed (0) -
cmd/erasure-object.go
} return fi.ToObjectInfo(srcBucket, srcObject, srcOpts.Versioned || srcOpts.VersionSuspended), nil } // GetObjectNInfo - returns object info and an object // Read(Closer). When err != nil, the returned reader is always nil. func (er erasureObjects) GetObjectNInfo(ctx context.Context, bucket, object string, rs *HTTPRangeSpec, h http.Header, opts ObjectOptions) (gr *GetObjectReader, err error) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun May 05 16:56:21 GMT 2024 - 77.2K bytes - Viewed (2) -
.github/workflows/stale-pr.yml
It will be closed in 14 days if no further activity occurs. If you don't want the stale bot to close it, then set a milestone for it. days-before-pr-close: 14 close-pr-message: >
Others - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Thu May 02 09:13:16 GMT 2024 - 1.7K bytes - Viewed (0) -
internal/logger/logrotate.go
// Write is blocking otherwise. func (w *Writer) Write(p []byte) (n int, err error) { return w.pw.Write(p) } // Close closes the writer. // Any accepted writes will be flushed. Any new writes will be rejected. // Once Close() exits, files are synchronized to disk. func (w *Writer) Close() error { w.pw.CloseWithError(nil) if w.f != nil { if err := w.closeCurrentFile(); err != nil { return err } }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu May 02 11:38:40 GMT 2024 - 5.8K bytes - Viewed (0) -
docs/en/docs/release-notes.md
* ♻ Change a `dict()` for `{}` in `fastapi/utils.py`. PR [#3138](https://github.com/tiangolo/fastapi/pull/3138) by [@ShahriyarR](https://github.com/ShahriyarR). * ♻ Move internal variable for errors in `jsonable_encoder` to put related code closer. PR [#4560](https://github.com/tiangolo/fastapi/pull/4560) by [@GuilleQP](https://github.com/GuilleQP).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 03 23:25:42 GMT 2024 - 388.1K bytes - Viewed (1) -
cni/pkg/nodeagent/net_test.go
// and it is flake-prone to check for closure after calling it, this retries for a bit to make // sure the netns is closed eventually. func assertNSClosed(t *testing.T, closed *atomic.Bool) { for i := 0; i < 5; i++ { if closed.Load() { return } time.Sleep(1 * time.Second) } t.Fatal("NS not closed")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 16.4K bytes - Viewed (0) -
.github/workflows/issue-metadata.yml
name: Check issues metadata on: issues: types: [ opened, unlabeled, closed ] permissions: {} jobs: check_issue_metadata: permissions: issues: write runs-on: ubuntu-latest steps: # Check that issues have proper metadata: labels and milestone # https://github.com/gradle/issue-management-action/blob/main/src/issue-metadata.ts - uses: gradle/issue-management-action@v1 with:
Others - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Thu May 02 09:13:16 GMT 2024 - 463 bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java
* their lifecycle is shared as well: once supplied repository system is shut-down, this instance becomes closed as * well. Any subsequent {@code getXXX} method invocation attempt will fail with {@link IllegalStateException}. */ public class RepositorySystemSupplier implements Supplier<RepositorySystem> { private final AtomicBoolean closed = new AtomicBoolean(false); public RepositorySystemSupplier() {}
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 43.7K bytes - Viewed (0) -
.github/workflows/pull-metadata.yml
name: Check pulls metadata on: pull_request_target: types: [ closed ] permissions: {} jobs: check_pull_metadata: permissions: issues: write pull-requests: write runs-on: ubuntu-latest steps: # Check that PRs have proper metadata: labels and milestone # https://github.com/gradle/issue-management-action/blob/main/src/pull-metadata.ts - uses: gradle/issue-management-action@v1
Others - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Thu May 02 09:13:16 GMT 2024 - 477 bytes - Viewed (0) -
cmd/metacache-set.go
// gatherResults will collect all results on the input channel and filter results according // to the options or to the current bucket ILM expiry rules. // Caller should close the channel when done. // The returned function will return the results once there is enough or input is closed, // or the context is canceled. func (o *listPathOptions) gatherResults(ctx context.Context, in <-chan metaCacheEntry) func() (metaCacheEntriesSorted, error) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 17:59:08 GMT 2024 - 30.4K bytes - Viewed (0)