Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 52 for updateStats (0.4 sec)

  1. tensorflow/cc/framework/cc_op_gen.cc

      strings::StrAppend(&body, "  ", scope_str, ".UpdateBuilder(&builder);\n");
      strings::StrAppend(&body, "  ", scope_str, ".UpdateStatus(builder.Finalize(",
                         scope_str, ".graph(), &ret));\n");
      strings::StrAppend(&body, "  ", return_on_error, "\n");
      strings::StrAppend(&body, "  ", scope_str, ".UpdateStatus(", scope_str,
                         ".DoShapeInference(ret));\n");
    
      GetOutput(op_info, &body);
      return body;
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 17:22:47 UTC 2023
    - 17K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_set_control.go

    	}
    	if shouldExit, err := runForAll(condemned, processCondemnedFn, monotonic); shouldExit || err != nil {
    		updateStatus(&status, set.Spec.MinReadySeconds, currentRevision, updateRevision, replicas, condemned)
    		return &status, err
    	}
    
    	updateStatus(&status, set.Spec.MinReadySeconds, currentRevision, updateRevision, replicas, condemned)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  3. internal/grid/connection.go

    	}
    	err = conn.SetWriteDeadline(time.Now().Add(connWriteTimeout))
    	if err != nil {
    		return err
    	}
    	return wsutil.WriteMessage(conn, c.side, ws.OpBinary, dst)
    }
    
    func (c *Connection) connect() {
    	c.updateState(StateConnecting)
    	rng := rand.New(rand.NewSource(time.Now().UnixNano()))
    	// Runs until the server is shut down.
    	for {
    		if c.State() == StateShutdown {
    			return
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  4. pkg/controller/replication/conversion.go

    	}, rs)
    }
    
    func (c conversionClient) UpdateStatus(ctx context.Context, rs *apps.ReplicaSet, opts metav1.UpdateOptions) (*apps.ReplicaSet, error) {
    	return convertCall(func(rc *v1.ReplicationController) (*v1.ReplicationController, error) {
    		return c.ReplicationControllerInterface.UpdateStatus(ctx, rc, opts)
    	}, rs)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 14 18:43:33 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/crdclient/client_test.go

    			}); err != nil {
    				t.Errorf("Unexpected Error in Update -> %v", err)
    			}
    			if r.StatusKind() != "" {
    				stat, err := r.Status()
    				if err != nil {
    					t.Fatal(err)
    				}
    				if _, err := store.UpdateStatus(config.Config{
    					Meta:   configMeta,
    					Status: stat,
    				}); err != nil {
    					t.Errorf("Unexpected Error in Update -> %v", err)
    				}
    			}
    			var cfg *config.Config
    			// validate it is updated
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 02:58:52 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. pkg/controller/testutil/test_utils.go

    			}
    			m.UpdatedNodes[i] = &nodeCopy
    			return node, nil
    		}
    	}
    	m.UpdatedNodes = append(m.UpdatedNodes, &nodeCopy)
    	return node, nil
    }
    
    // UpdateStatus updates a status of a Node in the fake store.
    func (m *FakeNodeHandler) UpdateStatus(_ context.Context, node *v1.Node, _ metav1.UpdateOptions) (*v1.Node, error) {
    	m.lock.Lock()
    	defer func() {
    		m.RequestCount++
    		m.lock.Unlock()
    	}()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. pilot/pkg/config/file/store.go

    }
    
    func (s *KubeSource) Update(config config.Config) (newRevision string, err error) {
    	return s.inner.Update(config)
    }
    
    func (s *KubeSource) UpdateStatus(config config.Config) (newRevision string, err error) {
    	return s.inner.UpdateStatus(config)
    }
    
    func (s *KubeSource) Patch(orig config.Config, patchFn config.PatchFunc) (string, error) {
    	return s.inner.Patch(orig, patchFn)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/test/integration/defaulting_test.go

    	mustNotExist(foo.Object, [][]string{{"status"}})
    
    	t.Logf("Updating status and expecting 'a' and 'b' to show up.")
    	unstructured.SetNestedField(foo.Object, map[string]interface{}{}, "status")
    	if foo, err = fooClient.UpdateStatus(context.TODO(), foo, metav1.UpdateOptions{}); err != nil {
    		t.Fatal(err)
    	}
    	mustExist(foo.Object, [][]string{{"spec", "a"}, {"spec", "b"}, {"status", "a"}, {"status", "b"}, {"status", "replicas"}})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  9. pkg/controller/resourceclaim/controller.go

    		}
    
    		claim, err := ec.kubeClient.ResourceV1alpha2().ResourceClaims(claim.Namespace).UpdateStatus(ctx, claim, metav1.UpdateOptions{})
    		if err != nil {
    			return err
    		}
    
    		// Now also remove the finalizer if it is not needed anymore.
    		// Note that the index may have changed as a result of the UpdateStatus call.
    		builtinControllerFinalizer := slices.Index(claim.Finalizers, resourcev1alpha2.Finalizer)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  10. pkg/controller/storageversiongc/gc_controller.go

    			ctx, sv.Name, metav1.DeleteOptions{})
    	}
    	sv.Status.StorageVersions = serverStorageVersions
    	storageversion.SetCommonEncodingVersion(sv)
    	_, err := c.kubeclientset.InternalV1alpha1().StorageVersions().UpdateStatus(
    		ctx, sv, metav1.UpdateOptions{})
    	return err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top