Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,230 for unreadable (0.13 sec)

  1. 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)
  2. 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)
  3. testing/integ-test/src/integTest/groovy/org/gradle/integtests/SyncTaskIntegrationTest.groovy

            expect:
            fails 'syncIt'
    
            cleanup:
            ins.close()
        }
    
        @Requires(UnitTestPreconditions.FilePermissions)
        def "sync fails when the output contains unreadable files"() {
            given:
            def input = file("readableFile.txt").createFile()
    
            def outputDirectory = file("output")
            def unreadableOutput = outputDirectory.file("unreadableFile").createFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/cache/internal/WrapperDistributionCleanupActionTest.groovy

            when:
            cleanupAction.execute(progressMonitor)
    
            then:
            0 * progressMonitor._
            distributionWithInvalidVersion.assertExists()
        }
    
        def "ignores distributions with unreadable JAR files"() {
            given:
            def versionToCleanUp = GradleVersion.version("2.3.4")
            def distributionWithUnreadableJarFile = createCustomDistributionChecksumDir("gradle-1-invalid-all", versionToCleanUp)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 10 06:35:14 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  5. src/syscall/tables_js.go

    	EMULTIHOP       Errno = 72      /* Multihop attempted */
    	EDOTDOT         Errno = 73      /* Cross mount point (not really error) */
    	EBADMSG         Errno = 74      /* Trying to read unreadable message */
    	EOVERFLOW       Errno = 75      /* Value too large for defined data type */
    	ENOTUNIQ        Errno = 76      /* Given log. name not unique */
    	EBADFD          Errno = 77      /* f.d. invalid for this operation */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 19.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/value/transformer.go

    type Context interface {
    	// AuthenticatedData should return an array of bytes that describes the current value. If the value changes,
    	// the transformer may report the value as unreadable or tampered. This may be nil if no such description exists
    	// or is needed. For additional verification, set this to data that strongly identifies the value, such as
    	// the key and creation version of the stored data.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 22:44:02 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            }
            return null;
        }
    
        private Properties read(File touchfile) {
            if (!touchfile.canRead()) {
                getLogger().debug("Skipped unreadable resolution tracking file: " + touchfile);
                return null;
            }
    
            synchronized (touchfile.getAbsolutePath().intern()) {
                try {
                    Properties props = new Properties();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  8. 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)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

          val header = Buffer()
          fileOperator.read(0, header, FILE_HEADER_SIZE)
          val prefix = header.readByteString(PREFIX_CLEAN.size.toLong())
          if (prefix != PREFIX_CLEAN) throw IOException("unreadable cache file")
          val upstreamSize = header.readLong()
          val metadataSize = header.readLong()
    
          // Read the metadata.
          val metadataBuffer = Buffer()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

    ==== Declaring input or output directories which contain unreadable content
    
    For up-to-date checks Gradle relies on tracking the state of the inputs and the outputs of a task.
    Gradle used to ignore unreadable files in the input or outputs to support certain use-cases, although it cannot track their state.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
Back to top