- Sort Score
- Num 10 results
- Language All
Results 671 - 680 of 1,040 for verifyCn (0.12 seconds)
-
docs_src/security/tutorial004_an_py310.py
DUMMY_HASH = password_hash.hash("dummypassword") oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") 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 Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 4.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java
helper.tryStartOperation("test_op", "test_data"); assertEquals(5, passedRetries.get()); } @Test public void test_tryStartOperation_twoArg_defaultRetry() { // Verify default retry value of 3 from config final AtomicInteger passedRetries = new AtomicInteger(-1); final CoordinatorHelper helper = new CoordinatorHelper() { @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 58.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
public void clear() { assertTrue(Thread.holdsLock(mutex)); delegate.clear(); } @Override public Collection<V> values() { assertTrue(Thread.holdsLock(mutex)); /* TODO: verify that the Collection is also synchronized? */ return delegate.values(); } @Override public Set<Cell<R, C, V>> cellSet() { assertTrue(Thread.holdsLock(mutex)); return delegate.cellSet();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 4.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java
0) { @Override protected ListIterator<E> newTargetIterator() { resetCollection(); return getList().listIterator(); } @Override protected void verify(List<E> elements) { expectContents(elements); } }.test(); } public void testListIterator_tooLow() { assertThrows(IndexOutOfBoundsException.class, () -> getList().listIterator(-1)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5K bytes - Click Count (0) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
assertNotNull(ex.toString(), "toString should be non-null"); ex.getMessage(); // don't assert content to avoid implementation assumptions // Verify no interactions happened with the mocked cause during construction/access verifyNoInteractions(mockCause); } @Test @DisplayName("Cause-only constructor with null: null cause maintained")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
// block for session establishment val sslSocketSession = sslSocket.session val unverifiedHandshake = sslSocketSession.handshake() // Verify that the socket's certificates are acceptable for the target host. if (!address.hostnameVerifier!!.verify(address.url.host, sslSocketSession)) { val peerCertificates = unverifiedHandshake.peerCertificates if (peerCertificates.isNotEmpty()) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 19.3K bytes - Click Count (2) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
int expected = NegTokenInit.DELEGATION | NegTokenInit.INTEGRITY | NegTokenInit.CONFIDENTIALITY; assertEquals(expected, init.getContextFlags()); // Verify each flag individually assertTrue(init.getContextFlag(NegTokenInit.DELEGATION)); assertTrue(init.getContextFlag(NegTokenInit.INTEGRITY));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java
// Test that close method exists (inherited) @Test public void test_closeMethodExists() { // Test that close method is available (inherited from parent) try { // Just verify the method exists, don't actually call it crawlerEngineClient.getClass().getMethod("close"); assertTrue(true); } catch (NoSuchMethodException e) { fail("close method should exist");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
byte[] buf = newBuffer(10); int written = cmd.writeParametersWireFormat(buf, 0); assertEquals(2, written, "writeParametersWireFormat should write exactly 2 bytes"); // Verify little-endian encoding (0x1234 -> 0x34 0x12) assertEquals((byte) 0x34, buf[0], "First byte should be low byte of level"); assertEquals((byte) 0x12, buf[1], "Second byte should be high byte of level"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
internal/config/identity/tls/config.go
// EnvIdentityTLSSkipVerify is an environment variable that controls whether // MinIO verifies the client certificate present by the client // when requesting temp. credentials. // By default, MinIO always verify the client certificate. // // The client certificate verification should only be skipped // when debugging or testing a setup since it allows arbitrary // clients to obtain temp. credentials with arbitrary policy
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 3.6K bytes - Click Count (0)