- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 2,030 for writes (0.07 seconds)
-
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
Trans2FindNext2 next = new Trans2FindNext2(0x1111, 0, "*"); byte[] dst = new byte[2]; // When int written = next.writeSetupWireFormat(dst, 0); // Then assertEquals(2, written, "Should write 2 bytes"); assertEquals(SmbComTransaction.TRANS2_FIND_NEXT2, dst[0], "First byte must be subCommand"); assertEquals((byte) 0x00, dst[1], "Second byte must be 0"); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
*/ protected abstract String getActionRole(); /** * Writes data to the specified file path. * * @param path the file path to write to * @param data the data to write */ protected void write(final String path, final byte[] data) { validateFilePath(path); LdiFileUtil.write(path, data); } /** * Validates the file path. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 13:57:12 GMT 2026 - 10.9K bytes - Click Count (0) -
docs/en/docs/tutorial/request-files.md
`UploadFile` has the following `async` methods. They all call the corresponding file methods underneath (using the internal `SpooledTemporaryFile`). * `write(data)`: Writes `data` (`str` or `bytes`) to the file. * `read(size)`: Reads `size` (`int`) bytes/characters of the file. * `seek(offset)`: Goes to the byte position `offset` (`int`) in the file.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
w.wait(10); } assertTrue(w.isReady(), "WriterThread should be ready"); // Submit a write that will throw inside the writer thread w.write(payload, payload.length, out); // Give the writer thread time to process and set exception w.wait(100); } // Wait a bit more to ensure exception is captured Thread.sleep(100);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java
/** * Implementation method for writing an XML node to a writer. * * @param node the XML node to write * @param writer the writer to write to * @throws IOException if there is an error writing the XML */ protected abstract void doWrite(XmlNode node, Writer writer) throws IOException; /** * Implementation method for merging two XML nodes. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 9.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
assertTrue(output.contains("true")); // Test close logStream.close(); // After close, the stream should not accept more writes // but PrintStream doesn't throw exceptions on write after close } @Test void testConcurrentAccess() throws InterruptedException { // Test thread safety of getInstance LogStream.setInstance(testStream);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
} if (logger.isDebugEnabled()) { logger.debug("Finished to write {}", url); } }); return response; } /** * Writes no-cache headers to the response. * * @param response the stream response * @param responseData the response data */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 52.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractTableTest.java
import java.util.Map; import org.jspecify.annotations.NonNull; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Test cases for a {@link Table} implementation supporting reads and writes. * * @author Jared Levy * @author Louis Wasserman */ @GwtCompatible @NullMarked public abstract class AbstractTableTest<C extends @Nullable Character> extends AbstractTableReadTest<C> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
int FILE_READ_ATTRIBUTES = 0x00000080; // 8 /** File write attributes access right */ int FILE_WRITE_ATTRIBUTES = 0x00000100; // 9 /** Delete access right */ int DELETE = 0x00010000; // 16 /** Read control access right */ int READ_CONTROL = 0x00020000; // 17 /** Write DAC access right */ int WRITE_DAC = 0x00040000; // 18 /** Write owner access right */ int WRITE_OWNER = 0x00080000; // 19Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
src/builtin/builtin.go
// The print built-in function formats its arguments in an // implementation-specific way and writes the result to standard error. // Print is useful for bootstrapping and debugging; it is not guaranteed // to stay in the language. func print(args ...Type) // The println built-in function formats its arguments in an // implementation-specific way and writes the result to standard error.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Feb 26 17:14:40 GMT 2026 - 13.2K bytes - Click Count (0)