Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2311 - 2320 of 3,687 for inst (0.02 sec)

  1. docs_src/schema_extra_example/tutorial005_an_py310.py

    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Annotated[
            Item,
            Body(
                openapi_examples={
                    "normal": {
                        "summary": "A normal example",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Aug 26 18:03:13 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. docs_src/schema_extra_example/tutorial005_py39.py

    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item = Body(
            openapi_examples={
                "normal": {
                    "summary": "A normal example",
                    "description": "A **normal** item works correctly.",
                    "value": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. docs_src/schema_extra_example/tutorial001_py310.py

                        "price": 35.4,
                        "tax": 3.2,
                    }
                ]
            }
        }
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 646 bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        assertTrue(delegateFuture.isCancelled());
      }
    
      private static final class ThrowingRunnable implements Runnable {
        final int throwAfterCount;
        final RuntimeException thrown;
        int count;
    
        ThrowingRunnable(int throwAfterCount, RuntimeException thrown) {
          this.throwAfterCount = throwAfterCount;
          this.thrown = thrown;
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/Types.java

          if (AnnotatedElement.class.isAssignableFrom(TypeVariable.class)) {
            if (new TypeCapture<Entry<String, int[][]>>() {}.capture()
                .toString()
                .contains("java.util.Map.java.util.Map")) {
              CURRENT = JAVA8;
            } else {
              CURRENT = JAVA9;
            }
          } else if (new TypeCapture<int[]>() {}.capture() instanceof Class) {
            CURRENT = JAVA7;
          } else {
            CURRENT = JAVA6;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          throws InterruptedException, ExecutionException {
        for (int i = 0; i < futures.size(); i++) {
          assertEquals(RESULT_VALUE + i, futures.get(i).get());
        }
      }
    
      private static List<Callable<String>> createTasks(int n) {
        List<Callable<String>> callables = new ArrayList<>();
        for (int i = 0; i < n; i++) {
          callables.add(Callables.returning(RESULT_VALUE + i));
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

            // This could be enhanced with proper version parsing if needed
            try {
                String[] parts = modelVersion.split("\\.");
                if (parts.length >= 2) {
                    int major = Integer.parseInt(parts[0]);
                    int minor = Integer.parseInt(parts[1]);
    
                    if (major > 4) {
                        return true;
                    }
                    if (major == 4 && minor > 1) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

      public void testToStringRadix() {
        for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) {
          for (long l : TEST_LONGS) {
            UnsignedLong value = UnsignedLong.fromLongBits(l);
            assertThat(value.toString(radix)).isEqualTo(value.bigIntegerValue().toString(radix));
          }
        }
      }
    
      public void testToStringRadixQuick() {
        int[] radices = {2, 3, 5, 7, 10, 12, 16, 21, 31, 36};
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          throws InterruptedException, ExecutionException {
        for (int i = 0; i < futures.size(); i++) {
          assertEquals(RESULT_VALUE + i, futures.get(i).get());
        }
      }
    
      private static List<Callable<String>> createTasks(int n) {
        List<Callable<String>> callables = new ArrayList<>();
        for (int i = 0; i < n; i++) {
          callables.add(Callables.returning(RESULT_VALUE + i));
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

            // NOP
        }
    
        /**
         * Initializes the client with parameters from initParamMap.
         * Sets maxContentLength, accessTimeout, and maxCachedContentSize.
         */
        public void init() {
            // max content length
            final Long maxContentLengthParam = getInitParameter(MAX_CONTENT_LENGTH, maxContentLength, Long.class);
            if (maxContentLengthParam != null) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 9.7K bytes
    - Viewed (10)
Back to top