- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 29 for textFile (0.04 sec)
-
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) -
internal/disk/stat_test.go
expectedIOStats: IOStats{}, expectErr: true, }, } for _, testCase := range testCases { testCase := testCase t.Run("", func(t *testing.T) { tmpfile, err := os.CreateTemp(t.TempDir(), "testfile") if err != nil { t.Error(err) } tmpfile.WriteString(testCase.stat) tmpfile.Sync() tmpfile.Close() iostats, err := readDriveStats(tmpfile.Name())Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 3.5K bytes - Viewed (0) -
cmd/bitrot_test.go
package cmd import ( "io" "testing" ) func testBitrotReaderWriterAlgo(t *testing.T, bitrotAlgo BitrotAlgorithm) { tmpDir := t.TempDir() volume := "testvol" filePath := "testfile" disk, err := newLocalXLStorage(tmpDir) if err != nil { t.Fatal(err) } disk.MakeVol(t.Context(), volume) writer := newBitrotWriter(disk, "", volume, filePath, 35, bitrotAlgo, 10)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import jcifs.smb1.util.Hexdump; public class SmbComDeleteTest { private static final String TEST_FILE_NAME = "testFile.txt"; private SmbComDelete smbComDelete; @BeforeEach public void setUp() { smbComDelete = new SmbComDelete(TEST_FILE_NAME); } @Test public void testConstructor() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K 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/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java
import org.junit.jupiter.api.Test; /** * Tests for the SmbComOpenAndX class. */ class SmbComOpenAndXTest { private SmbComOpenAndX smbComOpenAndX; private final String fileName = "testFile.txt"; private final int access = SmbFile.GENERIC_READ | SmbFile.GENERIC_WRITE; private ServerMessageBlock andx; /** * Sets up the test environment before each test. */ @BeforeEachRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
*/ class Trans2QueryPathInformationTest { /** * Tests the constructor of Trans2QueryPathInformation. */ @Test void testConstructor() { // Given String filename = "testFile.txt"; int informationLevel = 0x0100; // SMB_QUERY_FILE_BASIC_INFO // When Trans2QueryPathInformation trans = new Trans2QueryPathInformation(filename, informationLevel); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K 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/erasure/storage-class/README.md
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 5.9K bytes - Viewed (0)