Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for CREATE (0.12 sec)

  1. tensorflow/c/experimental/stream_executor/stream_executor.cc

        TF_RETURN_IF_ERROR(c_event->Create());
        return std::move(c_event);
      }
    
      absl::StatusOr<std::unique_ptr<Stream>> CreateStream(
          std::optional<std::variant<StreamPriority, int>> priority =
              std::nullopt) override {
        auto stream = std::make_unique<CStream>(&device_, stream_executor_, this);
        TF_RETURN_IF_ERROR(stream->Create());
        return std::move(stream);
      }
    
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    		Resource("examples").
    		VersionedParams(&opts, scheme.ParameterCodec).
    		Timeout(timeout).
    		Watch(ctx)
    }
    
    // Create takes the representation of a example and creates it.  Returns the server's representation of the example, and an error, if there is any.
    func (c *examples) Create(ctx context.Context, example *v1.Example, opts metav1.CreateOptions) (result *v1.Example, err error) {
    	result = &v1.Example{}
    	err = c.client.Post().
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/stream_executor/stream_executor_internal.h

            return Event::Status::kPending;
          case SE_EVENT_COMPLETE:
            return Event::Status::kComplete;
          default:
            return Event::Status::kUnknown;
        }
      }
    
      absl::Status Create() {
        tensorflow::TF_StatusPtr c_status(TF_NewStatus());
        stream_executor_->create_event(device_, &event_handle_, c_status.get());
        return tensorflow::StatusFromTF_Status(c_status.get());
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go

    		VersionedParams(&opts, scheme.ParameterCodec).
    		Timeout(timeout).
    		Watch(ctx)
    }
    
    // Create takes the representation of a customResourceDefinition and creates it.  Returns the server's representation of the customResourceDefinition, and an error, if there is any.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.go

    		VersionedParams(&opts, scheme.ParameterCodec).
    		Timeout(timeout).
    		Watch(ctx)
    }
    
    // Create takes the representation of a customResourceDefinition and creates it.  Returns the server's representation of the customResourceDefinition, and an error, if there is any.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    }
    
    // sandboxTemplate is a sandbox template to create fake sandbox.
    type sandboxTemplate struct {
    	pod         *v1.Pod
    	attempt     uint32
    	createdAt   int64
    	state       runtimeapi.PodSandboxState
    	running     bool
    	terminating bool
    }
    
    // containerTemplate is a container template to create fake container.
    type containerTemplate struct {
    	pod            *v1.Pod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/crdclient/client.go

    		return nil
    	}
    
    	cfg := TranslateObject(obj, typ, cl.domainSuffix)
    	return &cfg
    }
    
    // Create implements store interface
    func (cl *Client) Create(cfg config.Config) (string, error) {
    	if cfg.Spec == nil {
    		return "", fmt.Errorf("nil spec for %v/%v", cfg.Name, cfg.Namespace)
    	}
    
    	meta, err := create(cl.client, cfg, getObjectMetadata(cfg))
    	if err != nil {
    		return "", err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/accesslog_test.go

    					LogFormat: &meshconfig.MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat_Labels{},
    				},
    			},
    		},
    	})
    
    	configStore := memory.Make(collections.Pilot)
    	configStore.Create(config.Config{
    		Meta: config.Meta{
    			Name:             "test",
    			Namespace:        "default",
    			GroupVersionKind: gvk.Telemetry,
    		},
    		Spec: &tpb.Telemetry{
    			Selector: &v1beta1.WorkloadSelector{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet.go

    			}
    		}
    		// Create and Update pod's Cgroups
    		// Don't create cgroups for run once pod if it was killed above
    		// The current policy is not to restart the run once pods when
    		// the kubelet is restarted with the new flag as run once pods are
    		// expected to run only once and if the kubelet is restarted then
    		// they are not expected to run again.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  10. pilot/pkg/model/gateway.go

    		snames := sets.String{}
    		for _, s := range gatewayCfg.Servers {
    			if len(s.Name) > 0 {
    				if snames.InsertContains(s.Name) {
    					log.Warnf("Server name %s is not unique in gateway %s and may create possible issues like stat prefix collision ",
    						s.Name, gatewayName)
    				}
    			}
    			if s.Port == nil {
    				// Should be rejected in validation, this is an extra check
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
Back to top