Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for BlockType (0.23 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

            PropertyMetaData compositeBlockProperty = property('listBlock', classMetaData, type: new TypeMetaData('java.util.List').addTypeArg(new TypeMetaData('BlockType')))
            MethodMetaData compositeBlockMethod = method('listBlock', classMetaData, paramTypes: [Closure.class.name])
            MethodMetaData tooManyParams = method('block', classMetaData, paramTypes: ['String', 'boolean'])
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

                <para>comment</para>
                <segmentedlist>
                    <segtitle>Delegates to</segtitle>
                    <seglistitem>
                        <seg><classname>BlockType</classname> from <link linkend="blockName">
                                <literal>blockName</literal></link></seg>
                    </seglistitem>
                </segmentedlist>
            </section>
        </section>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
  3. internal/lock/lock_solaris.go

    func lockedOpenFile(path string, flag int, perm os.FileMode, rlockType int) (*LockedFile, error) {
    	var lockType int16
    	switch flag {
    	case syscall.O_RDONLY:
    		lockType = syscall.F_RDLCK
    	case syscall.O_WRONLY:
    		fallthrough
    	case syscall.O_RDWR:
    		fallthrough
    	case syscall.O_WRONLY | syscall.O_CREAT:
    		fallthrough
    	case syscall.O_RDWR | syscall.O_CREAT:
    		lockType = syscall.F_WRLCK
    	default:
    		return nil, &os.PathError{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  4. internal/lock/lock_nix.go

    func lockedOpenFile(path string, flag int, perm os.FileMode, lockType int) (*LockedFile, error) {
    	switch flag {
    	case syscall.O_RDONLY:
    		lockType |= syscall.LOCK_SH
    	case syscall.O_WRONLY:
    		fallthrough
    	case syscall.O_RDWR:
    		fallthrough
    	case syscall.O_WRONLY | syscall.O_CREAT:
    		fallthrough
    	case syscall.O_RDWR | syscall.O_CREAT:
    		lockType |= syscall.LOCK_EX
    	default:
    		return nil, &os.PathError{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  5. internal/lock/lock_windows.go

    	var lockType uint32 = lockFileFailImmediately | lockFileExclusiveLock
    	if flag == syscall.O_RDONLY {
    		// https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-lockfileex
    		//lint:ignore SA4016 Reasons
    		lockType = lockFileFailImmediately // Set this to enable shared lock and fail immediately.
    	}
    	return lockedOpenFile(path, flag, perm, lockType)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. cmd/admin-handlers_test.go

    			Locks: locksHeld,
    		})
    	}
    	var exp madmin.LockEntries
    	for _, lri := range lris {
    		lockType := func(lri lockRequesterInfo) string {
    			if lri.Writer {
    				return "WRITE"
    			}
    			return "READ"
    		}
    		exp = append(exp, madmin.LockEntry{
    			Resource:   lri.Name,
    			Type:       lockType(lri),
    			ServerList: owners,
    			Owner:      lri.Owner,
    			ID:         lri.UID,
    			Quorum:     lri.Quorum,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. internal/dsync/drwmutex.go

    		// quorum + 1 when tolerance is exactly half of the
    		// total locker clients.
    		if quorum == tolerance {
    			quorum++
    		}
    	}
    
    	log("lockBlocking %s/%s for %#v: lockType readLock(%t), additional opts: %#v, quorum: %d, tolerance: %d, lockClients: %d\n", id, source, dm.Names, isReadLock, opts, quorum, tolerance, len(restClnts))
    
    	tolerance = len(restClnts) - quorum
    	attempt := uint(0)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top