Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,339 for prevents (0.15 sec)

  1. src/runtime/mem_windows.go

    	_PAGE_READWRITE = 0x0004
    	_PAGE_NOACCESS  = 0x0001
    
    	_ERROR_NOT_ENOUGH_MEMORY = 8
    	_ERROR_COMMITMENT_LIMIT  = 1455
    )
    
    // Don't split the stack as this function may be invoked without a valid G,
    // which prevents us from allocating more stack.
    //
    //go:nosplit
    func sysAllocOS(n uintptr) unsafe.Pointer {
    	return unsafe.Pointer(stdcall4(_VirtualAlloc, 0, n, _MEM_COMMIT|_MEM_RESERVE, _PAGE_READWRITE))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. src/runtime/mem_darwin.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    import (
    	"unsafe"
    )
    
    // Don't split the stack as this function may be invoked without a valid G,
    // which prevents us from allocating more stack.
    //
    //go:nosplit
    func sysAllocOS(n uintptr) unsafe.Pointer {
    	v, err := mmap(nil, n, _PROT_READ|_PROT_WRITE, _MAP_ANON|_MAP_PRIVATE, -1, 0)
    	if err != 0 {
    		return nil
    	}
    	return v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/file/archive/DefaultDecompressionCoordinator.java

        @Override
        public void exclusiveAccessTo(File expandedDir, Runnable action) {
            // withFileLock prevents other processes from extracting into the expandedDir at the same time
            // but multiple threads in this process could still try to extract into the same directory.
            cache.withFileLock(() -> {
                // guardByKey prevents multiple threads in this process from extracting into the same directory at the same time.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. plugin/pkg/admission/storage/storageobjectinuseprotection/admission.go

    )
    
    // Admit sets finalizer on all PVCs(PVs). The finalizer is removed by
    // PVCProtectionController(PVProtectionController) when it's not referenced.
    //
    // This prevents users from deleting a PVC that's used by a running pod.
    // This also prevents admin from deleting a PV that's bound by a PVC
    func (c *storageProtectionPlugin) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 02 21:13:50 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  5. src/runtime/mem_bsd.go

    //go:build dragonfly || freebsd || netbsd || openbsd || solaris
    
    package runtime
    
    import (
    	"unsafe"
    )
    
    // Don't split the stack as this function may be invoked without a valid G,
    // which prevents us from allocating more stack.
    //
    //go:nosplit
    func sysAllocOS(n uintptr) unsafe.Pointer {
    	v, err := mmap(nil, n, _PROT_READ|_PROT_WRITE, _MAP_ANON|_MAP_PRIVATE, -1, 0)
    	if err != 0 {
    		return nil
    	}
    	return v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. hack/tools/go.work

    // This is a hack, but it prevents go from climbing further and trying to
    // reconcile the various deps across the "real" modules and this one.
    
    go 1.22.0
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 08:22:06 UTC 2024
    - 162 bytes
    - Viewed (0)
  7. src/runtime/mem_aix.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    import (
    	"unsafe"
    )
    
    // Don't split the stack as this method may be invoked without a valid G, which
    // prevents us from allocating more stack.
    //
    //go:nosplit
    func sysAllocOS(n uintptr) unsafe.Pointer {
    	p, err := mmap(nil, n, _PROT_READ|_PROT_WRITE, _MAP_ANON|_MAP_PRIVATE, -1, 0)
    	if err != 0 {
    		if err == _EACCES {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

       *     can <i>usually</i> still preserve behavior by passing an explicit {@code null} cause. Note,
       *     however, that passing an explicit {@code null} cause prevents anyone from calling {@link
       *     #initCause} later, so it is not quite equivalent to using a constructor that omits the
       *     cause.
       */
      @Deprecated
      protected ExecutionError() {}
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 17:52:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_sum_lookup.txt

    ! grep '^example.com/join/subpkg' go.sum
    cp go.sum go.list.sum
    go mod tidy
    cmp go.sum go.list.sum
    
    -- go.mod --
    module m
    
    go 1.15
    
    -- noexist/use.go --
    // ignore tags prevents errors in 'go mod tidy'
    // +build ignore
    
    package use
    
    import _ "example.com/join/subpkg/noexist"
    
    -- exist/use.go --
    package use
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 859 bytes
    - Viewed (0)
  10. src/runtime/race/testdata/issue12664_test.go

    func (MyT) foo() {
    }
    
    var issue12664_2 MyT = 0
    
    func TestRaceIssue12664_2(t *testing.T) {
    	c := make(chan struct{})
    	go func() {
    		issue12664_2 = 1
    		close(c)
    	}()
    	func(x MyI) {
    		// Never true, but prevents inlining.
    		if x.(MyT) == -1 {
    			close(c)
    		}
    	}(issue12664_2)
    	<-c
    }
    
    var issue12664_3 MyT = 0
    
    func TestRaceIssue12664_3(t *testing.T) {
    	c := make(chan struct{})
    	go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.1K bytes
    - Viewed (0)
Back to top