- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 321 for sourceLine (0.16 sec)
-
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftAlternateMain.groovy
package org.gradle.nativeplatform.fixtures.app import org.gradle.integtests.fixtures.SourceFile class SwiftAlternateMain extends SourceFileElement implements AppElement { final GreeterElement greeter SwiftAlternateMain(GreeterElement greeter) { this.greeter = greeter } @Override SourceFile getSourceFile() { sourceFile("swift", "main.swift", """ public func main() -> Int {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftGreeterUsesLogger.groovy
* limitations under the License. */ package org.gradle.nativeplatform.fixtures.app import org.gradle.integtests.fixtures.SourceFile class SwiftGreeterUsesLogger extends SourceFileElement implements GreeterElement { @Override SourceFile getSourceFile() { return sourceFile("swift", "greeter.swift", """ import Log public class Greeter { public init() { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.2K bytes - Viewed (0) -
pkg/kubelet/config/file_linux.go
retryPeriod = 1 * time.Second maxRetryPeriod = 20 * time.Second ) type retryableError struct { message string } func (e *retryableError) Error() string { return e.message } func (s *sourceFile) startWatch() { backOff := flowcontrol.NewBackOff(retryPeriod, maxRetryPeriod) backOffID := "watch" go wait.Forever(func() { if backOff.IsInBackOffSinceUpdate(backOffID, time.Now()) { return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 17:27:26 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/objectivecpp/tasks/ObjectiveCppPreCompiledHeaderCompileTest.groovy
def setup() { objCppPCHCompile = TestUtil.createTask(ObjectiveCppPreCompiledHeaderCompile, project) } def "executes using the Cpp PCH Compiler"() { def sourceFile = temporaryFolder.createFile("sourceFile") def result = Mock(WorkResult) when: objCppPCHCompile.toolChain = toolChain objCppPCHCompile.targetPlatform = platform objCppPCHCompile.compilerArgs = ["arg"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/JavaPluginImplementation.groovy
import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.api.Task import org.gradle.test.fixtures.file.TestFile trait JavaPluginImplementation { void javaPlugin(TestFile sourceFile, BuildInputRead read) { sourceFile << """ import ${Action.name}; import ${Project.name}; import ${Plugin.name}; import ${Task.name};
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftBrokenSum.groovy
* limitations under the License. */ package org.gradle.nativeplatform.fixtures.app import org.gradle.integtests.fixtures.SourceFile class SwiftBrokenSum extends SourceFileElement implements SumElement { @Override SourceFile getSourceFile() { sourceFile("swift", "sum.swift", """ public func sum(a: Int, b: Int) -> Int { return a - b } """) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftSum.groovy
* limitations under the License. */ package org.gradle.nativeplatform.fixtures.app import org.gradle.integtests.fixtures.SourceFile class SwiftSum extends SourceFileElement implements SumElement { @Override SourceFile getSourceFile() { sourceFile("swift", "sum.swift", """ public func sum(a: Int, b: Int) -> Int { return a + b } """) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/DefaultTextFileResourceLoader.java
this.resolver = resolver; } @Override public TextResource loadFile(String description, @Nullable File sourceFile) { if (sourceFile == null) { return new StringTextResource(description, ""); } return UriTextResource.from(description, sourceFile, resolver); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftGreeterUsingCppFunction.groovy
this.cppGreeter = cppGreeter this.moduleName = moduleName } @Override SourceFile getSourceFile() { sourceFile("swift", "greeter.swift", """ import ${moduleName} public class Greeter { public init() {} public func sayHello() { sayGreeting() } } """)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/tasks/CppPreCompiledHeaderCompileTest.groovy
def setup() { cppPCHCompile = TestUtil.createTask(CppPreCompiledHeaderCompile, project) } def "executes using the Cpp PCH Compiler"() { def sourceFile = temporaryFolder.createFile("sourceFile") def result = Mock(WorkResult) when: cppPCHCompile.toolChain = toolChain cppPCHCompile.targetPlatform = platform cppPCHCompile.compilerArgs = ["arg"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.1K bytes - Viewed (0)