Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 99 for Dtype (0.04 sec)

  1. src/cmd/compile/internal/types2/signature.go

    	if list == nil {
    		return
    	}
    
    	var named, anonymous bool
    
    	var typ Type
    	var prev syntax.Expr
    	for i, field := range list {
    		ftype := field.Type
    		// type-check type of grouped fields only once
    		if ftype != prev {
    			prev = ftype
    			if t, _ := ftype.(*syntax.DotsType); t != nil {
    				ftype = t.Elem
    				if variadicOk && i == len(list)-1 {
    					variadic = true
    				} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. src/net/http/fs.go

    	if done {
    		return
    	}
    
    	code := StatusOK
    
    	// If Content-Type isn't set, use the file's extension to find it, but
    	// if the Content-Type is unset explicitly, do not sniff the type.
    	ctypes, haveType := w.Header()["Content-Type"]
    	var ctype string
    	if !haveType {
    		ctype = mime.TypeByExtension(filepath.Ext(name))
    		if ctype == "" {
    			// read a chunk to decide between utf-8 text and binary
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  3. src/runtime/cgocall.go

    // depending on indir. The top parameter is whether we are at the top
    // level, where Go pointers are allowed. Go pointers to pinned objects are
    // allowed as long as they don't reference other unpinned pointers.
    func cgoCheckArg(t *_type, p unsafe.Pointer, indir, top bool, msg string) {
    	if !t.Pointers() || p == nil {
    		// If the type has no pointers there is nothing to do.
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  4. src/runtime/heapdump.go

    // have been serialized so far, most recently used first.
    // Note: when a bucket overflows we may end up
    // serializing a type more than once. That's ok.
    const (
    	typeCacheBuckets = 256
    	typeCacheAssoc   = 4
    )
    
    type typeCacheBucket struct {
    	t [typeCacheAssoc]*_type
    }
    
    var typecache [typeCacheBuckets]typeCacheBucket
    
    // dump a uint64 in a varint format parseable by encoding/binary.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/runtime/syscall_windows.go

    }
    
    // tryRegAssignArg tries to register-assign a value of type t.
    // If this type is nested in an aggregate type, then offset is the
    // offset of this type within its parent type.
    // Assumes t.size <= goarch.PtrSize and t.size != 0.
    //
    // Returns whether the assignment succeeded.
    func (p *abiDesc) tryRegAssignArg(t *_type, offset uintptr) bool {
    	switch k := t.Kind_ & abi.KindMask; k {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

        Location loc = graph_func.getLoc();
        FunctionType ftype = graph_func.getFunctionType();
    
        func::FuncOp func = rewriter.create<func::FuncOp>(
            graph_func.getLoc(),
            graph_func->getAttrOfType<StringAttr>(SymbolTable::getSymbolAttrName())
                .getValue(),
            ftype);
    
        func->setAttrs(graph_func->getAttrs());
    
        llvm::SmallVector<Type> arg_types;
        llvm::SmallVector<Type> res_types;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

          assert(while_caller.body_function() == func);
          while_callers.push_back(while_caller);
        }
      }
      return while_callers;
    }
    
    bool IsResourceType(Type type) {
      return mlir::isa<TF::ResourceType>(getElementTypeOrSelf(type));
    }
    
    bool OnlyOperatesOnCompositeDevices(
        TF::TPUExecuteAndUpdateVariablesOp& op,
        const TF::SideEffectAnalysis::Info& side_effect_analysis,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  8. src/runtime/runtime1.go

    }
    
    // reflectlite_resolveTypeOff resolves an *rtype offset from a base type.
    //
    //go:linkname reflectlite_resolveTypeOff internal/reflectlite.resolveTypeOff
    func reflectlite_resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer {
    	return unsafe.Pointer(toRType((*_type)(rtype)).typeOff(typeOff(off)))
    }
    
    // reflect_addReflectOff adds a pointer to the reflection offset lookup map.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. src/go/doc/reader.go

    // predeclared) type. The namedType for a type name is always found via
    // reader.lookupType.
    type namedType struct {
    	doc  string       // doc comment for type
    	name string       // type name
    	decl *ast.GenDecl // nil if declaration hasn't been seen yet
    
    	isEmbedded bool        // true if this type is embedded
    	isStruct   bool        // true if this type is a struct
    	embedded   embeddedSet // true if the embedded type is a pointer
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  10. src/go/internal/gcimporter/gcimporter_test.go

    	{"io.ReadWriter", "type ReadWriter interface{Reader; Writer}"},
    	{"go/ast.Node", "type Node interface{End() go/token.Pos; Pos() go/token.Pos}"},
    	{"go/types.Type", "type Type interface{String() string; Underlying() Type}"},
    }
    
    func TestImportedTypes(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    
    	// This package only handles gc export data.
    	if runtime.Compiler != "gc" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top