- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 2,175 for createfing (0.73 sec)
-
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterStatisticsTest.groovy
def "can visit directory hierarchy"() { given: def root = tmpDir.createDir("root") def subDir1 = root.createDir("sub-dir-1") subDir1.createFile("file.txt") def subDir2 = root.createDir("sub-dir-2") subDir2.createFile("file.txt") when: snapshot(root) then: 1 * statisticsCollector.recordVisitHierarchy() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:32 UTC 2023 - 5.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
public static CharSinkFactory asCharSinkFactory(final ByteSinkFactory factory) { checkNotNull(factory); return new CharSinkFactory() { @Override public CharSink createSink() throws IOException { return factory.createSink().asCharSink(Charsets.UTF_8); } @Override public String getSinkContents() throws IOException { return new String(factory.getSinkContents(), Charsets.UTF_8);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 06 12:56:11 UTC 2023 - 12.7K bytes - Viewed (0) -
platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/CommonFileSystemTest.groovy
expect: fs.getUnixMode(tmpDir.createFile("someFile")) == FileSystem.DEFAULT_FILE_MODE fs.getUnixMode(tmpDir.createDir("someDir")) == FileSystem.DEFAULT_DIR_MODE } @Requires(UnitTestPreconditions.NoFilePermissions) def "setting unix permissions does nothing on unsupported platforms"() { expect: fs.chmod(tmpDir.createFile("someFile"), 0644) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:06:40 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DirectoryWalkerTest.groovy
long minimumTimestamp = (System.currentTimeMillis() / 1000 * 1000) - 2000 def file1 = rootDir.createFile("a/b/1.txt") file1 << '12345' def file2 = rootDir.createFile("a/b/2.txt") file2 << '12345' def file3 = rootDir.createFile("a/b/3.txt") file3 << '12345' def fileTree = new DirectoryFileTree(rootDir, new PatternSet(), TestFiles.fileSystem(), false)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactory.java
* A test factory for byte or char sources or sinks. In addition to creating sources or sinks, the * factory specifies what content should be expected to be read from a source or contained in a sink * given the content data that was used to create the source or that was written to the sink. * * <p>A single {@code SourceSinkFactory} implementation generally corresponds to one specific way of
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestWorkspaceBuilder.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/S3ClientIntegrationTest.groovy
def "should perform #authenticationType put get and list on an S3 bucket"() { setup: def fileContents = 'This is only a test' File file = temporaryFolder.createFile(FILE_NAME) file << fileContents def directSubdirectories = ['some-dir', 'second-dir', 'some-other-dir'] directSubdirectories.each { temporaryFolder.createDir(it) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 9.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyErrorIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 29 10:48:19 UTC 2023 - 4.1K bytes - Viewed (0) -
internal/lock/lock_windows.go
access = syscall.FILE_APPEND_DATA default: return nil, fmt.Errorf("Unsupported flag (%d)", flag) } var createflag uint32 switch { case flag&syscall.O_CREAT == syscall.O_CREAT: createflag = syscall.OPEN_ALWAYS default: createflag = syscall.OPEN_EXISTING } shareflag := uint32(syscall.FILE_SHARE_READ | syscall.FILE_SHARE_WRITE | syscall.FILE_SHARE_DELETE)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 7.9K bytes - Viewed (0) -
platforms/jvm/ear/src/integTest/groovy/org/gradle/plugins/ear/EarPluginIntegrationTest.groovy
<application-name>customear</application-name> </application> """ file("${appDirectory}/META-INF/application.xml").createFile().write(applicationXml) file("${appDirectory}/someOtherFile.txt").createFile() file("${appDirectory}/META-INF/stuff/yetAnotherFile.txt").createFile() buildFile << """ apply plugin: 'ear' ear { ${descriptorConfig} deploymentDescriptor {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 17.2K bytes - Viewed (0)