- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 200 for newRule (0.13 sec)
-
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) -
src/internal/fuzz/sys_windows.go
return workerComm{}, fmt.Errorf("parsing GO_TEST_FUZZ_WORKER_HANDLES=%s: %v", v, err) } fuzzIn := os.NewFile(fuzzInFD, "fuzz_in") fuzzOut := os.NewFile(fuzzOutFD, "fuzz_out") memFile := os.NewFile(memFileFD, "fuzz_mem") fi, err := memFile.Stat() if err != nil { return workerComm{}, fmt.Errorf("worker checking temp file size: %w", err) } size := int(fi.Size())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 18:35:25 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/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) -
platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/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) -
src/internal/fuzz/sys_posix.go
} // getWorkerComm returns communication channels in the worker process. func getWorkerComm() (comm workerComm, err error) { fuzzIn := os.NewFile(3, "fuzz_in") fuzzOut := os.NewFile(4, "fuzz_out") memFile := os.NewFile(5, "fuzz_mem") fi, err := memFile.Stat() if err != nil { return workerComm{}, err } size := int(fi.Size()) if int64(size) != fi.Size() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 12 19:47:40 UTC 2022 - 4.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_io_error.txt
} f := os.NewFile(fuzzOutFD, "fuzz_out") if _, err := f.Write([]byte("!!")); err != nil { tb.Fatalf("writing fuzz_out: %v", err) } } -- io_error_notwindows_test.go -- // +build !windows package io_error import ( "os" "testing" ) func sendGarbageToCoordinator(tb testing.TB) { f := os.NewFile(4, "fuzz_out") if _, err := f.Write([]byte("!!")); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalCompileIntegrationTest.groovy
outputs.snapshot { run "mainExecutable" } when: final newFile = file("src/main/${app.sourceType}/changed.${app.sourceExtension}") newFile << sourceFile.text sourceFile.delete() and: run "mainExecutable" then: outputs.recompiledFile newFile objectFileFor(sourceFile).assertDoesNotExist() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 19.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/configurationCache/testKit/kotlin/src/test/kotlin/org/example/BuildLogicFunctionalTest.kt
@Rule @JvmField val testProjectDir: TemporaryFolder = TemporaryFolder() lateinit var buildFile: File @Before fun setup() { testProjectDir.newFile("settings.gradle").writeText("") buildFile = testProjectDir.newFile("build.gradle") } // tag::functional-test-configuration-cache[] @Test fun `my task can be loaded from the configuration cache`() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.3K bytes - Viewed (0) -
src/syscall/syscall_unix_test.go
} tempDir := t.TempDir() fds, err := syscall.Socketpair(syscall.AF_LOCAL, syscall.SOCK_STREAM, 0) if err != nil { t.Fatalf("Socketpair: %v", err) } writeFile := os.NewFile(uintptr(fds[0]), "child-writes") readFile := os.NewFile(uintptr(fds[1]), "parent-reads") defer writeFile.Close() defer readFile.Close() cmd := exec.Command(os.Args[0], "-test.run=^TestPassFD$", "--", tempDir)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 9.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
public void testStorePropertiesOutputStreamString() throws IOException { final Properties outProperties = new Properties(); outProperties.setProperty("a", "A"); final File file = tempFolder.newFile("hoge.properties"); final FileOutputStream outputStream = OutputStreamUtil.create(file); PropertiesUtil.store(outProperties, outputStream, "comments"); CloseableUtil.close(outputStream);
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.6K bytes - Viewed (0)