Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,789 for ExampleF (0.18 sec)

  1. src/testing/testing.go

    //	    // 3
    //	    // 0
    //	}
    //
    // Example functions without output comments are compiled but not executed.
    //
    // The naming convention to declare examples for the package, a function F, a type T and
    // method M on type T are:
    //
    //	func Example() { ... }
    //	func ExampleF() { ... }
    //	func ExampleT() { ... }
    //	func ExampleT_M() { ... }
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    	ExampleExpansion
    }
    
    // examples implements ExampleInterface
    type examples struct {
    	client rest.Interface
    	ns     string
    }
    
    // newExamples returns a Examples
    func newExamples(c *CrV1Client, namespace string) *examples {
    	return &examples{
    		client: c.RESTClient(),
    		ns:     namespace,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/informers/externalversions/cr/v1/example.go

    import (
    	"context"
    	time "time"
    
    	crv1 "k8s.io/apiextensions-apiserver/examples/client-go/pkg/apis/cr/v1"
    	versioned "k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned"
    	internalinterfaces "k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/informers/externalversions/internalinterfaces"
    	v1 "k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/listers/cr/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 08 02:16:47 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. docs/em/docs/tutorial/schema-extra-example.md

    , 👐 `example` 🚫 🍕 🎻 🔗, ⚫️ 🍕 🗄 🛃 ⏬ 🎻 🔗, & 👈 ⚫️❔ 🔜 ⚙️ 🩺 🎚.
    
    ✋️ 🕐❔ 👆 ⚙️ `example` ⚖️ `examples` ⏮️ 🙆 🎏 🚙 (`Query()`, `Body()`, ♒️.) 📚 🖼 🚫 🚮 🎻 🔗 👈 🔬 👈 💽 (🚫 🗄 👍 ⏬ 🎻 🔗), 👫 🚮 🔗 *➡ 🛠️* 📄 🗄 (🏞 🍕 🗄 👈 ⚙️ 🎻 🔗).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. 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)
Back to top