Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 957 for methods_ (0.16 sec)

  1. tensorflow/c/eager/c_api.cc

          : tensorflow::CustomDeviceTensorHandle(context, device, dtype),
            data_(data),
            methods_(methods) {}
    
      ~CAPICustomDeviceTensorHandle() override { methods_.deallocator(data_); }
      void* DevicePointer() const override { return data_; }
      Status NumDims(int* num_dims) const override {
        TF_Status s;
        *num_dims = methods_.num_dims(data_, &s);
        return s.status;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/unify.go

    				}
    				p = p.prev
    			}
    			// The method set of x must be a subset of the method set
    			// of y or vice versa, and the common methods must unify.
    			xmethods := xset.methods
    			ymethods := yset.methods
    			// The smaller method set must be the subset, if it exists.
    			if len(xmethods) > len(ymethods) {
    				xmethods, ymethods = ymethods, xmethods
    			}
    			// len(xmethods) <= len(ymethods)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. src/go/doc/reader.go

    // ----------------------------------------------------------------------------
    // function/method sets
    //
    // Internally, we treat functions like methods and collect them in method sets.
    
    // A methodSet describes a set of methods. Entries where Decl == nil are conflict
    // entries (more than one method with the same name at the same embedding level).
    type methodSet map[string]*Func
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            MethodDoc method1 = methodDoc('methodName', id: 'methodId', returnType: 'ReturnType', description: 'method description', comment: 'method comment')
            BlockDoc block1 = blockDoc('blockName', id: 'blockId', type: 'org.gradle.Type', description: 'block description', comment: 'block comment')
            _ * classDoc.classProperties >> [property1]
            _ * classDoc.classMethods >> [method1]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
  5. src/net/rpc/server.go

    	methods := make(map[string]*methodType)
    	for m := 0; m < typ.NumMethod(); m++ {
    		method := typ.Method(m)
    		mtype := method.Type
    		mname := method.Name
    		// Method must be exported.
    		if !method.IsExported() {
    			continue
    		}
    		// Method needs three ins: receiver, *args, *reply.
    		if mtype.NumIn() != 3 {
    			if logErr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/typeset.go

    	})
    }
    
    // NumMethods returns the number of methods available.
    func (s *_TypeSet) NumMethods() int { return len(s.methods) }
    
    // Method returns the i'th method of type set s for 0 <= i < s.NumMethods().
    // The methods are ordered by their unique ID.
    func (s *_TypeSet) Method(i int) *Func { return s.methods[i] }
    
    // LookupMethod returns the index of and method with matching package and name, or (-1, nil).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. src/go/types/typeset.go

    	})
    }
    
    // NumMethods returns the number of methods available.
    func (s *_TypeSet) NumMethods() int { return len(s.methods) }
    
    // Method returns the i'th method of type set s for 0 <= i < s.NumMethods().
    // The methods are ordered by their unique ID.
    func (s *_TypeSet) Method(i int) *Func { return s.methods[i] }
    
    // LookupMethod returns the index of and method with matching package and name, or (-1, nil).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

                // now get the 'public method', the method declared by a
                // public interface or class (because the actual implementing
                // class may be a facade...)
    
                Method publicMethod = getPublicMethod(method);
    
                // it is entirely possible that there is no public method for
                // the methods of this class (i.e. in the facade, a method
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/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: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  10. 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)
Back to top