Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for deltas (0.19 sec)

  1. src/sync/atomic/atomic_test.go

    		before int32
    		i      int32
    		after  int32
    	}
    	x.before = magic32
    	x.after = magic32
    	var j int32
    	for delta := int32(1); delta+delta > delta; delta += delta {
    		k := SwapInt32(&x.i, delta)
    		if x.i != delta || k != j {
    			t.Fatalf("delta=%d i=%d j=%d k=%d", delta, x.i, j, k)
    		}
    		j = delta
    	}
    	if x.before != magic32 || x.after != magic32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir

        // CHECK: [[ACCUM_NEW_MOMENTUM_LR:%.*]] = "tf.Mul"([[ACCUM_NEW]], [[MOMENTUM_LR]])
        // CHECK: [[DELTA:%.*]] = "tf.AddV2"([[GRAD_LR]], [[ACCUM_NEW_MOMENTUM_LR]])
        // CHECK: [[VAR:%.*]] = "tf.ReadVariableOp"([[VAR_HANDLE]])
        // CHECK: [[VAR_NEW:%.*]] = "tf.Sub"([[VAR]], [[DELTA]])
        // CHECK: "tf.AssignVariableOp"([[VAR_HANDLE]], [[VAR_NEW]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  3. pkg/controller/endpointslice/endpointslice_controller_test.go

    		{
    			name:        "three deletes in one batch",
    			batchPeriod: 1 * time.Second,
    			podsCount:   10,
    			deletes: []podDelete{
    				{
    					// endpoints.Run needs ~100 ms to start processing updates.
    					delay:   200 * time.Millisecond,
    					podName: "pod0",
    				},
    				{
    					delay:   100 * time.Millisecond,
    					podName: "pod1",
    				},
    				{
    					delay:   100 * time.Millisecond,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  4. src/time/time_test.go

    		if newSec := notMonoTime.Unix(); newSec != sec+i && newSec+UnixToInternal != maxInt64 {
    			t.Fatalf("time ext: %d overflows with positive delta, overflow threshold: %d", newSec, maxInt64)
    		}
    	}
    
    	// Test it with negative delta.
    	maxInt64 = -maxInt64
    	notMonoTime = NotMonoNegativeTime
    	for i := int64(0); i > -100; i-- {
    		sec := notMonoTime.Unix()
    		notMonoTime = notMonoTime.Add(Duration(i * 1e9))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  5. cmd/peer-rest-server.go

    func (s *peerRESTServer) GetLocksHandler(_ *grid.MSS) (*localLockMap, *grid.RemoteErr) {
    	res := globalLockServer.DupLockMap()
    	return &res, nil
    }
    
    // DeletePolicyHandler - deletes a policy on the server.
    func (s *peerRESTServer) DeletePolicyHandler(mss *grid.MSS) (np grid.NoPayload, nerr *grid.RemoteErr) {
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  6. pkg/controller/job/job_controller.go

    // custom delay, but not smaller than the batching delay.
    // It is used when pod recreations are delayed due to pod failures.
    // obj could be an *batch.Job, or a DeletionFinalStateUnknown marker item.
    func (jm *Controller) enqueueSyncJobWithDelay(logger klog.Logger, obj interface{}, delay time.Duration) {
    	if delay < syncJobBatchPeriod {
    		delay = syncJobBatchPeriod
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    	} else {
    		cache.iamGroupPolicyMap.Store(name, mp)
    	}
    	cache.updatedAt = time.Now()
    	return mp.UpdatedAt, nil
    }
    
    // PolicyNotificationHandler - loads given policy from storage. If not present,
    // deletes from cache. This notification only reads from storage, and updates
    // cache. When the notification is for a policy deletion, it updates the
    // user-policy and group-policy maps as well.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  8. src/text/template/exec_test.go

    		// Now add  an action containing a string.
    		text += trueLeft + `"` + trueLeft + `"` + trueRight
    		// At this point text looks like `{{.Str}}{{/*comment*/}}{{"{{"}}`.
    		tmpl, err := New("delims").Delims(left, right).Parse(text)
    		if err != nil {
    			t.Fatalf("delim %q text %q parse err %s", left, text, err)
    		}
    		var b = new(strings.Builder)
    		err = tmpl.Execute(b, value)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  9. src/runtime/mgc.go

    	now := nanotime()
    	delta := now - gcController.markStartTime
    	if delta <= 0 {
    		return true
    	}
    	p := getg().m.p.ptr()
    	selfTime := p.gcFractionalMarkTime + (now - p.gcMarkWorkerStartTime)
    	// Add some slack to the utilization goal so that the
    	// fractional worker isn't behind again the instant it exits.
    	return float64(selfTime)/float64(delta) > 1.2*gcController.fractionalUtilizationGoal
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  10. cmd/bucket-handlers.go

    	encodedSuccessResponse := encodeResponse(response)
    
    	// Write response.
    	writeSuccessResponseXML(w, encodedSuccessResponse)
    }
    
    // DeleteMultipleObjectsHandler - deletes multiple objects.
    func (api objectAPIHandlers) DeleteMultipleObjectsHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "DeleteMultipleObjects")
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
Back to top