_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c15600
// LoadConnectionTable loads ConnectionTable from io.Reader.
c15601
// New returns a new lattice.
c15602
// Free releases a memory of a lattice.
c15603
// String returns a debug string of a lattice.
c15604
// Forward runs forward algorithm of the Viterbi.
c15605
// Backward runs backward algorithm of the Viterbi.
c15606
// Dot outputs the lattice in the graphviz dot format.
c15607
// Features returns contents of a token.
c15608
// Pos returns the first element of features.
c15609
// String returns a string representation of a token.
c15610
// NewDic loads a dictionary from a file.
c15611
// ReadUnkDic loads an unknown word dictionary.
c15612
// Option allows the modifying of internal compiler state
c15613
// BasePath sets the internal path provided to handlers requiring // a base path for http calls. This is useful for hosted solutions // that need to provided absolute paths to assets.
c15614
// BuildDir only used for spriting, how terrible!
c15615
// CacheBust append timestamps to static assets to prevent caching
c15616
// Comments toggles whether comments should be included in the output
c15617
// HTTPPath prefixes all sprites and generated images with this uri. // Enabling wellington to serve images when used in HTTP mode
c15618
// ImgBuildDir specifies the destination directory for images
c15619
// ImgDir specifies where to locate images for spriting
c15620
// ImportsOption specifies configuration for import resolution
c15621
// IncludePaths adds additional directories to search for Sass files
c15622
// LineComments removes the line by line playby of the Sass compiler
c15623
// Precision specifies the number of points beyond the decimal // place is preserved during math calculations.
c15624
// SourceMap behaves differently depending on compiler used. For // compile, it will embed sourcemap into the source. For file // compile, it will include a separate file with the source map.
c15625
// Path specifies a file to read instead of using the provided // io.Reader. This activates file compiling that includes line numbers // in the resulting output.
c15626
// Payload gives access to sprite and image information for handlers // to perform spriting functions.
c15627
// set accepts an entry and returns an index for it
c15628
// Add registers an import in the context.Imports
c15629
// Del removes the import from the context.Imports
c15630
// Get retrieves import bytes by path
c15631
// Bind accepts a SassOptions and adds the registered // importers in the context.
c15632
// MakeError creates Sass error from a string
c15633
// MakeWarning creates Sass warning from a string
c15634
// MakeColor creates a Sass color from color.RGBA
c15635
// MakeList creates a Sass List
c15636
// Slice creates a Sass List from a Go slice. Reflection is used.
c15637
// Interface creates Go types from union sass_value
c15638
// ToScss converts Sass to Scss with libsass sass2scss.h
c15639
// SassMakeFunction binds a Go pointer to a Sass function signature
c15640
// BindFuncs attaches a slice of Functions to a sass options. Signatures // are already defined in the SassFunc.
c15641
// RegisterSassFunc assigns the passed Func to the specified signature sign
c15642
// CompFromCtx retrieves a compiler from a passed context
c15643
// SassHandler contains callback context for running code within // a libsass handler
c15644
// RegisterHandler sets the passed signature and callback to the // handlers array.
c15645
// Handler accepts a HandlerFunc and returns SassCallback for sending // to libsass. The third argument must be a pointer and the function // must return an error.
c15646
// SetFunc assigns the registered methods to SassOptions. Functions // are called when the compiler encounters the registered signature.
c15647
// Init validates options in the struct and returns a Sass Options.
c15648
// compile reads in and writes the libsass compiled result to out. // Options and custom functions are applied as specified in Context.
c15649
// Rel creates relative paths between the build directory where the CSS lives // and the image directory that is being linked. This is not compatible // with generated images like sprites.
c15650
// Error takes a Go error and returns a libsass Error
c15651
// GoBridge is exported to C for linking libsass to Go. This function // adheres to the interface provided by libsass. // //export GoBridge
c15652
// BindHeader attaches the header to a libsass context ensuring // gc does not delete the pointers necessary to make this happen.
c15653
// Add sums the two numbers in the first numbers units
c15654
// ToScss converts Sass to Scss using sass2scss. Readers and Writers are // used, but libsass does not support streaming.
c15655
// Decode converts Sass Value to Go compatible data types.
c15656
// make is needed to create types for use by test
c15657
// SassMakeImporterList maps to C.sass_make_importer_list
c15658
// ImporterBridge is called by C to pass Importer arguments into Go land. A // Sass_Import is returned for libsass to resolve. // //export ImporterBridge
c15659
// SassMakeFileContext maps to C.sass_make_file_context
c15660
// SassMakeDataContext creates a data context from a source string
c15661
// SassDataContextGetContext returns a context from a data context. // These are useful for calling generic methods like compiling.
c15662
// SassFileContextGetContext returns a context from a file context. // These are useful for calling generic methods like compiling.
c15663
// SassFileContextGetOptions returns the sass options in a file context
c15664
// SassDataContextGetOptions returns the Sass options in a data context
c15665
// SassMakeFileCompiler returns a compiler from a file context
c15666
// SassMakeDataCompiler returns a compiler from a data context
c15667
// SassCompileFileContext compile from file context
c15668
// SassOptionSetCHeaders adds custom C headers to a SassOptions
c15669
// SassContextGetOutputString retrieves the final compiled CSS after // compiler parses and executes.
c15670
// SassContextGetErrorJSON requests an error in JSON format from libsass
c15671
// SassOptionGetSourceMapFile retrieves the source map file
c15672
// SassContextGetSourceMapString retrieves the contents of a // source map
c15673
// SassOptionSetPrecision sets the precision of floating point math // ie. 3.2222px. This is currently bugged and does not work.
c15674
// SassOptionSetSourceComments toggles the output of line comments in CSS
c15675
// SassOptionSetOutputPath is used for output path. // Output path is used for source map generating. LibSass will // not write to this file, it is just used to create // information in source-maps etc.
c15676
// SassOptionSetInputPath is used for input path. // The input path is used for source map generating. It can be used to define // something with string compilation or to overload the input file path. It is // set to "stdin" for data contexts and to the input file on file contexts.
c15677
// SassOptionSetIncludePaths adds additional paths to look for input Sass
c15678
// SassMakeImport creates an import for overriding behavior when // certain imports are called.
c15679
// SassMakeImport attaches a Go pointer to a Sass function. Go will // eventually kill this behavior and we should find a new way to do this.
c15680
// SassImporterSetListEntry updates an import list with a new entry. The // index must exist in the importer list.
c15681
// BindImporter attaches a custom importer Go function to an import in Sass
c15682
// ProcessSassError reads the original libsass error and creates helpful debuggin // information for debuggin that error.
c15683
// getSelectFunctors instanciate new functors for COUNT, MAX, MIN, AVG, ... and default select functor that return rows to client // If a functor is specified, no attribute can be selected ?
c15684
// Perform actual check of predicates present in virtualrow.
c15685
// |-> order // |-> age // |-> desc
c15686
// Stringy prints the declaration tree in console
c15687
// NewDecl initialize a Decl struct from a given token
c15688
// Add creates a new leaf with given Decl
c15689
// parseBuiltinFunc looks for COUNT,MAX,MIN
c15690
// parseQuotedToken parse a token of the form // table // "table"
c15691
// parseJoin parses the JOIN keywords and all its condition // JOIN user_addresses ON address.id=user_addresses.address_id
c15692
// New initialize a new RamSQL server
c15693
// Stop shutdown the RamSQL server
c15694
// LastInsertId returns the database's auto-generated ID // after, for example, an INSERT into a table with primary // key.
c15695
// RowsAffected returns the number of rows affected by the // query.
c15696
// NewTuple should check that value are for the right Attribute and match domain
c15697
// Append add a value to the tuple
c15698
// The optional WHERE, GROUP BY, and HAVING clauses in the table expression specify a pipeline of successive transformations performed on the table derived in the FROM clause. // All these transformations produce a virtual table that provides the rows that are passed to the select list to compute the output rows of the...
c15699
// Recursive virtual row creation