- Sort Score
- Result 10 results
- Languages All
Results 1031 - 1040 of 1,291 for current (0.33 sec)
-
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
int offset = 64; Arrays.fill(largeData, (byte) 0x00); digest.sign(largeData, offset, 128, request, response); // Verify signature is placed at correct location byte[] signature = Arrays.copyOfRange(largeData, offset + SIGNATURE_OFFSET, offset + SIGNATURE_OFFSET + SIGNATURE_LENGTH); boolean hasNonZero = false; for (byte b : signature) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
// Then assertNotNull(address, "Should return address for IP address"); assertEquals("127.0.0.1", address.getHostAddress(), "Should return correct IP address"); } @Test @DisplayName("Should get all addresses by name") void testGetAllByName() throws UnknownHostException { // WhenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
cmd/bitrot.go
left -= read if !bytes.Equal(h.Sum(nil), hashBuf[:n]) { return errFileCorrupt } } return nil } // bitrotSelfTest performs a self-test to ensure that bitrot // algorithms compute correct checksums. If any algorithm // produces an incorrect checksum it fails with a hard error. // // bitrotSelfTest tries to catch any issue in the bitrot implementation // early instead of silently corrupting data.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 26 19:26:13 UTC 2025 - 7.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
} // We reschedule ourselves with a lock held for two reasons. 1. we want to make sure that // cancel calls cancel on the correct future. 2. we want to make sure that the assignment // to currentFuture doesn't race with itself so that currentFuture is assigned in the // correct order. Throwable scheduleFailure = null; Cancellable toReturn; lock.lock(); try {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
assertNotNull(info); assertTrue(info.toString().contains("endOfFile=" + endOfFile)); } @Test @DisplayName("Test getFileInformationLevel returns correct value") void testGetFileInformationLevel() { assertEquals(FileInformation.FILE_ENDOFFILE_INFO, fileInfo.getFileInformationLevel()); // Test with parameterized constructorRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java
assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_serialization() { // Test that the exception has the correct serialVersionUID field ScriptEngineException exception = new ScriptEngineException("Serialization test"); // Verify the exception can be created and basic properties work assertNotNull(exception);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
return super.toString(); } private static final long serialVersionUID = 0; } /* * This is somewhat of a weak test; we verify that all of the methods are * correct, but not that they're actually forwarding correctly. We also rely * on the other tests (e.g., SynchronizedSetTest) to verify that the * collection views are synchronized correctly. */ public void testSize() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 19:11:14 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
handle.close(); // Verify close was called verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class)); assertEquals(handle, closeCaptor.getValue().handle); // Verify correct handle is passed } @Test void testClose_AlreadyClosed() throws IOException { // Test case: close() when already closed, should do nothing String server = "testServer";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
docs/en/docs/fastapi-cli.md
</div> The command line program called `fastapi` is **FastAPI CLI**. FastAPI CLI takes the path to your Python program (e.g. `main.py`) and automatically detects the `FastAPI` instance (commonly named `app`), determines the correct import process, and then serves it. For production you would use `fastapi run` instead. 🚀
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java
* * @return total released regions */ public long getTotalReleased() { return totalReleased.get(); } /** * Get number of currently active regions * * @return active regions (allocated - released) */ public long getActiveRegions() { return totalAllocated.get() - totalReleased.get(); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.7K bytes - Viewed (0)