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