Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for unloadable (0.2 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/plugin/PluginBuilder.groovy

            addPluginSource(id, className, """
                ${packageName ? "package $packageName" : ""}
    
                class $className implements $Plugin.name<$Project.name> {
                    static { throw new Exception("unloadable plugin class") }
                    void apply($Project.name project) {
                    }
                }
            """)
            this
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. 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)
  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/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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/ModuleRegistry.java

    import org.gradle.internal.classpath.ClassPath;
    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    
    import javax.annotation.Nullable;
    
    /**
     * A registry of dynamically loadable modules.
     */
    @ServiceScope(Scope.Global.class)
    public interface ModuleRegistry {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top