Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 126 for acquirem (0.2 sec)

  1. 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)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/LockStateAccess.java

                if (fileLock == null) {
                    return FileLockOutcome.LOCKED_BY_ANOTHER_PROCESS;
                } else {
                    return FileLockOutcome.acquired(fileLock);
                }
            } catch (OverlappingFileLockException e) {
                return FileLockOutcome.LOCKED_BY_THIS_PROCESS;
            }
        }
    
        public int getRegionEnd() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 4K 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/runtime/cgo_mmap.go

    // support sanitizer interceptors. Don't allow stack splits, since this function
    // (used by sysAlloc) is called in a lot of low-level parts of the runtime and
    // callers often assume it won't acquire any locks.
    //
    //go:nosplit
    func mmap(addr unsafe.Pointer, n uintptr, prot, flags, fd int32, off uint32) (unsafe.Pointer, int) {
    	if _cgo_mmap != nil {
    		// Make ret a uintptr so that writing to it in the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 20:58:13 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. internal/lock/lock_nix.go

    // it is similar to LockedOpenFile with with syscall.LOCK_EX
    // mode but along with syscall.LOCK_NB such that the function
    // doesn't wait forever but instead returns if it cannot
    // acquire a write lock.
    func TryLockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	return lockedOpenFile(path, flag, perm, syscall.LOCK_NB)
    }
    
    // LockedOpenFile - initializes a new lock and protects
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  6. 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)
  7. src/runtime/symtab_test.go

    //
    //go:noinline
    func tracebackFunc(t *testing.T) uintptr {
    	// This body must be more complex than a single call to inlined to get
    	// an inline tree.
    	inlined()
    	inlined()
    
    	// Acquire a PC in this function.
    	pc, _, _, ok := runtime.Caller(0)
    	if !ok {
    		t.Fatalf("Caller(0) got ok false, want true")
    	}
    
    	return pc
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 21:46:33 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  8. 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)
  9. pkg/kubelet/container/cache.go

    		// PodStatus to reflect this.
    		return makeDefaultData(id)
    	}
    	return d
    }
    
    // getIfNewerThan returns the data it is newer than the given time.
    // Otherwise, it returns nil. The caller should acquire the lock.
    func (c *cache) getIfNewerThan(id types.UID, minTime time.Time) *data {
    	d, ok := c.pods[id]
    	globalTimestampIsNewer := (c.timestamp != nil && c.timestamp.After(minTime))
    	if !ok && globalTimestampIsNewer {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 07:37:01 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. internal/lock/lock_solaris.go

    // it is similar to LockedOpenFile with with syscall.LOCK_EX
    // mode but along with syscall.LOCK_NB such that the function
    // doesn't wait forever but instead returns if it cannot
    // acquire a write lock.
    func TryLockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	return lockedOpenFile(path, flag, perm, syscall.F_SETLK)
    }
    
    // LockedOpenFile - initializes a new lock and protects
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.8K bytes
    - Viewed (0)
Back to top