Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5471 - 5480 of 8,413 for Class1 (0.11 sec)

  1. docs_src/body/tutorial002_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Item):
        item_dict = item.model_dump()
        if item.tax is not None:
            price_with_tax = item.price + item.tax
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 485 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionQuery.java

        // ===================================================================================
        //                                                                        Assist Class
        //                                                                        ============
        public class DocMetaCQ {
    
            public void setId_Equal(String id) {
                regQ(QueryBuilders.idsQuery().addIds(id));
            }
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CollectCollectors.java

    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import org.jspecify.annotations.Nullable;
    
    /** Collectors utilities for {@code common.collect} internals. */
    @GwtCompatible
    final class CollectCollectors {
    
      private static final Collector<Object, ?, ImmutableList<Object>> TO_IMMUTABLE_LIST =
          Collector.of(
              ImmutableList::builder,
              ImmutableList.Builder::add,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheBuilder.java

            @Override
            public long read() {
              return 0;
            }
          };
    
      // We use a holder class to delay initialization: https://github.com/google/guava/issues/6566
      private static final class LoggerHolder {
        static final Logger logger = Logger.getLogger(CacheBuilder.class.getName());
      }
    
      static final int UNSET_INT = -1;
    
      boolean strictParsing = true;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/exentity/BoostDocumentRule.java

     */
    package org.codelibs.fess.opensearch.config.exentity;
    
    import org.codelibs.fess.opensearch.config.bsentity.BsBoostDocumentRule;
    
    /**
     * @author FreeGen
     */
    public class BoostDocumentRule extends BsBoostDocumentRule {
    
        private static final long serialVersionUID = 1L;
    
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.5K bytes
    - Viewed (1)
  6. src/main/java/org/codelibs/fess/opensearch/config/exentity/RelatedContent.java

     */
    package org.codelibs.fess.opensearch.config.exentity;
    
    import org.codelibs.fess.opensearch.config.bsentity.BsRelatedContent;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class RelatedContent extends BsRelatedContent {
    
        private static final long serialVersionUID = 1L;
    
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/exception/SIndexOutOfBoundsExceptionTest.java

    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.notNullValue;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class SIndexOutOfBoundsExceptionTest {
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClIndexOutOfBoundsException#SIndexOutOfBoundsException()}
         * .
         */
        @Test
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/ClUnsupportedOperationException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    /**
     * Exception that wraps {@link UnsupportedOperationException}.
     *
     * @author wyukawa
     */
    public class ClUnsupportedOperationException extends UnsupportedOperationException {
    
        private static final long serialVersionUID = -6732367317955522602L;
    
        /**
         * Creates a {@link ClUnsupportedOperationException}.
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/InetAddressOrder.kt

    import java.net.InetAddress
    import okhttp3.internal.interleave
    
    /**
     * Implementation of HappyEyeballs Sorting Addresses.
     *
     * The current implementation does not address any of:
     *  - Async DNS split by IP class
     *  - Stateful handling of connectivity results
     *  - The prioritisation of addresses
     *
     * https://datatracker.ietf.org/doc/html/rfc8305#section-4
     */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Apr 24 15:15:15 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/internal/TriggerSink.kt

    package mockwebserver3.internal
    
    import okio.Buffer
    import okio.Sink
    
    /**
     * A sink that executes [trigger] after [triggerByteCount] bytes are written, and then skips all
     * subsequent bytes.
     */
    internal class TriggerSink(
      private val delegate: Sink,
      private val triggerByteCount: Long,
      private val trigger: () -> Unit,
    ) : Sink by delegate {
      private var bytesWritten = 0L
    
      override fun write(
        source: Buffer,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top