Search Options

Results per page
Sort
Preferred Languages
Advance

Results 911 - 920 of 7,590 for CLASS (0.02 sec)

  1. tests/test_request_body_parameters_media_type.py

    app = FastAPI()
    
    media_type = "application/vnd.api+json"
    
    
    # NOTE: These are not valid JSON:API resources
    # but they are fine for testing requestBody with custom media_type
    class Product(BaseModel):
        name: str
        price: float
    
    
    class Shop(BaseModel):
        name: str
    
    
    @app.post("/products")
    async def create_product(data: Product = Body(media_type=media_type, embed=True)):
        pass  # pragma: no cover
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/common/Os.kt

     * limitations under the License.
     */
    
    package common
    
    enum class Arch(val suffix: String, val nameOnLinuxWindows: String, val nameOnMac: String) {
        AMD64("64bit", "amd64", "x86_64"),
        AARCH64("aarch64", "aarch64", "aarch64");
    
        fun asName() = name.lowercase().toCapitalized()
    }
    
    enum class Os(
        val agentRequirement: String,
        val androidHome: String,
        val jprofilerHome: String,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:32:33 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt

    import org.slf4j.LoggerFactory
    import java.util.concurrent.ConcurrentHashMap
    import javax.inject.Inject
    
    
    private
    val logger = LoggerFactory.getLogger("daemonTracker")
    
    
    abstract class DaemonTracker : BuildService<DaemonTracker.Params>, AutoCloseable {
        interface Params : BuildServiceParameters {
            val rootProjectDir: DirectoryProperty
        }
    
        @get:Inject
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/PropertyMetaDataTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs.dsl.source.model
    
    import spock.lang.Specification
    
    class PropertyMetaDataTest extends Specification {
        final ClassMetaData classMetaData = Mock()
        final PropertyMetaData propertyMetaData = new PropertyMetaData('prop', classMetaData)
    
        def formatsSignature() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

    import java.util.List;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A container class for the five sample elements we need for testing.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class SampleElements<E extends @Nullable Object> implements Iterable<E> {
      // TODO: rename e3, e4 => missing1, missing2
      private final E e0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt

        response.body.close()
        listener.removeUpToEvent(ConnectionEvent.ConnectEnd::class.java)
        listener.removeUpToEvent(ConnectionEvent.ConnectionReleased::class.java)
        listener.removeUpToEvent(ConnectionEvent.ConnectionAcquired::class.java)
        listener.removeUpToEvent(ConnectionEvent.ConnectionReleased::class.java)
      }
    
      @Test
      @Throws(IOException::class)
      fun successfulConnect() {
        server!!.enqueue(MockResponse())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/VerifyTest.java

    import junit.framework.TestCase;
    
    /** Unit test for {@link com.google.common.base.Verify}. */
    @GwtCompatible(emulated = true)
    public class VerifyTest extends TestCase {
      public void testVerify_simple_success() {
        verify(true);
      }
    
      public void testVerify_simple_failure() {
        assertThrows(VerifyException.class, () -> verify(false));
      }
    
      public void testVerify_simpleMessage_success() {
        verify(true, "message");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapTestSuiteBuilder.java

      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
        testers.add(SetMultimapAsMapTester.class);
        testers.add(SetMultimapEqualsTester.class);
        testers.add(SetMultimapPutTester.class);
        testers.add(SetMultimapPutAllTester.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                    "Method com.example.Task.getFailOnError(): Is not annotated with @since 2.0. Reason for accepting this: Upgraded property" to listOf("Method added to public class", "Abstract method has been added to this class"),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/web.xml

        <filter-class>org.codelibs.fess.filter.CorsFilter</filter-class>
      </filter>
    
      <filter>
        <filter-name>webApiFilter</filter-name>
        <filter-class>org.codelibs.fess.filter.WebApiFilter</filter-class>
      </filter>
    
      <filter>
        <filter-name>lastaPrepareFilter</filter-name>
        <filter-class>org.lastaflute.web.servlet.filter.LastaPrepareFilter</filter-class>
      </filter>
    
      <filter>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 29 02:54:01 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top