Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for lock1 (0.33 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/package-lock.json

    Michael Matloob <******@****.***> 1708031260 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 156K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/LocalCache.java

       * of reads may not be immediately reflected on the algorithm's data structures. These structures
       * are guarded by a lock and operations are applied in batches to avoid lock contention. The
       * penalty of applying the batches is spread across threads so that the amortized cost is slightly
       * higher than performing just the operation without enforcing the capacity constraint.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  3. 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)
  4. src/net/http/transport_test.go

    func (tcs *testConnSet) check(t *testing.T) {
    	tcs.mu.Lock()
    	defer tcs.mu.Unlock()
    	for i := 4; i >= 0; i-- {
    		for i, c := range tcs.list {
    			if tcs.closed[c] {
    				continue
    			}
    			if i != 0 {
    				// TODO(bcmills): What is the Sleep here doing, and why is this
    				// Unlock/Sleep/Lock cycle needed at all?
    				tcs.mu.Unlock()
    				time.Sleep(50 * time.Millisecond)
    				tcs.mu.Lock()
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  5. src/database/sql/sql_test.go

    	type dbConn struct {
    		db *DB
    		c  *driverConn
    	}
    	freedFrom := make(map[dbConn]string)
    	var mu sync.Mutex
    	getFreedFrom := func(c dbConn) string {
    		mu.Lock()
    		defer mu.Unlock()
    		return freedFrom[c]
    	}
    	setFreedFrom := func(c dbConn, s string) {
    		mu.Lock()
    		defer mu.Unlock()
    		freedFrom[c] = s
    	}
    	putConnHook = func(db *DB, c *driverConn) {
    		if slices.Contains(db.freeConn, c) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  6. pkg/controller/garbagecollector/garbagecollector_test.go

    func (f *fakeServerResources) ServerPreferredResources() ([]*metav1.APIResourceList, error) {
    	f.Lock.Lock()
    	defer f.Lock.Unlock()
    	f.InterfaceUsedCount++
    	return f.PreferredResources, f.Error
    }
    
    func (f *fakeServerResources) setPreferredResources(resources []*metav1.APIResourceList, err error) {
    	f.Lock.Lock()
    	defer f.Lock.Unlock()
    	f.PreferredResources = resources
    	f.Error = err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  7. 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)
  8. cmd/admin-handlers.go

    	toEntry := func(lri lockRequesterInfo) string {
    		return fmt.Sprintf("%s/%s", lri.Name, lri.UID)
    	}
    	for _, peerLock := range peerLocks {
    		if peerLock == nil {
    			continue
    		}
    		for k, v := range peerLock.Locks {
    			for _, lockReqInfo := range v {
    				if val, ok := entryMap[toEntry(lockReqInfo)]; ok {
    					val.ServerList = append(val.ServerList, peerLock.Addr)
    				} else {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  9. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyInsightReportTaskIntegrationTest.groovy

          - By constraint: Dependency locking
       Failures:
          - Dependency lock state out of date:
              - Resolved 'org:foo:1.1' which is not part of the dependency lock state
    
    org:foo:1.1 FAILED
    \\--- lockedConf
    
    org:foo:1.+ -> 1.1
    \\--- lockedConf
    """
        }
    
        def "displays a dependency insight report even if locks are out of date because of new constraint"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 15:15:56 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  10. 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)
Back to top