Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,914 for TTypes (0.1 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go

    				switch u.Kind() {
    				case types.Byte, types.Rune, types.UntypedRune:
    					continue
    				}
    				V0 = vt
    				break
    			}
    		}
    
    		if V0 == nil {
    			// No source types are non-byte or rune integer types.
    			return
    		}
    
    		convertibleToRune := true // if true, we can suggest a fix
    		for _, t := range vtypes {
    			if !types.ConvertibleTo(t, types.Typ[types.Rune]) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. src/runtime/type.go

    		return name{}
    	}
    	base := uintptr(ptrInModule)
    	for md := &firstmoduledata; md != nil; md = md.next {
    		if base >= md.types && base < md.etypes {
    			res := md.types + uintptr(off)
    			if res > md.etypes {
    				println("runtime: nameOff", hex(off), "out of range", hex(md.types), "-", hex(md.etypes))
    				throw("runtime: name offset out of range")
    			}
    			return name{Bytes: (*byte)(unsafe.Pointer(res))}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/gradient_checker.cc

    typename std::enable_if<std::is_floating_point<T>::value>::type SetJacobian(
        typename TTypes<JAC_T>::Matrix* jacobian, const int row, const int col,
        const T& value, const bool expand_by_row) {
      (*jacobian)(row, col) = JAC_T{value};
    }
    
    template <typename T, typename JAC_T>
    typename std::enable_if<is_complex<T>::value>::type SetJacobian(
        typename TTypes<JAC_T>::Matrix* jacobian, const int row, const int col,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/types.go

    // license that can be found in the LICENSE file.
    
    // Package typesinternal provides access to internal go/types APIs that are not
    // yet exported.
    package typesinternal
    
    import (
    	"go/token"
    	"go/types"
    	"reflect"
    	"unsafe"
    )
    
    func SetUsesCgo(conf *types.Config) bool {
    	v := reflect.ValueOf(conf).Elem()
    
    	f := v.FieldByName("go115UsesCgo")
    	if !f.IsValid() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/types.go

    			types.Int16,
    			types.Int32,
    			types.Int64,
    			types.Uint,
    			types.Uint8,
    			types.Uint16,
    			types.Uint32,
    			types.Uint64,
    			types.Uintptr:
    			return m.t&argInt != 0
    
    		case types.UntypedFloat,
    			types.Float32,
    			types.Float64:
    			return m.t&argFloat != 0
    
    		case types.UntypedComplex,
    			types.Complex64,
    			types.Complex128:
    			return m.t&argComplex != 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/types.go

    }
    
    // FieldTypeMap constructs a map of the field and object types nested within a given type.
    func FieldTypeMap(path string, t *DeclType) map[string]*DeclType {
    	if t.IsObject() && t.TypeName() != "object" {
    		path = t.TypeName()
    	}
    	types := make(map[string]*DeclType)
    	buildDeclTypes(path, t, types)
    	return types
    }
    
    func buildDeclTypes(path string, t *DeclType, types map[string]*DeclType) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 18K bytes
    - Viewed (0)
  7. maven-di/src/main/java/org/apache/maven/di/impl/Types.java

            }
        }
    
        /**
         * Returns the most common type among given types
         */
        public static Type getUppermostType(Type[] types) {
            Type result = types[0];
            for (int i = 1; i < types.length; i++) {
                Type type = types[i];
                if (isAssignable(type, result)) {
                    result = type;
                    continue;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  8. src/internal/types/testdata/examples/types.go

    // even if their underlying types are identical. This is sensible because
    // we might still have methods that have different signatures or behave
    // differently depending on the type arguments, and thus we can't possibly
    // consider such types identical. Consequently:
    func _() {
    	xint = xbool // ERROR "assignment"
    }
    
    // Generic types cannot be used without instantiation.
    var _ T // ERROR "cannot use generic type T"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:16:04 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  9. pkg/kubelet/types/types.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package types
    
    import (
    	"net/http"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/cri-client/pkg/logs"
    )
    
    // TODO: Reconcile custom types in kubelet/types and this subpackage
    
    // HTTPDoer encapsulates http.Do functionality
    type HTTPDoer interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. pkg/proto/types.go

    // limitations under the License.
    
    package proto
    
    import (
    	wrappers "google.golang.org/protobuf/types/known/wrapperspb"
    )
    
    var (
    	// BoolTrue is a bool true pointer of types.BoolValue.
    	BoolTrue = &wrappers.BoolValue{
    		Value: true,
    	}
    
    	// BoolFalse is a bool false pointer of types.BoolValue.
    	BoolFalse = &wrappers.BoolValue{
    		Value: false,
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 19 21:53:59 UTC 2021
    - 902 bytes
    - Viewed (0)
Back to top