Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 471 for corretto (0.47 sec)

  1. 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)
  2. 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)
  3. src/test/java/jcifs/internal/witness/WitnessEnumTest.java

        @Test
        void testWitnessEventTypes() {
            assertEquals(7, WitnessEventType.values().length);
    
            WitnessEventType[] events = WitnessEventType.values();
    
            // Verify all expected event types with correct values
            assertEquals(1, WitnessEventType.RESOURCE_CHANGE.getValue());
            assertEquals(2, WitnessEventType.CLIENT_MOVE.getValue());
            assertEquals(3, WitnessEventType.SHARE_MOVE.getValue());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dtyp/ACE.java

     *
     * the access check would fail because the direct ACE has an access mask
     * of <code>0x001200A9</code> which doesn't have the
     * <code>FILE_WRITE_DATA</code> bit on (bit <code>0x00000002</code>). Actually, this isn't quite correct. If
     * <code>WNET\alice</code> is in the local <code>Administrators</code> group the access check
     * will succeed because the inherited ACE allows local <code>Administrators</code>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

            // Act
            SamrDomainHandle handle = new SamrDomainHandle(mockDcerpcHandle, mockPolicyHandle, access, mockSid);
    
            // Assert
            assertNotNull(handle);
            // Verify sendrecv was called once with the correct RPC message
            verify(mockDcerpcHandle, times(1)).sendrecv(openDomainCaptor.capture());
            MsrpcSamrOpenDomain capturedRpc = openDomainCaptor.getValue();
            assertNotNull(capturedRpc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. 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 {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
        }
    
        @Nested
        @DisplayName("Command Constants Tests")
        class CommandConstantsTests {
    
            @Test
            @DisplayName("Should have correct command constants")
            void testCommandConstants() {
                assertEquals(0x00, ServerMessageBlock2.SMB2_NEGOTIATE);
                assertEquals(0x01, ServerMessageBlock2.SMB2_SESSION_SETUP);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                // This test verifies actual behavior
                testBlock.setFlags((byte) 0x00);
                assertFalse(testBlock.isResolveInDfs());
    
                // The correct implementation should check flags2, not flags
                testBlock.addFlags2(SmbConstants.FLAGS2_RESOLVE_PATHS_IN_DFS);
                // But due to the bug, this still returns false
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  10. android/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.7K bytes
    - Viewed (0)
Back to top