Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 62 for acquirem (0.15 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/CrossProcessFileLockIntegrationTest.groovy

    class CrossProcessFileLockIntegrationTest extends AbstractIntegrationSpec {
    
        @ToBeFixedForConfigurationCache(skip = INVESTIGATE)
        def "the task history lock can be acquired when the initial owner is busy executing tasks"() {
            createDirs("a", "b")
            settingsFile << "include 'a', 'b'"
    
            file("a/src/main/java/A.java") << "public class A {}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/custom-docs-ui-assets.md

    ```
    
    !!! tip
        The *path operation* for `swagger_ui_redirect` is a helper for when you use OAuth2.
    
        If you integrate your API with an OAuth2 provider, you will be able to authenticate and come back to the API docs with the acquired credentials. And interact with it using the real OAuth2 authentication.
    
        Swagger UI will handle it behind the scenes for you, but it needs this "redirect" helper.
    
    ### Create a *path operation* to test it
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactory.java

     * is only meant as a utility for developers that want to employ the settings builder outside of the Maven build system,
     * Maven plugins should always acquire settings builder instances via dependency injection. Developers might want to
     * subclass this factory to provide custom implementations for some of the components used by the settings builder.
     *
     */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go

    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g := t.Generation(1)
    
    	// A C thread calls into Go and acquires a P. It returns
    	// back to C, destroying the G.
    	b0 := g.Batch(trace.ThreadID(0), 0)
    	b0.Event("GoCreateSyscall", trace.GoID(4))
    	b0.Event("GoSyscallEndBlocked")
    	b0.Event("ProcStatus", trace.ProcID(0), go122.ProcIdle)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/mutation/typeprovider.go

    	tp := &TypeProvider{typeResolver: resolver}
    	var envOption cel.EnvOption = func(e *cel.Env) (*cel.Env, error) {
    		// wrap the existing type provider (acquired from the env)
    		// and set new type provider for the env.
    		tp.underlyingTypeProvider = e.CELTypeProvider()
    		typeProviderOption := cel.CustomTypeProvider(tp)
    		return typeProviderOption(e)
    	}
    	return tp, envOption
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 21:02:36 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionTest.groovy

            1 * action.accept(_) >> { FileLockReleasedSignal signal ->
                lock.close()
                signal.trigger()
            }
    
            where:
            lockMode << [Exclusive, Shared]
        }
    
        def "cannot acquire lock with mode #lockMode while another lock manager in same process is holding shared lock"() {
            given:
            def file = tmpDir.file("lock-file.bin")
            createLock(Shared, file)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. src/os/exec_unix.go

    	if err != nil {
    		return nil, err
    	}
    	if ready {
    		// Mark the process done now, before the call to Wait4,
    		// so that Process.pidSignal will not send a signal.
    		p.pidDeactivate(statusDone)
    		// Acquire a write lock on sigMu to wait for any
    		// active call to the signal method to complete.
    		p.sigMu.Lock()
    		p.sigMu.Unlock()
    	}
    
    	var (
    		status syscall.WaitStatus
    		rusage syscall.Rusage
    		pid1   int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/telemetry/internal/upload/upload.go

    	}
    
    	// Lock the upload, to prevent duplicate uploads.
    	{
    		lockname := newname + ".lock"
    		lockfile, err := os.OpenFile(lockname, os.O_CREATE|os.O_EXCL, 0666)
    		if err != nil {
    			u.logger.Printf("Failed to acquire lock %s: %v", lockname, err)
    			return false
    		}
    		_ = lockfile.Close()
    		defer os.Remove(lockname)
    	}
    
    	endpoint := u.uploadServerURL + "/" + fdate
    	b := bytes.NewReader(buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/classpath/InstrumentingClasspathFileTransformer.java

            final File lockFile = new File(destDir, destFileName + ".lock");
            final FileLock fileLock = exclusiveLockFor(lockFile);
            try {
                if (receipt.isFile()) {
                    // Lock was acquired after a concurrent writer had already finished.
                    return transformed;
                }
                transform(source, transformed, typeRegistry);
                try {
                    receipt.createNewFile();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 13:36:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/internal/poll/copy_file_range_linux.go

    	//
    	// Note that in the call to unix.CopyFileRange below, we use nil
    	// values for off_in and off_out. For the system call, this means
    	// "use and update the file offsets". That is why we must acquire
    	// locks for both file descriptors (and why this whole machinery is
    	// in the internal/poll package to begin with).
    	if err := dst.writeLock(); err != nil {
    		return 0, err
    	}
    	defer dst.writeUnlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 17:40:10 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top