- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 106 for doFile (0.33 sec)
-
src/test/java/jcifs/http/NetworkExplorerTest.java
NetworkExplorer spyExplorer = spy(networkExplorer); doNothing().when(spyExplorer).doFile(any(), any(), any()); // Call the method spyExplorer.doFile(request, response, smbFile); // Verify the method was called verify(spyExplorer).doFile(eq(request), eq(response), eq(smbFile)); } /** * Test doDirectory method directly - simplified test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
* @param req the HTTP servlet request * @param resp the HTTP servlet response * @param file the SMB file to download * @throws IOException if an I/O error occurs */ protected void doFile(final HttpServletRequest req, final HttpServletResponse resp, final SmbFile file) throws IOException { final byte[] buf = new byte[8192]; @SuppressWarnings("resource")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
* @param req the HTTP servlet request * @param resp the HTTP servlet response * @param file the SMB file to download * @throws IOException if an I/O error occurs */ protected void doFile(final HttpServletRequest req, final HttpServletResponse resp, final SmbFile file) throws IOException { final byte[] buf = new byte[8192]; String url, type; int n;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java
*/ public double getAverageReadLatencyMicros() { long reads = rdmaReads.get(); if (reads == 0) { return 0.0; } return totalReadTime.get() / (double) reads / 1000.0; // Convert to microseconds } /** * Calculate average write latency in microseconds * * @return average write latency */ public double getAverageWriteLatencyMicros() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
assertNull(result); } @Test void testGetByNameWithValidEntry() throws IOException { // Create a temporary lmhosts file File lmhostsFile = tempDir.resolve("lmhosts").toFile(); try (FileWriter writer = new FileWriter(lmhostsFile)) { writer.write("192.168.1.100 TESTHOST\n"); writer.write("10.0.0.1 SERVER01\n"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
long timeEnd = measureEqualsTime(baseAuth, endAuth, TIMING_ITERATIONS); // Calculate relative timing differences double maxTime = Math.max(Math.max(timeStart, timeMiddle), timeEnd); double minTime = Math.min(Math.min(timeStart, timeMiddle), timeEnd); double timingRatio = (maxTime - minTime) / maxTime; // Timing differences should be minimal (within tolerance)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/jcifs/util/Encdec.java
/** * Decodes a double value from little-endian byte order. * * @param src the source byte array * @param si the starting index in the source array * @return the decoded double value */ public static double dec_doublele(final byte[] src, final int si) { return Double.longBitsToDouble(dec_uint64le(src, si)); } /** * Decodes a double value from big-endian byte order.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/bsentity/BsUser.java
this.mail = value; } public String getMobile() { checkSpecifiedProperty("mobile"); return convertEmptyToNull(mobile); } public void setMobile(String value) { registerModifiedProperty("mobile"); this.mobile = value; } public String getName() { checkSpecifiedProperty("name"); return convertEmptyToNull(name);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 22.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Encdec.java
/** * Decodes a double value from little-endian byte order. * * @param src the source byte array * @param si the starting index in the source array * @return the decoded double value */ public static double dec_doublele(final byte[] src, final int si) { return Double.longBitsToDouble(dec_uint64le(src, si)); } /** * Decodes a double value from big-endian byte order.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.5K bytes - Viewed (0)