Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 928 for Mlock (2.92 sec)

  1. src/runtime/sys_darwin.go

    	KeepAlive(addr) // Just for consistency. Hopefully addr is not a Go address.
    }
    func madvise_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    func mlock(addr unsafe.Pointer, n uintptr) {
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(mlock_trampoline)), unsafe.Pointer(&addr))
    	KeepAlive(addr) // Just for consistency. Hopefully addr is not a Go address.
    }
    func mlock_trampoline()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. src/syscall/syscall_darwin.go

    //sys	Fchdir(fd int) (err error)
    //sys	Fchflags(fd int, flags int) (err error)
    //sys	Fchmod(fd int, mode uint32) (err error)
    //sys	Fchown(fd int, uid int, gid int) (err error)
    //sys	Flock(fd int, how int) (err error)
    //sys	Fpathconf(fd int, name int) (val int, err error)
    //sys	Fsync(fd int) (err error)
    //  Fsync is not called for os.File.Sync(). Please see internal/poll/fd_fsync_darwin.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/syscall/syscall_linux.go

    //sys	Fchmod(fd int, mode uint32) (err error)
    //sys	Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
    //sys	fcntl(fd int, cmd int, arg int) (val int, err error)
    //sys	Fdatasync(fd int) (err error)
    //sys	Flock(fd int, how int) (err error)
    //sys	Fsync(fd int) (err error)
    //sys	Getdents(fd int, buf []byte) (n int, err error) = SYS_GETDENTS64
    //sysnb	Getpgid(pid int) (pgid int, err error)
    
    func Getpgrp() (pid int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/block.go

    // for the new value. The index must refer to a valid control value.
    func (b *Block) ReplaceControl(i int, v *Value) {
    	b.Controls[i].Uses--
    	b.Controls[i] = v
    	v.Uses++
    }
    
    // CopyControls replaces the controls for this block with those from the
    // provided block. The provided block is not modified.
    func (b *Block) CopyControls(from *Block) {
    	if b == from {
    		return
    	}
    	b.ResetControls()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. internal/bucket/object/lock/lock.go

    	AmzObjectLockRetainUntilDate     = "X-Amz-Object-Lock-Retain-Until-Date"
    	AmzObjectLockMode                = "X-Amz-Object-Lock-Mode"
    	AmzObjectLockLegalHold           = "X-Amz-Object-Lock-Legal-Hold"
    )
    
    var (
    	// ErrMalformedBucketObjectConfig -indicates that the bucket object lock config is malformed
    	ErrMalformedBucketObjectConfig = errors.New("invalid bucket object lock config")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    func TestCacheWatcherDraining(t *testing.T) {
    	var lock sync.RWMutex
    	var w *cacheWatcher
    	count := 0
    	filter := func(string, labels.Set, fields.Set) bool { return true }
    	forget := func(drainWatcher bool) {
    		lock.Lock()
    		defer lock.Unlock()
    		count++
    		w.setDrainInputBufferLocked(drainWatcher)
    		w.stopLocked()
    	}
    	initEvents := []*watchCacheEvent{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  7. cmd/bucket-object-lock.go

    					return ObjectLocked{}
    				}
    
    				if !ret.RetainUntilDate.Before(t) {
    					return ObjectLocked{}
    				}
    				return nil
    			}
    			// https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html#object-lock-retention-modes
    			// If you try to delete objects protected by governance mode and have s3:BypassGovernanceRetention, the operation will succeed.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. pkg/kubelet/util/manager/watch_based_manager.go

    }
    
    func (i *objectCacheItem) setLastAccessTime(time time.Time) {
    	i.lock.Lock()
    	defer i.lock.Unlock()
    	i.lastAccessTime = time
    }
    
    func (i *objectCacheItem) setImmutable() {
    	i.lock.Lock()
    	defer i.lock.Unlock()
    	i.immutable = true
    }
    
    func (i *objectCacheItem) stopIfIdle(now time.Time, maxIdleTime time.Duration) bool {
    	i.lock.Lock()
    	defer i.lock.Unlock()
    	// Ensure that we don't try to stop not yet initialized reflector.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    	// This handler is run at the end of every Add/Update/Delete method
    	// and additionally gets the previous value of the object.
    	eventHandler func(*watchCacheEvent)
    
    	// for testing timeouts.
    	clock clock.Clock
    
    	// An underlying storage.Versioner.
    	versioner storage.Versioner
    
    	// cacher's group resource
    	groupResource schema.GroupResource
    
    	// For testing cache interval invalidation.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. cmd/bucket-replication-stats.go

    func (r *ReplicationStats) updateMovingAvg() {
    	r.RLock()
    	for _, s := range r.Cache {
    		for _, st := range s.Stats {
    			st.XferRateLrg.measure.updateExponentialMovingAverage(time.Now())
    			st.XferRateSml.measure.updateExponentialMovingAverage(time.Now())
    		}
    	}
    	r.RUnlock()
    }
    
    // ActiveWorkers returns worker stats
    func (r *ReplicationStats) ActiveWorkers() ActiveWorkerStat {
    	r.wlock.RLock()
    	defer r.wlock.RUnlock()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top