- Sort Score
- Num 10 results
- Language All
Results 641 - 650 of 1,045 for certify (0.06 seconds)
-
android/guava-tests/test/com/google/common/io/FilesTest.java
byte[] bytes = newPreFilledByteArray(size); // Setup File file = createTempFile(); Files.write(bytes, file); // Test MappedByteBuffer actual = Files.map(file); // Verify ByteBuffer expected = ByteBuffer.wrap(bytes); assertTrue("ByteBuffers should be equal.", expected.equals(actual)); } public void testMap_noSuchFile() throws IOException { // Setup
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 22.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
// Test & Verify verifyMergeSorted(iterables, ImmutableList.<Integer>of()); } public void testMergeSorted_single() { // Setup Iterable<Integer> iterable0 = ImmutableList.of(1, 2, 3); Iterable<Iterable<Integer>> iterables = ImmutableList.of(iterable0); // Test & Verify verifyMergeSorted(iterables, iterable0); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.5K bytes - Click Count (0) -
docs_src/security/tutorial004_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.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java
DictionaryException exception = new DictionaryException("Stack trace test"); assertNotNull(exception.getStackTrace()); assertTrue(exception.getStackTrace().length > 0); // Verify that the stack trace contains this test method boolean foundTestMethod = false; for (StackTraceElement element : exception.getStackTrace()) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/https/HandlerTest.java
// Then assertEquals(jcifs.http.Handler.class, superclass); assertEquals(URLStreamHandler.class, superclass.getSuperclass()); } @Test @DisplayName("Should verify class is final or non-final appropriately") void testClassModifiers() { // When int modifiers = Handler.class.getModifiers(); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java
registration.updateHeartbeat(); // After update, should not be expired with long timeout assertFalse(registration.isExpired(60000)); // Verify heartbeat was actually updated assertTrue(registration.getLastHeartbeat() > initialTime); } @Test void testExpiration() throws InterruptedException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 5.1K bytes - Click Count (0) -
cmd/post-policy-fan-out.go
encrd, objectEncryptionKey, err := newEncryptReader(ctx, hr, opts.Kind, opts.KeyID, opts.Key, bucket, req.Key, userDefined, opts.KmsCtx) if err != nil { errs[idx] = err return } // do not try to verify encrypted content/ hr, err = hash.NewReader(ctx, encrd, -1, "", "", -1) if err != nil { errs[idx] = err return } reader, err = reader.WithEncryption(hr, &objectEncryptionKey)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.5K bytes - Click Count (0) -
src/test/java/jcifs/BufferCacheTest.java
@Test @DisplayName("BufferCache interface should define correct method signatures") void testInterfaceContract() { // Given BufferCache cache = mockBufferCache; // When & Then - verify interface methods exist and can be called assertDoesNotThrow(() -> { cache.getBuffer(); cache.releaseBuffer(new byte[1024]); }, "All BufferCache interface methods should be callable");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java
return (List<E>) collection; } /** * {@inheritDoc} * * <p>The {@code AbstractListTester} implementation overrides {@link * AbstractCollectionTester#expectContents(Collection)} to verify that the order of the elements * in the list under test matches what is expected. */ @Override protected void expectContents(Collection<E> expectedCollection) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.DisplayName; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.config.BaseConfiguration; /** * Basic tests for MultiChannelManager to verify the createChannelTransport implementation. */ public class MultiChannelManagerBasicTest { private MultiChannelManager multiChannelManager; private Configuration config; @BeforeEachCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 4K bytes - Click Count (0)