Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for lris (0.02 sec)

  1. cmd/local-locker.go

    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    
    	for k, lris := range l.lockMap {
    		modified := false
    		for i := 0; i < len(lris); {
    			lri := &lris[i]
    			if time.Since(time.Unix(0, lri.TimeLastRefresh)) > interval {
    				delete(l.lockUID, formatUUID(lri.UID, lri.idx))
    				if len(lris) == 1 {
    					// Remove the write lock.
    					delete(l.lockMap, lri.Name)
    					modified = false
    					break
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. cmd/admin-handlers_test.go

    		resource := fmt.Sprintf("bucket/get-object-%d", i)
    		lri := lockRequesterInfo{
    			Name:   resource,
    			UID:    mustGetUUID(),
    			Owner:  owners[i%len(owners)],
    			Quorum: 2,
    		}
    		lris = append(lris, lri)
    		locksHeld[resource] = append(locksHeld[resource], lri)
    		// concurrent read lock, same resource different uid
    		lri.UID = mustGetUUID()
    		lris = append(lris, lri)
    		locksHeld[resource] = append(locksHeld[resource], lri)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. cmd/lock-rest-server-common_test.go

    		lockRequesterInfo1,
    		lockRequesterInfo2,
    	}
    
    	lri := locker.ll.lockMap["name"]
    
    	// test unknown uid
    	if locker.ll.removeEntry("name", dsync.LockArgs{
    		Owner: "owner",
    		UID:   "unknown-uid",
    	}, &lri) {
    		t.Errorf("Expected %#v, got %#v", false, true)
    	}
    
    	if !locker.ll.removeEntry("name", dsync.LockArgs{
    		Owner: "owner",
    		UID:   "0123-4567",
    	}, &lri) {
    		t.Errorf("Expected %#v, got %#v", true, false)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. ci/official/envs/versions_upload

    # ==============================================================================
    # Release jobs are very basic. They don't use any caching or RBE,
    # but they do upload logs to resultstore.
    # IMPORTANT: trailing slash is required on GCS URIs, as it tells gcloud to
    # pretend the path is a directory.
    TFCI_ARTIFACT_FINAL_GCS_ENABLE=1
    TFCI_ARTIFACT_FINAL_GCS_SA_PATH="${KOKORO_KEYSTORE_DIR}/73361_tensorflow_release_binary_uploader_service_account"
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jul 16 21:54:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. ci/official/envs/nightly_upload

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ==============================================================================
    # IMPORTANT: trailing slash is required on GCS URIs, as it tells gcloud to
    # pretend the path is a directory.
    # 1. Upload nightlies
    TFCI_ARTIFACT_FINAL_GCS_ENABLE=1
    TFCI_ARTIFACT_FINAL_GCS_SA_PATH="${KOKORO_KEYSTORE_DIR}/73361_tensorflow_release_binary_uploader_service_account"
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Jun 17 20:45:36 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. cmd/fmt-gen.go

      filesystem separated by space. You may also use a '...' convention
      to abbreviate the directory arguments. Remote directories in a
      distributed setup are encoded as HTTP(s) URIs.
    {{if .VisibleFlags}}
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}{{end}}
    EXAMPLES:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/compare/sds/util.go

    	// so skip determining this information, because usually it will be not included in the certificate.
    	if trustDomain == "" {
    		for _, uri := range cert.URIs {
    			if uri.Scheme == "spiffe" {
    				trustDomain = uri.Host
    			}
    		}
    	}
    
    	today := time.Now()
    	return SecretMeta{
    		SerialNumber: fmt.Sprintf("%x", cert.SerialNumber),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. cmd/site-replication.go

    			if err != nil {
    				return err
    			}
    			sris[depIdx[globalDeploymentID()]] = srInfo
    			return nil
    		},
    		func(deploymentID string, p madmin.PeerInfo) error {
    			admClient, err := c.getAdminClient(ctx, deploymentID)
    			if err != nil {
    				switch err.(type) {
    				case RemoteTargetConnectionErr:
    					sris[depIdx[deploymentID]] = madmin.SRInfo{}
    					return nil
    				default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

            // As recommended by the HTTP RFC and implemented in Firefox, the max age of a document
            // should be defaulted to 10% of the document's age at the time it was served. Default
            // expiration dates aren't used for URIs containing a query.
            val servedMillis = servedDate?.time ?: sentRequestMillis
            val delta = servedMillis - lastModified!!.time
            return if (delta > 0L) delta / 10 else 0L
          }
    
          return 0L
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. internal/dsync/drwmutex.go

    	dsyncLog = env.Get("_MINIO_DSYNC_TRACE", "0") == "1"
    
    	lockRetryMinInterval = 250 * time.Millisecond
    	if lri := env.Get("_MINIO_LOCK_RETRY_INTERVAL", ""); lri != "" {
    		v, err := strconv.Atoi(lri)
    		if err != nil {
    			panic(err)
    		}
    		lockRetryMinInterval = time.Duration(v) * time.Millisecond
    	}
    
    	lockRetryBackOff = backoffWait(
    		lockRetryMinInterval,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top