- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for someFile (0.12 sec)
-
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/DiagnosticToProblemListenerTest.groovy
name >> "SomeFile.java" } diagnostic.lineNumber >> 1 diagnostic.columnNumber | diagnostic.startPosition | diagnostic.endPosition >> Diagnostic.NOPOS when: diagnosticToProblemListener.buildProblem(diagnostic, spec) then: 1 * spec.fileLocation("SomeFile.java") 1 * spec.lineInFileLocation("SomeFile.java", 1)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 13:58:13 UTC 2024 - 6.2K bytes - Viewed (0) -
testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/AbstractTaskSubclassingBinaryCompatibilityCrossVersionSpec.groovy
} apply plugin: SomePlugin """ } protected void prepareMethodUseTest(GradleVersion targetVersion) { file("someFile").touch() file("anotherFile").touch() file("yetAnotherFile").touch() file("someDir").createDir() def apiDepConf = "implementation"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/IncompatibilityCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.8K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/dependencies-with-yield.md
🖼, <a href="https://docs.python.org/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** 🔜 🔘 🗜 ⚫️ 🔑 👨💼, & 🌀 ⚫️ ⏮️ 🎏 🔗 🧰.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 8.6K 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/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) -
docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 02 04:21:06 UTC 2024 - 19.6K bytes - Viewed (0) -
docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 12.5K bytes - Viewed (0) -
src/internal/coverage/cformat/format.go
// for each function F in P: { // for each coverable unit U in F: { // myformatter.AddUnit(U) // } // } // } // myformatter.EmitPercent(os.Stdout, "", true, true) // myformatter.EmitTextual(somefile) // // These apis are linked into tests that are built with "-cover", and // called at the end of test execution to produce text output or // emit coverage percentages. import ( "cmp" "fmt"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 16.8K bytes - Viewed (0)