- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 2,437 for context (0.11 sec)
-
cmd/benchmark-utils_test.go
func benchmarkPutObjectPart(b *testing.B, instanceType string, objSize int) { // create a temp Erasure/FS backend. ctx, cancel := context.WithCancel(context.Background()) defer cancel() objLayer, disks, err := prepareTestBackend(ctx, instanceType) if err != nil { b.Fatalf("Failed obtaining Temp Backend: <ERROR> %s", err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 23 15:46:00 UTC 2022 - 8.2K bytes - Viewed (0) -
mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/MockWebServerExtension.kt
override fun beforeEach(context: ExtensionContext) { context.resource.startAll() } override fun afterEach(context: ExtensionContext) { context.resource.shutdownAll() } override fun beforeAll(context: ExtensionContext) { context.resource.startAll() } override fun afterAll(context: ExtensionContext) { context.resource.shutdownAll() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 11 12:12:36 UTC 2024 - 4.1K bytes - Viewed (0) -
internal/http/dial_dnscache.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package http import ( "context" "net" "time" ) // LookupHost is a function to make custom lookupHost for optional cached DNS requests type LookupHost func(ctx context.Context, host string) (addrs []string, err error) // DialContextWithLookupHost is a helper function which returns `net.DialContext` function.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 03 19:30:51 UTC 2023 - 2.6K bytes - Viewed (0) -
cmd/xl-storage_unix_test.go
// MakeVol creates directory with 0777 perms. if err = disk.MakeVol(context.Background(), testCase.volName); err != nil { t.Fatalf("Creating a volume failed with %s expected to pass.", err) } // Attempt to create a file to verify the permissions later. // AppendFile creates file with 0666 perms.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 25 19:37:26 UTC 2022 - 3.4K bytes - Viewed (0) -
internal/crypto/sse-s3.go
} keyID, kmsKey, sealedKey, err := s3.ParseMetadata(metadata) if err != nil { return key, err } unsealKey, err := k.Decrypt(context.TODO(), &kms.DecryptRequest{ Name: keyID, Ciphertext: kmsKey, AssociatedData: kms.Context{bucket: path.Join(bucket, object)}, }) if err != nil { return key, err } err = key.Unseal(unsealKey, sealedKey, s3.String(), bucket, object)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 7.6K bytes - Viewed (0) -
internal/store/batch_test.go
} var limit uint32 = 100 batch := NewBatch[TestItem](BatchConfig[TestItem]{ Limit: limit, Store: store, CommitTimeout: 5 * time.Minute, Log: func(ctx context.Context, err error, id string, errKind ...interface{}) { t.Log(err) }, }) defer batch.Close() for i := 0; i < int(limit); i++ { if err := batch.Add(testItem); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 5.6K bytes - Viewed (0) -
cmd/admin-handlers_test.go
erasureDirs []string objLayer ObjectLayer router *mux.Router done context.CancelFunc } // prepareAdminErasureTestBed - helper function that setups a single-node // Erasure backend for admin-handler tests. func prepareAdminErasureTestBed(ctx context.Context) (*adminErasureTestBed, error) { ctx, cancel := context.WithCancel(ctx) // reset global variables to start afresh. resetTestGlobals()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 13.9K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
func GetValuesFromConfigMap(ctx cli.Context, revision string) (string, error) { client, err := ctx.CLIClient() if err != nil { return "", err } if revision != "" { injectConfigMapName = fmt.Sprintf("%s-%s", defaultInjectConfigMapName, revision) } meshConfigMap, err := client.Kube().CoreV1().ConfigMaps(ctx.IstioNamespace()).Get(context.TODO(), injectConfigMapName, metav1.GetOptions{})
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 21K bytes - Viewed (0) -
cmd/peer-rest-server.go
go func() { err := globalTierConfigMgr.Reload(context.Background(), newObjectLayerFn()) if err != nil { peersLogIf(context.Background(), fmt.Errorf("Failed to reload remote tier config %s", err)) } }() return } // ConsoleLogHandler sends console logs of this node back to peer rest client func (s *peerRESTServer) ConsoleLogHandler(ctx context.Context, params *grid.MSS, out chan<- *grid.Bytes) *grid.RemoteErr {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 53.2K bytes - Viewed (0) -
cni/pkg/util/pluginutil.go
package util import ( "context" "encoding/json" "fmt" "os" "github.com/fsnotify/fsnotify" "istio.io/istio/pkg/file" "istio.io/istio/pkg/log" ) type Watcher struct { watcher *fsnotify.Watcher Events chan struct{} Errors chan error } // Waits until a file is modified (returns nil), the context is cancelled (returns context error), or returns error
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 3.6K bytes - Viewed (0)