- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 23 for textFile (0.06 seconds)
-
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(_ + _)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 14.7K bytes - Click Count (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 protected void tearDown(TestInfo testInfo) throws Exception { if (testFile != null && testFile.exists()) { testFile.delete(); } super.tearDown(testInfo); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java
System.setProperty("fess.var.path", varDir.toString()); final File testFile = new File(varDir.toFile(), "data/test.txt"); testFile.getParentFile().mkdirs(); testFile.createNewFile(); // Should not throw action.validateFilePath(testFile.getAbsolutePath()); } @Test public void test_validateFilePath_pathOutsideVarPath() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 22.7K bytes - Click Count (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 protected void tearDown(TestInfo testInfo) throws Exception { if (testFile != null && testFile.exists()) { testFile.delete(); } super.tearDown(testInfo); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18K bytes - Click Count (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 protected void tearDown(TestInfo testInfo) throws Exception { if (testFile != null && testFile.exists()) { testFile.delete(); } super.tearDown(testInfo); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GenerateReleaseNotesTask.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 06:25:29 GMT 2021 - 12.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
// Test FilePurgeVisitor @Test public void test_FilePurgeVisitor() throws IOException { // Create a test file File testFile = new File(tempDir, "_1/_2/test.png"); testFile.getParentFile().mkdirs(); testFile.createNewFile(); testFile.setLastModified(System.currentTimeMillis() - 2000L); // Since FilePurgeVisitor is an inner class and we can't directly test it,Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 20.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
tree.connectionState = 2; // Connected state tree.tid = 123; // Create real request and response objects since they're not interfaces ServerMessageBlock request = new SmbComOpenAndX("testfile.txt", 0x01, 0, null); ServerMessageBlock response = new SmbComOpenAndXResponse(); // Execute send tree.send(request, response); // Verify session.send was called and tid was setCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.2K bytes - Click Count (0) -
src/archive/tar/tar_test.go
"time" ) type testError struct{ error } type fileOps []any // []T where T is (string | int64) // testFile is an io.ReadWriteSeeker where the IO operations performed // on it must match the list of operations in ops. type testFile struct { ops fileOps pos int64 } func (f *testFile) Read(b []byte) (int, error) { if len(b) == 0 { return 0, nil } if len(f.ops) == 0 { return 0, io.EOF }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 25 00:25:45 GMT 2024 - 23.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
byte[] buffer = createValidNotificationBuffer("testfile.txt", FileNotifyInformation.FILE_ACTION_ADDED); FileNotifyInformationImpl info = new FileNotifyInformationImpl(buffer, 0, buffer.length); assertNotNull(info); assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, info.getAction()); assertEquals("testfile.txt", info.getFileName()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0)