- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for textFile (0.04 sec)
-
docs/bigdata/README.md
``` scala> val file = sc.textFile("s3a://testbucket/testdata") file: org.apache.spark.rdd.RDD[String] = s3a://testbucket/testdata MapPartitionsRDD[1] at textFile at <console>:24 scala> val counts = file.flatMap(line => line.split(" ")).map(word => (word, 1)).reduceByKey(_ + _)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 14.7K bytes - Viewed (0) -
src/archive/zip/reader_test.go
Name: "readme.zip", }, { Name: "readme.notzip", Error: ErrFormat, }, { Name: "dd.zip", File: []ZipTestFile{ { Name: "filename", Content: []byte("This is a test textfile.\n"), Modified: time.Date(2011, 2, 2, 13, 6, 20, 0, time.UTC), Mode: 0666, }, }, }, { // created in windows XP file manager. Name: "winxp.zip", File: []ZipTestFile{ {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 56.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
// Initialize CharMappingFile charMappingFile = new CharMappingFile("test_id", testFile.getAbsolutePath(), new Date()); charMappingFile.manager(dictionaryManager); } @Override public void tearDown() throws Exception { if (testFile != null && testFile.exists()) { testFile.delete(); } super.tearDown(); } // Test getType method
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
// Create StopwordsFile instance stopwordsFile = new StopwordsFile("test_id", testFile.getAbsolutePath(), new Date()); stopwordsFile.manager(dictionaryManager); } @Override public void tearDown() throws Exception { if (testFile != null && testFile.exists()) { testFile.delete(); } super.tearDown(); } private String getTestContent() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java
void testGetLocation() { File txtFile = new File("target/test-classes/source.txt"); FileSource source = new FileSource(txtFile); assertEquals(txtFile.getAbsolutePath(), source.getLocation()); } @Test void testGetFile() { File txtFile = new File("target/test-classes/source.txt"); FileSource source = new FileSource(txtFile); assertEquals(txtFile.getAbsoluteFile(), source.getFile());
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
// Initialize ProtwordsFile protwordsFile = new ProtwordsFile("test_id", testFile.getAbsolutePath(), new Date()); protwordsFile.manager(dictionaryManager); } @Override public void tearDown() throws Exception { if (testFile != null && testFile.exists()) { testFile.delete(); } super.tearDown(); } private String getTestContent() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java
} } @Test void testGetLocation() throws Exception { URL txtFile = new File("target/test-classes/source.txt").toURI().toURL(); UrlSource source = new UrlSource(txtFile); assertEquals(txtFile.toExternalForm(), source.getLocation()); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
cmd/common-main_test.go
}, { " \t\n Hello, Gophers \n\t\r\n", false, "Hello, Gophers", }, } for _, testCase := range testCases { t.Run("", func(t *testing.T) { tmpfile, err := os.CreateTemp(t.TempDir(), "testfile") if err != nil { t.Error(err) } tmpfile.WriteString(testCase.content) tmpfile.Sync() tmpfile.Close() value, err := readFromSecret(tmpfile.Name())
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
void setUp() { // Configure the mock to return the OEM encoding which is required for writeString when(mockConfig.getOemEncoding()).thenReturn("windows-1252"); cmd = new SmbComQueryInformation(mockConfig, "testfile.txt"); } @Test @DisplayName("writeBytesWireFormat writes the command byte followed by the null terminated string") void testWriteBytesWireFormatHappy() throws UnsupportedEncodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
} @Test void testStreamReading() throws IOException { // Test stream reading functionality Path testFile = tempDir.resolve("test.txt"); String content = "test content"; Files.writeString(testFile, content); Source source = Sources.fromPath(testFile); try (InputStream inputStream = source.openStream()) { String readContent = new String(inputStream.readAllBytes());
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 5.2K bytes - Viewed (0)