- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 184 for filelink (0.18 sec)
-
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/DefaultLockStateSerializer.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.cache.internal.filelock; import org.gradle.cache.FileLock; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import java.util.Random; public class DefaultLockStateSerializer implements LockStateSerializer {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/OnDemandFileAccessTest.groovy
import org.gradle.cache.FileAccess import org.gradle.cache.FileLock import org.gradle.cache.FileLockManager import org.gradle.cache.FileLockManager.LockMode import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider import org.junit.Rule import spock.lang.Specification import java.util.function.Supplier import static org.gradle.cache.internal.filelock.DefaultLockOptions.mode
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 3.3K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/html/source.html
{{if not .Synthetic -}} {{/* disassembled instruction */ -}} {{printf " %8s %10s %10s %8x: %s " "" .Flat .Cumulative .Address .Disasm -}} <span class=unimportant>{{.FileLine}}</span>{{"\n" -}} {{end -}} {{end -}} </span>{{"" -}} {{end -}} {{/* end of line */ -}} {{end}}{{"\n" -}} </pre>{{"\n" -}}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultMultiProcessSafeIndexedCache.java
@Override public void afterLockAcquire(FileLock.State currentCacheState) { } @Override public void finishWork() { if (cache != null) { try { fileAccess.writeFile(() -> cache.close()); } finally { cache = null; } } } @Override public void beforeLockRelease(FileLock.State currentCacheState) { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheBuilder.java
import org.gradle.cache.LockOptions; import org.gradle.cache.PersistentCache; import org.gradle.cache.internal.filelock.DefaultLockOptions; import java.io.File; import java.util.Collections; import java.util.Map; import java.util.function.Consumer; import static org.gradle.cache.internal.filelock.DefaultLockOptions.mode; public class DefaultCacheBuilder implements CacheBuilder { private final CacheFactory factory;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 19:10:33 UTC 2024 - 2.6K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/internal/filelock/filelock_test.go
"path/filepath" "runtime" "testing" "time" "cmd/go/internal/lockedfile/internal/filelock" ) func lock(t *testing.T, f *os.File) { t.Helper() err := filelock.Lock(f) t.Logf("Lock(fd %d) = %v", f.Fd(), err) if err != nil { t.Fail() } } func rLock(t *testing.T, f *os.File) { t.Helper() err := filelock.RLock(f) t.Logf("RLock(fd %d) = %v", f.Fd(), err) if err != nil { t.Fail() } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 22:37:50 UTC 2023 - 4K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultInMemoryCacheDecoratorFactory.java
private static class CacheDetails { private final int maxEntries; private final Cache<Object, Object> entries; private final AtomicReference<FileLock.State> lockState; CacheDetails(int maxEntries, Cache<Object, Object> entries, AtomicReference<FileLock.State> lockState) { this.maxEntries = maxEntries; this.entries = entries; this.lockState = lockState; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:36 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/install/DefaultJavaToolchainProvisioningService.java
File archiveFile = new File(downloadFolder, getFileName(uri, resource)); final FileLock fileLock = cacheDirProvider.acquireWriteLock(archiveFile, "Downloading toolchain"); try { if (!archiveFile.exists()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 23:01:05 UTC 2024 - 12.7K bytes - Viewed (0) -
src/runtime/symtabinl.go
func badSrcFunc(*inlineUnwinder, inlineFrame) srcFunc // fileLine returns the file name and line number of the call within the given // frame. As a convenience, for the innermost frame, it returns the file and // line of the PC this unwinder was started at (often this is a call to another // physical function). // // It returns "?", 0 if something goes wrong. func (u *inlineUnwinder) fileLine(uf inlineFrame) (file string, line int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 4.5K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/UnitOfWorkParticipant.java
* * @param currentCacheState the current cache state. */ void afterLockAcquire(FileLock.State currentCacheState); /** * Called when the cache is due to be unlocked. Call after other threads have completed work. This method may access the cache files. */ void finishWork(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 1.5K bytes - Viewed (0)