Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 511 - 520 of 878 for verifyCn (0.25 seconds)

  1. docs_src/security/tutorial005_an_py310.py

        tokenUrl="token",
        scopes={"me": "Read information about the current user.", "items": "Read items."},
    )
    
    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
        return password_hash.verify(plain_password, hashed_password)
    
    
    def get_password_hash(password):
        return password_hash.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  2. docs_src/security/tutorial005_an_py39.py

        tokenUrl="token",
        scopes={"me": "Read information about the current user.", "items": "Read items."},
    )
    
    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
        return password_hash.verify(plain_password, hashed_password)
    
    
    def get_password_hash(password):
        return password_hash.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            assertEquals(dataOffsetFromHeader + dataLength - bodyStart, bytesRead);
            assertEquals(dataLength, response.getDataLength());
            assertEquals(dataRemaining, response.getDataRemaining());
    
            // Verify data was copied to output buffer
            byte[] copiedData = Arrays.copyOfRange(outputBuffer, 0, dataLength);
            assertArrayEquals(testData, copiedData);
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            // Add sitemaps
            String[] sitemaps = new String[] { "http://example.com/sitemap.xml", "http://test.com/sitemap.xml" };
            crawlerContext.addSitemaps(sitemaps);
    
            // Remove and verify
            String[] removedSitemaps = crawlerContext.removeSitemaps();
            assertNotNull(removedSitemaps);
            assertEquals(2, removedSitemaps.length);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Sep 06 04:15:37 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                assertEquals(4, read);
            }
    
            @Test
            @DisplayName("Should inherit ServerMessageBlock2Response properties")
            void testInheritedProperties() {
                // Verify that the response inherits from ServerMessageBlock2Response
                assertTrue(response instanceof jcifs.internal.smb2.ServerMessageBlock2Response);
    
                // Test some inherited methods
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

                    | NtlmFlags.NTLMSSP_NEGOTIATE_SIGN | NtlmFlags.NTLMSSP_NEGOTIATE_ALWAYS_SIGN | NtlmFlags.NTLMSSP_NEGOTIATE_KEY_EXCH;
            // Verify exactly the expected bits are set
            assertEquals(expectedFlags, context.ntlmsspFlags);
        }
    
        @Test
        void testConstructor_withoutSigning() {
            // Test constructor when signing is disabled
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

            String SOURCES = "sources";
            String RESOURCES = "resources";
            String COMPILE = "compile";
            String READY = "ready";
            String PACKAGE = "package";
            String VERIFY = "verify";
            String UNIT_TEST = "unit-test";
            String TEST_SOURCES = "test-sources";
            String TEST_RESOURCES = "test-resources";
            String TEST_COMPILE = "test-compile";
            String TEST = "test";
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/VerifyException.java

    /**
     * Exception thrown upon the failure of a <a
     * href="https://github.com/google/guava/wiki/ConditionalFailuresExplained">verification check</a>,
     * including those performed by the convenience methods of the {@link Verify} class.
     *
     * @since 17.0
     */
    @GwtCompatible
    public class VerifyException extends RuntimeException {
      /** Constructs a {@code VerifyException} with no message. */
      public VerifyException() {}
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            // Read the data
            int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex);
    
            // Verify results
            assertEquals(20, bytesRead);
            assertEquals(fileAttributes, response.getAttributes());
            assertEquals(fileSize, response.getSize());
    
            // Verify time was read correctly (accounting for UTime conversion)
            long readTime = (Long) getFieldValue(response, "lastWriteTime");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            // When
            smbComRename = new SmbComRename(config, oldFileName, newFileName);
    
            // Then
            assertEquals(ServerMessageBlock.SMB_COM_RENAME, smbComRename.getCommand());
    
            // Use reflection to verify private fields
            Field oldFileNameField = SmbComRename.class.getDeclaredField("oldFileName");
            oldFileNameField.setAccessible(true);
            assertEquals(oldFileName, oldFileNameField.get(smbComRename));
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
Back to Top