Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for list_ptrs (0.15 sec)

  1. tensorflow/c/c_api_test.cc

                            const std::vector<string>& list) {
        std::unique_ptr<const void*[]> list_ptrs;
        std::unique_ptr<size_t[]> list_lens;
        StringVectorToArrays(list, &list_ptrs, &list_lens);
        TF_SetAttrStringList(desc, tensorflow::kColocationAttrName, list_ptrs.get(),
                             list_lens.get(), list.size());
      }
    
      void SetViaProto(TF_OperationDescription* desc,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/list_perm.txt

    Bryan C. Mills <******@****.***> 1659030659 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_perm.txt

    # go list should work in ordinary conditions.
    go list ./...
    ! stdout _data
    
    # skip in conditions where chmod 0 may not work.
    # plan9 should be fine, but copied from list_perm.txt unchanged.
    [root] skip
    [GOOS:windows] skip
    [GOOS:plan9] skip
    
    # go list should work with unreadable _data directory.
    chmod 0 _data
    go list ./...
    ! stdout _data
    
    -- go.mod --
    module m
    
    -- x.go --
    package m
    
    -- _data/x.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 412 bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go

    func (c *customResourceDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error {
    	var timeout time.Duration
    	if listOpts.TimeoutSeconds != nil {
    		timeout = time.Duration(*listOpts.TimeoutSeconds) * time.Second
    	}
    	return c.client.Delete().
    		Resource("customresourcedefinitions").
    		VersionedParams(&listOpts, scheme.ParameterCodec).
    		Timeout(timeout).
    		Body(&opts).
    		Do(ctx).
    		Error()
    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/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    func (c *examples) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error {
    	var timeout time.Duration
    	if listOpts.TimeoutSeconds != nil {
    		timeout = time.Duration(*listOpts.TimeoutSeconds) * time.Second
    	}
    	return c.client.Delete().
    		Namespace(c.ns).
    		Resource("examples").
    		VersionedParams(&listOpts, scheme.ParameterCodec).
    		Timeout(timeout).
    		Body(&opts).
    		Do(ctx).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.go

    func (c *customResourceDefinitions) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error {
    	var timeout time.Duration
    	if listOpts.TimeoutSeconds != nil {
    		timeout = time.Duration(*listOpts.TimeoutSeconds) * time.Second
    	}
    	return c.client.Delete().
    		Resource("customresourcedefinitions").
    		VersionedParams(&listOpts, scheme.ParameterCodec).
    		Timeout(timeout).
    		Body(&opts).
    		Do(ctx).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. tensorflow/cc/experimental/libtf/value.h

      /// Retrieves underlying value from a TaggedValue with type LIST.
      impl::List& list() { return *get<impl::ListPtr>(); }
      /// Retrieves underlying value from a TaggedValue with type LIST.
      const impl::List& list() const { return *get<impl::ListPtr>(); }
    
      /// Retrieves underlying value from a TaggedValue with type TUPLE.
      impl::Tuple& tuple() { return *get<impl::TuplePtr>(); }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:23:45 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/apiclient/clientbacked_dryrun.go

    	listOpts := metav1.ListOptions{
    		LabelSelector: action.GetListRestrictions().Labels.String(),
    		FieldSelector: action.GetListRestrictions().Fields.String(),
    	}
    
    	unstructuredList, err := clg.dynamicClient.Resource(action.GetResource()).Namespace(action.GetNamespace()).List(context.TODO(), listOpts)
    	if err != nil {
    		return true, nil, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 16 10:29:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/fake/fake_customresourcedefinition.go

    }
    
    // DeleteCollection deletes a collection of objects.
    func (c *FakeCustomResourceDefinitions) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error {
    	action := testing.NewRootDeleteCollectionAction(customresourcedefinitionsResource, listOpts)
    
    	_, err := c.Fake.Invokes(action, &v1.CustomResourceDefinitionList{})
    	return err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/fake/fake_example.go

    	return err
    }
    
    // DeleteCollection deletes a collection of objects.
    func (c *FakeExamples) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error {
    	action := testing.NewDeleteCollectionAction(examplesResource, c.ns, listOpts)
    
    	_, err := c.Fake.Invokes(action, &v1.ExampleList{})
    	return err
    }
    
    // Patch applies the patch and returns the patched example.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top