- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for test_zh (0.19 sec)
-
src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java
assertEquals(Locale.ROOT, fessConfig.getQueryLocaleFromName("ja")); assertEquals(Locale.JAPANESE, fessConfig.getQueryLocaleFromName("test_ja")); assertEquals(Locale.CHINESE, fessConfig.getQueryLocaleFromName("test_zh")); assertEquals(Locale.SIMPLIFIED_CHINESE, fessConfig.getQueryLocaleFromName("test_zh_cn"));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocMapTest.java
Map<String, Object> value = new LinkedHashMap<>(); DocMap docMap = new DocMap(value); assertTrue(docMap.isEmpty()); value.clear(); List<String> keys = Arrays.asList("test_2", "test_0", "lang", "test_1"); value.put(keys.get(0), true); value.put(keys.get(1), 1000); value.put(keys.get(2), "ja"); value.put(keys.get(3), "str"); docMap = new DocMap(value);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java
assertTrue(content.contains("テスト")); } public void test_getText_ooow_as() { InputStream in = ResourceUtil.getResourceAsStream("extractor/ooo/test_as.odt"); Map<String, String> params = new HashMap<String, String>(); params.put("resourceName", "test_as.odt"); ExtractData extractData = jodExtractor.getText(in, params); String content = extractData.getContent(); CloseableUtil.closeQuietly(in);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
TF_SetTracingImplementation(std::get<0>(GetParam()), status.get()); absl::Status s = StatusFromTF_Status(status.get()); CHECK_EQ(errors::OK, s.code()) << s.message(); } }; TEST_P(UnifiedCAPI, TestBasicEager) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus); TFE_ContextOptions* opts = TFE_NewContextOptions();
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 39.1K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TF_Graph* graph_; TF_Graph* expected_graph_; }; TEST_F(CApiGradientsTest, Gradients_GradInputs) { TestGradientsSuccess(true); } TEST_F(CApiGradientsTest, Gradients_NoGradInputs) { TestGradientsSuccess(false); } TEST_F(CApiGradientsTest, OpWithNoGradientRegistered_GradInputs) { TestGradientsError(true); } TEST_F(CApiGradientsTest, OpWithNoGradientRegistered_NoGradInputs) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/c/eager/gradients_test.cc
} }; absl::Status RegisterGradients(GradientRegistry* registry) { TF_RETURN_IF_ERROR(RegisterNotDifferentiable(registry, "CheckNumerics")); return absl::OkStatus(); } TEST_P(CppGradients, TestSetAttrString) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus); AbstractContextPtr ctx; { AbstractContext* ctx_raw = nullptr;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/c/eager/gradient_checker_test.cc
} AbstractContextPtr ctx_; public: bool UseMlir() const { return strcmp(std::get<0>(GetParam()), "mlir") == 0; } bool UseFunction() const { return std::get<2>(GetParam()); } }; TEST_P(GradientCheckerTest, TestMatMul) { float A_vals[] = {1.0f, 2.0f, 3.0f, 4.0f}; int64_t A_dims[] = {2, 2}; AbstractTensorHandlePtr A; { AbstractTensorHandle* A_raw;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 6.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java
}); pdfExtractor = container.getComponent("pdfExtractor"); pdfExtractorForPdfPassword = container.getComponent("pdfExtractorForPdfPassword"); pdfExtractorForPdfPassword.addPassword(".*test_.*.pdf", "word"); } public void test_getText() { final InputStream in = ResourceUtil.getResourceAsStream("extractor/test.pdf"); final ExtractData extractData = pdfExtractor.getText(in, null);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.6K bytes - Viewed (0) -
docs/zh/docs/tutorial/testing.md
要使用 `TestClient`,先要安装 <a href="https://www.python-httpx.org" class="external-link" target="_blank">`httpx`</a>. 例:`pip install httpx`. /// 导入 `TestClient`. 通过传入你的**FastAPI**应用创建一个 `TestClient` 。 创建名字以 `test_` 开头的函数(这是标准的 `pytest` 约定)。 像使用 `httpx` 那样使用 `TestClient` 对象。 为你需要检查的地方用标准的Python表达式写个简单的 `assert` 语句(重申,标准的`pytest`)。 ```Python hl_lines="2 12 15-18" {!../../docs_src/app_testing/tutorial001.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6K bytes - Viewed (0) -
tensorflow/c/BUILD
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Nov 02 06:47:06 UTC 2024 - 30.4K bytes - Viewed (0)