Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 864 for updateSV (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/peerproxy/peerproxy.go

    	svi.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
    		AddFunc: func(obj interface{}) {
    			h.addSV(obj)
    		},
    		UpdateFunc: func(oldObj, newObj interface{}) {
    			h.updateSV(oldObj, newObj)
    		},
    		DeleteFunc: func(obj interface{}) {
    			h.deleteSV(obj)
    		}})
    	return h
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 00:36:22 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/peerproxy/peerproxy_handler.go

    		return
    	}
    	h.updateSVMap(nil, sv)
    }
    
    // Updates the SVMap to delete old storageversion and add new storageversion
    func (h *peerProxyHandler) updateSV(oldObj interface{}, newObj interface{}) {
    	oldSV, ok := oldObj.(*v1alpha1.StorageVersion)
    	if !ok {
    		klog.Errorf("Invalid StorageVersion provided to updateSV()")
    		return
    	}
    	newSV, ok := newObj.(*v1alpha1.StorageVersion)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 00:36:22 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. pilot/pkg/serviceregistry/util/xdsfake/updater.go

    func NewFakeXDS() *Updater {
    	return &Updater{
    		SplitEvents: false,
    		Events:      make(chan Event, 100),
    	}
    }
    
    // NewWithDelegate creates a XdsUpdater reporting events via a channel.
    func NewWithDelegate(delegate model.XDSUpdater) *Updater {
    	return &Updater{
    		Events:   make(chan Event, 100),
    		Delegate: delegate,
    	}
    }
    
    // Updater is used to test the registry.
    type Updater struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 18:40:34 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. .github/workflows/update-rbe.yml

    
    # This Workflow updates tensorflow/tools/toolchains/remote_config/configs.bzl
    # to reference the most recent versions of the SIG Build Docker images.
    name: Update RBE Configs
    on:
      workflow_dispatch:
    
    permissions:
      contents: read
    
    jobs:
      rbe:
        name: Update RBE Configs
        runs-on: ubuntu-latest
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 10 15:40:34 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. pilot/pkg/xds/discovery_test.go

    				updateCh <- &model.PushRequest{Full: true}
    				updateCh <- &model.PushRequest{Full: true}
    				expect(0, 1)
    			},
    		},
    		{
    			name: "Should send full updates in batches, partial updates immediately",
    			test: func(updateCh chan *model.PushRequest, expect func(partial, full int32)) {
    				updateCh <- &model.PushRequest{Full: true}
    				updateCh <- &model.PushRequest{Full: true}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir

    // CHECK: %[[UPDATE1:.*]] = "tf.XlaDynamicUpdateSlice"(%[[READ1]],
    // CHECK: "tf.AssignVariableOp"(%[[CARG1]], %[[UPDATE1]])
    // CHECK: %[[READ2:.*]] = "tf.ReadVariableOp"(%[[CARG2]]) : (tensor<!tf_type.resource<tensor<5x3xf32>>>) -> tensor<5x3xf32>
    // CHECK: %[[UPDATE2:.*]] = "tf.XlaDynamicUpdateSlice"(%[[READ2]],
    // CHECK: "tf.AssignVariableOp"(%[[CARG2]], %[[UPDATE2]])
    // CHECK: return %[[CARG0]]
    
    // -----
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 49K bytes
    - Viewed (0)
  9. 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)
  10. docs/de/docs/tutorial/body-updates.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="34"
        {!> ../../../docs_src/body_updates/tutorial002.py!}
        ```
    
    ### Pydantics `update`-Parameter verwenden
    
    Jetzt können Sie eine Kopie des existierenden Modells mittels `.model_copy()` erstellen, wobei Sie dem `update`-Parameter ein `dict` mit den zu ändernden Daten übergeben.
    
    !!! info
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:26:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top