Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for singletonValue (0.14 sec)

  1. src/encoding/gob/debug.go

    }
    
    // Value:
    //
    //	SingletonValue | StructValue
    func (deb *debugger) value(indent tab, id typeId) {
    	wire, ok := deb.wireType[id]
    	if ok && wire.StructT != nil {
    		deb.structValue(indent, id)
    	} else {
    		deb.singletonValue(indent, id)
    	}
    }
    
    // SingletonValue:
    //
    //	uint(0) FieldValue
    func (deb *debugger) singletonValue(indent tab, id typeId) {
    	deb.dump("Singleton value")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 09:34:41 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  2. src/encoding/gob/doc.go

    DelimitedTypeDefinition:
    	uint(lengthOfTypeDefinition) TypeDefinition
    TypedValue:
    	int(typeId) Value
    TypeDefinition:
    	int(-typeId) encodingOfWireType
    Value:
    	SingletonValue | StructValue
    SingletonValue:
    	uint(0) FieldValue
    FieldValue:
    	builtinValue | ArrayValue | MapValue | SliceValue | StructValue | InterfaceValue
    InterfaceValue:
    	NilInterfaceValue | NonNilInterfaceValue
    NilInterfaceValue:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top