Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 247 for getfunc (0.11 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/configuration/configuration_manager.go

    	defaultBootstrapRetries     = 5
    	defaultBootstrapGraceperiod = 5 * time.Second
    )
    
    var (
    	ErrNotReady = fmt.Errorf("configuration is not ready")
    	ErrDisabled = fmt.Errorf("disabled")
    )
    
    type getFunc func() (runtime.Object, error)
    
    // When running, poller calls `get` every `interval`. If `get` is
    // successful, `Ready()` returns ready and `configuration()` returns the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 06 02:02:38 UTC 2017
    - 4.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/registry/rest/resttest/resttest.go

    	t.testUpdatePropagatesUpdatedObjectError(valid.DeepCopyObject(), createFn, getFn, opts)
    	t.testUpdateIgnoreGenerationUpdates(valid.DeepCopyObject(), createFn, getFn)
    }
    
    // Test deleting an object.
    func (t *Tester) TestDelete(valid runtime.Object, createFn CreateFunc, getFn GetFunc, isNotFoundFn IsErrorFunc) {
    	dryRunOpts := metav1.DeleteOptions{DryRun: []string{metav1.DryRunAll}}
    	opts := metav1.DeleteOptions{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/convert_launch_func_to_tf_call.cc

        OpBuilder builder(launch);
        auto call_op = builder.create<TF::PartitionedCallOp>(
            module.getLoc(), launch.getResultTypes(), launch.getOperands(),
            SymbolRefAttr::get(builder.getContext(), launch.getFunc()),
            /*config=*/builder.getStringAttr(""),
            /*config_proto=*/builder.getStringAttr(""),
            /*executor_type=*/builder.getStringAttr(""));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 21:08:09 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/annotate_parameter_replication.cc

            mirrored_replicate_args.insert(
                mlir::cast<IntegerAttr>(mirrored_index).getInt());
          }
        }
        auto func =
            llvm::cast<func::FuncOp>(m.lookupSymbol(cluster_func.getFunc()));
        for (auto entry : llvm::enumerate(cluster_func.getOperands())) {
          auto operand = SkipIdentityAndReadVariable(entry.value());
          auto block_arg = mlir::dyn_cast<BlockArgument>(operand);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/debug/elf/symbols_test.go

    package elf
    
    import (
    	"io"
    	"path"
    	"reflect"
    	"testing"
    )
    
    // TODO: remove duplicate code
    func TestSymbols(t *testing.T) {
    	do := func(file string, ts []Symbol, getfunc func(*File) ([]Symbol, error)) {
    		var f *File
    		var err error
    		if path.Ext(file) == ".gz" {
    			var r io.ReaderAt
    			if r, err = decompress(file); err == nil {
    				f, err = NewFile(r)
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 05 18:18:26 UTC 2019
    - 13.4K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api.cc

      if (!status->status.ok()) return;
      auto run_metadata = context->ExportRunMetadata();
      status->status = MessageToBuffer(*run_metadata, buf);
    }
    
    namespace {
    TFE_Op* GetFunc(TFE_Context* ctx, const tensorflow::NameAttrList& func,
                    TF_Status* status) {
      TFE_Op* func_op = TFE_NewOp(ctx, func.name().data(), status);
      for (const auto& attr : func.attr()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

      // Look up function definition from module.
      mlir::func::FuncOp func =
          cluster_func->getParentOfType<ModuleOp>()
              .lookupSymbol<mlir::func::FuncOp>(cluster_func.getFunc());
    
      bool use_spmd = false;
      if (auto use_spmd_attr = cluster_func->getAttrOfType<BoolAttr>(kUseSpmdAttr))
        use_spmd = use_spmd_attr.getValue();
    
      auto num_cores_per_replica_attr =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/generic/storage_decorator.go

    	config *storagebackend.ConfigForResource,
    	resourcePrefix string,
    	keyFunc func(obj runtime.Object) (string, error),
    	newFunc func() runtime.Object,
    	newListFunc func() runtime.Object,
    	getAttrsFunc storage.AttrFunc,
    	trigger storage.IndexerFuncs,
    	indexers *cache.Indexers) (storage.Interface, factory.DestroyFunc, error) {
    	return NewRawStorage(config, newFunc, newListFunc, resourcePrefix)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/storage_factory.go

    			klogV.InfoS("Storage caching is enabled", objectTypeToArgs(newFunc())...)
    		}
    
    		cacherConfig := cacherstorage.Config{
    			Storage:        s,
    			Versioner:      storage.APIObjectVersioner{},
    			GroupResource:  storageConfig.GroupResource,
    			ResourcePrefix: resourcePrefix,
    			KeyFunc:        keyFunc,
    			NewFunc:        newFunc,
    			NewListFunc:    newListFunc,
    			GetAttrsFunc:   getAttrsFunc,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    	//
    	// KeyRootFunc and KeyFunc must be supplied together or not at all.
    	KeyRootFunc func(ctx context.Context) string
    
    	// KeyFunc returns the key for a specific object in the collection.
    	// KeyFunc is called for Create/Update/Get/Delete. Note that 'namespace'
    	// can be gotten from ctx.
    	//
    	// KeyFunc and KeyRootFunc must be supplied together or not at all.
    	KeyFunc func(ctx context.Context, name string) (string, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
Back to top