- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,687 for methods_ (0.34 sec)
-
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) -
src/go/types/methodset.go
// This file implements method sets. package types import ( "fmt" "sort" "strings" ) // A MethodSet is an ordered set of concrete or abstract (interface) methods; // a method is a [MethodVal] selection, and they are ordered by ascending m.Obj().Id(). // The zero value for a MethodSet is a ready-to-use empty method set. type MethodSet struct { list []*Selection }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 7.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/MethodSet.java
public void add(Method method) { MethodKey key = new MethodKey(method); Method current = methods.get(key); if (current == null || shouldReplace(current, method)) { // Prefer implementation methods over abstract or bridge methods methods.put(key, method); } } private boolean shouldReplace(Method current, Method method) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/Methods.java
protected int doHash(Method method) { return new HashCodeBuilder() .append(method.getName()) .append(method.getParameterTypes()) .toHashCode(); } }; /** * Equivalence of methods based on method name, the number, type and order of parameters, and return types. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.7K bytes - Viewed (0) -
src/internal/types/testdata/examples/methods.go
// This file shows some examples of methods on type-parameterized types. package p // Parameterized types may have methods. type T1[A any] struct{ a A } // When declaring a method for a parameterized type, the "instantiated" // receiver type acts as an implicit declaration of the type parameters // for the receiver type. In the example below, method m1 on type T1 has
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 5K bytes - Viewed (0) -
test/method1.go
// errorcheck // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Verify that method redeclarations are caught by the compiler. // Does not compile. package main type T struct{} func (t *T) M(int, string) // GCCGO_ERROR "previous" func (t *T) M(int, float64) {} // ERROR "already declared|redefinition"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 21:59:19 UTC 2022 - 739 bytes - Viewed (0) -
test/method2.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 10 22:48:40 UTC 2022 - 1.2K bytes - Viewed (0) -
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) -
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) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/invalid/httproute/invalid-method.yaml
apiVersion: gateway.networking.k8s.io/v1beta1 kind: HTTPRoute metadata: name: invalid-method spec: rules: - matches:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 17:15:18 UTC 2023 - 145 bytes - Viewed (0)