_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c181900
test
// MustLiveEntry retrieves the LiveEntry value from the union, // panicing if the value is not set.
{ "resource": "" }
c181901
test
// GetLiveEntry retrieves the LiveEntry value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181902
test
// MustDeadEntry retrieves the DeadEntry value from the union, // panicing if the value is not set.
{ "resource": "" }
c181903
test
// GetDeadEntry retrieves the DeadEntry value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181904
test
// NewTransactionHistoryEntryExt creates a new TransactionHistoryEntryExt.
{ "resource": "" }
c181905
test
// ArmForSwitch returns which field name should be used for storing // the value for an instance of TransactionHistoryResultEntryExt
{ "resource": "" }
c181906
test
// NewTransactionHistoryResultEntryExt creates a new TransactionHistoryResultEntryExt.
{ "resource": "" }
c181907
test
// NewLedgerHeaderHistoryEntryExt creates a new LedgerHeaderHistoryEntryExt.
{ "resource": "" }
c181908
test
// NewScpHistoryEntry creates a new ScpHistoryEntry.
{ "resource": "" }
c181909
test
// ValidEnum validates a proposed value for this enum. Implements // the Enum interface for LedgerEntryChangeType
{ "resource": "" }
c181910
test
// ArmForSwitch returns which field name should be used for storing // the value for an instance of LedgerEntryChange
{ "resource": "" }
c181911
test
// NewLedgerEntryChange creates a new LedgerEntryChange.
{ "resource": "" }
c181912
test
// MustCreated retrieves the Created value from the union, // panicing if the value is not set.
{ "resource": "" }
c181913
test
// GetCreated retrieves the Created value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181914
test
// MustUpdated retrieves the Updated value from the union, // panicing if the value is not set.
{ "resource": "" }
c181915
test
// GetUpdated retrieves the Updated value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181916
test
// MustRemoved retrieves the Removed value from the union, // panicing if the value is not set.
{ "resource": "" }
c181917
test
// GetRemoved retrieves the Removed value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181918
test
// MustState retrieves the State value from the union, // panicing if the value is not set.
{ "resource": "" }
c181919
test
// GetState retrieves the State value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181920
test
// NewTransactionMeta creates a new TransactionMeta.
{ "resource": "" }
c181921
test
// MustOperations retrieves the Operations value from the union, // panicing if the value is not set.
{ "resource": "" }
c181922
test
// GetOperations retrieves the Operations value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181923
test
// ValidEnum validates a proposed value for this enum. Implements // the Enum interface for ErrorCode
{ "resource": "" }
c181924
test
// ValidEnum validates a proposed value for this enum. Implements // the Enum interface for IpAddrType
{ "resource": "" }
c181925
test
// ArmForSwitch returns which field name should be used for storing // the value for an instance of PeerAddressIp
{ "resource": "" }
c181926
test
// NewPeerAddressIp creates a new PeerAddressIp.
{ "resource": "" }
c181927
test
// MustIpv4 retrieves the Ipv4 value from the union, // panicing if the value is not set.
{ "resource": "" }
c181928
test
// GetIpv4 retrieves the Ipv4 value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181929
test
// MustIpv6 retrieves the Ipv6 value from the union, // panicing if the value is not set.
{ "resource": "" }
c181930
test
// GetIpv6 retrieves the Ipv6 value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181931
test
// ValidEnum validates a proposed value for this enum. Implements // the Enum interface for MessageType
{ "resource": "" }
c181932
test
// ArmForSwitch returns which field name should be used for storing // the value for an instance of StellarMessage
{ "resource": "" }
c181933
test
// NewStellarMessage creates a new StellarMessage.
{ "resource": "" }
c181934
test
// MustError retrieves the Error value from the union, // panicing if the value is not set.
{ "resource": "" }
c181935
test
// GetError retrieves the Error value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181936
test
// MustHello retrieves the Hello value from the union, // panicing if the value is not set.
{ "resource": "" }
c181937
test
// GetHello retrieves the Hello value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181938
test
// MustAuth retrieves the Auth value from the union, // panicing if the value is not set.
{ "resource": "" }
c181939
test
// GetAuth retrieves the Auth value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181940
test
// MustDontHave retrieves the DontHave value from the union, // panicing if the value is not set.
{ "resource": "" }
c181941
test
// GetDontHave retrieves the DontHave value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181942
test
// MustPeers retrieves the Peers value from the union, // panicing if the value is not set.
{ "resource": "" }
c181943
test
// GetPeers retrieves the Peers value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181944
test
// MustTxSetHash retrieves the TxSetHash value from the union, // panicing if the value is not set.
{ "resource": "" }
c181945
test
// GetTxSetHash retrieves the TxSetHash value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181946
test
// MustTxSet retrieves the TxSet value from the union, // panicing if the value is not set.
{ "resource": "" }
c181947
test
// GetTxSet retrieves the TxSet value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181948
test
// MustTransaction retrieves the Transaction value from the union, // panicing if the value is not set.
{ "resource": "" }
c181949
test
// GetTransaction retrieves the Transaction value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181950
test
// MustQSetHash retrieves the QSetHash value from the union, // panicing if the value is not set.
{ "resource": "" }
c181951
test
// GetQSetHash retrieves the QSetHash value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181952
test
// MustQSet retrieves the QSet value from the union, // panicing if the value is not set.
{ "resource": "" }
c181953
test
// GetQSet retrieves the QSet value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181954
test
// MustEnvelope retrieves the Envelope value from the union, // panicing if the value is not set.
{ "resource": "" }
c181955
test
// GetEnvelope retrieves the Envelope value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181956
test
// MustGetScpLedgerSeq retrieves the GetScpLedgerSeq value from the union, // panicing if the value is not set.
{ "resource": "" }
c181957
test
// GetGetScpLedgerSeq retrieves the GetScpLedgerSeq value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181958
test
// ArmForSwitch returns which field name should be used for storing // the value for an instance of AuthenticatedMessage
{ "resource": "" }
c181959
test
// NewAuthenticatedMessage creates a new AuthenticatedMessage.
{ "resource": "" }
c181960
test
// ValidEnum validates a proposed value for this enum. Implements // the Enum interface for ScpStatementType
{ "resource": "" }
c181961
test
// ArmForSwitch returns which field name should be used for storing // the value for an instance of ScpStatementPledges
{ "resource": "" }
c181962
test
// NewScpStatementPledges creates a new ScpStatementPledges.
{ "resource": "" }
c181963
test
// MustPrepare retrieves the Prepare value from the union, // panicing if the value is not set.
{ "resource": "" }
c181964
test
// GetPrepare retrieves the Prepare value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181965
test
// MustConfirm retrieves the Confirm value from the union, // panicing if the value is not set.
{ "resource": "" }
c181966
test
// GetConfirm retrieves the Confirm value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181967
test
// MustExternalize retrieves the Externalize value from the union, // panicing if the value is not set.
{ "resource": "" }
c181968
test
// GetExternalize retrieves the Externalize value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181969
test
// MustNominate retrieves the Nominate value from the union, // panicing if the value is not set.
{ "resource": "" }
c181970
test
// GetNominate retrieves the Nominate value from the union, // returning ok if the union's switch indicated the value is valid.
{ "resource": "" }
c181971
test
// SafeUnmarshalBase64 first decodes the provided reader from base64 before decoding the xdr // into the provided destination. Also ensures that the reader is fully consumed.
{ "resource": "" }
c181972
test
// SafeUnmarshal decodes the provided reader into the destination and verifies // that provided bytes are all consumed by the unmarshalling process.
{ "resource": "" }
c181973
test
// SendAmount returns the amount spent, denominated in the source asset, in the // course of this path payment
{ "resource": "" }
c181974
test
// LoadAccount loads the account state from horizon. err can be either error // object or horizon.Error object.
{ "resource": "" }
c181975
test
// SequenceForAccount implements build.SequenceProvider
{ "resource": "" }
c181976
test
// SubmitTransaction submits a transaction to the network. err can be either error object or horizon.Error object.
{ "resource": "" }
c181977
test
// Equals returns true if `other` is equivalent to `key`
{ "resource": "" }
c181978
test
// SetAccount mutates `key` such that it represents the identity of `account`
{ "resource": "" }
c181979
test
// SetData mutates `key` such that it represents the identity of the // data entry owned by `account` and for `name`.
{ "resource": "" }
c181980
test
// SetOffer mutates `key` such that it represents the identity of the // data entry owned by `account` and for offer `id`.
{ "resource": "" }
c181981
test
// SetTrustline mutates `key` such that it represents the identity of the // trustline owned by `account` and for `asset`.
{ "resource": "" }
c181982
test
// Add a key and value to the hash table.
{ "resource": "" }
c181983
test
// Try to find a hash function that does not cause collisions with table, when // applied to the keys in the bucket.
{ "resource": "" }
c181984
test
// Hash index from key.
{ "resource": "" }
c181985
test
// Despite returning a uint64, this actually reads a uint32. All table indices // and lengths are stored as uint32 values.
{ "resource": "" }
c181986
test
// Read a serialized CHD.
{ "resource": "" }
c181987
test
// Get an entry from the hash table.
{ "resource": "" }
c181988
test
// Iterate over entries in the hash table.
{ "resource": "" }
c181989
test
// Serialize the CHD. The serialized form is conducive to mmapped access. See // the Mmap function for details.
{ "resource": "" }
c181990
test
// RegisterDatasources adds path to the Mapnik plugin search path.
{ "resource": "" }
c181991
test
// RegisterDatasources adds path to the Mapnik fonts search path.
{ "resource": "" }
c181992
test
// New initializes a new Map.
{ "resource": "" }
c181993
test
// NewSized initializes a new Map with the given size.
{ "resource": "" }
c181994
test
// Load reads in a Mapnik map XML.
{ "resource": "" }
c181995
test
// Resize changes the map size in pixel. // Sizes larger than 16k pixels are ignored by Mapnik. Use NewSized // to initialize larger maps.
{ "resource": "" }
c181996
test
// Free deallocates the map.
{ "resource": "" }
c181997
test
// SRS returns the projection of the map.
{ "resource": "" }
c181998
test
// ZoomAll zooms to the maximum extent.
{ "resource": "" }
c181999
test
// ZoomTo zooms to the given bounding box.
{ "resource": "" }