- Sort Score
- Num 10 results
- Language All
Results 731 - 740 of 4,253 for Gname (0.02 seconds)
-
docs/zh/docs/advanced/advanced-python-types.md
举个例子,看这段函数: ```python from typing import Optional def say_hi(name: Optional[str]): print(f"Hey {name}!") ``` 参数 `name` 被定义为 `Optional[str]`,但它并不是“可选”的,你不能不传这个参数就调用函数: ```Python say_hi() # 哎呀,这会报错!😱 ``` 参数 `name` 仍然是必填的(不是“可选”),因为它没有默认值。不过,`name` 接受 `None` 作为取值: ```Python say_hi(name=None) # 这样可以,None 是有效的 🎉 ``` 好消息是,在大多数情况下,你可以直接使用 `|` 来定义类型联合: ```python
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:37:57 GMT 2026 - 2K bytes - Click Count (0) -
docs_src/dataclasses_/tutorial003_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 1.3K bytes - Click Count (0) -
clause/select_test.go
}, clause.Select{ Columns: []clause.Column{{Name: "name"}}, }, clause.From{}}, "SELECT `name` FROM `users`", nil, }, { []clause.Interface{clause.Select{ Expression: clause.CommaExpression{ Exprs: []clause.Expression{ clause.NamedExpr{"?", []interface{}{clause.Column{Name: "id"}}}, clause.NamedExpr{"?", []interface{}{clause.Column{Name: "name"}}},Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Feb 18 01:06:43 GMT 2023 - 1.7K bytes - Click Count (0) -
.github/workflows/ci.yml
- name: 'Integration Test' if: matrix.java == 11 shell: bash run: util/gradle_integration_tests.sh publish_snapshot: name: 'Publish snapshot' needs: test if: github.event_name == 'push' && github.repository == 'google/guava' runs-on: ubuntu-latest steps: - name: 'Check out repository'
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 22:02:44 GMT 2026 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
// DataOffset field (2 bytes) - should be 24 (16 header + 4 name + 4 padding) assertEquals(24, SMBUtil.readInt2(buffer, 10)); // DataLength field (4 bytes) - should be 32 (lease V1 structure size) assertEquals(32, SMBUtil.readInt4(buffer, 12)); // Verify context name is encoded at offset 16 byte[] nameBytes = new byte[4];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 5.8K bytes - Click Count (0) -
utils/utils.go
// NestedRelationName nested relationships like `Manager__Company` func NestedRelationName(prefix, name string) string { return prefix + nestedRelationSplit + name } // SplitNestedRelationName Split nested relationships to `[]string{"Manager","Company"}` func SplitNestedRelationName(name string) []string { return strings.Split(name, nestedRelationSplit) } // JoinNestedRelationNames nested relationships like `Manager__Company`
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 4.9K bytes - Click Count (0) -
fastapi/security/api_key.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 9.6K bytes - Click Count (1) -
tensorflow/c/c_test_util.cc
const char* name) { unique_tensor_ptr tensor(BoolTensor(v), TF_DeleteTensor); return Const(tensor.get(), graph, s, name); } TF_Operation* ScalarConst(int32_t v, TF_Graph* graph, TF_Status* s, const char* name) { unique_tensor_ptr tensor(Int32Tensor(v), TF_DeleteTensor); return Const(tensor.get(), graph, s, name); }Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 17.8K bytes - Click Count (1) -
docs_src/stream_json_lines/tutorial001_py310.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None items = [ Item(name="Plumbus", description="A multi-purpose household device."), Item(name="Portal Gun", description="A portal opening device."), Item(name="Meeseeks Box", description="A box that summons a Meeseeks."), ] @app.get("/items/stream")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 936 bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/reqheader/admin_reqheader.jsp
<div class="wrapper"> <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include> <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp"> <jsp:param name="menuCategoryType" value="crawl"/> <jsp:param name="menuType" value="requestHeader"/> </jsp:include> <main class="content-wrapper"> <div class="content-header"> <div class="container-fluid">
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 5.6K bytes - Click Count (0)