Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 388 for unreadable (0.35 sec)

  1. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterTest.groovy

        }
    
        @Requires(UnitTestPreconditions.FilePermissions)
        def "snapshotting unreadable #type fails"() {
            given:
            def rootDir = tmpDir.createDir("root")
            rootDir.file('readableFile').createFile()
            rootDir.file('readableDirectory').createDir()
    
            def unreadable = rootDir.file('unreadable')
            unreadable."create${type.capitalize()}"().makeUnreadable()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyPermissionsIntegrationTest.groovy

        @Issue('https://github.com/gradle/gradle/issues/9576')
        def "unreadable #type not produced by task fails"() {
            given:
            def input = file("readableFile.txt").createFile()
    
            def outputDirectory = file("output")
            def unreadableOutput = file("${outputDirectory.name}/unreadable${type.capitalize()}")
            create(unreadableOutput).makeUnreadable()
    
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 20K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/TaskExecution.java

                    .withAdvice("Declare the task as untracked by using Task.doNotTrackState().");
            } else if (isDestinationDir && task instanceof Sync) {
                builder.withSummary("Cannot access a file in the destination directory.")
                    .withContext("Syncing to a directory which contains unreadable content is not supported.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/runtime/os_linux.go

    	// auxv, such as when loaded as a library on Android.
    	// Fall back to /proc/self/auxv.
    	fd := open(&procAuxv[0], 0 /* O_RDONLY */, 0)
    	if fd < 0 {
    		// On Android, /proc/self/auxv might be unreadable (issue 9229), so we fallback to
    		// try using mincore to detect the physical page size.
    		// mincore should return EINVAL when address is not a multiple of system page size.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  8. src/cmd/go/internal/script/cmds.go

    	filepath.WalkDir(dir, func(path string, info fs.DirEntry, err error) error {
    		// chmod not only directories, but also things that we couldn't even stat
    		// due to permission errors: they may also be unreadable directories.
    		if err != nil || info.IsDir() {
    			os.Chmod(path, 0777)
    		}
    		return nil
    	})
    	return robustio.RemoveAll(dir)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/MediaType.java

      /* application types */
      /**
       * As described in <a href="http://www.ietf.org/rfc/rfc3023.txt">RFC 3023</a>, this constant
       * ({@code application/xml}) is used for XML documents that are "unreadable by casual users."
       * {@link #XML_UTF_8} is provided for documents that may be read by users.
       *
       * @since 14.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 07 16:17:10 UTC 2023
    - 46.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/MediaType.java

      /* application types */
      /**
       * As described in <a href="http://www.ietf.org/rfc/rfc3023.txt">RFC 3023</a>, this constant
       * ({@code application/xml}) is used for XML documents that are "unreadable by casual users."
       * {@link #XML_UTF_8} is provided for documents that may be read by users.
       *
       * @since 14.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 07 16:17:10 UTC 2023
    - 46.2K bytes
    - Viewed (0)
Back to top