Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4511 - 4520 of 7,014 for _return (0.04 sec)

  1. docs_src/generate_clients/tutorial001_py39.py

    
    class ResponseMessage(BaseModel):
        message: str
    
    
    @app.post("/items/", response_model=ResponseMessage)
    async def create_item(item: Item):
        return {"message": "item received"}
    
    
    @app.get("/items/", response_model=list[Item])
    async def get_items():
        return [
            {"name": "Plumbus", "price": 3},
            {"name": "Portal Gun", "price": 9001},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 494 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

                logger.debug("Favorite Count: {}, url: {}", count, url);
            }
        }
    
        @Override
        public long getDocumentSize() {
            return documentSize.get();
        }
    
        @Override
        public long getExecuteTime() {
            return executeTime;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

      private static long fingerprint(byte[] bytes) {
        return fingerprint(bytes, bytes.length);
      }
    
      /** Convenience method to compute a fingerprint on a subset of a byte array. */
      private static long fingerprint(byte[] bytes, int length) {
        return HASH_FN.hashBytes(bytes, 0, length).asLong();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

                if (artifactId.equals(a.getArtifactId()) && a.getGroupId().equals(groupId)) {
                    System.out.println("RETURN");
                    return a;
                }
            }
            System.out.println("Return null");
            return null;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. tensorflow/c/eager/gradient_checker_test.cc

      return ops::MatMul(ctx, inputs[0], inputs[1], &outputs[0],
                         /*transpose_a=*/false,
                         /*transpose_b=*/false, "MatMul");
    }
    
    absl::Status MulModel(AbstractContext* ctx,
                          absl::Span<AbstractTensorHandle* const> inputs,
                          absl::Span<AbstractTensorHandle*> outputs) {
      return ops::Mul(ctx, inputs[0], inputs[1], &outputs[0], "Mul");
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TextUtilTest.java

            if (str == null) {
                return StringUtil.EMPTY;
            }
            try (final Reader reader = new StringReader(str)) {
                return normalizeText(reader, initialCapacity, maxAlphanumTermSize, maxSymbolTermSize, removeDuplication);
            } catch (final IOException e) {
                return StringUtil.EMPTY;
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. docs_src/separate_openapi_schemas/tutorial001_py39.py

    
    class Item(BaseModel):
        name: str
        description: Optional[str] = None
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    def create_item(item: Item):
        return item
    
    
    @app.get("/items/")
    def read_items() -> list[Item]:
        return [
            Item(
                name="Portal Gun",
                description="Device to travel through the multi-rick-verse",
            ),
            Item(name="Plumbus"),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 25 19:10:22 UTC 2023
    - 483 bytes
    - Viewed (0)
  8. docs_src/generate_clients/tutorial001.py

    
    class ResponseMessage(BaseModel):
        message: str
    
    
    @app.post("/items/", response_model=ResponseMessage)
    async def create_item(item: Item):
        return {"message": "item received"}
    
    
    @app.get("/items/", response_model=List[Item])
    async def get_items():
        return [
            {"name": "Plumbus", "price": 3},
            {"name": "Portal Gun", "price": 9001},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 519 bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

          Map<AnEnum, String> map = Maps.newHashMap();
          for (Entry<AnEnum, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return Maps.immutableEnumMap(map);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

                    resp.getNotifyInformation().clear();
                }
                return resp.getNotifyInformation();
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbWatchHandle#call()
         */
        @Override
        public List<FileNotifyInformation> call () throws CIFSException {
            return watch();
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.5K bytes
    - Viewed (0)
Back to top