- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 1,561 for Handle (0.04 seconds)
-
src/test/java/jcifs/internal/AllocInfoTest.java
@Test @DisplayName("Should handle zero values") void shouldHandleZeroValues() { // Given TestAllocInfo allocInfo = new TestAllocInfo(0L, 0L); // When & Then assertEquals(0L, allocInfo.getCapacity()); assertEquals(0L, allocInfo.getFree()); } @Test @DisplayName("Should handle maximum long values")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
docs/smb3-features/04-directory-leasing-design.md
ChangeNotificationHandle handle = activeWatchers.remove(directoryPath); if (handle != null) { handle.active = false; // Cancel any pending notifications cancelNotification(handle); } } private void startAsyncNotification(ChangeNotificationHandle handle) { CompletableFuture.runAsync(() -> {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 36.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtStatusTest.java
assertNotNull(messages[0]); assertTrue(messages[0].toLowerCase().contains("success") || messages[0].toLowerCase().contains("completed")); } @Test @DisplayName("Should handle access denied status") void testAccessDeniedStatus() { // Given int status = NtStatus.NT_STATUS_ACCESS_DENIED; // When/Then assertEquals((int) 0xC0000022L, status);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
* @param tc * the CIFS context for this handle */ public DcerpcHandle(final CIFSContext tc) { this.transportContext = tc; this.binding = null; } /** * Constructs a DcerpcHandle with the specified CIFS context and binding * * @param tc * the CIFS context for this handle * @param bindingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.9K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java
void shouldCompareVersionsCorrectly() { // Based on the actual implementation, it only handles specific cases assertTrue(ModelVersionUtils.isVersionGreaterOrEqual("4.1.0", "4.1.0")); assertFalse(ModelVersionUtils.isVersionGreaterOrEqual("4.0.0", "4.1.0")); // The implementation doesn't handle 4.1.0 >= 4.0.0 comparison assertFalse(ModelVersionUtils.isVersionGreaterOrEqual("4.1.0", "4.0.0"));
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 19.6K bytes - Click Count (0) -
tensorflow/c/eager/c_api_debug.cc
std::vector<int64_t> TensorShapeAsVector(const tensorflow::TensorHandle& handle, absl::Status* status) { std::vector<int64_t> shape; int rank = -1; *status = handle.NumDims(&rank); if (!status->ok()) { return shape; } shape.reserve(rank); for (int i = 0; i < rank; ++i) { int64_t dim; *status = handle.Dim(i, &dim); if (!status->ok()) { return shape; }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java
import jcifs.internal.smb2.create.CreateContextResponse; import jcifs.internal.util.SMBUtil; /** * SMB2 Durable Handle V2 Response Create Context * * MS-SMB2 Section 2.2.14.2.4 */ public class DurableHandleV2Response implements CreateContextResponse { /** * Context name for durable handle V2 response */ public static final String CONTEXT_NAME = "DH2Q";Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java
* Verifies that the handle, ptype, and flags are correctly initialized. */ @Test void testConstructor() { // Create an instance of MsrpcLsarClose with the mock handle MsrpcLsarClose lsarClose = new MsrpcLsarClose(mockHandle); // Verify that the handle passed to the constructor is correctly set in the superclassCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
// When request.setSessionBinding(false); // Then assertFalse((boolean) sessionBindingField.get(request)); } @Test @DisplayName("Should handle chain operation correctly") void testChain() { // Given ServerMessageBlock2 nextMessage = mock(ServerMessageBlock2.class); // When boolean result = request.chain(nextMessage);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
src/test/java/jcifs/DialectVersionTest.java
// When String stringRep = version.toString(); // Then assertNotNull(stringRep); assertFalse(stringRep.isEmpty()); } @Test @DisplayName("Should handle version comparison") void testVersionComparison() { // Test equality assertEquals(DialectVersion.SMB311, DialectVersion.SMB311); assertNotEquals(DialectVersion.SMB1, DialectVersion.SMB311);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0)