- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 44 for Corefile (0.13 sec)
-
platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/AbstractFileWatcherUpdaterTest.groovy
def watchableHierarchy = file("watchable").createDir() def fileOutsideOfWatchableHierarchy = file("outside").file("someFile.txt").createFile() def fileInDirectoryIgnoredForWatching = file("cache/some-cache/someFile.txt").createFile() ignoredForWatching.add(fileInDirectoryIgnoredForWatching.absolutePath) when: registerWatchableHierarchies([watchableHierarchy])
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 25 15:08:33 UTC 2024 - 21.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformWithFileInputsIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 20.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ArtifactDeclarationIntegrationTest.groovy
createDirs("a", "b") settingsFile << "include 'a', 'b'" buildFile << """ project(':a') { artifacts { compile layout.projectDirectory.file('someFile.txt') } } project(':b') { dependencies { compile project(':a') } } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 15.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/initialization/loadercache/ClassLoadersCachingIntegrationTest.groovy
assert file("foo.jar/someFile.txt").touch() run() then: notCached } @ToBeFixedForConfigurationCache(because = "test relies on static state") def "refreshes when buildscript when dir dependency replaced with jar"() { addIsCachedCheck() assert file("foo.jar").mkdirs() assert file("foo.jar/someFile.txt").touch() buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 19 20:09:56 UTC 2022 - 10.6K bytes - Viewed (0) -
platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/java/archives/internal/DefaultManifestTest.groovy
gradleManifest.attributes == MANIFEST_VERSION_MAP !gradleManifest.sections !gradleManifest.mergeSpecs } def testInitWithPathFileResolver() { TestFile manifestFile = tmpDir.file('somefile') def fileMap = [Key2: 'value2File', key4: 'value4File', key6: 'value6File'] def fileSectionMap = [Keysec2: 'value2Secfile', keysec4: 'value5Secfile', keysec6: 'value6Secfile'] String content = ''
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 15.1K bytes - Viewed (0) -
src/runtime/os_plan9.go
postnote(mp.procid, buf[:]) } } getg().m.locks-- } var procdir = []byte("/proc/") var notefile = []byte("/note\x00") func postnote(pid uint64, msg []byte) int { var buf [128]byte var tmp [32]byte n := copy(buf[:], procdir) n += copy(buf[n:], itoa(tmp[:], pid)) copy(buf[n:], notefile) fd := open(&buf[0], _OWRITE, 0) if fd < 0 { return -1 } len := findnull(&msg[0])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 10.3K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/util/GFileUtils.java
IoActions.closeQuietly(out); } } public static void moveFile(File source, File destination) { logDeprecation(); moveFileInternal(source, destination); } private static void moveFileInternal(File source, File destination) { try { FileUtils.moveFile(source, destination); } catch (IOException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 10:50:51 UTC 2024 - 13.9K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/plugins/NativeComponentModelPluginTest.groovy
exe(NativeExecutableSpec) } } then: getComponents() } static class RootFileRules extends RuleSource { @Model File someFile(@Path("buildDir") File buildDir) { return new File(buildDir, "something") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 20:10:55 UTC 2024 - 9.8K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/dependencies-with-yield.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 18:10:29 UTC 2024 - 13.5K bytes - Viewed (0) -
docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md
例如,<a href="https://docs.python.org/zh-cn/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">您可以使用`with`读取文件</a>: ```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ``` 在底层,`open("./somefile.txt")`创建了一个被称为“上下文管理器”的对象。 当`with`块结束时,它会确保关闭文件,即使发生了异常也是如此。 当你使用`yield`创建一个依赖项时,**FastAPI**会在内部将其转换为上下文管理器,并与其他相关工具结合使用。 ### 在依赖项中使用带有`yield`的上下文管理器
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 10.3K bytes - Viewed (0)