Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,635 for otherfile (0.3 sec)

  1. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultFilePropertyFactoryTest.groovy

            def otherFile = projectDir.file("some-file")
    
            expect:
            def fileVar = factory.newFileProperty()
            def fileProvider = fileVar.asFile
    
            fileVar.set(new File("some-file"))
            fileVar.present
            fileVar.get().getAsFile() == otherFile
            fileProvider.present
            fileProvider.get() == otherFile
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationWritingIntegTest.groovy

            def alternateRepo = new MavenFileRepository(
                testDirectory.createDir("alternate-repo")
            )
            MavenFileModule otherFile = alternateRepo.module("org", "foo", "1.0")
                .publish()
            otherFile.artifactFile.bytes = [0, 0, 0, 0]
    
            buildFile << """
                dependencies {
                    implementation "org:foo:1.0"
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:22 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    	if slicesContains(pass.OtherFiles, filename) ||
    		slicesContains(pass.IgnoredFiles, filename) {
    		return nil
    	}
    	for _, f := range pass.Files {
    		// TODO(adonovan): use go1.20 f.FileStart
    		if pass.Fset.File(f.Pos()).Name() == filename {
    			return nil
    		}
    	}
    	return fmt.Errorf("Pass.ReadFile: %s is not among OtherFiles, IgnoredFiles, or names of Files", filename)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Verify.java

     * @since 17.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Verify {
      /**
       * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with no
       * message otherwise.
       *
       * @throws VerifyException if {@code expression} is {@code false}
       * @see Preconditions#checkState Preconditions.checkState()
       */
      public static void verify(boolean expression) {
        if (!expression) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  5. pkg/kubelet/metrics/collectors/resource_metrics_test.go

    			expectedMetrics: `
    				# HELP scrape_error [ALPHA] 1 if there was an error while getting container metrics, 0 otherwise
    				# TYPE scrape_error gauge
    				scrape_error 1
    				# HELP resource_scrape_error [STABLE] 1 if there was an error while getting container metrics, 0 otherwise
    				# TYPE resource_scrape_error gauge
    				resource_scrape_error 1
    			`,
    		},
    		{
    			name: "arbitrary node metrics",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  6. guava/src/com/google/common/base/Verify.java

     * @since 17.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Verify {
      /**
       * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with no
       * message otherwise.
       *
       * @throws VerifyException if {@code expression} is {@code false}
       * @see Preconditions#checkState Preconditions.checkState()
       */
      public static void verify(boolean expression) {
        if (!expression) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  7. maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

         * otherwise.
         */
        public void setProjectRequired(boolean requiresProject) {
            this.projectRequired = requiresProject;
        }
    
        /**
         * @return <code>true</code> if the Mojo needs a Maven project to be executed, <code>false</code> otherwise.
         */
        public boolean isProjectRequired() {
            return projectRequired;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/functional/src/main/java/org/gradle/internal/Try.java

        /**
         * Returns the failure for a failed result, or {@link Optional#empty()} otherwise.
         */
        public abstract Optional<Throwable> getFailure();
    
        /**
         * If the represented operation was successful, returns the result of applying the given
         * {@code Try}-bearing mapping function to the value, otherwise returns
         * the {@code Try} representing the original failure.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:10:49 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. cmd/object-handlers-common.go

    		if objInfo.ETag != "" {
    			w.Header()[xhttp.ETag] = []string{"\"" + objInfo.ETag + "\""}
    		}
    	}
    	// x-amz-copy-source-if-modified-since: Return the object only if it has been modified
    	// since the specified time otherwise return 412 (precondition failed).
    	ifModifiedSinceHeader := r.Header.Get(xhttp.AmzCopySourceIfModifiedSince)
    	if ifModifiedSinceHeader != "" {
    		if givenTime, err := amztime.ParseHeader(ifModifiedSinceHeader); err == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/artifacts/Configuration.java

         * See docs for {@link ResolutionStrategy} for more info and examples.
         *
         * @implSpec Usage: This method should only be called on resolvable configurations, but will not warn if used otherwise.
         *
         * @return resolution strategy
         * @since 1.0-milestone-6
         */
        ResolutionStrategy getResolutionStrategy();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:18:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
Back to top