Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for mgr1 (0.03 sec)

  1. pilot/pkg/status/resourcelock_test.go

    	}
    	var runCount int32
    	x := make(chan struct{})
    	y := make(chan struct{})
    	mgr := NewManager(nil)
    	fakefunc := func(status *v1alpha1.IstioStatus, context any) *v1alpha1.IstioStatus {
    		x <- struct{}{}
    		atomic.AddInt32(&runCount, 1)
    		y <- struct{}{}
    		return nil
    	}
    	c1 := mgr.CreateIstioStatusController(fakefunc)
    	c2 := mgr.CreateIstioStatusController(fakefunc)
    	workers := NewWorkerPool(func(_ *config.Config, _ any) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. operator/cmd/operator/server.go

    	// Setup Scheme for all resources
    	if err := apis.AddToScheme(mgr.GetScheme()); err != nil {
    		log.Fatalf("Could not add manager scheme: %v", err)
    	}
    
    	// Setup all Controllers
    	options := &istiocontrolplane.Options{Force: sArgs.force, MaxConcurrentReconciles: sArgs.maxConcurrentReconciles}
    	if err := controller.AddToManager(mgr, options); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 30 21:09:08 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/session_utils.cc

    tensorflow::Var* GetVariableFromSession(mlir::TF::VarHandleOp var_handle_op,
                                            llvm::StringRef device_name,
                                            const tensorflow::DeviceMgr* mgr) {
      tensorflow::Device* device = nullptr;
      if (!mgr || !mgr->LookupDevice(StringRefToView(device_name), &device).ok())
        return nullptr;
      tensorflow::Var* var_ptr = nullptr;
      const auto& container = var_handle_op.getContainer().str();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/initialize_variables_in_session_init.cc

      }
    }
    
    }  // namespace
    
    LogicalResult InitializeVariablesInSessionInitializer(
        ModuleOp module, tensorflow::Session* session) {
      const tensorflow::DeviceMgr* mgr = nullptr;
      auto status = session->LocalDeviceManager(&mgr);
      if (!status.ok()) {
        module->emitError(
            absl::StrCat("failed to fetch device manager: ", status.message()));
        return failure();
      }
    
      // Fetch all VarHandleOp.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/SimpleGeneratedJavaClassCompiler.java

            try (StandardJavaFileManager mgr = compiler.getStandardFileManager(ds, null, null)) {
                List<String> options = buildOptions(dstDir, classPath);
                List<File> filesToCompile = outputSourceFilesToSourceDir(srcDir, classes);
                if (dstDir.exists() || dstDir.mkdirs()) {
                    Iterable<? extends JavaFileObject> sources = mgr.getJavaFileObjectsFromFiles(filesToCompile);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top