Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,079 for methods_ (0.25 sec)

  1. src/reflect/type.go

    // NumMethod returns the number of interface methods in the type's method set.
    func (t *interfaceType) NumMethod() int { return len(t.Methods) }
    
    // MethodByName method with the given name in the type's method set.
    func (t *interfaceType) MethodByName(name string) (m Method, ok bool) {
    	if t == nil {
    		return
    	}
    	var p *abi.Imethod
    	for i := range t.Methods {
    		p = &t.Methods[i]
    		if t.nameOff(p.Name).Name() == name {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  2. src/net/http/routing_tree.go

    }
    
    // matchingMethods adds to methodSet all the methods that would result in a
    // match if passed to routingNode.match with the given host and path.
    func (root *routingNode) matchingMethods(host, path string, methodSet map[string]bool) {
    	if host != "" {
    		root.findChild(host).matchingMethodsPath(path, methodSet)
    	}
    	root.emptyChild.matchingMethodsPath(path, methodSet)
    	if methodSet["GET"] {
    		methodSet["HEAD"] = true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:43:24 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/object.go

    //
    // The result is nil for methods of types in the Universe scope,
    // like method Error of the error built-in interface type.
    func (obj *Func) Pkg() *Package { return obj.object.Pkg() }
    
    // hasPtrRecv reports whether the receiver is of the form *T for the given method obj.
    func (obj *Func) hasPtrRecv() bool {
    	// If a method's receiver type is set, use that as the source of truth for the receiver.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        } else if (isWaitFor(method)) {
          assertTrue(desc, isGuarded(method));
          assertEquals(desc, isTimed(method), isBoolean(method));
        } else { // any other enterXxx method
          assertEquals(desc, isTimed(method), isBoolean(method));
        }
      }
    
      /** Generates all test cases appropriate for the given method. */
      private static void addTests(TestSuite suite, Method method) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. src/go/types/object.go

    //
    // The result is nil for methods of types in the Universe scope,
    // like method Error of the error built-in interface type.
    func (obj *Func) Pkg() *Package { return obj.object.Pkg() }
    
    // hasPtrRecv reports whether the receiver is of the form *T for the given method obj.
    func (obj *Func) hasPtrRecv() bool {
    	// If a method's receiver type is set, use that as the source of truth for the receiver.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  6. src/os/types.go

    import (
    	"io/fs"
    	"syscall"
    )
    
    // Getpagesize returns the underlying system's memory page size.
    func Getpagesize() int { return syscall.Getpagesize() }
    
    // File represents an open file descriptor.
    //
    // The methods of File are safe for concurrent use.
    type File struct {
    	*file // os specific
    }
    
    // A FileInfo describes a file and is returned by [Stat] and [Lstat].
    type FileInfo = fs.FileInfo
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          assertTrue(desc, isBoolean(method));
          assertFalse(desc, isInterruptible(method));
        } else if (isWaitFor(method)) {
          assertTrue(desc, isGuarded(method));
          assertEquals(desc, isTimed(method), isBoolean(method));
        } else { // any other enterXxx method
          assertEquals(desc, isTimed(method), isBoolean(method));
        }
      }
    
      /** Generates all test cases appropriate for the given method. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/request-files.md

    `UploadFile` hat die folgenden `async`hronen Methoden. Sie alle rufen die entsprechenden Methoden des darunterliegenden Datei-Objekts auf (wobei intern `SpooledTemporaryFile` verwendet wird).
    
    * `write(daten)`: Schreibt `daten` (`str` oder `bytes`) in die Datei.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 17:58:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. cmd/api-router.go

    		api:     "website",
    		methods: []string{http.MethodPut},
    		queries: []string{"website", ""},
    	},
    	{
    		api:     "logging",
    		methods: []string{http.MethodPut, http.MethodDelete},
    		queries: []string{"logging", ""},
    	},
    	{
    		api:     "accelerate",
    		methods: []string{http.MethodPut, http.MethodDelete},
    		queries: []string{"accelerate", ""},
    	},
    	{
    		api:     "requestPayment",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/selection.go

    // package-level objects, and may be nil.
    //
    // Examples:
    //
    //	"field (T) f int"
    //	"method (T) f(X) Y"
    //	"method expr (T) f(X) Y"
    func SelectionString(s *Selection, qf Qualifier) string {
    	var k string
    	switch s.kind {
    	case FieldVal:
    		k = "field "
    	case MethodVal:
    		k = "method "
    	case MethodExpr:
    		k = "method expr "
    	default:
    		panic("unreachable")
    	}
    	var buf bytes.Buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top