text
large_stringlengths
384
2.05k
rank_avg
float64
1
4.19k
rank_max
float64
1
8.21k
rank_min
float64
1
5.03k
rank_median
float64
1
4.21k
rank_by_avgsim
float64
1
4.19k
avgsim_to_github
float32
0.77
0.85
dataset
large_stringclasses
1 value
ing>windowTool.debuggerConsole</string> <key>IsVertical</key> <true/> <key>Layout</key> <array> <dict> <key>Dock</key> <array> <dict> <key>BecomeActive</key> <true/> <key>ContentConfiguration</key> <dict> <key>PBXProjectModuleGUID</key> <string...
null
null
null
null
null
null
github_plus_top10pct_by_avg
> <key>ServiceClasses</key> <array> <string>XCSnapshotModule</string> </array> <key>StatusbarIsVisible</key> <string>Yes</string> <key>ToolbarConfiguration</key> <string>xcode.toolbar.config.snapshots</string> <key>WindowString</key> <string>315 824 300 550 0 0 1440 878 </string> <key>...
null
null
null
null
null
null
github_plus_top10pct_by_avg
> <string>743 379 452 308 0 0 1280 1002 </string> <key>TableConfiguration</key> <array> <string>Status</string> <real>30</real> <string>FileName</string> <real>199</real> <string>Path</string> <real>197.0950012207031</real> </array> ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
<array> <real>168</real> </array> <key>PBXSmartGroupTreeModuleColumnsKey_v4</key> <array> <string>MainColumn</string> </array> </dict> <key>PBXSmartGroupTreeModuleOutlineStateKey_v7</key> <dict> <key>PBXSmartGroupTreeModul...
null
null
null
null
null
null
github_plus_top10pct_by_avg
key>Proportion</key> <string>368pt</string> </dict> </array> <key>MajorVersion</key> <integer>3</integer> <key>MinorVersion</key> <integer>0</integer> <key>Name</key> <string>Breakpoints</string> <key>ServiceClasses</key> <array> <string>PBXSmartGroupTreeModule</string> <stri...
null
null
null
null
null
null
github_plus_top10pct_by_avg
t> </array> <key>Proportion</key> <string>100%</string> </dict> </array> <key>Name</key> <string>Bookmarks</string> <key>ServiceClasses</key> <array> <string>PBXBookmarksModule</string> </array> <key>StatusbarIsVisible</key> <integer>0</integer> <key>WindowString</key> ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ntifier</string> <real>22</real> </array> <key>Frame</key> <string>{{0, 0}, {630, 331}}</string> <key>MembersFrame</key> <string>{{0, 105}, {374, 395}}</string> <key>MembersTreeTableConfiguration</key> <array> <string>PBXMemberTypeIconColumnIdent...
null
null
null
null
null
null
github_plus_top10pct_by_avg
etryConfiguration</key> <dict> <key>Frame</key> <string>{0, 0}, {500, 335}</string> <key>RubberWindowFrame</key> <string>{0, 0}, {500, 335}</string> </dict> <key>Module</key> <string>XCRefactoringModule</string> <key>Proportion</key> <string>100%...
null
null
null
null
null
null
github_plus_top10pct_by_avg
al-sharing.liquid --> <div class="social-sharing"> {% if settings.share_facebook %} <a target="_blank" href="//www.facebook.com/sharer.php?u={{ shop.url | append: share_permalink }}"> {% include 'icon-facebook' %} <span aria-hidden="true">{{ 'general.social.share_on_facebook' | t }}</span> <spa...
null
null
null
null
null
null
github_plus_top10pct_by_avg
* ============================================================================ * 属性控制器 */ class AttributesAction extends BaseAction{ /** * 跳到新增/编辑页面 */ public function toEdit(){ $this->isShopLogin(); $m = D('Home/Attributes'); $object = array(); if((int)I('id',0)>0){ $object = $m->get(...
null
null
null
null
null
null
github_plus_top10pct_by_avg
include "PathConfig.h" #include "SymbolInfo.h" #include "clang/Basic/FileManager.h" #include "clang/Basic/IdentifierTable.h" #include "clang/Basic/SourceManager.h" #include "clang/Lex/MacroInfo.h" #include "clang/Lex/Token.h" #include "llvm/Support/Path.h" namespace clang { namespace find_all_symbols { llvm::Optional...
null
null
null
null
null
null
github_plus_top10pct_by_avg
dragonflybsd.org/dragonfly.git/blob_plain/HEAD:/sys/kern/syscalls.master // Code generated by the command above; see README.md. DO NOT EDIT. // +build amd64,dragonfly package unix const ( // SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int SYS_EXIT = 1 // { void exit(int rval); } SYS_FORK...
null
null
null
null
null
null
github_plus_top10pct_by_avg
s, caddr_t buf, size_t len, int flags, caddr_t from, int *fromlenaddr); } SYS_ACCEPT = 30 // { int accept(int s, caddr_t name, int *anamelen); } SYS_GETPEERNAME = 31 // { int getpeername(int fdes, caddr_t asa, int *alen); } SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, caddr_t asa, int *alen); }...
null
null
null
null
null
null
github_plus_top10pct_by_avg
69 // { int sbrk(int incr); } SYS_SSTK = 70 // { int sstk(int incr); } SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); } SYS_MPROTECT = 74 // { int mprotect(void *addr, size_t len, int prot); } SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); } SYS_MINC...
null
null
null
null
null
null
github_plus_top10pct_by_avg
nt name, caddr_t val, int *avalsize); } SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); } SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, u_int iovcnt); } SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, struct timezone *tzp); } SYS_FCHOWN ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
*rtp); } SYS_EXTPREAD = 173 // { ssize_t extpread(int fd, void *buf, size_t nbyte, int flags, off_t offset); } SYS_EXTPWRITE = 174 // { ssize_t extpwrite(int fd, const void *buf, size_t nbyte, int flags, off_t offset); } SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); } SYS_SETGID =...
null
null
null
null
null
null
github_plus_top10pct_by_avg
= 221 // { int semget(key_t key, int nsems, int semflg); } SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, u_int nsops); } SYS_MSGCTL = 224 // { int msgctl(int msqid, int cmd, struct msqid_ds *buf); } SYS_MSGGET = 225 // { int msgget(ke...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ITEV = 290 // { ssize_t extpwritev(int fd, struct iovec *iovp,u_int iovcnt, int flags, off_t offset); } SYS_FHSTATFS = 297 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); } SYS_MO...
null
null
null
null
null
null
github_plus_top10pct_by_avg
4 // { int mlockall(int how); } SYS_MUNLOCKALL = 325 // { int munlockall(void); } SYS___GETCWD = 326 // { int __getcwd(u_char *buf, u_int buflen); } SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); } SYS_SCHED_GETPARAM = 328 // ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
acl *aclp); } SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, acl_type_t type, struct acl *aclp); } SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, acl_type_t type, struct acl *aclp); } SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, acl_type_t ty...
null
null
null
null
null
null
github_plus_top10pct_by_avg
= 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); } SYS_VARSYM_SET = 450 // { int varsym_set(int level, const char *name, const char *data); } SYS_VARSYM_GET = 451 // { int varsym_get(int mask, const char *wild, char *buf, ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
= 482 // { int extaccept(int s, int flags, caddr_t name, int *anamelen); } SYS_EXTCONNECT = 483 // { int extconnect(int s, int flags, caddr_t name, int namelen); } SYS_MCONTROL = 485 // { int mcontrol(void *addr, size_t len, int behav, off_t value); } SYS_VMSPACE_CREATE = 4...
null
null
null
null
null
null
github_plus_top10pct_by_avg
, struct statvfs *buf); } SYS_GETVFSSTAT = 503 // { int getvfsstat(struct statfs *buf, struct statvfs *vbuf, long vbufsize, int flags); } SYS_OPENAT = 504 // { int openat(int fd, char *path, int flags, int mode); } SYS_FSTATAT = 505 // { int fstatat(int fd, char *p...
null
null
null
null
null
null
github_plus_top10pct_by_avg
int which, int who); } SYS_CHROOT_KERNEL = 522 // { int chroot_kernel(char *path); } SYS_RENAMEAT = 523 // { int renameat(int oldfd, char *old, int newfd, char *new); } SYS_MKDIRAT = 524 // { int mkdirat(int fd, char *path, mode_t mode); } SYS_MKFIFOAT = 525 // { ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
const struct timespec *ts, const sigset_t *sigmask); } SYS_LWP_SETAFFINITY = 544 // { int lwp_setaffinity(pid_t pid, lwpid_t tid, const cpumask_t *mask); } SYS_LWP_GETAFFINITY = 545 // { int lwp_getaffinity(pid_t pid, lwpid_t tid, cpumask_t *mask); } SYS_LWP_CREATE2 = 546 // { int lwp_creat...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs))) } // PtraceRegsMips64le is the registers used by mips64le binaries. type PtraceRegsMips64le struct { Regs [32]uint64 Lo uint64 Hi uint64 Epc uint64 Badvaddr uint64 Status uint64 Cause uint64 } // PtraceGetRegsMips64le fetches the reg...
null
null
null
null
null
null
github_plus_top10pct_by_avg
sh npm run test ``` All modification should have test to support it and avoid regression if possible. Depcheck API and CLI test cases are defined in [spec.json](https://github.com/depcheck/depcheck/blob/master/test/spec.json). Special parsers test cases are defined in [their own test files](https://github.com/depchec...
null
null
null
null
null
null
github_plus_top10pct_by_avg
e the License for the specific language governing permissions and * limitations under the License. */ class Main { private static boolean $inline$false() { return false; } /// CHECK-START: void Main.main(java.lang.String[]) dead_code_elimination (before) /// CHECK-DAG: <<Const0:i\d+>> IntConstant 0 /// ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
1-norm) of a real symmetric positive definite tridiagonal matrix */ /* using the factorization A = L*D*L**T or A = U**T*D*U computed by */ /* SPTTRF. */ /* Norm(inv(A)) is computed by a direct method, and the reciprocal of */ /* the condition number is computed as */ /* RCOND = 1 / (ANORM * norm(in...
null
null
null
null
null
null
github_plus_top10pct_by_avg
--d__; /* Function Body */ *info = 0; if (*n < 0) { *info = -1; } else if (*anorm < 0.f) { *info = -4; } if (*info != 0) { i__1 = -(*info); xerbla_("SPTCON", &i__1); return 0; } /* Quick return if possible */ *rcond = 0.f; if (*n == 0) { *rcond = 1.f; return 0; } ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
: '對比', 'Default value:' : '默認值:', 'Description' : '描述', 'Field' : '字段', 'General' : '概括', 'Generated with' : '生成工具', 'Name' : '名稱', 'No response val...
null
null
null
null
null
null
github_plus_top10pct_by_avg
bytesNull []byte charsNull []uint16 doublesNull []float64 shortsNull []int16 floatsNull []float32 intsNull []int32 longsNull []int64 stringsNull []string } func (*aPortable) ClassID() int32 { return portableClassID } func (*aPortable) FactoryID() int32 { return portableFactoryID } func (...
null
null
null
null
null
null
github_plus_top10pct_by_avg
booleans = reader.ReadBoolArray("booleans") p.bytes = reader.ReadByteArray("bs") p.chars = reader.ReadUInt16Array("cs") p.doubles = reader.ReadFloat64Array("ds") p.shorts = reader.ReadInt16Array("ss") p.floats = reader.ReadFloat32Array("fs") p.ints = reader.ReadInt32Array("is") p.longs = reader.ReadInt64Array("l...
null
null
null
null
null
null
github_plus_top10pct_by_avg
(ISOComponent m, byte[] b) throws ISOException { return m.unpack (b); } public void unpack (ISOComponent m, InputStream in) throws ISOException { try { m.unpack (in); } catch (IOException e) { throw new ISOException (e); } } public String getField...
null
null
null
null
null
null
github_plus_top10pct_by_avg
; VERSION = $(_VERSION_:J=$(.)) ; RELEASE = 1 ; LICENSE = LICENSE_1_0 ; # Generate development debug binaries? if --debug in $(ARGV) { debug = true ; } if --profile in $(ARGV) { profile = true ; } # Attempt to generate and/or build the grammar? if --grammar in $(ARGV) { grammar = true ; } # Do we need t...
null
null
null
null
null
null
github_plus_top10pct_by_avg
f --gc in $(ARGV) { --boehm-gc = true ; } if $(--boehm-gc) { --extra-include += [ .path [ PWD ] "boehm_gc" "include" ] ; } # Duma? if --duma in $(ARGV) { --duma = true ; } if $(--duma) { --extra-include += [ .path [ PWD ] "duma" ] ; } # An explicit root for the toolset? (trim spaces) toolset-root = [ ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
t cc $(CC) : "-o " : -D : $(CFLAGS) [ opt --release : -s -O ] [ opt --debug : -g ] -I$(--python-include) -I$(--extra-include) : $(LIBS) -L$(--python-lib[1]) -l$(--python-lib[2]) ; ## Comeau C/C++ 4.x toolset como como : "-o " : -D : --c [ opt --release : --inlining ] [ opt --debug : --no...
null
null
null
null
null
null
github_plus_top10pct_by_avg
0 -p ] -I$(--python-include) -I$(--extra-include) : -L$(--python-lib[1]) -l$(--python-lib[2]) ; ## Intel C/C++ for Win32 toolset intel-win32 icl : /Fe : -D : /nologo [ opt --release : /MT /O2 /Ob2 /Gy /GF /GA /GB ] [ opt --debug : /MTd /DEBUG /Z7 /Od /Ob0 ] -I$(--python-include) -I$(--extra-incl...
null
null
null
null
null
null
github_plus_top10pct_by_avg
/Fo : -D : /nologo [ opt --release : /ML /O2 /Ob2 /Gy /GF /GA /GB ] [ opt --debug : /MLd /DEBUG /Z7 /Od /Ob0 ] -I$(--python-include) -I$(--extra-include) : kernel32.lib advapi32.lib user32.lib $(--python-lib[1]) ; ## QNX 6.x GCC 3.x/2.95.3 toolset qcc qcc : "-o " : -D : -Wc,-pedantic -Wc,-fno-s...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ux (little endian) toolset xlcpp xlC : "-o " : -D : -Wno-unused -Wno-format [ opt --release : -s ] [ opt --debug : -g -qNOOPTimize -qnoinline -pg ] -I$(--python-include) -I$(--extra-include) : -L$(--python-lib[1]) -l$(--python-lib[2]) ; ## Microsoft Visual C++ .NET 7.x toolset vc7 cl : /F...
null
null
null
null
null
null
github_plus_top10pct_by_avg
b advapi32.lib user32.lib $(--python-lib[1]) ; toolset vc14 cl : /Fe /Fe /Fd /Fo : -D : /nologo [ opt --release : /GL /MT /O2 /Ob2 /Gy /GF /GA /wd4996 ] [ opt --debug : /MTd /DEBUG /Z7 /Od /Ob0 /wd4996 ] -I$(--python-include) -I$(--extra-include) : kernel32.lib advapi32.lib user32.lib $(--python-lib...
null
null
null
null
null
null
github_plus_top10pct_by_avg
opt.out) ; } --link-def = $(tool.$(toolset).link.opt.define) ; --link-flags = $(tool.$(toolset).link.flags) ; --link-defs = $(tool.$(toolset).link.defines) ; --link-libs = $(tool.$(toolset).link.linklibs) ; } # Put executables in platform-specific subdirectory. locate-target = $(LOCATE_TARGET) ; if...
null
null
null
null
null
null
github_plus_top10pct_by_avg
--defs += GC_DEBUG ; } } if $(--duma) { --defs += OPT_DUMA ; } if ( $(OS) = NT ) && ! NT in $(--defs) { --defs += NT ; } --defs += YYSTACKSIZE=5000 ; if $(with-python) { --defs += HAVE_PYTHON ; } if $(debug) { --defs += BJAM_NEWSTR_NO_ALLOCATE ; } # The basic symbolic targets... NOTFILE...
null
null
null
null
null
null
github_plus_top10pct_by_avg
(--def[2]) { actions [COMPILE] { "$(--cc)" "$(--bin)$(<:D=)" "$(--dir)$(<:D)$(./)" $(--out)$(<) "$(--def)$(--defs)" "$(--flags)" "$(>)" "$(--libs)" } } else { actions [COMPILE] { "$(--cc)" "$(--bin)$(<:D=)" "$(--dir)$(<:D)$(./)" $(--out)$(<) "$(--def[1])$(--defs:J=$(--def[2]))$(--def[3])" "$(--flags)" "$(>)" "...
null
null
null
null
null
null
github_plus_top10pct_by_avg
cc += -d --yacc ; case yacc : yacc += -d ; } if $(debug) && $(yacc) { yacc += -t -v ; } yacc += $(YACCFLAGS) ; rule .yacc { DEPENDS $(<) : $(>) ; LEAVES $(<) ; [YACC] $(<) : $(>) ; } if $(OS) = NT { actions [YACC] { "$(yacc)" "$(>)" if not errorlevel 1 ( del /f "$(<[1])" re...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ra grist provides target name uniqueness when referencing same name # header files from different folders. local include-targets = <$(target-path)>$(includes) ; NOCARE $(include-targets) ; INCLUDES $(target) : $(include-targets) ; SEARCH on $(include-targets) = $(target-path) ; ISFILE $(include-...
null
null
null
null
null
null
github_plus_top10pct_by_avg
case zip : zip += -9r ; } actions piecemeal [PACK] { "$(zip)" "$(<)" "$(>)" } actions piecemeal [ZIP] { "$(zip)" "$(<)" "$(>)" } actions piecemeal [COPY] { copy /Y "$(>)" "$(<)" >NUL: } } if $(UNIX) = true { tar ?= [ GLOB $(PATH) : star bsdtar tar ] ; tar...
null
null
null
null
null
null
github_plus_top10pct_by_avg
; for local src-path in $(src-files-actual) { local dst-file = $(dst-files-queue[1]) ; dst-files-queue = $(dst-files-queue[2-]) ; DEPENDS $(dst-file) : $(src-path) $(dst-file:D) ; .mkdir $(dst-file:D) ; [COPY] $(dst-file) : $(src-path) ; .clean $(dst-file) ; ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
gz ; } } /***************************************************************** | | Platinum - Managed DeviceData | | Copyright (c) 2004-2010, Plutinosoft, LLC. | All rights reserved. | http://www.plutinosoft.com | | This program is free software; you can redistribute it and/or | modify it under the terms of the GN...
null
null
null
null
null
null
github_plus_top10pct_by_avg
pth, m_Depth, m_pHandle); PLATINUM_MANAGED_IMPLEMENT_STRING_PROPERTY(String^, UrlPath, m_UrlPath, m_pHandle); internal: DeviceIcon(PLT_DeviceIcon& native) : ManagedWrapper<PLT_DeviceIcon>(native) {} public: DeviceIcon() : ManagedWrapper<PLT_DeviceIcon>() {} DeviceIcon(String^ mi...
null
null
null
null
null
null
github_plus_top10pct_by_avg
) { return gcnew String((*m_pHandle)->GetParentUUID()); } } property IEnumerable<Service^>^ Services { IEnumerable<Service^>^ get(); } property IEnumerable<DeviceData^>^ EmbeddedDevices { IEnumerable<DeviceData^>^ get(); } internal: property PLT_DeviceDataReference& Handle { PLT_De...
null
null
null
null
null
null
github_plus_top10pct_by_avg
Namespaces) (*path.Path, error) } // PropertyPath is a struct wrapping PropertyPathI type PropertyPath struct { PropertyPathI } // NewPropertyPath constructs a new PropertyPath func NewPropertyPath(p PropertyPathI) *PropertyPath { return &PropertyPath{PropertyPathI: p} } // Description implements Step. func (*Prop...
null
null
null
null
null
null
github_plus_top10pct_by_avg
gs []string // PropertyIRIs casts PropertyIRIStrings into PropertyIRIs func (p PropertyIRIStrings) PropertyIRIs() PropertyIRIs { var iris PropertyIRIs for _, iri := range p { iris = append(iris, PropertyIRI(iri)) } return iris } // BuildPath implements PropertyPath. func (p PropertyIRIStrings) BuildPath(qs grap...
null
null
null
null
null
null
github_plus_top10pct_by_avg
unction containing the implementation of the command as the second parameter to `registerCommand`. ## Get up and running straight away * press `F5` to open a new window with your extension loaded * run your command from the command palette by pressing (`Ctrl+Shift+P` or `Cmd+Shift+P` on Mac) and typing `Hello World` *...
null
null
null
null
null
null
github_plus_top10pct_by_avg
return fract(sin(x*23.3)*13.13); } void main(void){ float time = czm_frameNumber / 60.0; vec2 resolution = czm_viewport.zw; vec2 uv=(gl_FragCoord.xy*2.-resolution.xy)/min(resolution.x,resolution.y); vec3 c=vec3(.6,.7,.8); ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
vec4(c,1), 0.5); } ` } }, methods: { ready(cesiumInstance) { this.cesiumInstance = cesiumInstance const { Cesium, viewer } = this.cesiumInstance } } } </script> ``` ## Instance Properties <!-- prettier-ignore --> | name | type | default | description | | ----...
null
null
null
null
null
null
github_plus_top10pct_by_avg
lparser2/lib/Parser' // monkey patching Parser.prototype.ondeclaration = function(value){ if(this._cbs.ondeclaration){ this._cbs.ondeclaration(value); } else if(this._cbs.onprocessinginstruction){ var name = this._getInstructionName(value); this._cbs.onprocessinginstruction("!" + name, "!" + value); ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
eLister. func NewCSINodeLister(indexer cache.Indexer) CSINodeLister { return &cSINodeLister{indexer: indexer} } // List lists all CSINodes in the indexer. func (s *cSINodeLister) List(selector labels.Selector) (ret []*v1beta1.CSINode, err error) { err = cache.ListAll(s.indexer, selector, func(m interface{}) { ret ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
l events of the `source` stream are hijacked by overwriting the `source.emit` method. Until node implements a catch-all event listener, this is the only way. However, delayed-stream still continues to emit all events it captures on the `source`, regardless of whether you have released the delayed stream yet or not. U...
null
null
null
null
null
null
github_plus_top10pct_by_avg
g, you can set this property to `Infinity` to disable this feature. You can also modify this property during runtime. ### delayedStream.maxDataSize = 1024 * 1024 The amount of data to buffer before emitting an `error`. If the underlaying source is emitting `Buffer` objects, the `maxDataSize` refers to bytes. If the...
null
null
null
null
null
null
github_plus_top10pct_by_avg
include InspectionViewable def self.list_conditions code = '' code = search_conditions(products: %i[name work_number]) + " ||= []\n" code << "if params[:born_at].present? && params[:born_at].to_s != 'all'\n" code << " c[0] << ' AND #{Plant.table_name}.born_at::DATE BETWEEN ? AND ?'\n" ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ner, url: true t.column :net_surface_area, datatype: :measure t.status t.column :born_at t.column :dead_at end list :plant_countings, conditions: { plant_id: 'params[:id]'.c } do |t| t.column :number, url: true t.status label: :state t.column :read_at, label: :date ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ut async_in, input sync_clk, output reg pulsed_out ); reg edge_detect; always @(posedge async_in or posedge pulsed_out) if(pulsed_out) edge_detect <= 0; else edge_detect <= 1; always @(posedge sync_clk) pulsed_out <= edge_detect; e...
null
null
null
null
null
null
github_plus_top10pct_by_avg
NFIG_FONT_7x14=n \ CONFIG_FONT_PEARL_8x8=n \ CONFIG_FONT_ACORN_8x8=n \ CONFIG_FONT_MINI_4x6=n \ CONFIG_FONT_6x10=n \ CONFIG_FONT_SUN8x16=n \ CONFIG_FONT_SUN12x22=n \ CONFIG_FONT_10x18=n \ CONFIG_VT=y \ CONFIG_CONSOLE_TRANSLATIONS=y \ CONFIG_VT_CONSOLE=y \ CONFIG_VT_HW_CONSOLE_BINDING=y FILES:=$(LINUX_DIR)/...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ftware sys ops support DEPENDS:=+kmod-fb KCONFIG:=CONFIG_FB_SYS_FOPS FILES:=$(LINUX_DIR)/drivers/video/fbdev/core/fb_sys_fops.ko AUTOLOAD:=$(call AutoLoad,07,fbsysfops) endef define KernelPackage/fb-sys-fops/description Kernel support for framebuffer sys ops endef $(eval $(call KernelPackage,fb-sys-fops)) d...
null
null
null
null
null
null
github_plus_top10pct_by_avg
E:=Freescale i.MX HDMI DRM support DEPENDS:=+kmod-sound-core kmod-drm-imx KCONFIG:=CONFIG_DRM_IMX_HDMI \ CONFIG_DRM_DW_HDMI_AHB_AUDIO \ CONFIG_DRM_DW_HDMI_I2S_AUDIO FILES:= \ $(LINUX_DIR)/drivers/gpu/drm/bridge/synopsys/dw-hdmi.ko \ $(LINUX_DIR)/drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.ko \ $(LINUX_...
null
null
null
null
null
null
github_plus_top10pct_by_avg
e/video-core/description Kernel modules for Video4Linux support endef $(eval $(call KernelPackage,video-core)) define AddDepends/video SUBMENU:=$(VIDEO_MENU) DEPENDS+=kmod-video-core $(1) endef define AddDepends/camera $(AddDepends/video) KCONFIG+=CONFIG_MEDIA_USB_SUPPORT=y \ CONFIG_MEDIA_CAMERA_SUPPORT=y ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ORT +kmod-usb-core +kmod-video-videobuf2 +kmod-input-core KCONFIG:= CONFIG_USB_VIDEO_CLASS FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/uvc/uvcvideo.ko AUTOLOAD:=$(call AutoProbe,uvcvideo) $(call AddDepends/camera) endef define KernelPackage/video-uvc/description Kernel modules for supporting USB Video C...
null
null
null
null
null
null
github_plus_top10pct_by_avg
s/media/$(V4L2_USB_DIR)/gspca/gspca_finepix.ko AUTOLOAD:=$(call AutoProbe,gspca_finepix) $(call AddDepends/camera-gspca) endef define KernelPackage/video-gspca-finepix/description The Fujifilm FinePix USB V4L2 driver (finepix) kernel module endef $(eval $(call KernelPackage,video-gspca-finepix)) define KernelP...
null
null
null
null
null
null
github_plus_top10pct_by_avg
TITLE:=ov534-9 webcam support KCONFIG:=CONFIG_USB_GSPCA_OV534_9 FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_ov534_9.ko AUTOLOAD:=$(call AutoProbe,gspca_ov534_9) $(call AddDepends/camera-gspca) endef define KernelPackage/video-gspca-ov534-9/description The OV534-9 USB Camera Driver (ov534_9)...
null
null
null
null
null
null
github_plus_top10pct_by_avg
el module endef $(eval $(call KernelPackage,video-gspca-sn9c20x)) define KernelPackage/video-gspca-sonixb TITLE:=sonixb webcam support KCONFIG:=CONFIG_USB_GSPCA_SONIXB FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sonixb.ko AUTOLOAD:=$(call AutoProbe,gspca_sonixb) $(call AddDepends/camera-g...
null
null
null
null
null
null
github_plus_top10pct_by_avg
nds/camera-gspca) endef define KernelPackage/video-gspca-spca505/description The SPCA505 USB Camera Driver (spca505) kernel module endef $(eval $(call KernelPackage,video-gspca-spca505)) define KernelPackage/video-gspca-spca506 TITLE:=spca506 webcam support KCONFIG:=CONFIG_USB_GSPCA_SPCA506 FILES:=$(LINUX_DI...
null
null
null
null
null
null
github_plus_top10pct_by_avg
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sq905c.ko AUTOLOAD:=$(call AutoProbe,gspca_sq905c) $(call AddDepends/camera-gspca) endef define KernelPackage/video-gspca-sq905c/description The SQ Technologies SQ905C based USB Camera Driver (sq905c) kernel module endef $(eval $(call KernelPackage,vi...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ge,video-gspca-tv8532)) define KernelPackage/video-gspca-vc032x TITLE:=vc032x webcam support KCONFIG:=CONFIG_USB_GSPCA_VC032X FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_vc032x.ko AUTOLOAD:=$(call AutoProbe,gspca_vc032x) $(call AddDepends/camera-gspca) endef define KernelPackage/video-gsp...
null
null
null
null
null
null
github_plus_top10pct_by_avg
860 USB Camera Driver (gl860) kernel module endef $(eval $(call KernelPackage,video-gspca-gl860)) define KernelPackage/video-gspca-jeilinj TITLE:=jeilinj webcam support KCONFIG:=CONFIG_USB_GSPCA_JEILINJ FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_jeilinj.ko AUTOLOAD:=$(call AutoProbe,gspca_...
null
null
null
null
null
null
github_plus_top10pct_by_avg
genericclioptions" "k8s.io/cli-runtime/pkg/resource" "k8s.io/client-go/dynamic" "k8s.io/client-go/rest" "k8s.io/client-go/scale" "k8s.io/client-go/tools/clientcmd" "k8s.io/klog" utilexec "k8s.io/utils/exec" ) const ( ApplyAnnotationsFlag = "save-config" DefaultErrorExitCode = 1 ) type debugError interface { ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
o // exit code. Unrecognized errors will be printed with an "error: " prefix. // // This method is generic to the command in use and may be used by non-Kubectl // commands. func CheckErr(err error) { checkErr(err, fatalErrHandler) } // CheckDiffErr prints a user friendly error to STDERR and exits with a // non-zero a...
null
null
null
null
null
null
github_plus_top10pct_by_avg
tErrorExitCode) case len(err.PartialResource.Group) > 0: handleErr(fmt.Sprintf("the server doesn't have a resource type %q in group %q", err.PartialResource.Resource, err.PartialResource.Group), DefaultErrorExitCode) case len(err.PartialResource.Version) > 0: handleErr(fmt.Sprintf("the server doesn't have...
null
null
null
null
null
null
github_plus_top10pct_by_avg
("error: You must be logged in to the server (%s)", s.Message), true case len(s.Reason) > 0: return fmt.Sprintf("Error from server (%s): %s", s.Reason, err.Error()), true default: return fmt.Sprintf("Error from server: %s", err.Error()), true } case apierrors.IsUnexpectedObjectError(err): return fmt.Spri...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ils.Kind, errorDetails.Name) for _, cause := range errorDetails.Causes { fmt.Fprintf(errOut, "* %s: %s\n", cause.Field, cause.Message) } return true } } fmt.Fprintf(errOut, "error: %v\n", err) return false } // MultipleErrors returns a newline delimited string containing // the prefix and referenced...
null
null
null
null
null
null
github_plus_top10pct_by_avg
if err != nil { klog.Fatalf("error accessing flag %s for command %s: %v", flag, cmd.Name(), err) } return b } // Assumes the flag has a default value. func GetFlagInt(cmd *cobra.Command, flag string) int { i, err := cmd.Flags().GetInt(flag) if err != nil { klog.Fatalf("error accessing flag %s for command %s: ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ons.Recursive, "Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.") } func AddJsonFilenameFlag(flags *pflag.FlagSet, value *[]string, usage string) { flags.StringSliceVarP(value, "filename", "f", *value, usage) annotations ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
erwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.") } func AddApplyAnnotationVarFlags(cmd *cobra.Command, applyAnnotation *bool) { cmd.Flags().BoolVar(applyAnnotation, ApplyAnnotationsFlag, *applyAnnotation, "If true, the configuration o...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ount]) if err != nil { return err } } return nil } func GetServerSideApplyFlag(cmd *cobra.Command) bool { return GetFlagBool(cmd, "server-side") } func GetForceConflictsFlag(cmd *cobra.Command) bool { return GetFlagBool(cmd, "force-conflicts") } func GetFieldManagerFlag(cmd *cobra.Command) string { retur...
null
null
null
null
null
null
github_plus_top10pct_by_avg
) } return printFlags } // GetResourcesAndPairs retrieves resources and "KEY=VALUE or KEY-" pair args from given args func GetResourcesAndPairs(args []string, pairType string) (resources []string, pairArgs []string, err error) { foundPair := false for _, s := range args { nonResource := (strings.Contains(s, "=")...
null
null
null
null
null
null
github_plus_top10pct_by_avg
g commands. func IsSiblingCommandExists(cmd *cobra.Command, targetCmdName string) bool { for _, c := range cmd.Parent().Commands() { if c.Name() == targetCmdName { return true } } return false } // DefaultSubCommandRun prints a command's help string to the specified output if no // arguments (sub-commands) ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
restClientGetter.ToDiscoveryClient() if err != nil { return nil, err } clientConfig, err := restClientGetter.ToRESTConfig() if err != nil { return nil, err } setKubernetesDefaults(clientConfig) restClient, err := rest.RESTClientFor(clientConfig) if err != nil { return nil, err } resolver := scale.New...
null
null
null
null
null
null
github_plus_top10pct_by_avg
{ _duration = Duration; } /// <summary> /// 方法执行前 /// </summary> /// <returns></returns> public string OnActionExecuting() { var result = "0,60"; if (!HttpContext.Current.Session.CachedPath.Contains(HttpContext.Current.Reque...
null
null
null
null
null
null
github_plus_top10pct_by_avg
an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.get_api_group(callback=callback_function) :param callback function: The...
null
null
null
null
null
null
github_plus_top10pct_by_avg
collection_formats = {} resource_path = '/apis/admissionregistration.k8s.io/'.replace('{format}', 'json') path_params = {} query_params = {} header_params = {} form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
on, either version 3 of the License, or * (at your option) any later version. * * Telegram Server is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Pu...
null
null
null
null
null
null
github_plus_top10pct_by_avg
"filename" : "chat-file-pause-big@2x.png", "scale" : "2x" }, { "idiom" : "universal", "scale" : "3x" } ], "info" : { "version" : 1, "author" : "xcode" } } # -*- encoding : utf-8 -*- # ClientSideValidations Initializer # Uncomment to disable uniqueness validator, possible...
null
null
null
null
null
null
github_plus_top10pct_by_avg
CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. * * http://rhomobile.com *------------------------------------------------------------------------*/ #include "rhodes/JNIRhodes.h" #include "rhodes/JNIRhoRuby.h" #include "rhodes/jni...
null
null
null
null
null
null
github_plus_top10pct_by_avg
); env->CallStaticVoidMethod(cls, mid, paramsObj.get()); } RHO_GLOBAL void alert_hide_popup() { JNIEnv *env = jnienv(); jclass cls = getJNIClass(RHODES_JAVA_CLASS_ALERT); if (!cls) return; jmethodID mid = getJNIClassStaticMethod(env, cls, "hidePopup", "()V"); if (!mid) return; env->CallStat...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ndicator(), ), ), error: (_, __) => const Scaffold( body: EmptyContent( title: 'Something went wrong', message: 'Can\'t load data right now.', ), ), ); } Widget _data(BuildContext context, User user) { if (user != null) { return signedInBu...
null
null
null
null
null
null
github_plus_top10pct_by_avg
orker**, and **AppCache** as a fallback under the hood. Simply include this plugin in your ``webpack.config``, and the accompanying runtime in your client script, and your project will become offline ready by caching all (or some) of the webpack output assets. <div align="center"> <h1>Sponsors</h1> <a href="htt...
null
null
null
null
null
null
github_plus_top10pct_by_avg
target="_blank"><img src="https://opencollective.com/offline-plugin/sponsor/10/avatar.svg"></a> <a href="https://opencollective.com/offline-plugin/sponsor/11/website" target="_blank"><img src="https://opencollective.com/offline-plugin/sponsor/11/avatar.svg"></a> <a href="https://opencollective.com/offline-plugin/s...
null
null
null
null
null
null
github_plus_top10pct_by_avg
g src="https://opencollective.com/offline-plugin/sponsor/22/avatar.svg"></a> <a href="https://opencollective.com/offline-plugin/sponsor/23/website" target="_blank"><img src="https://opencollective.com/offline-plugin/sponsor/23/avatar.svg"></a> <a href="https://opencollective.com/offline-plugin/sponsor/24/website" t...
null
null
null
null
null
null
github_plus_top10pct_by_avg
``` ES6/Babel/TypeScript ```js import * as OfflinePluginRuntime from 'offline-plugin/runtime'; OfflinePluginRuntime.install(); ``` > For more details of usage with `TypeScript` see [here](docs/typescript.md) ### `offline-plugin` isn't working? :information_source: **[Troubleshooting](docs/troubleshooting.md)** | **...
null
null
null
null
null
null
github_plus_top10pct_by_avg
d-outliner/) ([source](https://github.com/fluid-notion/fluid-outliner)) _If you are using `offline-plugin`, feel free to submit a PR to add your project to this list._ ## Like `offline-plugin`? Support it by giving [feedback](https://github.com/NekR/offline-plugin/issues), [contributing](CONTRIBUTING.md), becoming a...
null
null
null
null
null
null
github_plus_top10pct_by_avg