- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,144 for examplev1 (0.69 sec)
-
src/testing/example.go
func RunExamples(matchString func(pat, str string) (bool, error), examples []InternalExample) (ok bool) { _, ok = runExamples(matchString, examples) return ok } func runExamples(matchString func(pat, str string) (bool, error), examples []InternalExample) (ran, ok bool) { ok = true m := newMatcher(matchString, *match, "-test.run", *skip) var eg InternalExample for _, eg = range examples { _, matched, _ := m.fullName(nil, eg.Name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 2.8K bytes - Viewed (0) -
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) -
src/go/doc/testdata/example.go
F func() Output string } func RunExamples(examples []InternalExample) (ok bool) { ok = true var eg InternalExample stdout, stderr := os.Stdout, os.Stderr defer func() { os.Stdout, os.Stderr = stdout, stderr if e := recover(); e != nil { fmt.Printf("--- FAIL: %s\npanic: %v\n", eg.Name, e) os.Exit(1) } }() for _, eg = range examples { if *chatty { fmt.Printf("=== RUN: %s\n", eg.Name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Oct 02 02:28:27 UTC 2022 - 1.6K bytes - Viewed (0) -
src/reflect/internal/example2/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 example2 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) -
docs/pt/docs/tutorial/schema-extra-example.md
<img src="/img/tutorial/body-fields/image01.png"> ### `Body` com vários `examples` Alternativamente ao único `example`, você pode passar `examples` usando um `dict` com **vários examples**, cada um com informações extras que serão adicionadas no **OpenAPI** também. As chaves do `dict` identificam cada exemplo, e cada valor é outro `dict`. Cada `dict` de exemplo específico em `examples` pode conter: * `summary`: Pequena descrição do exemplo.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 6.1K bytes - Viewed (0) -
docs/en/docs/tutorial/schema-extra-example.md
This **OpenAPI-specific** `examples` goes in another section in the OpenAPI specification. It goes in the **details for each *path operation***, not inside each JSON Schema. And Swagger UI has supported this particular `examples` field for a while. So, you can use it to **show** different **examples in the docs UI**.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 11.8K bytes - Viewed (0) -
docs/ja/docs/tutorial/schema-extra-example.md
そのため、OpenAPIでは同じ目的のために<a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#fixed-fields-20" class="external-link" target="_blank">`example`</a>を独自に定義しており(`examples`ではなく`example`として)、それがdocs UI(Swagger UIを使用)で使用されています。 つまり、`example`はJSON Schemaの一部ではありませんが、OpenAPIの一部であり、それがdocs UIで使用されることになります。
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 3K bytes - Viewed (0) -
platforms/documentation/docs-asciidoctor-extensions-base/src/main/java/org/gradle/docs/asciidoctor/ExampleSelfLinkProcessor.java
String exampleId = example.getId(); if (exampleId == null) { exampleId = IdGenerator.generateId(ID_PREFIX + title); example.setId(exampleId); } // Using setTitle() instead of setAttribute(), because the latter has no effect example.setTitle(String.format("link:#%s[%s]", exampleId, title)); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/jvm/language-jvm/src/test/groovy/org/gradle/api/plugins/jvm/internal/JvmComponentDependenciesTest.groovy
implementation(module(group: "com.example", name: "example", version: "2.0")) { // configure dependency } } then: 1 * dependencyFactory.create("com.example", "example", "1.0") >> example 1 * dependencyFactory.create("com.example", "example", "2.0") >> example2
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Dec 16 19:56:35 UTC 2023 - 4.8K bytes - Viewed (0) -
cni/pkg/nodeagent/testdata/localhost.yaml
80: 8080 # Define another local address, but this one uses TCP. This allows testing HBONE and TCP with one config. - uid: cluster1//v1/Pod/default/local-tcp name: local-tcp namespace: default serviceAccount: default workloadIps: ["127.0.0.2"] protocol: TCP node: local network: "" services: "default/example.com": 80: 8080 "default/example2.com": 80: 8080 policies:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1.2K bytes - Viewed (0)