- Sort Score
- Num 10 results
- Language All
Results 811 - 820 of 1,459 for Int (0.01 seconds)
-
internal/logger/utils.go
var ansiRE = regexp.MustCompile("(\x1b[^m]*m)") // Print ANSI Control escape func ansiEscape(format string, args ...any) { Esc := "\x1b" fmt.Printf("%s%s", Esc, fmt.Sprintf(format, args...)) } func ansiMoveRight(n int) { if runtime.GOOS == "windows" { return } if color.IsTerminal() { ansiEscape("[%dC", n) } } func ansiSaveAttributes() { if runtime.GOOS == "windows" { return }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.6K bytes - Click Count (0) -
cmd/bucket-stats_gen.go
return } } } o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z *BucketReplicationStat) Msgsize() (s int) { s = 1 + 15 + msgp.Int64Size + 12 + msgp.Int64Size + 10 + z.FailStats.Msgsize() + 7 + z.Failed.Msgsize() + 16 + msgp.Int64Size + 8 + 1 + 16 + z.Latency.UploadHistogram.Msgsize() + 31 + msgp.Int64Size + 34 + msgp.Float64Size + 3
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 57.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java
return Objects.equals(thisProvides, otherProvides); } else { return false; } } @Override public int hashCode() { int hashCode = (type == null) ? 0 : type.hashCode(); if (this.getModel().getProvides() != null) { hashCode = 31 * hashCode + this.getModel().getProvides().hashCode(); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Feb 12 13:13:28 GMT 2025 - 4.8K bytes - Click Count (0) -
fastapi/utils.py
# Cache for `create_cloned_field` _CLONED_TYPES_CACHE: MutableMapping[type[BaseModel], type[BaseModel]] = ( WeakKeyDictionary() ) def is_body_allowed_for_status_code(status_code: Union[int, str, None]) -> bool: if status_code is None: return True # Ref: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#patterned-fields-1 if status_code in { "default",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 5.1K bytes - Click Count (0) -
docs/zh/docs/python-types.md
# Python 类型提示简介 **Python 3.6+ 版本**加入了对"类型提示"的支持。 这些**"类型提示"**是一种新的语法(在 Python 3.6 版本加入)用来声明一个变量的<abbr title="例如:str、int、float、bool">类型</abbr>。 通过声明变量的类型,编辑器和一些工具能给你提供更好的支持。 这只是一个关于 Python 类型提示的**快速入门 / 复习**。它仅涵盖与 **FastAPI** 一起使用所需的最少部分...实际上只有很少一点。 整个 **FastAPI** 都基于这些类型提示构建,它们带来了许多优点和好处。 但即使你不会用到 **FastAPI**,了解一下类型提示也会让你从中受益。 /// note 如果你已经精通 Python,并且了解关于类型提示的一切知识,直接跳到下一章节吧。 /// ## 动机 让我们从一个简单的例子开始:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Aug 18 06:34:40 GMT 2025 - 8.6K bytes - Click Count (0) -
docs_src/schema_extra_example/tutorial001_py310.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 646 bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomPointerFactory.java
import org.apache.maven.api.xml.XmlNode; /** * A node pointer factory for JXPath to support <code>Xpp3Dom</code>. * */ public class Xpp3DomPointerFactory implements NodePointerFactory { @Override public int getOrder() { return 200; } @Override public NodePointer createNodePointer(QName name, Object object, Locale locale) { if (object instanceof org.codehaus.plexus.util.xml.Xpp3Dom xpp3Dom) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2K bytes - Click Count (0) -
docs/en/docs/python-types.md
You would do the same to declare `tuple`s and `set`s: {* ../../docs_src/python_types/tutorial007_py39.py hl[1] *} This means: * The variable `items_t` is a `tuple` with 3 items, an `int`, another `int`, and a `str`. * The variable `items_s` is a `set`, and each of its items is of type `bytes`. #### Dict { #dict } To define a `dict`, you pass 2 type parameters, separated by commas.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 15.6K bytes - Click Count (0) -
docs_src/schema_extra_example/tutorial003_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 612 bytes - Click Count (0) -
docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md
...它与我们以前的 `common_parameters` 具有相同的参数: {* ../../docs_src/dependencies/tutorial001_py310.py hl[6] *} 这些参数就是 **FastAPI** 用来 "处理" 依赖项的。 在两个例子下,都有: * 一个可选的 `q` 查询参数,是 `str` 类型。 * 一个 `skip` 查询参数,是 `int` 类型,默认值为 `0`。 * 一个 `limit` 查询参数,是 `int` 类型,默认值为 `100`。 在两个例子下,数据都将被转换、验证、在 OpenAPI schema 上文档化,等等。 ## 使用它 现在,您可以使用这个类来声明你的依赖项了。 {* ../../docs_src/dependencies/tutorial002_py310.py hl[17] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 5.3K bytes - Click Count (0)