Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 166 for acquirem (3.08 sec)

  1. src/cmd/go/internal/modfetch/fetch.go

    		if _, err := os.Stat(zipfile); err == nil {
    			if _, err := os.Stat(ziphashfile); err == nil {
    				return zipfile, nil
    			}
    		}
    
    		// The zip or ziphash file does not exist. Acquire the lock and create them.
    		if cfg.CmdName != "mod download" {
    			vers := mod.Version
    			if mod.Path == "golang.org/toolchain" {
    				// Shorten v0.0.1-go1.13.1.darwin-amd64 to go1.13.1.darwin-amd64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. src/log/slog/doc.go

    	}
    
    Then use a value of that type in log calls:
    
    	slog.Debug("frobbing", "value", expensive{arg})
    
    Now computeExpensiveValue will only be called when the line is enabled.
    
    The built-in handlers acquire a lock before calling [io.Writer.Write]
    to ensure that exactly one [Record] is written at a time in its entirety.
    Although each log record has a timestamp,
    the built-in handlers do not use that time to sort the written records.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 14:35:48 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/list/list.go

    		}
    		var testPackages []testPackageSet
    		for _, p := range pkgs {
    			if len(p.TestGoFiles)+len(p.XTestGoFiles) > 0 {
    				var pmain, ptest, pxtest *load.Package
    				var err error
    				if *listE {
    					sema.Acquire(ctx, 1)
    					wg.Add(1)
    					done := func() {
    						sema.Release(1)
    						wg.Done()
    					}
    					pmain, ptest, pxtest = load.TestPackagesAndErrors(ctx, done, pkgOpts, p, nil)
    				} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. src/runtime/os_windows.go

    			// this includes idle worker threads,
    			// idle timer thread, idle heap scavenger, etc.
    			if mp.thread == 0 || mp.profilehz == 0 || mp.blocked {
    				unlock(&mp.threadLock)
    				continue
    			}
    			// Acquire our own handle to the thread.
    			var thread uintptr
    			if stdcall7(_DuplicateHandle, currentProcess, mp.thread, currentProcess, uintptr(unsafe.Pointer(&thread)), 0, 0, _DUPLICATE_SAME_ACCESS) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

      /**
       * This test causes two connections to become available simultaneously, one from a TCP connect and
       * one from the pool. We must take the pooled connection because by taking it from the pool, we've
       * fully acquired it.
       *
       * This test yields threads to force the decision of plan1 to be deliberate and not lucky. In
       * particular, we set up this sequence of events:
       *
       *  1. take plan 0
       *  3. plan 0 connects
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. apache-maven/src/main/appended-resources/licenses/EPL-2.0.txt

      property rights needed, if any. For example, if a third party
      patent license is required to allow Recipient to Distribute the
      Program, it is Recipient's responsibility to acquire that license
      before distributing the Program.
    
      d) Each Contributor represents that to its knowledge it has
      sufficient copyright rights in its Contribution, if any, to grant
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 04 06:45:16 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/device_compiler.h

      string human_signature;
      if (VLOG_IS_ON(2)) {
        human_signature = VLOG_IS_ON(3) ? signature.HumanString() : function.name();
        VLOG(2) << "DeviceCompilationClusterSignature: " << human_signature;
      }
    
      // Acquire the cache entry lock and compile, if necessary.
      // TODO(phawkins): this locking will need to be restructured when we implement
      // cache eviction.
      mutex_lock cluster_compile_lock(*cluster_mutex);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/execution/plan/Node.java

        }
    
        /**
         * Returns the resources which should be locked before starting this node.
         *
         * This operation should complete quickly,
         * must not run user code, and
         * should not need to acquire additional locks.
         */
        public List<? extends ResourceLock> getResourcesToLock() {
            return Collections.emptyList();
        }
    
        @Override
        public abstract String toString();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 24 13:30:48 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  9. src/cmd/gofmt/gofmt.go

    // (if any) and will cause a nonzero final exit code.
    func (s *sequencer) Add(weight int64, f func(*reporter) error) {
    	if weight < 0 || weight > s.maxWeight {
    		weight = s.maxWeight
    	}
    	if err := s.sem.Acquire(context.TODO(), weight); err != nil {
    		// Change the task from "execute f" to "report err".
    		weight = 0
    		f = func(*reporter) error { return err }
    	}
    
    	r := &reporter{prev: s.prev}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/ProviderConnection.java

            }
            Parameters params = initParams(providerParameters);
            if (BuildEnvironment.class.getName().equals(modelName)) {
                //we don't really need to launch the daemon to acquire information needed for BuildEnvironment
                if (tasks != null) {
                    throw new IllegalArgumentException("Cannot run tasks and fetch the build environment model.");
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top