Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,056 for Example (0.31 sec)

  1. src/go/doc/example.go

    //     or Foo (with a "bar" suffix).
    //
    // Examples with malformed names are not associated with anything.
    func classifyExamples(p *Package, examples []*Example) {
    	if len(examples) == 0 {
    		return
    	}
    	// Mapping of names for funcs, types, and methods to the example listing.
    	ids := make(map[string]*[]*Example)
    	ids[""] = &p.Examples // package-level examples have an empty name
    	for _, f := range p.Funcs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/schema-extra-example.md

    Итак, хотя поле `example` не является частью JSON-схемы, оно является частью настраиваемой версии JSON-схемы в OpenAPI, и именно это поле будет использоваться в UI документации.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/schema-extra-example.md

    Vor OpenAPI 3.1.0 verwendete OpenAPI eine ältere und modifizierte Version von **JSON Schema**.
    
    JSON Schema hatte keine `examples`, daher fügte OpenAPI seiner eigenen modifizierten Version ein eigenes `example`-Feld hinzu.
    
    OpenAPI fügte auch die Felder `example` und `examples` zu anderen Teilen der Spezifikation hinzu:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:19:53 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/schema-extra-example.md

        You can read more at the end of this page.
    
    ## `Field` additional arguments
    
    When using `Field()` with Pydantic models, you can also declare additional `examples`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="2  8-11"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy

            assertTestExecuted(className: "example.MyTest", methodName: "foo", task: ":test")
            assertTestExecuted(className: "example.MyTest", methodName: "foo", task: ":secondTest")
            assertTestExecuted(className: "example.MyTest", methodName: "foo2", task: ":test")
            assertTestExecuted(className: "example.MyTest", methodName: "foo2", task: ":secondTest")
            if (supportsEfficientClassFiltering()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r27/TestLauncherCrossVersionSpec.groovy

            assertTestExecuted(className: "example.MyFailingTest", methodName: "fail2", task: ":secondTest")
            def e = thrown(TestExecutionException)
            normaliseLineSeparators(e.cause.message) == """Test failed.
        Failed tests:
            Test example.MyFailingTest#fail (Task: :secondTest)
            Test example.MyFailingTest#fail2 (Task: :secondTest)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/appendixa_test.go

    		fixme string
    	}{
    		{
    			example: hex("00"),
    			decoded: int64(0),
    		},
    		{
    			example: hex("01"),
    			decoded: int64(1),
    		},
    		{
    			example: hex("0a"),
    			decoded: int64(10),
    		},
    		{
    			example: hex("17"),
    			decoded: int64(23),
    		},
    		{
    			example: hex("1818"),
    			decoded: int64(24),
    		},
    		{
    			example: hex("1819"),
    			decoded: int64(25),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 15 18:59:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. fastapi/params.py

            **extra: Any,
        ):
            if example is not _Unset:
                warnings.warn(
                    "`example` has been deprecated, please use `examples` instead",
                    category=DeprecationWarning,
                    stacklevel=4,
                )
            self.example = example
            self.include_in_schema = include_in_schema
            self.openapi_examples = openapi_examples
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/dra/state/state_checkpoint_test.go

    			"",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. src/net/mail/message_test.go

    	badTests := []string{
    		`<Abc.example.com>`,
    		`<A@b@c@example.com>`,
    		`<a"b(c)d,e:f;g<h>i[j\k]l@example.com>`,
    		`<just"not"right@example.com>`,
    		`<this is"not\allowed@example.com>`,
    		`<this\ still\"not\\allowed@example.com>`,
    		`<john..doe@example.com>`,
    		`<john.doe@example..com>`,
    		`<john.doe@example..com>`,
    		`<john.doe.@example.com>`,
    		`<john.doe.@.example.com>`,
    		`<******@****.***>`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 30.4K bytes
    - Viewed (0)
Back to top