Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for lK (0.05 sec)

  1. internal/dsync/locked_rand.go

    )
    
    // lockedRandSource provides protected rand source, implements rand.Source interface.
    type lockedRandSource struct {
    	lk  sync.Mutex
    	src rand.Source
    }
    
    // Int63 returns a non-negative pseudo-random 63-bit integer as an int64.
    func (r *lockedRandSource) Int63() (n int64) {
    	r.lk.Lock()
    	n = r.src.Int63()
    	r.lk.Unlock()
    	return
    }
    
    // Seed uses the provided seed value to initialize the generator to a
    // deterministic state.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Oct 18 15:39:59 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  2. src/syscall/flock_aix.go

    // FcntlFlock performs a fcntl syscall for the [F_GETLK], [F_SETLK] or [F_SETLKW] command.
    func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) (err error) {
    	_, _, e1 := syscall6(uintptr(unsafe.Pointer(&libc_fcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(unsafe.Pointer(lk)), 0, 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 570 bytes
    - Viewed (0)
  3. src/syscall/flock_linux.go

    var fcntl64Syscall uintptr = SYS_FCNTL
    
    // FcntlFlock performs a fcntl syscall for the [F_GETLK], [F_SETLK] or [F_SETLKW] command.
    func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
    	_, _, errno := Syscall(fcntl64Syscall, fd, uintptr(cmd), uintptr(unsafe.Pointer(lk)))
    	if errno == 0 {
    		return nil
    	}
    	return errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 647 bytes
    - Viewed (0)
  4. src/syscall/flock_bsd.go

    package syscall
    
    import "unsafe"
    
    // FcntlFlock performs a fcntl syscall for the [F_GETLK], [F_SETLK] or [F_SETLKW] command.
    func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
    	_, err := fcntlPtr(int(fd), cmd, unsafe.Pointer(lk))
    	return err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 475 bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/fcntl_darwin.go

    	return fcntl(int(fd), cmd, arg)
    }
    
    // FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
    func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
    	_, err := fcntl(int(fd), cmd, int(uintptr(unsafe.Pointer(lk))))
    	return err
    }
    
    // FcntlFstore performs a fcntl syscall for the F_PREALLOCATE command.
    func FcntlFstore(fd uintptr, cmd int, fstore *Fstore_t) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 21 22:10:00 UTC 2020
    - 806 bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/fcntl.go

    	return fcntl(int(fd), cmd, arg)
    }
    
    // FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
    func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
    	_, _, errno := Syscall(fcntl64Syscall, fd, uintptr(cmd), uintptr(unsafe.Pointer(lk)))
    	if errno == 0 {
    		return nil
    	}
    	return errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 1K bytes
    - Viewed (0)
  7. src/math/rand/rand.go

    type lockedSource struct {
    	lk sync.Mutex
    	s  *rngSource
    }
    
    func (r *lockedSource) Int63() (n int64) {
    	r.lk.Lock()
    	n = r.s.Int63()
    	r.lk.Unlock()
    	return
    }
    
    func (r *lockedSource) Uint64() (n uint64) {
    	r.lk.Lock()
    	n = r.s.Uint64()
    	r.lk.Unlock()
    	return
    }
    
    func (r *lockedSource) Seed(seed int64) {
    	r.lk.Lock()
    	r.seed(seed)
    	r.lk.Unlock()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    	if !srcInfo.metadataOnly {
    		return oi, NotImplemented{}
    	}
    
    	if !dstOpts.NoLock {
    		lk := er.NewNSLock(dstBucket, dstObject)
    		lkctx, err := lk.GetLock(ctx, globalOperationTimeout)
    		if err != nil {
    			return oi, err
    		}
    		ctx = lkctx.Context()
    		defer lk.Unlock(lkctx)
    	}
    	// Read metadata associated with the object from all disks.
    	storageDisks := er.getDisks()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  9. src/crypto/tls/testdata/Client-TLSv12-P256-ECDHE

    000000e0  37 ef 0d 19 51 88 35 75  71 b5 e5 54 5b 12 2e 8f  |7...Q.5uq..T[...|
    000000f0  09 67 fd a7 24 20 3e b2  56 1c ce 97 28 5e f8 2b  |.g..$ >.V...(^.+|
    00000100  2d 4f 9e f1 07 9f 6c 4b  5b 83 56 e2 32 42 e9 58  |-O....lK[.V.2B.X|
    00000110  b6 d7 49 a6 b5 68 1a 41  03 56 6b dc 5a 89        |..I..h.A.Vk.Z.|
    >>> Flow 2 (server to client)
    00000000  16 03 03 00 5d 02 00 00  59 03 03 1c ad ae e9 64  |....]...Y......d|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool.go

    		}
    
    		if !opts.NoLock {
    			// Lock the bucket name before creating.
    			lk := z.NewNSLock(minioMetaTmpBucket, bucket+".lck")
    			lkctx, err := lk.GetLock(ctx, globalOperationTimeout)
    			if err != nil {
    				return err
    			}
    
    			ctx = lkctx.Context()
    			defer lk.Unlock(lkctx)
    		}
    	}
    
    	if err := z.s3Peer.MakeBucket(ctx, bucket, opts); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
Back to top