Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 498 for updatePV (0.14 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectStateRegistryTest.groovy

                        calculatedValue.update {
                            assert it == "updated1"
                            instant.thread2
                            "updated2"
                        }
                    }
                }
            }
    
            then:
            calculatedValue.get() == "updated2"
            instant.thread1 < instant.thread2
        }
    
        def "update thread does not block other read threads"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. pkg/controller/daemon/update.go

    		cur, err = dsc.dedupCurHistories(ctx, ds, currentHistories)
    		if err != nil {
    			return nil, nil, err
    		}
    		// Update revision number if necessary
    		if cur.Revision < currRevision {
    			toUpdate := cur.DeepCopy()
    			toUpdate.Revision = currRevision
    			_, err = dsc.kubeClient.AppsV1().ControllerRevisions(ds.Namespace).Update(ctx, toUpdate, metav1.UpdateOptions{})
    			if err != nil {
    				return nil, nil, err
    			}
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  3. pkg/controller/nodeipam/ipam/sync/sync.go

    	run(logger klog.Logger, sync *NodeSync) error
    }
    
    // updateOp handles creation and updates of a node.
    type updateOp struct {
    	node *v1.Node
    }
    
    func (op *updateOp) String() string {
    	if op.node == nil {
    		return fmt.Sprintf("updateOp(nil)")
    	}
    	return fmt.Sprintf("updateOp(%q,%v)", op.node.Name, op.node.Spec.PodCIDR)
    }
    
    func (op *updateOp) run(logger klog.Logger, sync *NodeSync) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 07:50:01 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  4. hack/update-vendor.sh

    if [[ "${GOPROXY:-}" == "off" ]]; then
      kube::log::error "Cannot run hack/update-vendor.sh with \$GOPROXY=off"
      exit 1
    fi
    
    kube::util::require-jq
    
    TMP_DIR="${TMP_DIR:-$(mktemp -d /tmp/update-vendor.XXXX)}"
    LOG_FILE="${LOG_FILE:-${TMP_DIR}/update-vendor.log}"
    kube::log::status "logfile at ${LOG_FILE}"
    
    # Set up some FDs for this script to use, while capturing everything else to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:08 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. hack/update-codegen.sh

        local report_file="${OUT_DIR}/api_violations.report"
        # When UPDATE_API_KNOWN_VIOLATIONS is set to be true, let the generator to write
        # updated API violations to the known API violation exceptions list.
        if [[ "${UPDATE_API_KNOWN_VIOLATIONS}" == true ]]; then
            report_file="${known_violations_file}"
        fi
    
        if [[ "${DBG_CODEGEN}" == 1 ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy

                def theArchive2 = rootProject.file('test2.tar')
    
                tasks.register('update1', UpdateTask) {
                    archive = theArchive1
                    replacementText = 'modification 1'
                }
    
                tasks.register('verify1', VerifyTask) {
                    dependsOn tasks.named('update1')
                    archive = theArchive1
                    beginsWith = 'modification 1'
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  7. pkg/ledger/smt.go

    }
    
    // result is used to contain the result of goroutines and is sent through a channel.
    type result struct {
    	update []byte
    	err    error
    }
    
    // update adds a sorted list of keys and their values to the trie.
    // It returns the root of the updated tree.
    func (s *smt) update(root []byte, keys, values, batch [][]byte, iBatch, height int, shortcut, store bool, ch chan<- result) {
    	if height == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 14K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/update.go

    	"k8s.io/klog/v2"
    )
    
    // UpdateResource returns a function that will handle a resource update
    func UpdateResource(r rest.Updater, scope *RequestScope, admit admission.Interface) http.HandlerFunc {
    	return func(w http.ResponseWriter, req *http.Request) {
    		ctx := req.Context()
    		// For performance tracking purposes.
    		ctx, span := tracing.Start(ctx, "Update", traceFields(req)...)
    		defer span.End(500 * time.Millisecond)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:19:46 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  9. cmd/update.go

    	// Check if we are in DCOS environment, return
    	// deployment guide for update procedures.
    	if IsDCOS() {
    		return mesosDeploymentDoc
    	}
    
    	// Check if we are in kubernetes environment, return
    	// deployment guide for update procedures.
    	if IsKubernetes() {
    		return kubernetesDeploymentDoc
    	}
    
    	// Check if we are docker environment, return docker update command
    	if IsDocker() {
    		// Construct release tag name.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/registry/rest/update.go

    	return allErrs, nil
    }
    
    // BeforeUpdate ensures that common operations for all resources are performed on update. It only returns
    // errors that can be converted to api.Status. It will invoke update validation with the provided existing
    // and updated objects.
    // It sets zero values only if the object does not have a zero value for the respective field.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 27 11:48:28 UTC 2022
    - 11.8K bytes
    - Viewed (0)
Back to top