Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,775 for example1 (0.18 sec)

  1. tests/test_openapi_examples.py

        data: str
    
    
    @app.post("/examples/")
    def examples(
        item: Item = Body(
            examples=[
                {"data": "Data in Body examples, example1"},
            ],
            openapi_examples={
                "Example One": {
                    "summary": "Example One Summary",
                    "description": "Example One Description",
                    "value": {"data": "Data in Body examples, example1"},
                },
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 17K bytes
    - Viewed (0)
  2. tests/test_schema_extra_examples.py

                return item
    
        @app.post("/examples/")
        def examples(
            item: Item = Body(
                examples=[
                    {"data": "Data in Body examples, example1"},
                    {"data": "Data in Body examples, example2"},
                ],
            ),
        ):
            return item
    
        with pytest.warns(DeprecationWarning):
    
            @app.post("/example_examples/")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 37.7K bytes
    - Viewed (0)
  3. src/reflect/internal/example1/example.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package example1
    
    type MyStruct struct {
    	MyStructs []MyStruct
    	MyStruct  *MyStruct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 14:05:53 UTC 2022
    - 246 bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/GroupedOutputFixtureTest.groovy

            def consoleOutput = """> Task :example1
    toast
    bacon
    eggs
    toast
    ham
    eggs
    > Task :example2
    toast
    ham
    eggs
    toast
    eggs
    """
            GroupedOutputFixture groupedOutput = new GroupedOutputFixture(LogContent.of(consoleOutput))
    
            when:
            groupedOutput.task(':example1').assertOutputContains("waffles")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    	}
    }
    
    func TestDeviceRunContainerOptions(t *testing.T) {
    	const (
    		podUID        = "pod"
    		containerName = "container"
    		resource1     = "example1.com/resource1"
    		resource2     = "example2.com/resource2"
    	)
    	testCases := []struct {
    		description          string
    		gate                 bool
    		responsesPerResource map[string]*pluginapi.ContainerAllocateResponse
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            data = "<img src=\"http://example/foo.jpg\">" //
                    + "<img src=\"http://example/bar.jpg\">";
            expected = "http://example/foo.jpg";
            assertGetThumbnailUrl(data, expected);
    
            data = "<img src=\"http://example/foo.jpg\">" //
                    + "<img src=\"http://example/bar.jpg\" width=\"100\" height=\"100\">";
            expected = "http://example/bar.jpg";
            assertGetThumbnailUrl(data, expected);
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/route/route_test.go

    		serviceRegistry := map[host.Name]*model.Service{
    			"*.example.org":             exampleWildcardService,
    			"goodbye.hello.example.org": exampleNestedWildcardService,
    		}
    
    		wildcardIndex := map[host.Name]types.NamespacedName{
    			"*.example.org":       virtualServiceWithWildcardHost.NamespacedName(),
    			"*.hello.example.org": virtualServiceWithNestedWildcardHost.NamespacedName(),
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/listener_test.go

    	autoSvc.Resolution = model.Passthrough
    	autoSvc.Attributes.ServiceRegistry = provider.Kubernetes
    
    	extSvc := buildServiceWithPort("example1.com", 9999, protocol.TCP, tnow)
    	extSvc.Resolution = model.Passthrough
    	extSvc.Attributes.ServiceRegistry = provider.External
    
    	extSvcSelector := buildServiceWithPort("example2.com", 9999, protocol.TCP, tnow)
    	extSvcSelector.Resolution = model.Passthrough
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  9. 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)
  10. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/listers/cr/v1/example.go

    }
    
    // Examples returns an object that can list and get Examples.
    func (s *exampleLister) Examples(namespace string) ExampleNamespaceLister {
    	return exampleNamespaceLister{listers.NewNamespaced[*v1.Example](s.ResourceIndexer, namespace)}
    }
    
    // ExampleNamespaceLister helps list and get Examples.
    // All objects returned here must be treated as read-only.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 11:15:04 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top