Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for GoBlock (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/erasure-multipart.go

    	if opts.CheckPrecondFn != nil {
    		if !opts.NoLock {
    			ns := er.NewNSLock(bucket, object)
    			lkctx, err := ns.GetLock(ctx, globalOperationTimeout)
    			if err != nil {
    				return nil, err
    			}
    			ctx = lkctx.Context()
    			defer ns.Unlock(lkctx)
    			opts.NoLock = true
    		}
    
    		obj, err := er.getObjectInfo(ctx, bucket, object, opts)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    	}
    
    	data := r.Reader
    
    	if opts.CheckPrecondFn != nil {
    		if !opts.NoLock {
    			ns := er.NewNSLock(bucket, object)
    			lkctx, err := ns.GetLock(ctx, globalOperationTimeout)
    			if err != nil {
    				return ObjectInfo{}, err
    			}
    			ctx = lkctx.Context()
    			defer ns.Unlock(lkctx)
    			opts.NoLock = true
    		}
    
    		obj, err := er.getObjectInfo(ctx, bucket, object, opts)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-rebalance.go

    			return err
    		}
    		defer lock.Unlock(lkCtx)
    
    		ctx = lkCtx.Context()
    
    		noLockOpts := ObjectOptions{NoLock: true}
    		return z.rebalMeta.saveWithOpts(ctx, z.serverPools[0], noLockOpts)
    	}
    
    	return nil
    }
    
    func (z *erasureServerPools) findIndex(index int) int {
    	for i := 0; i < len(z.rebalMeta.PoolStats); i++ {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  7. tensorflow/c/kernels_experimental.h

    // caller takes ownership of the `source` and `dest` tensors and is responsible
    // for freeing them with TF_DeleteTensor.
    TF_CAPI_EXPORT extern 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: Mon Aug 07 14:44:39 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/walk.go

    	op := stmt.Op()
    	n := typecheck.Stmt(stmt)
    	if op == ir.OAS || op == ir.OAS2 {
    		// If the assignment has side effects, walkExpr will append them
    		// directly to init for us, while walkStmt will wrap it in an OBLOCK.
    		// We need to append them directly.
    		// TODO(rsc): Clean this up.
    		n = walkExpr(n, init)
    	} else {
    		n = walkStmt(n)
    	}
    	init.Append(n)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 20:56:00 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ir/fmt.go

    	OOROR:             1,
    
    	// Statements handled by stmtfmt
    	OAS:         -1,
    	OAS2:        -1,
    	OAS2DOTTYPE: -1,
    	OAS2FUNC:    -1,
    	OAS2MAPR:    -1,
    	OAS2RECV:    -1,
    	OASOP:       -1,
    	OBLOCK:      -1,
    	OBREAK:      -1,
    	OCASE:       -1,
    	OCONTINUE:   -1,
    	ODCL:        -1,
    	ODEFER:      -1,
    	OFALL:       -1,
    	OFOR:        -1,
    	OGOTO:       -1,
    	OIF:         -1,
    	OLABEL:      -1,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  10. cmd/erasure-healing.go

    	result = madmin.HealResultItem{
    		Type:      madmin.HealItemObject,
    		Bucket:    bucket,
    		Object:    object,
    		VersionID: versionID,
    		DiskCount: len(storageDisks),
    	}
    
    	if !opts.NoLock {
    		lk := er.NewNSLock(bucket, object)
    		lkctx, err := lk.GetLock(ctx, globalOperationTimeout)
    		if err != nil {
    			return result, err
    		}
    		ctx = lkctx.Context()
    		defer lk.Unlock(lkctx)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
Back to top