- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 166 for unreadable (0.18 sec)
-
platforms/core-runtime/files/src/testFixtures/groovy/org/gradle/internal/file/AbstractFileMetadataAccessorTest.groovy
cleanup: unreadableDir.makeReadable() } @Requires(UnitTestPreconditions.FilePermissions) def "stat an unreadable file"() { def unreadableFile = tmpDir.createFile("unreadable") unreadableFile.makeUnreadable() expect: def stat = accessor.stat(unreadableFile) stat.type == FileType.RegularFile
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 6.9K bytes - Viewed (0) -
src/cmd/internal/bootstrap_test/reboot_test.go
} realGoroot := testenv.GOROOT(t) // To ensure that bootstrapping doesn't unexpectedly depend // on the Go repo's git metadata, add a fake (unreadable) git // directory above the simulated GOROOT. // This mimics the configuration one much have when // building from distro-packaged source code // (see https://go.dev/issue/54852). parent := t.TempDir()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 2.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt
override fun source() = buffer() override fun read( sink: Buffer, byteCount: Long, ): Long { throw IllegalStateException( """ |Unreadable ResponseBody! These Response objects have bodies that are stripped: | * Response.cacheResponse | * Response.networkResponse | * Response.priorResponse | * EventSourceListener
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 15 13:24:48 UTC 2024 - 5.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt
source1.close() // Not exhausted! assertThat(relay1.isClosed).isTrue() assertFailsWith<IOException> { read(file) }.also { expected -> assertThat(expected.message).isEqualTo("unreadable cache file") } assertFile(Relay.PREFIX_DIRTY, -1L, -1, null, null) } @Test fun redundantCallsToCloseAreIgnored() { val upstream = Buffer() upstream.writeUtf8("abcde")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 8.1K bytes - Viewed (0) -
src/cmd/cover/cfg_test.go
cmd.Dir = instdira run(cmd, t) } // Do some error testing to ensure that various bad options and // combinations are properly rejected. // Expect error if config file inaccessible/unreadable. mode := "atomic" errExpected := true tag := "errors" _, _, errmsg := runPkgCover(t, instdira, tag, "/not/a/file", mode, apkgfiles, errExpected) want := "error reading pkgconfig file"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 12:51:11 UTC 2024 - 7.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonRegistryUnavailableExpirationStrategyTest.groovy
@Rule TestNameTestDirectoryProvider tempDir = new TestNameTestDirectoryProvider(getClass()) File daemonDir = tempDir.createDir("test_daemon_dir") def "daemon should expire when registry file is unreachable"() { given: DaemonRegistryUnavailableExpirationStrategy expirationStrategy = new DaemonRegistryUnavailableExpirationStrategy(daemon)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 00:09:57 UTC 2024 - 3.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/aliases/aliases_go121.go
// It will never be created by go/types. type Alias struct{} func (*Alias) String() string { panic("unreachable") } func (*Alias) Underlying() types.Type { panic("unreachable") } func (*Alias) Obj() *types.TypeName { panic("unreachable") } func Rhs(alias *Alias) types.Type { panic("unreachable") } // Unalias returns the type t for go <=1.21. func Unalias(t types.Type) types.Type { return t }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 962 bytes - Viewed (0) -
src/crypto/internal/boring/notboring.go
) const available = false // Unreachable marks code that should be unreachable // when BoringCrypto is in use. It is a no-op without BoringCrypto. func Unreachable() { // Code that's unreachable when using BoringCrypto // is exactly the code we want to detect for reporting // standard Go crypto. sig.StandardCrypto() } // UnreachableExceptTests marks code that should be unreachable
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 26 22:52:27 UTC 2024 - 4.9K bytes - Viewed (0) -
src/crypto/internal/boring/boring.go
} sig.BoringCrypto() } // Unreachable marks code that should be unreachable // when BoringCrypto is in use. It panics. func Unreachable() { panic("boringcrypto: invalid code execution") } // provided by runtime to avoid os import. func runtime_arg0() string // UnreachableExceptTests marks code that should be unreachable // when BoringCrypto is in use. It panics.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 14:00:54 UTC 2024 - 3K bytes - Viewed (0) -
src/os/pidfd_other.go
func pidfdFind(_ int) (uintptr, error) { return 0, syscall.ENOSYS } func (p *Process) pidfdRelease() {} func (_ *Process) pidfdWait() (*ProcessState, error) { panic("unreachable") } func (_ *Process) pidfdSendSignal(_ syscall.Signal) error { panic("unreachable")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 692 bytes - Viewed (0)