- Sort Score
- Num 10 results
- Language All
Results 1501 - 1510 of 1,803 for INSTANCE (0.14 seconds)
-
internal/rest/client.go
func removeEmptyPort(host string) string { if hasPort(host) { return strings.TrimSuffix(host, ":") } return host } // Copied from http.NewRequest but implemented to ensure we reuse `url.URL` instance. func (c *Client) newRequest(ctx context.Context, method string, u url.URL, body io.Reader) (*http.Request, error) { rc, ok := body.(io.ReadCloser) if !ok && body != nil { rc = io.NopCloser(body) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
docs/ru/docs/tutorial/first-steps.md
Вы можете использовать весь функционал [Starlette](https://www.starlette.dev/) и в `FastAPI`. /// ### Шаг 2: создайте экземпляр `FastAPI` { #step-2-create-a-fastapi-instance } {* ../../docs_src/first_steps/tutorial001_py310.py hl[3] *} Здесь переменная `app` будет экземпляром класса `FastAPI`. Это будет основная точка взаимодействия для создания всего вашего API.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 18.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
// Write completely empty file try (java.io.FileWriter fw = new java.io.FileWriter(testFile)) { // Write nothing } // Create a new CharMappingFile instance to ensure clean state CharMappingFile emptyMappingFile = new CharMappingFile("empty_test", testFile.getAbsolutePath(), new Date()); emptyMappingFile.manager(dictionaryManager);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
"Invalid query: " + queryContext.getQueryString(), e); } } /** * Gets the query parser instance for parsing search query strings. * * @return the configured query parser */ protected QueryParser getQueryParser() { return ComponentUtil.getQueryParser(); } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 19.9K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
mockQueryAddress.address = ((addrBytes[0] & 0xFF) << 24) | ((addrBytes[1] & 0xFF) << 16) | ((addrBytes[2] & 0xFF) << 8) | (addrBytes[3] & 0xFF); // Create NodeStatusResponse instance response = new NodeStatusResponse(mockConfig, mockQueryAddress); } @Test void constructor_shouldInitializeFields() throws Exception { // Verify configuration is setCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java
map.put("type", "heartbeat"); map.put("instanceId", "test-instance"); map.put("createdTime", 1000L); final String json = coordinatorHelper.toJson(map); assertNotNull(json); assertTrue(json.contains("\"type\":\"heartbeat\"")); assertTrue(json.contains("\"instanceId\":\"test-instance\"")); assertTrue(json.contains("\"createdTime\":1000")); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 58.6K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Aug 06 04:56:48 GMT 2025 - 17.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
} public void testPlatformThreadFactory_default() { ThreadFactory factory = MoreExecutors.platformThreadFactory(); assertThat(factory).isNotNull(); // Executors#defaultThreadFactory() may return a new instance each time. assertEquals(factory.getClass(), Executors.defaultThreadFactory().getClass()); } public void testThreadRenaming() { Executor renamingExecutor =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
"DH2C", // Durable handle reconnect V2 "ExtA", // Extended attributes "SecD", // Security descriptor "AppI" // App instance ID }; for (String name : contextNames) { MockCreateContextRequest context = new MockCreateContextRequest(name); assertNotNull(context.getName());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
docs/zh-hant/docs/python-types.md
接著你可以宣告一個變數為 `Person` 型別: {* ../../docs_src/python_types/tutorial010_py310.py hl[6] *} 然後,你一樣會得到完整的編輯器支援: <img src="/img/python-types/image06.png"> 請注意,這表示「`one_person` 是類別 `Person` 的『實例(instance)』」。 並不是「`one_person` 就是名為 `Person` 的『類別(class)』」。 ## Pydantic 模型 { #pydantic-models } [Pydantic](https://docs.pydantic.dev/) 是一個用來做資料驗證的 Python 程式庫。 你以帶有屬性的類別來宣告資料的「形狀」。 而每個屬性都有其型別。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 10.7K bytes - Click Count (0)