Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 67 for unloadable (0.15 sec)

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

            3 * statisticsCollector.recordVisitFile()
            0 * _
        }
    
        @Requires(UnitTestPreconditions.FilePermissions)
        def "can visit unreadable #type"() {
            given:
            def rootDir = tmpDir.createDir("root")
            def unreadableFile = rootDir.file('unreadable')
            unreadableFile."create${type.capitalize()}"().makeUnreadable()
    
            when:
            snapshot(rootDir)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_perm.txt

    ! stdout _data
    
    # skip in conditions where chmod 0 may not work.
    # plan9 should be fine, but copied from list_perm.txt unchanged.
    [root] skip
    [GOOS:windows] skip
    [GOOS:plan9] skip
    
    # go list should work with unreadable _data directory.
    chmod 0 _data
    go list ./...
    ! stdout _data
    
    -- go.mod --
    module m
    
    -- x.go --
    package m
    
    -- _data/x.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 412 bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/telemetry/internal/upload/findwork.go

    					// the counter data contained therein was all from after the asof
    					// date.
    					//
    					// TODO(rfindley): store the begin date in reports, so that we can
    					// verify this assumption.
    					u.logger.Printf("Uploadable: %s", fi.Name())
    					ans.readyfiles = append(ans.readyfiles, filepath.Join(localdir, fi.Name()))
    				}
    			} else {
    				// ...otherwise fall back on the old behavior of uploading all
    				// unuploaded files.
    				//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/list_perm.txt

    go list ./noread/...
    stdout '^example.com/noread$'
    
    go list example.com/noread/...
    stdout '^example.com/noread$'
    
    go list ./empty/...
    stderr 'matched no packages'
    
    # Make the directory ./noread unreadable, and verify that 'go list' reports an
    # explicit error for a pattern that should match it (rather than treating it as
    # equivalent to an empty directory).
    
    [root] stop # Root typically ignores file permissions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go

    		X:        computeRandom(), // json encodes all the bits
    		Week:     expiryDate,
    		LastWeek: lastWeek,
    	}
    	if report.X > u.config.SampleRate && u.config.SampleRate > 0 {
    		u.logger.Printf("X: %f > SampleRate:%f, not uploadable", report.X, u.config.SampleRate)
    		uploadOK = false
    	}
    	var succeeded bool
    	for _, f := range countFiles {
    		fok := false
    		x, err := u.parseCountFile(f)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. src/internal/coverage/pods/pods_test.go

    		if exp != got {
    			t.Errorf("pod %d: expected:\n%s\ngot:\n%s", k, exp, got)
    		}
    	}
    
    	// Check handling of bad/unreadable dir.
    	if runtime.GOOS == "linux" {
    		dbad := "/dev/null"
    		_, err = pods.CollectPods([]string{dbad}, true)
    		if err == nil {
    			t.Errorf("executed error due to unreadable dir")
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 14:00:17 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/UnreadableCopyDestinationFixture.groovy

    trait UnreadableCopyDestinationFixture {
        private static final String COPY_UNREADABLE_DESTINATION_FAILURE = "Cannot access a file in the destination directory. " +
            "Copying to a directory which contains unreadable content is not supported. " +
            "Declare the task as untracked by using Task.doNotTrackState(). " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 23 08:05:53 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/ClassPath.java

      }
    
      /**
       * Returns all resources loadable from the current class path, including the class files of all
       * loadable classes but excluding the "META-INF/MANIFEST.MF" file.
       */
      public ImmutableSet<ResourceInfo> getResources() {
        return resources;
      }
    
      /**
       * Returns all classes loadable from the current class path.
       *
       * @since 16.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  9. src/runtime/os_linux_arm.go

    )
    
    const (
    	_HWCAP_VFP   = 1 << 6  // introduced in at least 2.6.11
    	_HWCAP_VFPv3 = 1 << 13 // introduced in 2.6.30
    )
    
    func vdsoCall()
    
    func checkgoarm() {
    	// On Android, /proc/self/auxv might be unreadable and hwcap won't
    	// reflect the CPU capabilities. Assume that every Android arm device
    	// has the necessary floating point hardware available.
    	if GOOS == "android" {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/Module.java

     * limitations under the License.
     */
    package org.gradle.api.internal.classpath;
    
    import org.gradle.internal.classpath.ClassPath;
    
    import java.util.Set;
    
    /**
     * Meta-data about a dynamically loadable module.
     */
    public interface Module {
        /**
         * Returns the classpath for the module implementation. This is the classpath of the module itself. Does not include any dependencies.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top