Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 99 for stdlib (0.07 seconds)

  1. docs/pt/docs/advanced/dataclasses.md

    {* ../../docs_src/dataclasses_/tutorial001_py310.py hl[1,6:11,18:19] *}
    
    Isso ainda é suportado graças ao **Pydantic**, pois ele tem <a href="https://docs.pydantic.dev/latest/concepts/dataclasses/#use-of-stdlib-dataclasses-with-basemodel" class="external-link" target="_blank">suporte interno para `dataclasses`</a>.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. docs/es/docs/advanced/dataclasses.md

    {* ../../docs_src/dataclasses_/tutorial001_py310.py hl[1,6:11,18:19] *}
    
    Esto sigue siendo soportado gracias a **Pydantic**, ya que tiene <a href="https://docs.pydantic.dev/latest/concepts/dataclasses/#use-of-stdlib-dataclasses-with-basemodel" class="external-link" target="_blank">soporte interno para `dataclasses`</a>.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. docs/zh/docs/advanced/dataclasses.md

    {* ../../docs_src/dataclasses_/tutorial001.py hl[1,7:12,19:20] *}
    
    这还是借助于 **Pydantic** 及其<a href="https://pydantic-docs.helpmanual.io/usage/dataclasses/#use-of-stdlib-dataclasses-with-basemodel" class="external-link" target="_blank">内置的 `dataclasses`</a>。
    
    因此,即便上述代码没有显式使用 Pydantic,FastAPI 仍会使用 Pydantic 把标准数据类转换为 Pydantic 数据类(`dataclasses`)。
    
    并且,它仍然支持以下功能:
    
    * 数据验证
    * 数据序列化
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  4. internal/s3select/json/record.go

    func NewRecord(f sql.SelectObjectFormat) *Record {
    	return &Record{
    		KVS:          jstream.KVS{},
    		SelectFormat: f,
    	}
    }
    
    // jsonFloat converts a float to string similar to Go stdlib formats json floats.
    func jsonFloat(f float64) string {
    	var tmp [32]byte
    	dst := tmp[:0]
    
    	// Convert as if by ES6 number to string conversion.
    	// This matches most other JSON generators.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. internal/kms/context.go

    		b.WriteString(`":"`)
    		escapeStringJSON(b, c[k])
    		b.WriteByte('"')
    		if i < len(sortedKeys)-1 {
    			b.WriteByte(',')
    		}
    	}
    	b.WriteByte('}')
    	return b.Bytes(), nil
    }
    
    // Adapted from Go stdlib.
    
    var hexTable = "0123456789abcdef"
    
    // escapeStringJSON will escape a string for JSON and write it to dst.
    func escapeStringJSON(dst *bytes.Buffer, s string) {
    	start := 0
    	for i := 0; i < len(s); {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 6K bytes
    - Click Count (0)
  6. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/suppressions.xml

    <suppressions>
        <!-- These packages are duplicated in core-api, don't require a package-info.java in each place -->
        <suppress checks="JavadocPackage"
                  files=".*[/\\]stdlib-java-extensions[/\\]src[/\\]main[/\\]java[/\\]org[/\\]gradle[/\\]api[/\\][^/\\]+"/>
        <suppress checks="JavadocPackage"
                  files=".*[/\\]model-core[/\\]src[/\\]main[/\\]java[/\\]org[/\\]gradle[/\\]api[/\\][^/\\]+"/>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Feb 20 19:05:31 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  7. okhttp/build.gradle.kts

          kotlin.srcDir(copyKotlinTemplates.map { it.outputs })
          kotlin.srcDir(generateIdnaMappingTable.map { it.outputs })
    
          dependencies {
            api(libs.squareup.okio)
            api(libs.kotlin.stdlib)
    
            compileOnly(libs.animalsniffer.annotations)
          }
        }
    
        commonTest {
          dependencies {
            implementation(projects.okhttpTestingSupport)
            implementation(libs.assertk)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                                mavenCentral()
                            }
                            dependencies {
                                "implementation"(gradleApi())
                                "implementation"(kotlin("stdlib"))
                                // TODO remove once JSpecify is part of the Gradle API
                                "implementation"("org.jspecify:jspecify:1.0.0")
                            }
                        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 18K bytes
    - Click Count (0)
  9. cmd/postpolicyform.go

    		ContentLengthRange contentLengthRange
    	}
    }
    
    // implemented to ensure that duplicate keys in JSON
    // are merged together into a single JSON key, also
    // to remove any extraneous JSON bodies.
    //
    // Go stdlib doesn't support parsing JSON with duplicate
    // keys, so we need to use this technique to merge the
    // keys.
    func sanitizePolicy(r io.Reader) (io.Reader, error) {
    	var buf bytes.Buffer
    	e := json.NewEncoder(&buf)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Oct 23 15:10:12 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  10. misc/cgo/gmp/gmp.go

    hand a Go pointer to C code but must separately arrange for
    Go to hang on to a reference to the pointer until C is done with it.
    */
    package gmp
    
    /*
    #cgo LDFLAGS: -lgmp
    #include <gmp.h>
    #include <stdlib.h>
    
    // gmp 5.0.0+ changed the type of the 3rd argument to mp_bitcnt_t,
    // so, to support older versions, we wrap these two functions.
    void _mpz_mul_2exp(mpz_ptr a, mpz_ptr b, unsigned long n) {
    	mpz_mul_2exp(a, b, n);
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Click Count (0)
Back to Top