- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 5,341 for source2 (0.26 sec)
-
okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt
val source2 = relay.newSource()!!.buffer() assertThat(source1.readUtf8(5)).isEqualTo("abcde") assertThat(source2.readUtf8(5)).isEqualTo("abcde") assertThat(source2.readUtf8(5)).isEqualTo("fghij") assertThat(source1.readUtf8(5)).isEqualTo("fghij") assertThat(source1.exhausted()).isTrue() assertThat(source2.exhausted()).isTrue() source1.close() source2.close() assertThat(relay.isClosed).isTrue()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 8.1K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/IncrementalCompileProcessorTest.groovy
given: initialFiles() when: modified(dep2, [source2]) sourceFiles.remove(source2) then: checkCompile recompiled: [source1], removed: [source2] when: sourceFiles.add(source2) then: checkCompile recompiled: [source2], removed: [] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 15:31:28 UTC 2024 - 13.7K bytes - Viewed (0) -
platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputHistoryLossIntegrationTest.groovy
} def "tasks have common output directories"() { def sourceFile1 = file('source1/source1.txt') sourceFile1 << 'a' def sourceFile2 = file('source2/source2.txt') sourceFile2 << 'b' def targetFile1 = file('target/source1.txt') def targetFile2 = file('target/source2.txt') def taskPath = ':copyAll' buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 10:15:40 UTC 2024 - 19.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
src/cmd/vendor/github.com/google/pprof/internal/report/source.go
} // getSourceFromFile collects the sources of a function from a source // file and annotates it with the samples in fns. Returns the sources // as nodes, using the info.name field to hold the source code. func getSourceFromFile(file string, reader *sourceReader, fns graph.Nodes, start, end int) (graph.Nodes, string, error) { lineNodes := make(map[int]graph.Nodes) // Collect source coordinates from profile.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 31.3K bytes - Viewed (0)