Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 632 for methods_ (0.21 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. testing/architecture-test/src/changes/archunit-store/configuration-factory-methods.txt

    Method <org.gradle.api.plugins.BasePlugin.configureConfigurations(org.gradle.api.Project)> calls method <org.gradle.api.internal.artifacts.configurations.RoleBasedConfigurationContainerInternal.maybeCreateConsumableUnlocked(java.lang.String)> in (BasePlugin.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/internal/types/testdata/check/decls2/decls2a.go

    func (a, b, c /* ERROR "method has multiple receivers" */ T3) _() {}
    
    // Methods associated with non-local or unnamed types.
    func (int /* ERROR "cannot define new methods on non-local type int" */ ) m() {}
    func ([ /* ERROR "invalid receiver" */ ]int) m() {}
    func (time /* ERROR "cannot define new methods on non-local type time.Time" */ .Time) m() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. testing/architecture-test/src/changes/archunit-store/public-api-methods-return-allowed-types.txt

    Method <org.gradle.api.DefaultTask.configure(groovy.lang.Closure)> has arguments/return type groovy.lang.Closure that is not Gradle public API or primitive or built-in JDK classes or Kotlin classes in (DefaultTask.java:0)
    Method <org.gradle.api.DefaultTask.configure(groovy.lang.Closure)> has arguments/return type groovy.lang.Closure that is not Gradle public API or primitive or built-in JDK classes or Kotlin classes in (DefaultTask.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:21:31 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top