Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for runSync (0.16 sec)

  1. src/cmd/go/internal/workcmd/sync.go

    that in each workspace module.
    
    See the workspaces reference at https://go.dev/ref/mod#workspaces
    for more information.
    `,
    	Run: runSync,
    }
    
    func init() {
    	base.AddChdirFlag(&cmdSync.Flag)
    	base.AddModCommonFlags(&cmdSync.Flag)
    }
    
    func runSync(ctx context.Context, cmd *base.Command, args []string) {
    	modload.ForceUseModules = true
    	modload.InitWorkfile()
    	if modload.WorkFilePath() == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. fastapi/concurrency.py

        except Exception as e:
            ok = bool(
                await anyio.to_thread.run_sync(
                    cm.__exit__, type(e), e, None, limiter=exit_limiter
                )
            )
            if not ok:
                raise e
        else:
            await anyio.to_thread.run_sync(
                cm.__exit__, None, None, None, limiter=exit_limiter
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Dec 25 17:57:35 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/controller_test.go

    	env.runFunc()
    	env.pollForPathExists("/apis/stable.example.com/v1/coolfoos")
    	s := env.fetchOpenAPIOrDie()
    
    	env.expectPath(s, "/apis/stable.example.com/v1/coolfoos")
    	env.expectPath(s, "/apis/apiextensions.k8s.io/v1")
    }
    
    func TestUpdate(t *testing.T) {
    	env, ctx := setup(t)
    	env.runFunc()
    	defer env.cleanFunc()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 17:10:53 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  4. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/GradleEnterprisePluginBackgroundJobExecutorsIntegrationTest.groovy

        @Override
        String runIgnoringInputs(String code) {
            """
                def executors = ${executors}
                def future = ${CompletableFuture.name}.runAsync({
                    ${code}
                }, executors.userJobExecutor)
    
                // Block until the job completes to ensure it run at the configuration time.
                future.get()
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 29 16:27:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/lostcancel/lostcancel.go

    		return nil, nil
    	}
    
    	// Call runFunc for each Func{Decl,Lit}.
    	inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    	nodeTypes := []ast.Node{
    		(*ast.FuncLit)(nil),
    		(*ast.FuncDecl)(nil),
    	}
    	inspect.Preorder(nodeTypes, func(n ast.Node) {
    		runFunc(pass, n)
    	})
    	return nil, nil
    }
    
    func runFunc(pass *analysis.Pass, node ast.Node) {
    	// Find scope of function node
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/CleanUpVirtualFileSystemAfterBuild.java

            }
        }
    
        private CompletableFuture<Void> startAsyncCleanupAfterBuild() {
            return userHomeServiceRegistry.getCurrentServices()
                .map(serviceRegistry ->
                    CompletableFuture.runAsync(() -> {
                        LOGGER.debug("Cleaning virtual file system after build finished");
                        BuildLifecycleAwareVirtualFileSystem virtualFileSystem = serviceRegistry.get(BuildLifecycleAwareVirtualFileSystem.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. pkg/kubelet/server/server_test.go

    	podsFunc            func() []*v1.Pod
    	runningPodsFunc     func(ctx context.Context) ([]*v1.Pod, error)
    	logFunc             func(w http.ResponseWriter, req *http.Request)
    	runFunc             func(podFullName string, uid types.UID, containerName string, cmd []string) ([]byte, error)
    	getExecCheck        func(string, types.UID, string, []string, remotecommandserver.Options)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/kernels/xla_ops.cc

      if (run_synchronous) {
        execution_output =
            executable->Run(std::move(execution_inputs), run_options);
      } else {
        execution_output =
            executable->RunAsync(std::move(execution_inputs), run_options);
      }
    
      auto elapsed = env->NowMicros() - start_time;
      VLOG(2) << "Elapsed time for Xla Executable Run: " << elapsed << "us";
      return execution_output;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  9. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    urn this._run(r,n).then(function(a){return a.root})},e.astSync=function(r,n){return this._runSync(r,n).root},e.transform=function(r,n){return this._run(r,n).then(function(a){return a.transform})},e.transformSync=function(r,n){return this._runSync(r,n).transform},e.process=function(r,n){return this._run(r,n).then(function(a){return a.string||a.root.toString()})},e.processSync=function(r,n){var a=this._runSync(r,n);return a.string||a.root.toString()},i}();Wr.default=Dk;vp.exports=Wr.default});var kp=v(G=>{l();"use...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
Back to top