- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 1,848 for Pwrite (0.04 sec)
-
impl/maven-core/src/test/java/org/apache/maven/model/PropertiesTest.java
// Now perform a write operation wrapperProps.setProperty("new.key", "new.value"); // Read the initial key again - should return the current value assertEquals("externally.modified", wrapperProps.getProperty("initial.key")); // Read the external key that was set before the write operationRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jun 12 07:26:53 UTC 2025 - 10.5K bytes - Viewed (0) -
docs_src/events/tutorial002_py39.py
from fastapi import FastAPI app = FastAPI() @app.on_event("shutdown") def shutdown_event(): with open("log.txt", mode="a") as log: log.write("Application shutdown") @app.get("/items/") async def read_items():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 255 bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
@Test @DisplayName("Should write correct structure size") void testWriteBytesWireFormat() { byte[] buffer = new byte[100]; int startIndex = 10; int bytesWritten = echoRequest.writeBytesWireFormat(buffer, startIndex); // Should write 4 bytes assertEquals(4, bytesWritten); // Should write structure size of 4Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/ServerData.java
* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb1.com; /** * Container for SMB server negotiation data.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt
inner class FaultySink( sink: Sink, private val file: Path, ) : ForwardingSink(sink) { override fun write( source: Buffer, byteCount: Long, ) { if (writeFaults.contains(file)) { throw IOException("boom!") } else { super.write(source, byteCount) } } }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
cmd/crossdomain-xml-handler.go
if globalServerCtxt.CrossDomainXML != "" { cxml = globalServerCtxt.CrossDomainXML } // Look for 'crossdomain.xml' in the incoming request. if r.URL.Path == crossDomainXMLEntity { // Write the standard cross domain policy xml. w.Write([]byte(cxml)) // Request completed, no need to serve to other handlers. return } h.ServeHTTP(w, r) })Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Mar 18 06:42:40 UTC 2024 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
SMBUtil.writeInt4(0, buffer, 64); // eaSize // Write short name length and short name byte[] shortNameBytes = Strings.getUNIBytes(shortName); buffer[68] = (byte) shortNameBytes.length; // shortNameLength System.arraycopy(shortNameBytes, 0, buffer, 70, Math.min(shortNameBytes.length, 24)); // Write filename if (unicode) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java
// Ensure parent directories exist Files.createDirectories(tempPomPath.getParent()); // Write POM to temp location writePomToFile(document, tempPomPath); context.debug("Wrote POM to temp location: " + tempPomPath); } return tempDir; } /** * Finds the common root directory of all POM paths.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 37K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanLogger.java
} } public void writePlan(Consumer<String> writer, BuildPlan plan) { plan.projects().forEach(project -> writePlan(writer, plan, project)); } public void writePlan(Consumer<String> writer, BuildPlan plan, MavenProject project) { writer.accept("=== PROJECT BUILD PLAN ================================================"); writer.accept("Project: " + getKey(project));Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRenewableCredentials.java
* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb; /** * Interface for renewable SMB credentials. *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0)