_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c17700
// preCmp compares the pre release items `a` and `b` following semver rules.
c17701
// MarshalLogObject implements zapcore.ObjectMarshaler, enabling // fast logging of Plugin_Handshake_Result.
c17702
// String returns a readable string representation of a ServiceGenerator_Generate_Args // struct.
c17703
// Equals returns true if all the fields of this ServiceGenerator_Generate_Args match the // provided ServiceGenerator_Generate_Args. // // This function performs a deep comparison.
c17704
// MarshalLogObject implements zapcore.ObjectMarshaler, enabling // fast logging of ServiceGenerator_Generate_Args.
c17705
// Equals returns true if all the fields of this ServiceGenerator_Generate_Result match the // provided ServiceGenerator_Generate_Result. // // This function performs a deep comparison.
c17706
// FormatAnnotations formats a collection of annotations into a string.
c17707
// generateTags parses the annotation on the thrift field and creates the resulting go tag
c17708
// getIncludedScope retrieves an included scope from the given scope.
c17709
// AddRootService adds a service as a root service to this request.
c17710
// addModule adds the module for the given Thrift file to the request.
c17711
// NewClient builds a new multiplexing client. // // name is the name of the service for which requests are being sent through // this client.
c17712
// NewNamespace creates a new namespace.
c17713
// For the reader, we keep track of the read offset manually everywhere so // that we can implement lazy collections without extra allocations // fixedWidth returns the encoded size of a value of the given type. If the // type's width depends on the value, -1 is returned.
c17714
// copyN copies n bytes starting at offset off into the given Writer.
c17715
// ReadValue reads a value off the given type off the wire starting at the // given offset. // // Returns the Value, the new offset, and an error if there was a decode error.
c17716
// DeterminePackageName determines the name of the package at the given import // path.
c17717
// compileEnum compiles the given Enum AST into an EnumSpec.
c17718
// LookupItem retrieves the item with the given name from the enum. // // Returns true or false indicating whether the result is valid or not.
c17719
// compileBaseType compiles a base type reference in the AST to a primitive // TypeSpec.
c17720
// Put adds the given service to the multiplexer.
c17721
// Handle handles the given request, dispatching to one of the // registered services.
c17722
// Handle receives and handles a request for the Plugin service.
c17723
// swapQuotes replaces all single quotes with double quotes and all double // quotes with single quotes.
c17724
// EvaluateValue ensures that the given Value is fully evaluated. Lazy lists // are spinned and any errors raised by them are returned.
c17725
// Import the given import path and return the imported name for this package.
c17726
// FormatType formats the given api.Type into a Go type, importing packages // necessary to reference this type.
c17727
// Generates a Go file with the given name using the provided template and // template data.
c17728
// Get retrieves whatever value the given Value contains.
c17729
// NewValueBool constructs a new Value that contains a boolean.
c17730
// NewValueI8 constructs a new Value that contains a byte
c17731
// NewValueDouble constructs a new Value that contains a double.
c17732
// NewValueI16 constructs a new Value that contains a 16-bit integer.
c17733
// NewValueI32 constructs a new Value that contains a 32-bit integer.
c17734
// NewValueI64 constructs a new Value that contains a 64-bit integer.
c17735
// NewValueBinary constructs a new Value that contains a binary string.
c17736
// NewValueString constructs a new Value that contains a string.
c17737
// Write writes the given frame to the Writer.
c17738
// Close closes the given Writeer.
c17739
//RegisterWriter is used to register a io writer
c17740
//DefaultConfig is a function which retuns config object with default configuration
c17741
//Init is a function which initializes all config struct variables
c17742
//NewLoggerExt is a function which is used to write new logs
c17743
//Dial is a function
c17744
//Write is a function used to write
c17745
//unixSyslog is a function
c17746
//NewLoggerExt is a function which returns logger struct object
c17747
//Session is a function which returns logger details for that session
c17748
//WithData which adds data to the logger object
c17749
// SetLogLevel set logger level, current just support file output
c17750
// Find the sink need to log
c17751
//FormatLogLevel is a function which returns string format of log level
c17752
//MarshalJSON is a function which returns data in JSON format
c17753
//Log is a method which returns log level and log
c17754
// getTimeStamp get time stamp
c17755
// CopyFile copy file
c17756
// RunLogRotate initialize log rotate
c17757
// checkPassLagerDefinition check pass lager definition
c17758
// Close closes the shared library handle. All symbols // loaded from the library will become invalid.
c17759
// AddSource adds new Source to Staert, give it by reference
c17760
// LoadConfig check which command is called and parses config // It returns the the parsed config or an error if it fails
c17761
// parseConfigAllSources getConfig for a flaeg.Command run sources Parse func in the raw
c17762
// NewKvSource creates a new KvSource
c17763
// Parse uses valkeyrie and mapstructure to fill the structure
c17764
// StoreConfig stores the config into the KV Store
c17765
// ListRecursive lists all key value children under key // Replaced by ListValuedPairWithPrefix // Deprecated
c17766
// ListValuedPairWithPrefix lists all key value children under key
c17767
// NewServerCodecContext is NewServerCodec with given context provided // within parameters for compatible RPC methods.
c17768
// ServeConnContext is ServeConn with given context provided // within parameters for compatible RPC methods.
c17769
// Batch is an internal RPC method used to process batch requests.
c17770
// Notify try to invoke the named function. It return error only in case // it wasn't able to send request.
c17771
// NewClientWithCodec returns a new Client using the given rpc.ClientCodec.
c17772
// FromContext creates a new Goon object from the given appengine Context. // Useful with profiling packages like appstats.
c17773
// Key is the same as KeyError, except nil is returned on error or if the key // is incomplete.
c17774
// Kind returns src's datastore Kind or "" on error.
c17775
// KeyError returns the key of src based on its properties.
c17776
// Put saves the entity src into the datastore based on src's key k. If k // is an incomplete key, the returned key will be a unique key generated by // the datastore.
c17777
// FlushLocalCache clears the local memory cache.
c17778
// Get loads the entity based on dst's key into dst // If there is no such entity for the key, Get returns // datastore.ErrNoSuchEntity.
c17779
// Delete deletes the entity for the given key.
c17780
// DeleteMulti is a batch version of Delete.
c17781
// serializeStruct takes a struct and serializes it to portable bytes.
c17782
// serializeProperties takes a slice of properties and serializes it to portable bytes.
c17783
// deserializeStruct takes portable bytes b, generated by serializeStruct, and assigns correct values to struct dst.
c17784
// deserializeProperties takes a slice of properties and assigns correct values to struct dst.
c17785
// getStructKey returns the key of the struct based in its reflected or // specified kind and id. The second return parameter is true if src has a // string id.
c17786
// Count returns the number of results for the query.
c17787
// Run runs the query.
c17788
// our avatar image is square
c17789
// New creates an instance of InitialsAvatar
c17790
// NewWithConfig provides config for LRU Cache.
c17791
// DrawToBytes draws an image base on the name and size. // Only initials of name will be draw. // The size is the side length of the square image. Image is encoded to bytes. // // You can optionaly specify the encoding of the file. the supported values are png and jpeg for // png images and jpeg images respectively. i...
c17792
// Is it Chinese characters?
c17793
// parseRegistrant do parse registrant info
c17794
// IsNotFound returns domain is not found
c17795
// IsLimitExceeded returns is query limit
c17796
// ClearName returns cleared key name
c17797
// FindKeyName returns the mapper value by key
c17798
// RemoveDuplicateField remove the duplicate field
c17799
// FixDomainStatus returns fixed domain status