- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 1,575 for samr (0.02 seconds)
-
docs/en/docs/advanced/security/http-basic-auth.md
But in our code we are actually using `secrets.compare_digest()`. In short, it will take the same time to compare `stanleyjobsox` to `stanleyjobson` than it takes to compare `johndoe` to `stanleyjobson`. And the same for the password. That way, using `secrets.compare_digest()` in your application code, it will be safe against this whole range of security attacks.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5K bytes - Click Count (0) -
docs/en/docs/advanced/dataclasses.md
And of course, it supports the same: * data validation * data serialization * data documentation, etc. This works the same way as with Pydantic models. And it is actually achieved in the same way underneath, using Pydantic. /// info Keep in mind that dataclasses can't do everything Pydantic models can do.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/escape/super/com/google/common/escape/Platform.java
final class Platform { private static final char[] CHAR_BUFFER = new char[1024]; static char[] charBufferFromThreadLocal() { // ThreadLocal is not available to GWT, so we always reuse the same // instance. It is always safe to return the same instance because // javascript is single-threaded, and only used by blocks that doesn't // involve async callbacks. return CHAR_BUFFER; } private Platform() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 1.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MapEqualsTester<K, V> extends AbstractMapTester<K, V> { public void testEquals_otherMapWithSameEntries() { assertTrue( "A Map should equal any other Map containing the same entries.", getMap().equals(newHashMap(getSampleEntries()))); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherMapWithDifferentEntries() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4.9K bytes - Click Count (0) -
docs/en/docs/tutorial/path-operation-configuration.md
If you have a big application, you might end up accumulating **several tags**, and you would want to make sure you always use the **same tag** for related *path operations*. In these cases, it could make sense to store the tags in an `Enum`. **FastAPI** supports that the same way as with plain strings: {* ../../docs_src/path_operation_configuration/tutorial002b_py310.py hl[1,8:10,13,18] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
@GwtCompatible public abstract class DiscreteDomain<C extends Comparable> { /** * Returns the discrete domain for values of type {@code Integer}. * * <p>This method always returns the same object. That object is serializable; deserializing it * results in the same object too. * * @since 14.0 (since 10.0 as {@code DiscreteDomains.integers()}) */ public static DiscreteDomain<Integer> integers() { return IntegerDomain.INSTANCE;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 10.4K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java
* processes one artifact at a time and hence cannot associate the artifacts from the same project to use the * same timestamp+buildno for the snapshot versions. Allowing the caller to pass in metadata from a previous * deployment allows to re-establish the association between the artifacts of the same project. */ for (Metadata metadata : request.getMetadata()) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeTraverser.java
* their equivalent on the result of {@code Traverser.forTree(tree)} where {@code tree} * implements {@code SuccessorsFunction}, which has a similar API as {@link #children} or can be * the same lambda function as passed into {@link #using(Function)}. */ // This class is now only available externally for backwards compatibility; it should not be usedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 18:39:06 GMT 2025 - 8.3K bytes - Click Count (0) -
docs/en/docs/tutorial/body.md
Then you declare your data model as a class that inherits from `BaseModel`. Use standard Python types for all the attributes: {* ../../docs_src/body/tutorial001_py310.py hl[5:9] *} The same as when declaring query parameters, when a model attribute has a default value, it is not required. Otherwise, it is required. Use `None` to make it just optional.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
// enclosed with same start assertEquals(range, range.span(Range.closed(4, 6))); // enclosed, interior assertEquals(range, range.span(Range.closed(5, 7))); // enclosed with same end assertEquals(range, range.span(Range.closed(6, 8))); // equal assertEquals(range, range.span(range)); // enclosing with same startCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.2K bytes - Click Count (0)