- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 307 for doTest (0.17 sec)
-
maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/DiTest.java
import java.util.Set; import org.apache.maven.di.Injector; import org.apache.maven.di.impl.Types; import org.apache.maven.internal.impl.ExtensibleEnumRegistries; import org.junit.jupiter.api.Test; class DiTest { @Test void testGenerics() { Set<Type> types = Types.getAllSuperTypes(ExtensibleEnumRegistries.DefaultPathScopeRegistry.class); Injector injector = Injector.create();
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ToStringHelperTest.java
assertEquals("{}", toTest); } public void testConstructorLenient_anonymousClass() { String toTest = MoreObjects.toStringHelper(new Object() {}).toString(); assertTrue(toTest, toTest.matches(".*\\{\\}")); } @GwtIncompatible // Class names are obfuscated in GWT public void testConstructor_classObject() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:24:55 GMT 2024 - 15.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsImplTest.java
} int[] expected = {3, 1, 5, 3, 4, 5}; checkLastIndexOf(toTest, expected); } private void checkIndexOf(List<?> toTest, int[] expected) { int index = 0; for (Object obj : toTest) { String name = "toTest[" + index + "] (" + obj + ")"; assertWithMessage(name).that(Lists.indexOfImpl(toTest, obj)).isEqualTo(expected[index]); index++; } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 16:35:21 GMT 2024 - 10.6K bytes - Viewed (0) -
docs_src/security/tutorial007_an_py39.py
correct_username_bytes = b"stanleyjobson" is_correct_username = secrets.compare_digest( current_username_bytes, correct_username_bytes ) current_password_bytes = credentials.password.encode("utf8") correct_password_bytes = b"swordfish" is_correct_password = secrets.compare_digest( current_password_bytes, correct_password_bytes )
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 1.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/security/MessageDigestUtilTest.java
assertNull(MessageDigestUtil.digest("MD5", null)); assertEquals("ea703e7aa1efda0064eaa507d9e8ab7e", MessageDigestUtil.digest("MD5", text)); assertEquals("31f30ddbcb1bf8446576f0e64aa4c88a9f055e3c", MessageDigestUtil.digest("SHA-1", text)); assertEquals("ecb666d778725ec97307044d642bf4d160aabb76f56c0069c71ea25b1e926825", MessageDigestUtil.digest("SHA-256", text)); try {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/security/MessageDigestUtil.java
} catch (final UnsupportedEncodingException e) { throw new ClIllegalStateException(e); } final byte[] digest = msgDigest.digest(); final StringBuilder buffer = new StringBuilder(200); for (final byte element : digest) { final String tmp = Integer.toHexString(element & 0xff); if (tmp.length() == 1) { buffer.append('0').append(tmp);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.1K bytes - Viewed (0) -
docs_src/security/tutorial007_an.py
correct_username_bytes = b"stanleyjobson" is_correct_username = secrets.compare_digest( current_username_bytes, correct_username_bytes ) current_password_bytes = credentials.password.encode("utf8") correct_password_bytes = b"swordfish" is_correct_password = secrets.compare_digest( current_password_bytes, correct_password_bytes )
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 1.2K bytes - Viewed (0) -
fastapi/security/http.py
auto_error: Annotated[ bool, Doc( """ By default, if the HTTP Digest not provided, `HTTPDigest` will automatically cancel the request and send the client an error. If `auto_error` is set to `False`, when the HTTP Digest is not available, instead of erroring out, the dependency result will be `None`.
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Apr 19 15:29:38 GMT 2024 - 13.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * An accumulator that selects the "top" {@code k} elements added to it, relative to a provided * comparator. "Top" can mean the greatest or the lowest elements, specified in the factory used to * create the {@code TopKSelector} instance. * * <p>If your input data is available as an {@link Iterable} or {@link Iterator}, prefer {@link
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 11.2K bytes - Viewed (0) -
CONTRIBUTING.md
for details. #### Running doctest for testable docstring There are two ways to test the code in the docstring locally: 1. If you are only changing the docstring of a class/function/method, then you can test it by passing that file's path to [tf_doctest.py](https://www.tensorflow.org/code/tensorflow/tools/docs/tf_doctest.py). For example: ```bash
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Mar 21 11:45:51 GMT 2024 - 15.6K bytes - Viewed (0)