Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of about 10,000 for source2 (0.21 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/ArtifactBackedResolvedVariantTest.groovy

            then:
            _ * artifact2.id >> Stub(ComponentArtifactIdentifier)
            1 * artifact2.resolveSynchronously >> false
            _ * artifact2.fileSource >> source2
            1 * source2.finalizeIfNotAlready()
            _ * source2.value >> Try.successful(f2)
            1 * visitor.visitArtifacts(_) >> { ResolvedArtifactSet.Artifacts artifacts ->
                artifacts.startFinalization(queue, true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. pkg/kubelet/config/mux_test.go

    		t.Error("Got back the same muxuration channel for different names")
    	}
    }
    
    type MergeMock struct {
    	source string
    	update interface{}
    	t      *testing.T
    }
    
    func (m MergeMock) Merge(source string, update interface{}) error {
    	if m.source != source {
    		m.t.Errorf("Expected %s, Got %s", m.source, source)
    	}
    	if !reflect.DeepEqual(m.update, update) {
    		m.t.Errorf("Expected %s, Got %s", m.update, update)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 30 20:02:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/NativeCompilerTest.groovy

            def testDir = tmpDirProvider.testDirectory
            def objectFileDir = testDir.file("output/objects")
            def sourceFiles = [testDir.file("source1.ext"), testDir.file("source2.ext")]
    
            when:
            def compileSpec = Stub(getCompileSpecType()) {
                getTempDir() >> testDir
                getObjectFileDir() >> objectFileDir
                getSourceFiles() >> sourceFiles
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/NormalizingJavaCompilerTest.groovy

        DefaultJavaCompileSpec spec = new DefaultJavaCompileSpec()
        NormalizingJavaCompiler compiler = new NormalizingJavaCompiler(target)
    
        def setup() {
            spec.sourceFiles = files("Source1.java", "Source2.java", "Source3.java")
            spec.compileClasspath = [new File("Dep1.jar"), new File("Dep2.jar"), new File("Dep3.jar")]
            def compileOptions = TestUtil.newInstance(CompileOptions, TestUtil.objectFactory())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            // merge implicitly assumes that merge is only called on the same GAV and does not perform any validation here!
            Metadata source = new Metadata();
            source.setArtifactId("source-artifact");
            source.setGroupId("source-group");
            source.setVersion("2.0");
            assertFalse(target.merge(source));
            assertEquals("myArtifact", target.getArtifactId());
            assertEquals("myGroup", target.getGroupId());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. testing/integ-test/src/integTest/groovy/org/gradle/integtests/SyncTaskIntegrationTest.groovy

        @ToBeFixedForConfigurationCache(because = "Task.getProject() during execution")
        def "sync from composite file collection"() {
            given:
            file('source').create {
                file 'file1.txt'
                dir1 { file 'file2.txt' }
            }
            file('source2').create {
                file 'file3.txt'
                dir1 { file 'file4.txt' }
                ignore { file 'file5.txt' } // to be ignored
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecTest.groovy

        }
    
        def "from with Closure"() {
            when:
            CopySpec child = spec.from(sources) {}
    
            then:
            !child.is(spec)
            unpackWrapper(child).sourcePaths as List == [sources]
    
            where:
            sources << ['source', ['source1', 'source2']]
        }
    
        def "default destination path for root spec"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 26 08:05:50 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/MoreFiles.java

         * directly.
         */
        ByteSource source1 = asByteSource(path1);
        ByteSource source2 = asByteSource(path2);
        long len1 = source1.sizeIfKnown().or(0L);
        long len2 = source2.sizeIfKnown().or(0L);
        if (len1 != 0 && len2 != 0 && len1 != len2) {
          return false;
        }
        return source1.contentEquals(source2);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy

            when:
            fails 'copy'
    
            then:
            failure.assertHasCause("Cannot copy file '${source2.path}' to '${file('dest/subdir/path/file.txt')}' because file '${source1.path}' has already been copied there.")
        }
    
        def "each chained matching rule always matches against initial source path"() {
            given:
            file('path/abc.txt').createFile() << 'test file with $attr'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  10. pkg/kubelet/config/sources.go

    type SourcesReadyFn func(sourcesSeen sets.Set[string]) bool
    
    // SourcesReady tracks the set of configured sources seen by the kubelet.
    type SourcesReady interface {
    	// AddSource adds the specified source to the set of sources managed.
    	AddSource(source string)
    	// AllReady returns true if the currently configured sources have all been seen.
    	AllReady() bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top