- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 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 Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 14.7K bytes - Viewed (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 setRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
} @Test @DisplayName("Test decode with replaceIfExists true") void testDecodeWithReplaceIfExistsTrue() throws SMBProtocolDecodingException { String originalFileName = "testfile.txt"; byte[] nameBytes = originalFileName.getBytes(StandardCharsets.UTF_16LE); byte[] buffer = new byte[100]; buffer[0] = 1; // replaceIfExists = true // Skip 7 reserved bytes (1-7)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (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
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
void testGetName() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = createValidBuffer("testfile.txt", "TEST~1.TXT", true); // Decode fileBothDirectoryInfo.decode(buffer, 0, buffer.length); // Verify assertEquals("testfile.txt", fileBothDirectoryInfo.getName()); } @Test @DisplayName("Test getType returns TYPE_FILESYSTEM")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java
if (logger.isDebugEnabled()) { logger.warn("Failed to analyze {}{}text: field={}, lang={}, textSize={}", lastPrefix, typeDesc, field, lang, buf.length(), e); } else { logger.warn("Failed to analyze {}{}text: field={}, lang={}, textSize={}, error={}", lastPrefix, typeDesc, field, lang, buf.length(), e.getMessage()); } }
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 14.9K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
SmbFile dir = new SmbFile("smb://server/share/testdir/", context); SmbFile testFile = new SmbFile("smb://server/share/testdir/newfile.txt", context); // Get initial listing (establishes cache) SmbFile[] initialFiles = dir.listFiles(); // Create new file testFile.createNewFile(); // Wait for change notification Thread.sleep(2000);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
@Mock private Configuration mockConfig; private static final int TEST_SID = 0x1234; private static final int TEST_RESUME_KEY = 0xABCD; private static final String TEST_FILENAME = "testfile.txt"; private static final int TEST_BATCH_COUNT = 100; private static final int TEST_BATCH_SIZE = 8192; @BeforeEach void setUp() throws Exception { MockitoAnnotations.openMocks(this);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
cmd/update_test.go
} } // Tests if the environment we are running is Helm chart. func TestGetHelmVersion(t *testing.T) { createTempFile := func(content string) string { tmpfile, err := os.CreateTemp(t.TempDir(), "helm-testfile-") if err != nil { t.Fatalf("Unable to create temporary file. %s", err) } if _, err = tmpfile.WriteString(content); err != nil { t.Fatalf("Unable to create temporary file. %s", err) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
void testReadParametersWireFormatWithVariousActions(int action) throws Exception { byte[] buffer = createSingleNotificationBuffer("testfile.dat", action); int result = response.readParametersWireFormat(buffer, 0, buffer.length); assertTrue(result > 0); List<FileNotifyInformation> notifications = response.getNotifyInformation();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0)