Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,183 for methods_ (0.21 sec)

  1. src/go/types/lookup.go

    // field or method. If addressable is set, T is the type of an addressable
    // variable (only matters for method lookups). T must not be nil.
    //
    // The last index entry is the field or method index in the (possibly embedded)
    // type where the entry was found, either:
    //
    //  1. the list of declared methods of a named type; or
    //  2. the list of all methods (method set) of an interface type; or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. src/internal/reflectlite/type.go

    						continue
    					}
    				}
    				if i++; i >= len(t.Methods) {
    					return true
    				}
    			}
    		}
    		return false
    	}
    
    	v := V.Uncommon()
    	if v == nil {
    		return false
    	}
    	i := 0
    	vmethods := v.Methods()
    	for j := 0; j < int(v.Mcount); j++ {
    		tm := &t.Methods[i]
    		tmName := rT.nameOff(tm.Name)
    		vm := vmethods[j]
    		vmName := rV.nameOff(vm.Name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top