Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isVersionLockFileWithInfoRegion (0.36 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy

            then:
            lock.isLockFile(testFileLock)
    
            expect:
            isVersionLockFileWithInfoRegion(testFileLock, false)
            lock.writeFile {
                isVersionLockFileWithInfoRegion(testFileLock, true)
            }
            isVersionLockFileWithInfoRegion(testFileLock, false)
    
            cleanup:
            lock?.close()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerWithCrossVersionProtocolTest.groovy

            lockFile.withDataInputStream { str ->
                assert str.readByte() == 1
                assert str.readBoolean() != dirty
            }
        }
    
        @Override
        void isVersionLockFileWithInfoRegion(TestFile lockFile, boolean dirty, String processIdentifier, String operationalName) {
            assert lockFile.isFile()
            lockFile.withDataInputStream { str ->
                // state version + dirty flag
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:52 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerWithNewProtocolTest.groovy

                    assert str.readLong() == 0
                } else {
                    assert str.readLong() != 0
                }
                assert str.read() < 0
            }
        }
    
        void isVersionLockFileWithInfoRegion(TestFile lockFile, boolean dirty, String processIdentifier, String operationalName) {
            assert lockFile.isFile()
            assert lockFile.length() <= 2048
            lockFile.withDataInputStream { str ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:52 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top