Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 184 for filelink (0.22 sec)

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

    import org.apache.commons.lang.RandomStringUtils
    import org.gradle.cache.FileIntegrityViolationException
    import org.gradle.cache.FileLock
    import org.gradle.cache.FileLockManager
    import org.gradle.cache.InsufficientLockModeException
    import org.gradle.cache.internal.filelock.DefaultLockOptions
    import org.gradle.cache.internal.filelock.LockInfoSerializer
    import org.gradle.cache.internal.locklistener.FileLockContentionHandler
    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. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

                }
            });
    
            List<Path> fileList = systemHelper.refreshDesignJspFiles();
            assertEquals(0, fileList.size());
    
            virtualHostList.add(new Tuple3<>("abc.example.com", "8080", "host1"));
            fileList = systemHelper.refreshDesignJspFiles();
            assertEquals(0, fileList.size());
    
            systemHelper.addDesignJspFileName("xxx", "yyy.jsp");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultPersistentDirectoryStoreTest.groovy

     */
    package org.gradle.cache.internal
    
    import org.gradle.cache.CacheCleanupStrategy
    import org.gradle.cache.CleanupAction
    import org.gradle.cache.CleanupFrequency
    import org.gradle.cache.FileLock
    import org.gradle.cache.FileLockManager
    import org.gradle.internal.concurrent.ExecutorFactory
    import org.gradle.internal.operations.BuildOperationContext
    import org.gradle.internal.operations.BuildOperationRunner
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:40:49 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/locking/ExclusiveFileAccessManager.java

     */
    
    package org.gradle.internal.file.locking;
    
    import java.io.Closeable;
    import java.io.File;
    import java.io.RandomAccessFile;
    import java.nio.channels.FileChannel;
    import java.nio.channels.FileLock;
    import java.util.concurrent.Callable;
    
    public class ExclusiveFileAccessManager {
    
        public static final String LOCK_FILE_SUFFIX = ".lck";
    
        private final int timeoutMs;
        private final int pollIntervalMs;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:53 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultExclusiveCacheAccessCoordinatorTest.groovy

            then:
            1 * cleanupExecutor.cleanup()
            0 * _
        }
    
        def "initializes cache on open when lock mode is shared by upgrading lock"() {
            def exclusiveLock = Mock(FileLock)
            def sharedLock = Mock(FileLock)
            def access = newAccess(Shared)
    
            when:
            access.open()
    
            then:
            1 * lockManager.lock(lockFile, mode(Shared), "<display-name>") >> lock
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/FingerprintMapSerializer.java

            }
        }
    
        private FileType readFileType(Decoder decoder) throws IOException {
            byte fileKind = decoder.readByte();
            switch (fileKind) {
                case DIR_FINGERPRINT:
                    return FileType.Directory;
                case MISSING_FILE_FINGERPRINT:
                    return FileType.Missing;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

                final Map<String, Object> contentMap = response.getContent(OpenSearchCurl.jsonParser());
                @SuppressWarnings("unchecked")
                final List<Map<String, Object>> fileList = (List<Map<String, Object>>) contentMap.get("file");
                return fileList.stream().map(fileMap -> {
                    try {
                        final String path = fileMap.get("path").toString();
                        final Date timestamp =
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/LockStateSerializer.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.cache.internal.filelock;
    
    import java.io.DataInput;
    import java.io.DataOutput;
    import java.io.IOException;
    
    public interface LockStateSerializer {
    
        /**
         * size (bytes) of the data of this protocol.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. src/cmd/go/internal/lockedfile/internal/filelock/filelock_other.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !unix && !windows
    
    package filelock
    
    import (
    	"errors"
    	"io/fs"
    )
    
    type lockType int8
    
    const (
    	readLock = iota + 1
    	writeLock
    )
    
    func lock(f File, lt lockType) error {
    	return &fs.PathError{
    		Op:   lt.String(),
    		Path: f.Name(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 17 02:24:35 UTC 2023
    - 563 bytes
    - Viewed (0)
  10. src/cmd/go/internal/lockedfile/internal/filelock/filelock_unix.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build darwin || dragonfly || freebsd || illumos || linux || netbsd || openbsd
    
    package filelock
    
    import (
    	"io/fs"
    	"syscall"
    )
    
    type lockType int16
    
    const (
    	readLock  lockType = syscall.LOCK_SH
    	writeLock lockType = syscall.LOCK_EX
    )
    
    func lock(f File, lt lockType) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 17 02:24:35 UTC 2023
    - 723 bytes
    - Viewed (0)
Back to top