Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ignorerCache (0.12 sec)

  1. src/encoding/gob/decoder.go

    	wireType     map[typeId]*wireType                    // map from remote ID to local description
    	decoderCache map[reflect.Type]map[typeId]**decEngine // cache of compiled engines
    	ignorerCache map[typeId]**decEngine                  // ditto for ignored objects
    	freeList     *decoderState                           // list of free decoderStates; avoids reallocation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. src/encoding/gob/decode.go

    func (dec *Decoder) getIgnoreEnginePtr(wireId typeId) (enginePtr **decEngine, err error) {
    	var ok bool
    	if enginePtr, ok = dec.ignorerCache[wireId]; !ok {
    		// To handle recursive types, mark this engine as underway before compiling.
    		enginePtr = new(*decEngine)
    		dec.ignorerCache[wireId] = enginePtr
    		wire := dec.wireType[wireId]
    		if wire != nil && wire.StructT != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
Back to top