Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for unprotect (0.2 sec)

  1. src/cmd/go/internal/modindex/read.go

    		return pkg, nil
    	})
    }
    
    var errCorrupt = errors.New("corrupt index")
    
    // protect marks the start of a large section of code that accesses the index.
    // It should be used as:
    //
    //	defer unprotect(protect, &err)
    //
    // It should not be used for trivial accesses which would be
    // dwarfed by the overhead of the defer.
    func protect() bool {
    	return debug.SetPanicOnFault(true)
    }
    
    var isTest = false
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/options/feature.go

    	fs.BoolVar(&o.EnableContentionProfiling, "contention-profiling", o.EnableContentionProfiling,
    		"Enable block profiling, if profiling is enabled")
    	fs.StringVar(&o.DebugSocketPath, "debug-socket-path", o.DebugSocketPath,
    		"Use an unprotected (no authn/authz) unix-domain socket for profiling with the given path")
    	fs.BoolVar(&o.EnablePriorityAndFairness, "enable-priority-and-fairness", o.EnablePriorityAndFairness, ""+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 18:51:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. internal/rest/client.go

    func exponentialBackoffWait(r *rand.Rand, unit, cap time.Duration) func(uint) time.Duration {
    	if unit > time.Hour {
    		// Protect against integer overflow
    		panic("unit cannot exceed one hour")
    	}
    	return func(attempt uint) time.Duration {
    		if attempt > 16 {
    			// Protect against integer overflow
    			attempt = 16
    		}
    		// sleep = random_between(unit, min(cap, base * 2 ** attempt))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. README.md

    4.  Serialized forms of ALL objects are subject to change unless noted
        otherwise. Do not persist these and assume they can be read by a future
        version of the library.
    
    5.  Our classes are not designed to protect against a malicious caller. You
        should not use them for communication between trusted and untrusted code.
    
    6.  For the mainline flavor, we test the libraries using OpenJDK 8, 11, and 17
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 17:43:52 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. pkg/proxy/ipvs/util/ipvs_linux.go

    	"time"
    
    	libipvs "github.com/moby/ipvs"
    
    	"golang.org/x/sys/unix"
    	"k8s.io/klog/v2"
    )
    
    // runner implements ipvs.Interface.
    type runner struct {
    	ipvsHandle *libipvs.Handle
    	mu         sync.Mutex // Protect Netlink calls
    }
    
    // Protocol is the IPVS service protocol type
    type Protocol uint16
    
    // New returns a new Interface which will call ipvs APIs.
    func New() Interface {
    	handle, err := libipvs.New("")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/controller.go

    // The mergedVersionSpec is only created on instantiation and is never
    // changed. crdCache is a cached.Replaceable and updates are thread
    // safe. Thus, no lock is needed to protect this struct.
    type specCache struct {
    	crdCache          cached.LastSuccess[*apiextensionsv1.CustomResourceDefinition]
    	mergedVersionSpec cached.Value[*spec.Swagger]
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. src/syscall/syscall_darwin.go

    //sys	Mkfifo(path string, mode uint32) (err error)
    //sys	Mknod(path string, mode uint32, dev int) (err error)
    //sys	Mlock(b []byte) (err error)
    //sys	Mlockall(flags int) (err error)
    //sys	Mprotect(b []byte, prot int) (err error)
    //sys	msync(b []byte, flags int) (err error)
    //sys	Munlock(b []byte) (err error)
    //sys	Munlockall() (err error)
    //sys	Open(path string, mode int, perm uint32) (fd int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. src/crypto/internal/edwards25519/scalar.go

    	// The description above omits the purpose of the high bits of the clamping
    	// for brevity, but those are also lost to reductions, and are also
    	// irrelevant to edwards25519 as they protect against a specific
    	// implementation bug that was once observed in a generic Montgomery ladder.
    	if len(x) != 32 {
    		return nil, errors.New("edwards25519: invalid SetBytesWithClamping input length")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. src/runtime/tracecpu.go

    	// We must not acquire trace.signalLock outside of a signal handler: a
    	// profiling signal may arrive at any time and try to acquire it, leading to
    	// deadlock. Because we can't use that lock to protect updates to
    	// trace.cpuLogWrite (only use of the structure it references), reads and
    	// writes of the pointer must be atomic. (And although this field is never
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. cmd/bucket-object-lock.go

    			return nil
    		case objectlock.RetGovernance:
    			// In governance mode, users can't overwrite or delete an object
    			// version or alter its lock settings unless they have special
    			// permissions. With governance mode, you protect objects against
    			// being deleted by most users, but you can still grant some users
    			// permission to alter the retention settings or delete the object
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top