- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 73 for expandMin (0.14 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/ZipCopyActionTest.groovy
given: zip(dir("dir"), file("dir/file1"), file("file2")) when: TestFile expandDir = tmpDir.getTestDirectory().file("expanded") zipFile.unzipTo(expandDir) then: expandDir.file("dir/file1").assertContents(equalTo("contents of dir/file1")) expandDir.file("file2").assertContents(equalTo("contents of file2")) } void createsDeflatedZipFile() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 22 14:26:33 UTC 2023 - 6.6K bytes - Viewed (0) -
platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/api/plugins/JavaLibraryDistributionIntegrationTest.groovy
runtimeOnly 'commons-lang:commons-lang:2.6' } """ when: run 'distZip' then: def expandDir = file('expanded') file('build/distributions/DefaultJavaDistribution.zip').unzipTo(expandDir) expandDir.assertHasDescendants( 'DefaultJavaDistribution/lib/commons-collections-3.2.2.jar', 'DefaultJavaDistribution/lib/commons-cli-1.2.jar',
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 18 13:02:41 UTC 2024 - 5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy
def expandDir = file('expandedUncompressed') file('build/uncompressedTest.zip').unzipTo(expandDir) expandDir.assertHasDescendants( 'prefix/dir1/file1.txt', 'prefix/file1.txt', 'prefix/dir2/file2.txt', 'scripts/dir1', 'scripts/dir2/script.sh')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 30.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/instantiate.go
// The order of the contexts below matters: we always prefer instances in the // expanding instance context in order to preserve reference cycles. // // Invariant: if expanding != nil, the returned instance will be the instance // recorded in expanding.inst.ctxt. var ctxts []*Context if expanding != nil { ctxts = append(ctxts, expanding.inst.ctxt) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.7K bytes - Viewed (0) -
src/go/types/instantiate.go
// The order of the contexts below matters: we always prefer instances in the // expanding instance context in order to preserve reference cycles. // // Invariant: if expanding != nil, the returned instance will be the instance // recorded in expanding.inst.ctxt. var ctxts []*Context if expanding != nil { ctxts = append(ctxts, expanding.inst.ctxt) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/TarCopyActionSpec.groovy
tar(file("dir/file1"), file("file2")) TestFile expandDir = temporaryFolder.getTestDirectory().file("expanded") tarFile.untarTo(expandDir) expandDir.file("dir/file1").assertContents(equalTo("contents of dir/file1")) expandDir.file("file2").assertContents(equalTo("contents of file2")) } def "tar file contains expected permissions"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 22 14:26:33 UTC 2023 - 6.4K bytes - Viewed (0) -
src/go/types/subst.go
// incoming type. If a substitution took place, the result type is different // from the incoming type. // // If expanding is non-nil, it is the instance type currently being expanded. // One of expanding or ctxt must be non-nil. func (check *Checker) subst(pos token.Pos, typ Type, smap substMap, expanding *Named, ctxt *Context) Type { assert(expanding != nil || ctxt != nil) if smap.empty() { return typ } // common cases
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:04:07 UTC 2024 - 11.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/subst.go
// from the incoming type. // // If expanding is non-nil, it is the instance type currently being expanded. // One of expanding or ctxt must be non-nil. func (check *Checker) subst(pos syntax.Pos, typ Type, smap substMap, expanding *Named, ctxt *Context) Type { assert(expanding != nil || ctxt != nil) if smap.empty() { return typ } // common cases
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:04:07 UTC 2024 - 11K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go
upperBoundCapacity int interval time.Duration expectCapacity int expectStartIndex int }{ { name: "[capacity not equals 4*n] events inside eventFreshDuration cause cache expanding", eventCount: 5, cacheCapacity: 5, lowerBoundCapacity: 5 / 2, upperBoundCapacity: 5 * 2, interval: eventFreshDuration / 6, expectCapacity: 10,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 35.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named.go
// Only pass the expanding context to the new instance if their packages // match. Since type reference cycles are only possible within a single // package, this is sufficient for the purposes of short-circuiting cycles. // Avoiding passing the context in other cases prevents unnecessary coupling // of types across packages. if expanding != nil && expanding.Obj().pkg == obj.pkg { inst.ctxt = expanding.inst.ctxt }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 23.9K bytes - Viewed (0)