- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 138 for newRule (0.12 sec)
-
src/cmd/fix/main.go
newSrc, err := gofmtFile(file) if err != nil { return err } if !bytes.Equal(newSrc, src) { newFile, err := parser.ParseFile(fset, filename, newSrc, parserMode) if err != nil { return err } file = newFile fmt.Fprintf(&fixlog, " fmt") } // Apply all fixes to file. newFile := file fixed := false for _, fix := range fixes { if allowed != nil && !allowed[fix.name] { continue
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/LibraryPluginTest.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/LibraryPluginTest.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.3K bytes - Viewed (0) -
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) -
platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/ServicePluginTest.kt
plugins { id("com.myorg.service-conventions") } """) } @Test fun `integrationTest and readmeCheck tasks run with check task`() { testProjectDir.newFile("README.md").writeText(""" ## Service API """.trimIndent()) val result = runTask("check") assertEquals(TaskOutcome.NO_SOURCE, result.task(":test")?.outcome)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/JavaConventionPluginTest.kt
testProjectDir.newFolder("src", "main", "java", "com", "myorg") testProjectDir.newFile("src/main/java/com/myorg/Foo.java").writeText(""" package com.myorg; public class Foo { @Deprecated public void deprecatedMethod() {} } """) testProjectDir.newFile("src/main/java/com/myorg/Bar.java").writeText(""" package com.myorg;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/kotlin/buildSrc/src/test/kotlin/com/example/JavaConventionPluginTest.kt
testProjectDir.newFolder("src", "main", "java", "com", "example") testProjectDir.newFile("src/main/java/com/example/Foo.java").writeText(""" package com.example; public class Foo { @Deprecated public void deprecatedMethod() {} } """) testProjectDir.newFile("src/main/java/com/example/Bar.java").writeText(""" package com.example;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.1K bytes - Viewed (0) -
src/os/pipe2_unix.go
func Pipe() (r *File, w *File, err error) { var p [2]int e := syscall.Pipe2(p[0:], syscall.O_CLOEXEC) if e != nil { return nil, nil, NewSyscallError("pipe2", e) } return newFile(p[0], "|0", kindPipe, false), newFile(p[1], "|1", kindPipe, false), nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 11:47:23 UTC 2024 - 654 bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/JavaConventionPluginTest.kt
testProjectDir.newFolder("src", "main", "java", "com", "myorg") testProjectDir.newFile("src/main/java/com/myorg/Foo.java").writeText(""" package com.myorg; public class Foo { @Deprecated public void deprecatedMethod() {} } """) testProjectDir.newFile("src/main/java/com/myorg/Bar.java").writeText(""" package com.myorg;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/kotlin/buildSrc/src/test/kotlin/com/example/PluginTest.kt
protected lateinit var buildFile: File @Before fun setup() { settingsFile = testProjectDir.newFile("settings.gradle.kts") settingsFile.appendText(""" rootProject.name = "test" """) buildFile = testProjectDir.newFile("build.gradle.kts") } fun runTask(task: String): BuildResult { return GradleRunner.create()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.2K bytes - Viewed (0)