Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 210 for newfiles (0.28 sec)

  1. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy

            def triedToDelete = [] as Set<File>
            def newFiles = tooManyRange.collect { targetDir.file("aaa-${it}-aaa.txt") }
            deleter = FileTime.deleterWithDeletionAction() { file ->
                triedToDelete << file
                newFiles.each { FileTime.createNewFile(it) }
                return DeletionAction.FAILURE
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 12:40:48 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java

            if (newItems == null) {
                return this;
            }
            DefaultConfigurableFileCollection newFiles = new DefaultConfigurableFileCollection(null, resolver, dependencyFactory, patternSetFactory, host);
            newFiles.from(newItems);
            return newFiles;
        }
    
        private void assertMutable() {
            valueState.beforeMutate(this::displayNameForThisCollection);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousBuildChangeReportingIntegrationTest.groovy

            inputFiles.each { it.createFile() }
            def newfile1 = inputDir.file("input12.txt")
            def newfile2 = inputDir.file("input13.txt")
    
            when:
            succeeds("theTask")
            newfile1.createFile()
            inputFiles[2].text = 'Modified file'
            inputFiles[7].delete()
            newfile2.createFile()
    
            then:
            buildTriggeredAndSucceeded()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                } catch (final Exception e) {
                    if (newFile != null) {
                        newFile.delete();
                    }
                    throw new DictionaryException("Failed to write a userDict file.", e);
                }
                item = newItem;
            }
    
            public StemmerOverrideItem write(final StemmerOverrideItem oldItem) {
                try {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

            protected File newFile;
    
            protected Writer writer;
    
            protected CharMappingItem item;
    
            protected MappingUpdater(final CharMappingItem newItem) {
                try {
                    newFile = ComponentUtil.getSystemHelper().createTempFile(MAPPING, ".txt");
                    writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. src/os/file_unix.go

    	}
    
    	return uintptr(f.pfd.Sysfd)
    }
    
    // NewFile returns a new File with the given file descriptor and
    // name. The returned value will be nil if fd is not a valid file
    // descriptor. On Unix systems, if the file descriptor is in
    // non-blocking mode, NewFile will attempt to return a pollable File
    // (one for which the SetDeadline methods work).
    //
    // After passing it to NewFile, fd may become invalid under the same
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/AbstractKotlinIntegrationTest.kt

            withSettingsIn(".", script, produceFile)
    
        protected
        fun withSettingsIn(baseDir: String, script: String, produceFile: (String) -> File = ::newFile): File =
            withFile("$baseDir/settings.gradle.kts", script, produceFile)
    
        protected
        fun withBuildScript(script: String, produceFile: (String) -> File = ::newFile): File =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 16:44:39 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftIncrementalCompileIntegrationTest.groovy

             """
    
            outputs.snapshot { succeeds("compileDebugSwift") }
    
            when:
            def newFile = file("src/main/swift/NewFile.swift")
            newFile << """
                public class NewFile {}
            """
            and:
            succeeds("compileDebugSwift")
    
            then:
            outputs.recompiledFile(newFile)
        }
    
        def 'adding a new file that overlaps with an existing type fails'() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

            protected File newFile;
    
            protected Writer writer;
    
            protected SynonymItem item;
    
            protected SynonymUpdater(final SynonymItem newItem) {
                try {
                    newFile = ComponentUtil.getSystemHelper().createTempFile(SYNONYM, ".txt");
                    writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. src/os/file_windows.go

    func newConsoleFile(h syscall.Handle, name string) *File {
    	return newFile(h, name, "console")
    }
    
    // NewFile returns a new File with the given file descriptor and
    // name. The returned value will be nil if fd is not a valid file
    // descriptor.
    func NewFile(fd uintptr, name string) *File {
    	h := syscall.Handle(fd)
    	if h == syscall.InvalidHandle {
    		return nil
    	}
    	return newFile(h, name, "file")
    }
    
    func epipecheck(file *File, e error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top