Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for typecache (0.1 sec)

  1. src/debug/dwarf/type.go

    // sizes of types. Callers should pass nil for typedefs; this is used
    // for internal recursion.
    func (d *Data) readType(name string, r typeReader, off Offset, typeCache map[Offset]Type, fixups *typeFixer) (Type, error) {
    	if t, ok := typeCache[off]; ok {
    		return t, nil
    	}
    	r.Seek(off)
    	e, err := r.Next()
    	if err != nil {
    		return nil, err
    	}
    	addressSize := r.AddressSize()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  2. src/runtime/heapdump.go

    	// make sure we're done sweeping
    	for _, s := range mheap_.allspans {
    		if s.state.get() == mSpanInUse {
    			s.ensureSwept()
    		}
    	}
    	memclrNoHeapPointers(unsafe.Pointer(&typecache), unsafe.Sizeof(typecache))
    	dwrite(unsafe.Pointer(&dumphdr[0]), uintptr(len(dumphdr)))
    	dumpparams()
    	dumpitabs()
    	dumpobjs()
    	dumpgs()
    	dumpms()
    	dumproots()
    	dumpmemstats(m)
    	dumpmemprof()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. src/go/internal/gcimporter/iimport.go

    		},
    	}
    	defer p.fake.setLines() // set lines for files in fset
    
    	for i, pt := range predeclared {
    		p.typCache[uint64(i)] = pt
    	}
    	// Special handling for "any", whose representation may be changed by the
    	// gotypesalias GODEBUG variable.
    	p.typCache[uint64(len(predeclared))] = types.Universe.Lookup("any").Type()
    
    	pkgList := make([]*types.Package, r.uint64())
    	for i := range pkgList {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. tensorflow/cc/saved_model/fingerprinting_utils.cc

              switch (key.type_case()) {
                case ::tensorflow::proto_splitter::FieldIndex::MapKey::TypeCase::kS:
                  if (chunked_key.has_s() && chunked_key.s() == key.s()) {
                    matches += 1;
                  }
                  break;
                case ::tensorflow::proto_splitter::FieldIndex::MapKey::TypeCase::
                    kBoolean:
                  if (chunked_key.has_boolean() &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/mod/sumdb/client.go

    	verifiers  note.Verifiers // accepted verifiers (just one, but Verifiers for note.Open)
    	tileReader tileReader
    	tileHeight int
    	nosumdb    string
    
    	record    parCache // cache of record lookup, keyed by path@vers
    	tileCache parCache // cache of c.readTile, keyed by tile
    
    	latestMu  sync.Mutex
    	latest    tlog.Tree // latest known tree head
    	latestMsg []byte    // encoded signed note for latest
    
    	tileSavedMu sync.Mutex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:50:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  6. pkg/ledger/smt.go

    	}
    	s := &smt{
    		hash:              hash,
    		trieHeight:        len(hash([]byte("height"))) * 8, // hash any string to get output length
    		retentionDuration: retentionDuration,
    	}
    	s.db = &cacheDB{
    		updatedNodes: byteCache{cache: updateCache},
    	}
    	s.loadDefaultHashes()
    	return s
    }
    
    func (s *smt) Root() []byte {
    	s.rootMu.RLock()
    	defer s.rootMu.RUnlock()
    	return s.root
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 14K bytes
    - Viewed (0)
Back to top