Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for lock1 (0.05 sec)

  1. cmd/bucket-replication.go

    	}
    
    	// Compare only necessary headers
    	compareKeys := []string{
    		"Expires",
    		"Cache-Control",
    		"Content-Language",
    		"Content-Disposition",
    		"X-Amz-Object-Lock-Mode",
    		"X-Amz-Object-Lock-Retain-Until-Date",
    		"X-Amz-Object-Lock-Legal-Hold",
    		"X-Amz-Website-Redirect-Location",
    		"X-Amz-Meta-",
    	}
    
    	// compare metadata on both maps to see if meta is identical
    	compareMeta1 := make(map[string]string)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    		return
    	}
    
    	// Take read lock on object, here so subsequent lower-level
    	// calls do not need to.
    	lock := objectAPI.NewNSLock(bucket, object)
    	lkctx, err := lock.GetRLock(ctx, globalOperationTimeout)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	ctx = lkctx.Context()
    	defer lock.RUnlock(lkctx)
    
    	getObjectNInfo := objectAPI.GetObjectNInfo
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    				Namespace: minioNamespace,
    				Subsystem: "locks",
    				Name:      "total",
    				Help:      "Number of current locks on this peer",
    				Type:      gaugeMetric,
    			},
    			Value: float64(st.Total),
    		})
    		metrics = append(metrics, MetricV2{
    			Description: MetricDescription{
    				Namespace: minioNamespace,
    				Subsystem: "locks",
    				Name:      "write_total",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	_, err := registry.DeleteCollection(ctx, func(ctx context.Context, obj runtime.Object) error {
    		lock.Lock()
    		defer lock.Unlock()
    		if called {
    			t.Errorf("Delete called more than once, so context cancellation didn't work")
    		} else {
    			cancel()
    			called = true
    		}
    		return nil
    	}, nil, &metainternalversion.ListOptions{})
    	if err != context.Canceled {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/exec.go

    	if cfg.BuildN {
    		sh.ShowCmd(b.WorkDir, "%s || true", joinUnambiguously(cmdArgs))
    		return false
    	}
    
    	// gccCompilerID acquires b.exec, so do before acquiring lock.
    	compilerID, cacheOK := b.gccCompilerID(compiler[0])
    
    	b.exec.Lock()
    	defer b.exec.Unlock()
    	if b, ok := b.flagCache[key]; ok {
    		return b
    	}
    	if b.flagCache == nil {
    		b.flagCache = make(map[[2]string]bool)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    		{"enc-mp-2", []int64{5487701, 5487799, 3}, mapCopy(metaWithSSEC)},
    		{"enc-mp-3", []int64{10499807, 10499963, 7}, mapCopy(metaWithSSEC)},
    	}
    	// SSEC can't be used with compression
    	globalCompressConfigMu.Lock()
    	globalCompressEnabled := globalCompressConfig.Enabled
    	globalCompressConfigMu.Unlock()
    	if globalCompressEnabled {
    		objectInputs = objectInputs[0:8]
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_builder_test.go

    				proxy, cb.req.Push,
    				"outbound|8080|v1|foo.com",
    				model.TrafficDirectionOutbound, "v1", "foo.com", 8080,
    				service, dr,
    			)
    			eps := eb.FromServiceEndpoints()
    			mu.Lock()
    			actual = eps
    			mu.Unlock()
    			wg.Done()
    		}()
    	}
    	wg.Wait()
    	sortEndpoints(actual)
    	if v := cmp.Diff(expected, actual, protocmp.Transform()); v != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_test.go

    	kubelet.HandlePodCleanups(ctx)
    	kubelet.HandlePodCleanups(ctx)
    
    	destroyCount := 0
    	err := wait.Poll(100*time.Millisecond, 10*time.Second, func() (bool, error) {
    		fakeContainerManager.PodContainerManager.Lock()
    		defer fakeContainerManager.PodContainerManager.Unlock()
    		destroyCount = 0
    		for _, functionName := range fakeContainerManager.PodContainerManager.CalledFunctions {
    			if functionName == "Destroy" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
Back to top