- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 949 for accepts (0.28 seconds)
-
internal/etag/etag.go
// - strict // - non-strict // // In strict mode, parse only accepts ETags that // are AWS S3 compatible. In particular, an AWS // S3 ETag always consists of a 128 bit checksum // value and an optional -<part-number> suffix. // Therefore, s must have the following form in // strict mode: <32-hex-characters>[-<integer>] // // In non-strict mode, parse also accepts ETags // that are not AWS S3 compatible - e.g. encrypted // ETags.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
private Smb2LogoffResponse newResponse() { Configuration cfg = Mockito.mock(Configuration.class); return new Smb2LogoffResponse(cfg); } @Test @DisplayName("Constructor accepts a Configuration and creates instance") void constructor_happyPath() { // Arrange Configuration cfg = Mockito.mock(Configuration.class); // Act
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java
import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for {@link SmbComLogoffAndX}. */ @ExtendWith(MockitoExtension.class) class SmbComLogoffAndXTest { @Test @DisplayName("constructor accepts null andx") void constructorWithNullAndx() { SmbComLogoffAndX msg = new SmbComLogoffAndX(null); assertNotNull(msg, "Message must not be null after construction"); } @ParameterizedTestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
// Setup mock configuration to avoid NPE when(mockConfig.getPid()).thenReturn(12345); response = new SmbComSetInformationResponse(mockConfig); } @Test @DisplayName("Constructor accepts valid config") void constructorValid() { assertDoesNotThrow(() -> new SmbComSetInformationResponse(mockConfig)); } @Nested @DisplayName("writeParameterWordsWireFormat tests")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/base/NullnessCasts.java
import org.jspecify.annotations.Nullable; /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */ @GwtCompatible final class NullnessCasts { /** * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that * that conversion is safe. * * <p>This method is intended to help with usages of type parameters that have {@linkplainCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 3.3K bytes - Click Count (0) -
guava/src/com/google/common/base/NullnessCasts.java
import org.jspecify.annotations.Nullable; /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */ @GwtCompatible final class NullnessCasts { /** * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that * that conversion is safe. * * <p>This method is intended to help with usages of type parameters that have {@linkplainCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 3.3K bytes - Click Count (0) -
docs/en/docs/tutorial/handling-errors.md
And **FastAPI**'s `HTTPException` error class inherits from Starlette's `HTTPException` error class. The only difference is that **FastAPI**'s `HTTPException` accepts any JSON-able data for the `detail` field, while Starlette's `HTTPException` only accepts strings for it. So, you can keep raising **FastAPI**'s `HTTPException` as normally in your code.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTaskIntegrationTest.kt
) ) } @Test fun `verify AlphabeticalAcceptedApiChangesTask accepts properly ordered changes`() { //language=JSON firstAcceptedApiChangesFile.writeText( """ { "acceptedApiChanges": [ {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 14 02:17:00 GMT 2025 - 8.4K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
/** Benchmarks for the hashing of UTF-8 strings. */ @NullUnmarked public class HashStringBenchmark { static class MaxCodePoint { final int value; /** * Convert the input string to a code point. Accepts regular decimal numerals, hex strings, and * some symbolic names meaningful to humans. */ private static int decode(String userFriendly) { try { return Integer.decode(userFriendly);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java
* using the provided lambda function to populate the favorite log data. * * @param userCode the unique code identifying the user * @param favoriteLogLambda a lambda function that accepts UserInfo and FavoriteLog to populate the favorite log data * @return true if the URL was successfully added to favorites, false if the user was not found */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 4.6K bytes - Click Count (0)