Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 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. src/cmd/compile/internal/walk/stmt.go

    			// Throw away the temp to avoid plain values as statements.
    			n = ir.NewBlockStmt(n.Pos(), init)
    			init = nil
    		}
    		if len(init) > 0 {
    			switch n.Op() {
    			case ir.OAS, ir.OAS2, ir.OBLOCK:
    				n.(ir.InitNode).PtrInit().Prepend(init...)
    
    			default:
    				init.Append(n)
    				n = ir.NewBlockStmt(n.Pos(), init)
    			}
    		}
    		return n
    
    	// special case for a receive where we throw away
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 15:42:30 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultFinalizedExecutionPlan.java

            });
        }
    
        private boolean tryLockProjectFor(Node node, List<ResourceLock> resources) {
            ResourceLock toLock = node.getProjectToLock();
            if (toLock == null) {
                return true;
            } else if (toLock.tryLock()) {
                resources.add(toLock);
                return true;
            } else {
                return false;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 28 21:49:39 UTC 2022
    - 28.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/jcifs/tests/OplockTests.java

                            | SmbConstants.FILE_WRITE_DATA;
                    int attrs = 0;
                    int options = 0;
                    String uncPath = "foo-oplock";
    
                    SmbComNTCreateAndXResponse resp = new SmbComNTCreateAndXResponse(sess.getConfig());
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. 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)
Back to top