code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
/* Copyright (c) 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
cmdwin32/tileMapHomework
tillmap/cocos2d/plugin/plugins/googleplay/proj.android/src/org/cocos2dx/plugin/util/IabException.java
Java
unlicense
1,492
#ifndef _ASM_POWERPC_PROCESSOR_H #define _ASM_POWERPC_PROCESSOR_H /* * Copyright (C) 2001 PPC 64 Team, IBM Corp * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the...
maoze/linux-3-14-for-arm
linux-3.14/arch/powerpc/include/asm/processor.h
C
gpl-3.0
14,046
#ifndef __OPENCV_OLD_CXMISC_H__ #define __OPENCV_OLD_CXMISC_H__ #include "opencv2/core/internal.hpp" #endif
niftylettuce/depthjs
webkit-plugin-mac/include/opencv/cxmisc.h
C
agpl-3.0
110
<?php namespace Drupal\Core\Routing; use Symfony\Component\Routing\CompiledRoute as SymfonyCompiledRoute; /** * A compiled route contains derived information from a route object. */ class CompiledRoute extends SymfonyCompiledRoute { /** * The fitness of this route. * * @var int */ protected $fit; ...
ModulesUnraveled/test-built
web/core/lib/Drupal/Core/Routing/CompiledRoute.php
PHP
gpl-2.0
4,167
<!DOCTYPE html> <!-- DO NOT EDIT! This test has been generated by tools/gentest.py. --> <title>Canvas test: 2d.path.fill.winding.add</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/common/canvas-tests.js"></script> <link rel="stylesheet" hr...
cr/fxos-certsuite
web-platform-tests/tests/2dcontext/path-objects/2d.path.fill.winding.add.html
HTML
mpl-2.0
1,160
<head> <meta charset="utf-8"> <title>Meteor • TodoMVC</title> </head> <body> <section id="todoapp" data-framework="meteor"> {{> todoapp}} </section> <footer id="info"> <p>Double-click to edit a todo</p> <p>Created by Matthias Stumpp - <a href="http://github.com/MStumpp">GitHub</a>&nbsp;&nbsp;<a href="http://...
gabrielmancini/interactor
src/demo/meteor/app.html
HTML
bsd-2-clause
1,859
var baseForRight = require('./_baseForRight'), keys = require('./keys'); /** * The base implementation of `_.forOwnRight` without support for iteratee shorthands. * * @private * @param {Object} object The object to iterate over. * @param {Function} iteratee The function invoked per iteration. * @returns {Obj...
ChrisChenSZ/code
表单注册验证/node_modules/lodash/_baseForOwnRight.js
JavaScript
apache-2.0
486
<?php namespace Drupal\condition_test; use Drupal\Core\Form\FormInterface; use Drupal\Core\Condition\ConditionManager; use Drupal\Core\Form\FormStateInterface; use Drupal\node\Entity\Node; /** * Routing controller class for condition_test testing of condition forms. */ class FormController implements FormInterface...
sunlight25/d8
web/core/modules/system/tests/modules/condition_test/src/FormController.php
PHP
gpl-2.0
1,940
// SPDX-License-Identifier: GPL-2.0 /* * Copyright IBM Corp. 2001,2008 * * This file contains the IRQ specific code for hvc_console * */ #include <linux/interrupt.h> #include "hvc_console.h" static irqreturn_t hvc_handle_interrupt(int irq, void *dev_instance) { /* if hvc_poll request a repoll, then kick the hv...
CSE3320/kernel-code
linux-5.8/drivers/tty/hvc/hvc_irq.c
C
gpl-2.0
1,049
/* */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/slab.h> #include "cx88.h" static unsigned int vbibufs = 4; module_param(vbibufs,int,0644); MODULE_PARM_DESC(vbibufs,"number of vbi buffers, range 2-32"); static unsigned int vbi_debug; module_param(vbi_debug,int,0644);...
felixhaedicke/nst-kernel
src/drivers/media/video/cx88/cx88-vbi.c
C
gpl-2.0
6,438
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>SB Admin 2 - Bootstrap Admin Th...
keepeye/fragments
前端/模板/后台模板/sb-admin-2-1.0.7/pages/buttons.html
HTML
mit
32,435
$(function () { 'use strict'; module('affix plugin') test('should be defined on jquery object', function () { ok($(document.body).affix, 'affix method is defined') }) module('affix', { setup: function () { // Run all tests in noConflict mode -- it's the only way to ensure that the plugin work...
jackTheRipper/chat_nodejs
www/node_modules/bootstrap/js/tests/unit/affix.js
JavaScript
apache-2.0
2,099
/* * rsrc_mgr.c -- Resource management routines and/or wrappers * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * The initial developer of the original code is David A. Hind...
KOala888/GB_kernel
linux_kernel_galaxyplayer-master/drivers/pcmcia/rsrc_mgr.c
C
gpl-2.0
1,756
require('../modules/es6.object.to-string'); require('../modules/web.dom.iterable'); require('../modules/es6.weak-map'); module.exports = require('../modules/$.core').WeakMap;
yuyang545262477/Resume
项目三jQueryMobile/node_modules/core-js/library/fn/weak-map.js
JavaScript
mit
174
/* * fs/cifs/cifsglob.h * * Copyright (C) International Business Machines Corp., 2002,2008 * Author(s): Steve French (sfrench@us.ibm.com) * Jeremy Allison (jra@samba.org) * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser Gener...
wurikiji/ttFS
ulinux/linux-3.10.61/fs/cifs/cifsglob.h
C
gpl-2.0
49,769
// // DDNSDictionary+Safe.m // IOSDuoduo // // Created by 东邪 on 14-5-29. // Copyright (c) 2014年 dujia. All rights reserved. // #import <Foundation/Foundation.h> @interface NSDictionary(Safe) - (id)safeObjectForKey:(id)key; - (int)intValueForKey:(id)key; - (double)doubleValueForKey:(id)key; - (NSString*)stringVal...
ouyang90/TeamTalk
mac/TeamTalk/Category/NSDictionary+Safe.h
C
apache-2.0
681
#include<gtk/gtk.h> #include<glade/glade.h> void yes_button_enter_cb(GtkWidget *widget) { gtk_button_set_label(GTK_BUTTON(yes_button), "Zebbi 3aleik!"); gtk_widget_set_sensitive(GTK_BUTTON(yes_button), FALSE); } void yes_button_leave_cb(GtkWidget *widget) { gtk_button_set_label(GTK_BUTTON(yes_button), "Of Course!"...
fredmorcos/attic
snippets/c/gtk/abbas-glade/abbas.c
C
isc
642
#pragma once #include <QMainWindow> #include <QPalette> #include <QSplitter> #include <QStackedWidget> #include <QTabBar> #include "contextmenu.h" #include "errorwidget.h" #include "neovimconnector.h" #include "scrollbar.h" #include "shell.h" #include "tabline.h" #include "treeview.h" namespace NeovimQt { class Mai...
equalsraf/neovim-qt
src/gui/mainwindow.h
C
isc
2,493
<!doctype html><html lang=''><head><meta charset='utf8'><meta name="viewport" resources="width=device-width, initial-scale=1"><link rel="stylesheet" href="markdown.css"><link rel="stylesheet" href="main.css"></head><body><div id="Main" class="markdown-body"> <h1> <a id="user-content-command-line-arguments" class="ancho...
Gi60s/IT410
instruction/dist/command-line-args.html
HTML
isc
2,733
using System.Collections.Generic; using libcmdline; using NUnit.Framework; namespace test { [TestFixture] public class CommandLineArgsTests { [TestCase("-a", "testarg")] [TestCase("-a=testarg")] public void Option_WithArg(params string[] args) { ...
sbennett1990/libcmdline
test/CommandLineArgsTests.cs
C#
isc
3,009
<!doctype html> <html> <head> <title>test page</title> <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet"> <script src="/socket.io/socket.io.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> ...
saasmath/winter25
adam8.html
HTML
isc
3,014
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Long Range Compressor (LRC)</title> <style> body{ font-family: Sans-Serif; font-size:0.8em; color:#333333; ...
pauldoo/scratch
LRC/index.html
HTML
isc
6,434
#!/usr/bin/env python # # BBB-Network-Ammeter # # Copyright (c) 2016, Forest Crossman <cyrozap@gmail.com> # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copi...
cyrozap/BBB-Network-Ammeter
server.py
Python
isc
5,648
package Perl; use strict; use v5.10; use Exporter; use Module::Load; our $VERSION = 0.01; our @ISA = qw(Exporter); our @keywords = qw(perl); our @EXPORT = qw(init needs); sub perl { exec("perldoc", @_); } sub init { my $hashref = shift; $hashref->{"perl"} = \&Perl::perl; } sub needs { return qw(); ...
tekktonic/walter
Perl.pm
Perl
isc
326
/* ISC license. */ #include <s6-dns/s6dns-domain.h> unsigned int s6dns_domain_encodelist (s6dns_domain_t *list, unsigned int n) { unsigned int i = 0 ; for (; i < n ; i++) if (!s6dns_domain_encode(list + i)) break ; return i ; }
skarnet/s6-dns
src/libs6dns/s6dns_domain_encodelist.c
C
isc
240
import mod1770 from './mod1770'; var value=mod1770+1; export default value;
MirekSz/webpack-es6-ts
app/mods/mod1771.js
JavaScript
isc
76
#include <stan/math/fwd/scal.hpp> #include <gtest/gtest.h> #include <boost/math/special_functions/digamma.hpp> #include <test/unit/math/fwd/scal/fun/nan_util.hpp> TEST(AgradFwdLbeta,Fvar) { using stan::math::fvar; using boost::math::digamma; using stan::math::lbeta; fvar<double> x(0.5,1.0); fvar<double> y(1...
ariddell/httpstan
httpstan/lib/stan/lib/stan_math/test/unit/math/fwd/scal/fun/lbeta_test.cpp
C++
isc
1,654
/* load all RexxUtil functions */ Call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs' Call SysLoadFuncs '@echo off' /* invoke test program */ CurrentDirectory = directory() CurrentDirectory'\hybrid.exe /a8/e81/nSNX$' if rc \=0 then do /* obtain and issue error message */ say SysGetMessage(rc, 'OSO001.MSG') ...
OS2World/DRV-USBECD
hybrid/hybrid.cmd
Batchfile
isc
370
package org.apollo.net.codec.login; /** * An enumeration with the different states the {@link LoginDecoder} can be in. * * @author Graham */ public enum LoginDecoderState { /** * The login handshake state will wait for the username hash to be received. Once it is, a server session key will * be sent to the ...
DealerNextDoor/ApolloDev
src/org/apollo/net/codec/login/LoginDecoderState.java
Java
isc
753
$().ready(function () { var $likeDislikeTripButton = $('#likeDislikeTripButton'), $likesCount = $('#likesCount'), ajaxAFT = $('#ajaxAFT input[name="__RequestVerificationToken"]:first').val(); $likeDislikeTripButton.on('click', function () { var $this = $(this), valueAsStrin...
simeonpp/Trip-Destination
Source/TripDestination/Web/TripDestination.Web.MVC/Assets/javascript/src/once/trip-detailed-like.js
JavaScript
isc
1,944
// // Copyright (c) 2014, Andy Best // // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice appear in all copies. // // THE SOFTWARE IS PROVIDED "AS IS" AND THE ...
andybest/ShaderFiddle
ShaderFiddle/ABEventList.h
C
isc
913
#include <assert.h> #include <errno.h> #include <pthread.h> #include <stdbool.h> #include <stdlib.h> #include <sysexits.h> #include <bsd/bsd.h> #include "array.h" #include "dir.h" #include "dir-print.h" #include "dir-parse.h" #include "dir-diff.h" #include "net.h" #include "util.h" int main(const int argc, char **argv...
fredmorcos/attic
projects/backy/archive/original/backyd-original.c
C
isc
4,803
# Django settings for test_project project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'test.db', } } TIME_ZONE = 'Etc/UTC' LANGUAGE_CODE = 'en-u...
yprez/django-useful
test_project/test_project_py2/settings.py
Python
isc
1,842
{-# OPTIONS_GHC -Wno-overlapping-patterns -Wno-incomplete-patterns -Wno-incomplete-uni-patterns -Wno-incomplete-record-updates #-} -- | Index simplification mechanics. module Futhark.Optimise.Simplify.Rules.Index ( IndexResult (..), simplifyIndexing, ) where import Data.Maybe import Futhark.Analysis.PrimExp.C...
HIPERFIT/futhark
src/Futhark/Optimise/Simplify/Rules/Index.hs
Haskell
isc
10,142
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content=""> <title>Rekanban</title> <!-- le styles --> <link rel="stylesheet" href="../stylesheets/profitably...
activecell/rekanban
static/account/notifications.html
HTML
isc
11,596
# Browser Games A group of little games / experiments running in the browser : either with Canvas, WebGL or by manipulating the DOM. ## Canvas Snake Taken from a [CSS Tricks guest post](http://css-tricks.com/learn-canvas-snake-game/) by [Nick Morgan aka Skilldrick](http://skilldrick.co.uk/). Introduces the Canvas AP...
ThibWeb/browser-games
README.md
Markdown
isc
1,671
'use strict'; var _ = require('lodash'); var fs = require('fs'); var path = require('path'); var Module = require('module'); var SourceMapConsumer = require('source-map').SourceMapConsumer; var glob = require('glob'); var minimatch = require('minimatch'); var babel = require('babel'); var Istanbul = require('istanbul...
MitMaro/MochaBabelCoverage
src/runner.js
JavaScript
isc
7,065
# react-tests-globals-setup If you want to unit test react components with node & mocha, some globals need to be set up to make the environment more browser-like. This will set up those globals. The current version of this module uses a fake DOM provided by `jsdom@3`, which works with node 0.10 and 0.12. A future ve...
holidayextras/react-tests-globals-setup
README.md
Markdown
isc
720
import CDGPlayer from './CDGPlayer' export default CDGPlayer
bhj/karaoke-forever
src/routes/Player/components/Player/CDGPlayer/index.js
JavaScript
isc
62
// Copyright (c) 2016 The btcsuite developers // Use of this source code is governed by an ISC // license that can be found in the LICENSE file. package mining import ( "container/heap" "math/rand" "testing" "github.com/btcsuite/btcd/btcutil" ) // TestTxFeePrioHeap ensures the priority queue for transaction fee...
btcsuite/btcd
mining/mining_test.go
GO
isc
3,095
/* * %ISC_START_LICENSE% * --------------------------------------------------------------------- * Copyright 2006-2018, Pittsburgh Supercomputing Center * All rights reserved. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that ...
pscedu/pfl
pfl/compat/amd64/atomic.h
C
isc
13,919
from flatten import * POS_SIZE = 2**23 - 1 NEG_SIZE = -2**23 OPTIMIZE = True OPTIMIZERS = { 'set': 'SET', 'setglobal': 'SET_GLOBAL', 'local': 'SET_LOCAL', 'get': 'GET', 'getglobal': 'GET_GLOBAL', 'return': 'RETURN', 'recurse': 'RECURSE', 'drop': 'DROP', 'dup': 'DUP', '[]': 'NEW_LIST', '{}': 'NEW_DICT', 's...
gvx/deja
convert.py
Python
isc
5,277
module Extras where import Data.Char class Show a => PrettyShow a where prettyShow :: a -> String prettyShow x = show x unique :: Eq a => [a] -> [a] unique [] = [] unique (x:xs) = if x `elem` xs then unique xs else (x:unique xs) toLowercase :: String -> String toLowercase = map toLower trimLeft :: String -...
fredmorcos/attic
snippets/haskell/QuickCheck/Extras.hs
Haskell
isc
538
var structdbs_1_1i_1_1_r1 = [ [ "nodes", "structdbs_1_1i_1_1_r1.html#a249eb273e89b4e1a053dea78ec1f2a3c", null ] ];
ukoloff/docpad.ukoloff.tk
src/raw/dbs/structdbs_1_1i_1_1_r1.js
JavaScript
isc
118
# lodash.some v3.2.2 The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.some` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. ## Installation Using npm: ```bash $ {sudo -H} npm i -g npm $ npm i --save lodash.some ``` In N...
gyaresu/labelr
node_modules/ampersand-rest-collection/node_modules/ampersand-collection-lodash-mixin/node_modules/lodash.some/README.md
Markdown
isc
545
PREFIX ?= /usr/local MANPREFIX ?= $(PREFIX)/man BIN = bootstrap install: install -d $(DESTDIR)$(PREFIX)/bin install -m 755 $(BIN) $(DESTDIR)$(PREFIX)/bin install -d $(DESTDIR)$(MANPREFIX)/man1 install -m 444 $(BIN).1 $(DESTDIR)$(MANPREFIX)/man1 uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/$(BIN) rm -f $(DESTDIR)$...
adriangrigore/bootstrap
Makefile
Makefile
isc
695
#ifndef CARP_INSTRUCTIONS_H #define CARP_INSTRUCTIONS_H /* make instruction numbers easier on the eyes */ typedef enum { CARP_INSTR_UNDEF = -1, CARP_INSTR_HALT , CARP_INSTR_NOP , CARP_INSTR_LOADR, CARP_INSTR_LOAD , CARP_INSTR_STORE, CARP_INSTR_MOV , CARP_INSTR_ADD , CARP_INSTR_SUB , CARP_INSTR_...
fredmorcos/attic
projects/carp/carp-master/src/carp/instructions.h
C
isc
946
/* See LICENSE file for copyright and license details. */ #include "key.h" static void key_handleplay(struct info *, int, wint_t); static void key_handlesearch(struct info *, int, wint_t); static void key_handleselect(struct info *, int, wint_t); static void key_handlestart(struct info *, int, wint_t); void key_hand...
jgmp/8p
key.c
C
isc
2,813
'use strict'; import React, { Component, PropTypes } from 'react'; class Package extends Component { static propTypes = { children: PropTypes.node, billItems: PropTypes.object } render() { const { billItems } = this.props; const { subscriptions } = this.props.billItems.pack...
hyphenbash/customer-bill
app/js/components/Package.js
JavaScript
isc
1,205
/* * Copyright (c) 2008 James Molloy, Jörg Pfähler, Matthew Iselin * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "A...
jmolloy/pedigree
src/modules/system/ext2/Ext2Filesystem.h
C
isc
3,317
'use strict'; require('nightingale-app-console'); var _pool = require('koack/pool'); var _pool2 = _interopRequireDefault(_pool); var _server = require('koack/server'); var _server2 = _interopRequireDefault(_server); var _memory = require('koack/storages/memory'); var _memory2 = _interopRequireDefault(_memory); ...
koack/koack
examples/node6/interactive-message/index.js
JavaScript
isc
1,092
// Package rpctest provides a hcashd-specific RPC testing harness crafting and // executing integration tests by driving a `hcashd` instance via the `RPC` // interface. Each instance of an active harness comes equipped with a simple // in-memory HD wallet capable of properly syncing to the generated chain, // creating ...
HcashOrg/hcashd
rpctest/doc.go
GO
isc
703
# Generated by Django 2.2.10 on 2020-04-29 12:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0020_auto_20200421_0851'), ] operations = [ migrations.AddField( model_name='localconfig', name='need_dovec...
modoboa/modoboa
modoboa/core/migrations/0021_localconfig_need_dovecot_update.py
Python
isc
403
package main // store global values here import ( "github.com/gokyle/adn" "os" "path/filepath" ) const ( AppName = "The Social Gopher" AppUnixName = "socialgopher" AppVersion = "0.1" ) var ( homeDir = os.ExpandEnv("${HOME}/." + AppUnixName) authDatabaseFile = filepath.Join(homeDir, "profiles.d...
kisom/socialgopher
data.go
GO
isc
1,102
<?php namespace TMDB\Request; /** * Class StrictPageRequest * * Used in cases where the endpoint requires certain variables to be sent, or none at all. * * See \TMDB\Request\StrictPageRequest if you require validation * * @package TMDB */ class PageRequest extends TMDBService { /** * @var \TMDB\Reque...
zanderwar/silverstripe-tmdb
code/system/Request/PageRequest.php
PHP
isc
3,658
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE TypeFamilies #-} -- | This module defines a convenience typeclass for creating -- normalised programs. -- -- See "Futhark.Construct" for a high-level description. module Futhark.Builder.Class ( Buildable (..), mkLet, mkLet', MonadBuilder (..), insertStms...
HIPERFIT/futhark
src/Futhark/Builder/Class.hs
Haskell
isc
5,424
// External modules var del = require('del'); var critical = require('critical').stream; // Import config var config = require('./_config'); // Html module module.exports = function(gulp, livereload) { gulp.task('html', function() { return gulp.src(config.html) .pipe(gulp.dest('dist')) .pipe(livereload()); ...
sp90/prototype-builder
gulp/copy.js
JavaScript
isc
1,068
-- | Multicore imperative code. module Futhark.CodeGen.ImpCode.Multicore ( Program, Function, FunctionT (Function), Code, Multicore (..), Scheduling (..), SchedulerInfo (..), AtomicOp (..), ParallelTask (..), module Futhark.CodeGen.ImpCode, ) where import Futhark.CodeGen.ImpCode...
HIPERFIT/futhark
src/Futhark/CodeGen/ImpCode/Multicore.hs
Haskell
isc
4,250
/** @license ISC License (c) copyright 2017 original and current authors */ /** @author Ian Hofmann-Hicks (evil) */ const Pair = require('../core/types').proxy('Pair') const isFoldable = require('../core/isFoldable') const isSameType = require('../core/isSameType') const isString = require('../core/isString') functi...
evilsoft/crocks
src/helpers/fromPairs.js
JavaScript
isc
961
var fs = require('fs'); var tapOut = require('tap-out'); var through = require('through2'); var duplexer = require('duplexer'); var format = require('chalk'); var prettyMs = require('pretty-ms'); var _ = require('lodash'); var repeat = require('repeat-string'); var symbols = require('./lib/utils/symbols'); var lTrimL...
Belrestro/GolemStoneAntAttack_browser
node_modules/le_node/node_modules/tap-spec/index.js
JavaScript
isc
4,422
from . import meta_selector # noqa from .pg import PatternGenerator from .selector import Selector PatternGenerator('') Selector('')
stack-of-tasks/sot-pattern-generator
src/dynamic_graph/sot/pattern_generator/__init__.py
Python
isc
136
<!doctype html> <html lang="en"> <head> <title>Code coverage report for csv2json/libs/core/defaultParsers/parser_flat.js</title> <meta charset="utf-8" /> <link rel="stylesheet" href="../../../../prettify.css" /> <link rel="stylesheet" href="../../../../base.css" /> <meta name="viewport" content="wid...
pVelocity/pvserverhelper
node_modules/csvtojson/coverage/csv2json/libs/core/defaultParsers/parser_flat.js.html
HTML
isc
5,158
/*jshint esnext: true */ let plugins; export default class DevicePlugin { constructor(_plugins) { plugins = _plugins; plugins.registerCommand('Device', 'getDeviceInfo', this.getDeviceInfo); } getDeviceInfo(sender) { return { platform: sender.device.preset.platform, version: sender.devi...
ozsay/cordova-simulator
plugins/cordova-plugin-device/renderer/js/service.js
JavaScript
mit
469
module Ayatsuri class Application class TreeView < ControlBase def select(item_no) driver.select_tree_view_item(window.title, id, item_no) end end end end
haazime/ayatsuri
lib/ayatsuri/application/tree_view.rb
Ruby
mit
172
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.data.cosmos.internal.directconnectivity.rntbd; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.ByteToMessageDecoder; import org.slf4j.Logger; i...
navalev/azure-sdk-for-java
sdk/cosmos/microsoft-azure-cosmos/src/main/java/com/azure/data/cosmos/internal/directconnectivity/rntbd/RntbdResponseDecoder.java
Java
mit
1,545
using abremir.AllMyBricks.Onboarding.Shared.Extensions; using System; namespace abremir.AllMyBricks.Onboarding.Shared.Models { public class Device { public string AppId { get; set; } public string Manufacturer { get; set; } public string Model { get; set; } public string Versio...
zmira/abremir.AllMyBricks
abremir.AllMyBricks.Onboarding.Shared/Models/Device.cs
C#
mit
1,699
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("06...
akkirilov/SoftUniProject
01_ProgrammingFundamentals/Homeworks/02_Data Types and Variables-Ex/06_Strings and Objects/Properties/AssemblyInfo.cs
C#
mit
1,420
require 'rubygems' require 'test/unit' require 'shoulda' require 'mocha' require 'matchy' require 'pp' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'fifth_column' class Test::Unit::TestCase end
tobias/fifth_column
test/test_helper.rb
Ruby
mit
269
## Notes on chapter 2: Getting started We assume in this chapter that you have the Scala compiler and interpreter already up and running. See [the documentation page of Scala's website](http://www.scala-lang.org/documentation/) for more details about how to get Scala set up and links to lots of supplementary materia...
runarorama/fpiscompanion
notes/Chapter-2:-Getting-started.md
Markdown
mit
3,117
#include "IOverlay.hpp" namespace duke { IOverlay::~IOverlay() {} } /* namespace duke */
mikrosimage/duke
src/duke/engine/overlay/IOverlay.cpp
C++
mit
92
<?php namespace Bankrot\SiteBundle\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\Mapping\Column; use Doctrine\ORM\Mapping\Entity; use Doctrine\ORM\Mapping\GeneratedValue; use Doctrine\ORM\Mapping\Id; use Doctrine\ORM\Mapping\Table; use Doctrine\ORM\Mapping as ORM; use FOS\UserBundle\Model\...
bhdm/bankrot
src/Bankrot/SiteBundle/Entity/User.php
PHP
mit
6,012
import { ChangeDetectionStrategy, Component } from '@angular/core'; import { faCaretRight } from '@fortawesome/free-solid-svg-icons'; @Component({ selector: 'section-title', template: ` <div fxLayout fxLayoutAlign="start center"> <h2> <i class="fas fa-caret-right" aria-hidden="true"></i> ...
MurhafSousli/ng-gallery
projects/demo/src/app/shared/section-title/section-title.component.ts
TypeScript
mit
609
/* ---------------------------------------------------------------------------- ** Copyright (c) 2016 Austin Brunkhorst, All Rights Reserved. ** ** Class.cpp ** --------------------------------------------------------------------------*/ #include "Precompiled.h" #include "LanguageTypes/Class.h" #include "ReservedTyp...
AustinBrunkhorst/CPP-Reflection
Source/Parser/LanguageTypes/Class.cpp
C++
mit
5,934
RSpec.describe Section, :type => :model do pending "add some examples to (or delete) #{__FILE__}" end
chrisvfritz/codekwondo
spec/models/section_spec.rb
Ruby
mit
104
<!doctype html> <html> <head> <title>Histories 2.166</title> <meta charset="utf-8"> <link rel="stylesheet" href="reader.css"> </head> <body class="plain"> <div class="container"> <h1>Histories 2.166</h1> <div class="text"> <p><span class="section">1</span> The Kalasiries are f...
jtauber/online-reader
docs/static-paginated-perseus4/166.html
HTML
mit
914
/* -*- C -*- * $Id$ */ #include <ruby/ruby.h> #include <ruby/io.h> #include <ctype.h> #include <fiddle.h> #ifdef PRIsVALUE # define RB_OBJ_CLASSNAME(obj) rb_obj_class(obj) # define RB_OBJ_STRING(obj) (obj) #else # define PRIsVALUE "s" # define RB_OBJ_CLASSNAME(obj) rb_obj_classname(obj) # define RB_OBJ_STRING(obj) ...
pmq20/ruby-compiler
ruby/ext/fiddle/pointer.c
C
mit
17,182
package org.learning.by.example.reactive.microservices.routers; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import o...
LearningByExample/reactive-ms-example
src/test/java/org/learning/by/example/reactive/microservices/routers/StaticRouterTest.java
Java
mit
1,676
## Command line **doctest** works quite nicely without any command line options at all - but for more control a bunch are available. **Query flags** - after the result is printed the program quits without executing any test cases (and if the framework is integrated into a client codebase which [**supplies it's own ``...
onqtam/doctest
doc/markdown/commandline.md
Markdown
mit
11,270
-- phpMyAdmin SQL Dump -- version 3.4.10.1deb1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Jun 29, 2014 at 01:21 PM -- Server version: 5.5.37 -- PHP Version: 5.3.10-1ubuntu3.12 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTE...
AmnestyInternational/visor
db_setup.sql
SQL
mit
5,625
package report type Report struct { System SystemReport `json:"system"` Reports map[string]interface{} `json:"reports"` }
hooroo/cartographer
report/report.go
GO
mit
127
<!DOCTYPE html> <html lang="en"> {% include head.html %} <body> {% include header.html %} </body> </html>
asongyu/asongyu.github.io
_layouts/front.html
HTML
mit
119
namespace LVMS.FactuurSturen { public enum InvoiceFilters { /// <summary> /// Get open invoice (all invoices that are not fully paid yet) /// </summary> Open, /// <summary> /// Get overdue invoices /// </summary> Overdue, /// <summary> ...
leonmeijer/Factuursturen.NET
LVMS.FactuurSturen.NET/LVMS.FactuurSturen.NET/InvoiceFilters.cs
C#
mit
801
#include "../mk.h" typedef struct _mk_writer_context { uint8_t *buffer; uv_fs_t *write_req; } mk_writer_context; static mk_page *mk_get_writable_page(mk_collection *collection) { if (collection->writable_page == NULL) { #if MK_DEBUG fprintf(stderr, "Debug: Allocating new page for collection %s\n", collection-...
andresgutierrez/mazikeen
src/engine/writer.c
C
mit
1,662
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { FormsModule } from '@angular/forms'; import { RouterModule } from '@angular/router'; import { HttpModule, JsonpModule } from '@angular/http'; import { AppRoutingModule } from './app-routing....
juannarvaez/Movie_center_2
src/app/app.module.ts
TypeScript
mit
1,928
// // UIViewController+DimBankground.h // DimBackgroundOC // // Created by GK on 2016/11/16. // Copyright © 2016年 GK. All rights reserved. // #import <UIKit/UIKit.h> enum Direction { kIn , kOut }; @interface UIViewController (DimBankground) - (void)dim:(enum Direction) direction color:(UIColor *)color alpha...
OneBestWay/EasyCode
PopView/DimBackgroundOC/DimBackgroundOC/UIViewController+DimBankground.h
C
mit
368
<?php namespace Application\Migrations; use Doctrine\DBAL\Migrations\AbstractMigration; use Doctrine\DBAL\Schema\Schema; /** * Auto-generated Migration: Please modify to your needs! */ class Version20160525135217 extends AbstractMigration { /** * @param Schema $schema */ public function up(Schema...
rsmakota/ortofit_backoffice
app/DoctrineMigrations/Version20160525135217.php
PHP
mit
2,854
/** * Created by larus on 15/2/9. */ angular.module('myApp').directive('taginput', function () { return { restrict: 'E', template: '<input name="{{name}}" class="tagsinput tagsinput-primary" ng-value="values" />', replace: true, scope: { tags: '=', name: '@'...
larusx/yunmark
static/taginput_directive.js
JavaScript
mit
1,053
<?php echo "<html>"; echo "<head>"; echo "<title>"; echo "About Us"; echo "</title>"; echo "</head>"; echo "<body>"; echo "About Content goes here"; echo "</body>"; echo "</html>"; ?>
akamaotto/yopitest
about.php
PHP
mit
183
/** @file Cuckoo_Hashing.hh @brief Classe Bloom_Filter */ #define CUCKOO_HASHING_HH #include <sstream> #include <vector> #include <string> #include "stdlib.h" #include <random> #include <iostream> #include "Hash_Func_Mod.hh" using namespace std; /** @class Cuckoo_Hashing @brief Representa un filtre de bloo...
erikkvam/A
Experiment 2/Cuckoo/Cuckoo_Hashing.hh
C++
mit
936
package com.psychic_engine.cmput301w17t10.feelsappman.Controllers; import android.util.Log; import com.psychic_engine.cmput301w17t10.feelsappman.Models.MoodEvent; import com.psychic_engine.cmput301w17t10.feelsappman.Models.Participant; import com.psychic_engine.cmput301w17t10.feelsappman.Models.ParticipantSingleton; ...
CMPUT301W17T10/psychic-engine
app/src/main/java/com/psychic_engine/cmput301w17t10/feelsappman/Controllers/ParticipantController.java
Java
mit
3,074
namespace TiledImporter { using System; using System.Xml.Linq; public static class XElementExtensions { public static T ParseAttribute<T>(this XElement element, string attribute) where T : struct { Enum.TryParse(element.Attribute(attribute)?.Value.Replace("-", string.Empty), true, out T...
ericrrichards/monorpg
src/MonoRpg/TiledImporter/XElementExtensions.cs
C#
mit
540
package net.ruippeixotog.akka.testkit.specs2 import net.ruippeixotog.akka.testkit.specs2.mutable.AkkaTypedSpecification class MyTypedSpec extends AkkaTypedSpecification { "my typed test probe" should { "receive messages" in { val probe = testKit.createTestProbe[String]() probe.ref ! "hello" // ex...
ruippeixotog/akka-testkit-specs2
typed/src/test/scala/net/ruippeixotog/akka/testkit/specs2/MyTypedSpec.scala
Scala
mit
589
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>18 --> 19</title> <link href="./../../assets/style.css" rel="stylesheet"> </head> <body> <h2>You have to be fast</h2> <a href="./b3414a0b755728c4b2d997365f3c6197e77f87ceac9496f685911125c9f120a8.html">Teleport</a> <hr> ...
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/4a8dc3735cfb30dfe67df1e81b34cc2874bb35249f86e97f47f7b6c4c8a513b9.html
HTML
mit
550
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>18 --> 19</title> <link href="./../../assets/style.css" rel="stylesheet"> </head> <body> <h2>You have to be fast</h2> <a href="./3aa5b4d4d39afa78e2d1c816fbb44e4ac1de98756c4d241a22a035473c3b6074.html">Teleport</a> <hr> ...
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/681d9847ad2cd7ce4b8bb15ea4303f3d7502166a9726c56a7fe97eeaca10762a.html
HTML
mit
550
package com.lotaris.jee.rest.mappers; import com.lotaris.jee.validation.IErrorCode; import com.lotaris.jee.validation.IErrorLocationType; /** * Mapping definition to bind an ExceptionMapper with an ErrorCode and LocationType * * @author Laurent Prevost <laurent.prevost@lotaris.com> */ public class MapperMappingDe...
lotaris/jee-rest
src/main/java/com/lotaris/jee/rest/mappers/MapperMappingDefinition.java
Java
mit
1,590
/* eslint-disable consistent-this */ var cscript = require('../lib/cscript.js') describe('cscript', function() { var mockFs, mockExecFile it('must be initialized', function() { (function() { cscript.path() }).should.throw('must initialize first') }) it('if cscript.exe is successfully spawned then no more...
ironSource/node-regedit
test/cscript.test.js
JavaScript
mit
2,931
var SpecHelper = function(){};
patocallaghan/questionnaire-js
original/assets/scripts/test/spec/helpers/SpecHelper.js
JavaScript
mit
31
<style> .ng-invalid { background-color: lightpink; } .ng-valid { background-color: lightgreen; } span.error { color: red; font-weight: bold; } </style> <h2>现在付款</h2> <p>请输入您的详细信息,我们将尽快发货!</p> <form name="shippingForm" novalidate> <div class="well"> <h3>收货人:</h3> <div class="form-group">...
attraction11/projects
angular-node-sportsMall/public/views/placeOrder.html
HTML
mit
2,756
var add = function( part ){ this._value.push(part); } var resolved = function( is ){ if( undefined === is ) return this._resolved; this._resolved = !!is; return this._resolved; } var getValue = function(){ return this._value; } var setValue = function( value ){ this._value = value; } var Wildcard = function()...
quimsy/espresso
Bag/Resolver/Wildcard.js
JavaScript
mit
607
<?php $parentNav="jquery-home"; $pageName="jquery-carousel-1"; $category="jquery-carousel"; ?> <?php include '../../includes/header.php'; ?> <style rel="stylesheet" type="text/css" /> .my_carousel { position: relative; width: 760px; margin: 0px; background-color: #fff; margin: 30px auto 20px auto; } .carousel_contain...
rickyspires/training-and-code-examples
pages/jquery/ex-carousel.php
PHP
mit
9,788