Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 5,004 for class (0.22 sec)

  1. tests/test_read_with_orm_mode.py

    @needs_pydanticv2
    def test_read_with_orm_mode() -> None:
        class PersonBase(BaseModel):
            name: str
            lastname: str
    
        class Person(PersonBase):
            @property
            def full_name(self) -> str:
                return f"{self.name} {self.lastname}"
    
            model_config = ConfigDict(from_attributes=True)
    
        class PersonCreate(PersonBase):
            pass
    
        class PersonRead(PersonBase):
            full_name: str
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java

        return this;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = new ArrayList<>();
        if (runCollectionTests) {
          testers.addAll(super.getTesters());
        }
    
        testers.add(QueueElementTester.class);
        testers.add(QueueOfferTester.class);
        testers.add(QueuePeekTester.class);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

      }
    
      private interface Sample {
        String sleepThenReturnInput(String input);
    
        void sleepThenThrowException() throws SampleException;
      }
    
      @SuppressWarnings("serial")
      private static class SampleException extends Exception {}
    
      @SuppressWarnings("serial")
      private static class SampleRuntimeException extends RuntimeException {}
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ClassToInstanceMap.java

        extends Map<Class<? extends @NonNull B>, B> {
      /**
       * Returns the value the specified class is mapped to, or {@code null} if no entry for this class
       * is present. This will only return a value that was bound to this specific class, not a value
       * that may have been bound to a subtype.
       */
      @CheckForNull
      <T extends @NonNull B> T getInstance(Class<T> type);
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/DiscreteDomainTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> DiscreteDomain.bigIntegers().offset(BigInteger.ZERO, -1));
      }
    
      public void testCustomOffsetExceptions() {
        assertThrows(IllegalArgumentException.class, () -> new MyIntegerDomain().offset(0, -1));
        assertThrows(
            IllegalArgumentException.class, () -> new MyIntegerDomain().offset(Integer.MAX_VALUE, 1));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

            } else if (type == BigDecimal.class) {
                return BigDecimalConversionUtil.toBigDecimal(o);
            } else if (type == Double.class) {
                return DoubleConversionUtil.toDouble(o);
            } else if (type == Long.class) {
                return LongConversionUtil.toLong(o);
            } else if (type == Float.class) {
                return FloatConversionUtil.toFloat(o);
            } else if (type == Short.class) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/orig/view/search.jsp

    <link href="${fe:url('/css/font-awesome.min.css')}" rel="stylesheet"
    	type="text/css" />
    </head>
    <body class="search">
    	<jsp:include page="header.jsp" />
    	<main id="content" class="container">
    		<ul class="list-inline">
    			<li class="list-inline-item"><la:message key="labels.searchoptions_menu_sort" /> <a
    				href="#searchOptions" class="badge badge-primary"
    				data-toggle="control-options"> <c:if test="${empty sort}">
    Others
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

        /**
         * Builds a SocketAdapter from an observed implementation class, by grabbing the Class
         * reference to perform reflection on at runtime.
         *
         * @param actualSSLSocketClass the runtime class of Conscrypt class socket.
         */
        private fun build(actualSSLSocketClass: Class<in SSLSocket>): AndroidSocketAdapter {
          var possibleClass: Class<in SSLSocket>? = actualSSLSocketClass
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt

     * overriding [.configureSocket].
     */
    open class DelegatingSSLSocketFactory(private val delegate: SSLSocketFactory) : SSLSocketFactory() {
      @Throws(IOException::class)
      override fun createSocket(): SSLSocket {
        val sslSocket = delegate.createSocket() as SSLSocket
        return configureSocket(sslSocket)
      }
    
      @Throws(IOException::class)
      override fun createSocket(
        host: String,
        port: Int,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

            val alpnClass = Class.forName(alpnClassName, true, null)
            val providerClass = Class.forName("$alpnClassName\$Provider", true, null)
            val clientProviderClass = Class.forName("$alpnClassName\$ClientProvider", true, null)
            val serverProviderClass = Class.forName("$alpnClassName\$ServerProvider", true, null)
            val putMethod = alpnClass.getMethod("put", SSLSocket::class.java, providerClass)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top