Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for updateOp (0.14 sec)

  1. association.go

    				}
    
    				for _, ref := range rel.References {
    					updateMap[ref.ForeignKey.DBName] = nil
    				}
    
    				association.Error = association.DB.UpdateColumns(updateMap).Error
    			}
    			if association.Unscope && oldBelongsToExpr != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/CachedEnvironmentStateCodec.kt

            writeBoolean(value.cleared)
    
            writeCollection(value.updates) { update ->
                val keyString = update.key.toString()
                withPropertyTrace(PropertyTrace.SystemProperty(keyString, update.location)) {
                    try {
                        writeClass(update.javaClass)
                        write(update.key)
                        write(update.value)
                    } catch (error: Exception) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    // May or may not send an update upstream.
    func (f *folderScanner) sendUpdate() {
    	// Send at most an update every minute.
    	if f.updates == nil || time.Since(f.lastUpdate) < time.Minute {
    		return
    	}
    	if flat := f.updateCache.sizeRecursive(f.newCache.Info.Name); flat != nil {
    		select {
    		case f.updates <- flat.clone():
    		default:
    		}
    		f.lastUpdate = time.Now()
    	}
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:43:17 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_node_status.go

    // updateNode creates a copy of originalNode and runs update logic on it.
    // It returns the updated node object and a bool indicating if anything has been changed.
    func (kl *Kubelet) updateNode(ctx context.Context, originalNode *v1.Node) (*v1.Node, bool) {
    	node := originalNode.DeepCopy()
    
    	podCIDRChanged := false
    	if len(node.Spec.PodCIDRs) != 0 {
    		// Pod CIDR could have been updated before, so we cannot rely on
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  5. pkg/scheduler/internal/queue/scheduling_queue.go

    }
    
    // Update updates a pod in the active or backoff queue if present. Otherwise, it removes
    // the item from the unschedulable queue if pod is updated in a way that it may
    // become schedulable and adds the updated one to the active queue.
    // If pod is not present in any of the queues, it is added to the active queue.
    func (p *PriorityQueue) Update(logger klog.Logger, oldPod, newPod *v1.Pod) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        updates = tf.constant([9, 10, 11, 12])
        update = tf.scatter_nd_update(ref, indices, updates)
        with tf.Session() as sess:
          print sess.run(update)
    ```
    
    The resulting update to ref would look like this:
    
        [1, 11, 3, 10, 9, 6, 7, 12]
    
    See `tf.scatter_nd` for more details about how to make updates to
    slices.
      }];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  7. cmd/storage-rest-server.go

    	}
    
    	// Collect updates, stream them before the full cache is sent.
    	updates := make(chan dataUsageEntry, 1)
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		for update := range updates {
    			resp := storageNSScannerRPC.NewResponse()
    			resp.Update = &update
    			out <- resp
    		}
    	}()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    def LegalizeScatterNd : Pat<
      (TF_ScatterNdOp $indices, $updates, $shape, ConstantStrAttr<StrAttr, "">),
      (TFL_ScatterNdOp (CreateTFCastToInt32Op $indices), $updates,
        (CreateTFCastToInt32Op $shape))>;
    
    def LegalizeScatterNdDefaultBadindicesPolicy : Pat<
      (TF_ScatterNdOp $indices, $updates, $shape, ConstantStrAttr<StrAttr, "DEFAULT">),
      (TFL_ScatterNdOp (CreateTFCastToInt32Op $indices), $updates,
        (CreateTFCastToInt32Op $shape))>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    		VersionedParams(&opts, scheme.ParameterCodec).
    		Body(example).
    		Do(ctx).
    		Into(result)
    	return
    }
    
    // Update takes the representation of a example and updates it. Returns the server's representation of the example, and an error, if there is any.
    func (c *examples) Update(ctx context.Context, example *v1.Example, opts metav1.UpdateOptions) (result *v1.Example, err error) {
    	result = &v1.Example{}
    	err = c.client.Put().
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. cmd/xl-storage-disk-id-check.go

    }
    
    func (p *xlStorageDiskIDCheck) NSScanner(ctx context.Context, cache dataUsageCache, updates chan<- dataUsageEntry, scanMode madmin.HealScanMode, _ func() bool) (dataUsageCache, error) {
    	if contextCanceled(ctx) {
    		xioutil.SafeClose(updates)
    		return dataUsageCache{}, ctx.Err()
    	}
    
    	if err := p.checkDiskStale(); err != nil {
    		xioutil.SafeClose(updates)
    		return dataUsageCache{}, err
    	}
    
    	weSleep := func() bool {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top