Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for GoBlock (0.16 sec)

  1. pkg/kubelet/config/config.go

    	}
    
    	return nil
    }
    
    func (s *podStorage) merge(source string, change interface{}) (adds, updates, deletes, removes, reconciles *kubetypes.PodUpdate) {
    	s.podLock.Lock()
    	defer s.podLock.Unlock()
    
    	addPods := []*v1.Pod{}
    	updatePods := []*v1.Pod{}
    	deletePods := []*v1.Pod{}
    	removePods := []*v1.Pod{}
    	reconcilePods := []*v1.Pod{}
    
    	pods := s.pods[source]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    	err = nil
    	objInfo = ObjectInfo{}
    
    	object = encodeDirObject(object)
    
    	if z.SinglePool() {
    		return z.serverPools[0].GetObjectInfo(ctx, bucket, object, opts)
    	}
    
    	if !opts.NoLock {
    		opts.NoLock = true // avoid taking locks at lower levels for multi-pool setups.
    
    		// Lock the object before reading.
    		lk := z.NewNSLock(bucket, object)
    		lkctx, err := lk.GetRLock(ctx, globalOperationTimeout)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  3. docs/site-replication/run-multi-site-oidc.sh

    if [ $? -eq 0 ]; then
    	echo "expected object to be deleted permanently after replication, exiting.."
    	exit_1
    fi
    
    ./mc mb --with-lock minio3/newbucket-olock
    sleep 5
    
    enabled_minio2=$(./mc stat --json minio2/newbucket-olock | jq -r .ObjectLock.enabled)
    if [ $? -ne 0 ]; then
    	echo "expected bucket to be mirrored with object-lock but not present, exiting..."
    	exit_1
    fi
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. docs/site-replication/run-multi-site-ldap.sh

    fi
    
    ./mc stat minio1/newbucket/README.md
    if [ $? -eq 0 ]; then
    	echo "expected file to be deleted, exiting.."
    	exit_1
    fi
    
    ./mc mb --with-lock minio3/newbucket-olock
    sleep 5
    
    enabled_minio2=$(./mc stat --json minio2/newbucket-olock | jq -r .ObjectLock.enabled)
    if [ $? -ne 0 ]; then
    	echo "expected bucket to be mirrored with object-lock but not present, exiting..."
    	exit_1
    fi
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. src/runtime/mstats.go

    	gen atomic.Uint32
    
    	// noPLock is intended to provide mutual exclusion for updating
    	// stats when no P is available. It does not block other writers
    	// with a P, only other writers without a P and the reader. Because
    	// stats are usually updated when a P is available, contention on
    	// this lock should be minimal.
    	noPLock mutex
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  6. cmd/object-api-interface.go

    	CreatedAt         time.Time // only for site replication
    	NoLock            bool      // does not lock the make bucket call if set to 'true'
    }
    
    // DeleteBucketOptions provides options for DeleteBucket calls.
    type DeleteBucketOptions struct {
    	NoLock     bool             // does not lock the delete bucket call if set to 'true'
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 20:27:52 UTC 2024
    - 17K bytes
    - Viewed (0)
  7. tensorflow/c/kernels_experimental.cc

            -static_cast<int64_t>(tmpvar.AllocatedBytes()));
      }
    
      TF_SetStatus(tf_status, TF_OK, "");
    }
    
    void TF_MaybeLockVariableInputMutexesInOrder(
        TF_OpKernelContext* ctx, bool do_lock, bool sparse, const int* const inputs,
        size_t len,
        void (*copyFunc)(TF_OpKernelContext* ctx, TF_Tensor* source,
                         TF_Tensor* dest),
        TF_VariableInputLockHolder** lockHolder, TF_Status* status) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  8. docs/site-replication/run-multi-site-minio-idp.sh

    fi
    
    ./mc stat minio1/newbucket/README.md
    if [ $? -eq 0 ]; then
    	echo "expected file to be deleted, exiting.."
    	exit_1
    fi
    
    ./mc mb --with-lock minio3/newbucket-olock
    sleep 5
    
    enabled_minio2=$(./mc stat --json minio2/newbucket-olock | jq -r .ObjectLock.enabled)
    if [ $? -ne 0 ]; then
    	echo "expected bucket to be mirrored with object-lock but not present, exiting..."
    	exit_1
    fi
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. pkg/kubelet/pod_workers_test.go

    		}
    		w.lock.Unlock()
    
    		// check for at least one still working non-paused worker
    		w.w.podLock.Lock()
    		for uid, worker := range w.w.podSyncStatuses {
    			if _, ok := pausedWorkers[uid]; ok {
    				continue
    			}
    			if worker.working {
    				stillWorking = true
    				break
    			}
    		}
    		w.w.podLock.Unlock()
    
    		if !stillWorking {
    			break
    		}
    		time.Sleep(time.Millisecond)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  10. cmd/batch-rotate.go

    		return err
    	}
    	ctx = lkctx.Context()
    	defer lock.Unlock(lkctx)
    
    	opts := ObjectOptions{
    		VersionID:        objInfo.VersionID,
    		Versioned:        versioned,
    		VersionSuspended: versionSuspended,
    		NoLock:           true,
    	}
    	obj, err := api.GetObjectInfo(ctx, r.Bucket, objInfo.Name, opts)
    	if err != nil {
    		return err
    	}
    	oi := obj.Clone()
    	var (
    		newKeyID      string
    		newKeyContext kms.Context
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top