Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 370 for updateOp (2.89 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. .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)
  4. 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)
  5. 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)
  6. docs/ja/docs/tutorial/body-updates.md

    これを使うことで、デフォルト値を省略して、設定された(リクエストで送られた)データのみを含む`dict`を生成することができます:
    
    ```Python hl_lines="34"
    {!../../../docs_src/body_updates/tutorial002.py!}
    ```
    
    ### Pydanticの`update`パラメータ
    
    ここで、`.copy()`を用いて既存のモデルのコピーを作成し、`update`パラメータに更新するデータを含む`dict`を渡すことができます。
    
    `stored_item_model.copy(update=update_data)`のように:
    
    ```Python hl_lines="35"
    {!../../../docs_src/body_updates/tutorial002.py!}
    ```
    
    ### 部分的更新のまとめ
    
    まとめると、部分的な更新を適用するには、次のようにします:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. src/internal/godebug/godebug.go

    func update(def, env string) {
    	updateMu.Lock()
    	defer updateMu.Unlock()
    
    	// Update all the cached values, creating new ones as needed.
    	// We parse the environment variable first, so that any settings it has
    	// are already locked in place (did[name] = true) before we consider
    	// the defaults.
    	did := make(map[string]bool)
    	parse(did, env)
    	parse(did, def)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. 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)
  9. pilot/pkg/trustbundle/trustbundle.go

    			trustBundleLog.Errorf("failed to initialize remote Cert pool: %v", err)
    		}
    	} else {
    		tb.remoteCaCertPool = remoteCaCertPool
    	}
    	return tb
    }
    
    func (tb *TrustBundle) UpdateCb(updatecb func()) {
    	tb.updatecb = updatecb
    }
    
    // GetTrustBundle : Retrieves all the trustAnchors for current Spiffee Trust Domain
    func (tb *TrustBundle) GetTrustBundle() []string {
    	tb.mutex.RLock()
    	defer tb.mutex.RUnlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/PerformanceTestIdProvider.groovy

            methodName = description.methodName
            className = description.className
            updateId()
            return base
        }
    
        void setTestSpec(testSpec) {
            this.testSpec = testSpec
            updateId()
        }
    
        def updateId() {
            if (methodName != null && testSpec != null) {
                if (testSpec.hasProperty('testId') && testSpec.testId == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top