Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,440 for update2 (0.3 sec)

  1. internal/bucket/bandwidth/monitor_test.go

    	"time"
    )
    
    const (
    	oneMiB uint64 = 1024 * 1024
    )
    
    func TestMonitor_GetReport(t *testing.T) {
    	type fields struct {
    		activeBuckets map[BucketOptions]*bucketMeasurement
    		endTime       time.Time
    		update2       uint64
    		endTime2      time.Time
    	}
    	start := time.Now()
    	m0 := newBucketMeasurement(start)
    	m0.incrementBytes(0)
    	m1MiBPS := newBucketMeasurement(start)
    	m1MiBPS.incrementBytes(oneMiB)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 06 03:21:59 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy

                tasks.register('update2', UpdateTask) {
                    archive = theArchive2
                    replacementText = 'modification 2'
                }
    
                tasks.register('verify2', VerifyTask) {
                    dependsOn tasks.named('update2')
                    archive = theArchive2
                    beginsWith = 'modification 2'
                }
            """
    
            when:
            run 'verify1', 'verify2'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  3. 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)
  4. lib/time/update.bash

    ../mkzip ../../zoneinfo.zip
    cd ../..
    
    files="update.bash zoneinfo.zip"
    modified=true
    if git diff --quiet $files; then
    	modified=false
    fi
    
    if [ "$1" = "-work" ]; then
    	echo Left workspace behind in work/.
    	shift
    else
    	rm -rf work
    fi
    
    if ! $modified; then
    	echo No updates needed.
    	exit 0
    fi
    
    echo Updated for $CODE/$DATA: $files
    
    commitmsg="lib/time: update to $CODE/$DATA
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 18:20:41 UTC 2024
    - 1.8K 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. docs/en/docs/tutorial/body-updates.md

        ```
    
    ### Partial updates recap
    
    In summary, to apply partial updates you would:
    
    * (Optionally) use `PATCH` instead of `PUT`.
    * Retrieve the stored data.
    * Put that data in a Pydantic model.
    * Generate a `dict` without default values from the input model (using `exclude_unset`).
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storageversion/updater.go

    		}
    		// assign the calculated status to the object just created, then update status
    		createdSV.Status = updatedSV.Status
    		_, err = c.UpdateStatus(context.TODO(), createdSV, metav1.UpdateOptions{})
    		return err
    	}
    	_, err = c.UpdateStatus(context.TODO(), updatedSV, metav1.UpdateOptions{})
    	return err
    }
    
    // localUpdateStorageVersion updates the input storageversion with given server storageversion info.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 22:40:54 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  8. 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)
  9. ci/official/requirements_updater/updater.sh

    # ==============================================================================
    
    # script to run pip-compile for each requirement.
    # if there is a change in requirements.in then all lock files will be updated
    # accordingly
    
    # All commands run relative to this directory
    cd "$(dirname "${BASH_SOURCE[0]}")"
    
    mv BUILD.bazel BUILD
    
    SUPPORTED_VERSIONS=("3_9" "3_10" "3_11" "3_12")
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 15:05:45 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. 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)
Back to top