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
#!/usr/bin/env python # Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Tests for jni_generator.py. This test suite contains various tests for the JNI generator. It exercises the low-level parser all...
heke123/chromium-crosswalk
base/android/jni_generator/jni_generator_tests.py
Python
bsd-3-clause
39,812
/* * Copyright (C) 2009 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
axinging/chromium-crosswalk
third_party/WebKit/Source/core/loader/ThreadableLoader.cpp
C++
bsd-3-clause
3,022
// package metadata file for Meteor.js 'use strict'; var packageName = 'gromo:jquery.scrollbar'; // https://atmospherejs.com/mediatainment/switchery var where = 'client'; // where to install: 'client' or 'server'. For both, pass nothing. Package.describe({ name: packageName, version: '0.2.10', // Brief, o...
aivankovich/zo
vendor/jquery.scrollbar/package.js
JavaScript
bsd-3-clause
964
Prism.languages.j={comment:{pattern:/\bNB\..*/,greedy:!0},string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)...
netbek/chrys
demo/vendor/prismjs/components/prism-j.min.js
JavaScript
bsd-3-clause
818
/* * zClip :: jQuery ZeroClipboard v1.1.1 * http://steamdev.com/zclip * * Copyright 2011, SteamDev * Released under the MIT license. * http://www.opensource.org/licenses/mit-license.php * * Date: Wed Jun 01, 2011 */ (function ($) { $.fn.zclip = function (params) { if (typeof par...
xantage/code
vilya/static/js/lib/jquery.zclip.js
JavaScript
bsd-3-clause
16,750
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using OrchardCore.Environment.Shell.Descriptor.Models; namespace OrchardCore.Environment.Shell.Descriptor.Settings { /// <summary> /// Implements <see cref="IShellDescriptorManager"/> by returning a single tenant with a specifie...
OrchardCMS/Brochard
src/OrchardCore/OrchardCore/Shell/Descriptor/Settings/SetFeaturesShellDescriptorManager.cs
C#
bsd-3-clause
1,381
// mksyscall.pl -l32 syscall_bsd.go syscall_darwin.go syscall_darwin_arm.go // MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT package syscall import "unsafe" // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func getgroups(ngid int, gid *_Gid_t) (n int, err error) { r0, _, e1 := RawSyscall(SYS_...
AnuchitPrasertsang/go
src/syscall/zsyscall_darwin_arm.go
GO
bsd-3-clause
33,695
<html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <title>U+2500-U+257F: Box Drawing</title> <link rel="next" href="2580.html"> <link rel="prev" href="2460.html"> <link rel="contents" href="./"> </head> <body> <table> <caption>Box Drawing</caption> <tr><th> <th>0<th>1...
frivoal/presto-testo
imported/peter/unicode/tables/utf8/2500.html
HTML
bsd-3-clause
1,699
/** * Copyright (c) 2014, * Charles Prud'homme (TASC, INRIA Rennes, LINA CNRS UMR 6241), * Jean-Guillaume Fages (COSLING S.A.S.). * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:...
piyushsh/choco3
choco-solver/src/main/java/org/chocosolver/solver/thread/AbstractParallelSlave.java
Java
bsd-3-clause
3,193
<!DOCTYPE html> <title>drag &amp; drop - event sequence for draggable elements</title> <script type="text/javascript" src="/resources/testharness.js"></script> <style type="text/css"> /* use margins instead of padding to make sure the body begins at the top of the page */ html, body { margin: 0; } body { ...
frivoal/presto-testo
core/standards/dnd/events/events-suite.html
HTML
bsd-3-clause
24,906
import json import mock from sentry.plugins.helpers import get_option, set_option from sentry.testutils import TestCase from sentry.models import set_sentry_version, Option from sentry.tasks.check_update import check_update, PYPI_URL class CheckUpdateTest(TestCase): OLD = '5.0.0' CURRENT = '5.5.0-DEV' ...
beni55/sentry
tests/sentry/tasks/check_update/tests.py
Python
bsd-3-clause
1,970
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/renderer/chrome_render_frame_observer.h" #include "base/test/histogram_tester.h" #include "chrome/test/base/chrome_render_view_test.h" #...
axinging/chromium-crosswalk
chrome/renderer/chrome_render_frame_observer_browsertest.cc
C++
bsd-3-clause
1,787
var clientid = '4c3b2c1b-364c-4ceb-9416-8371dd4ebe3a'; if (/^#access_token=/.test(location.hash)) { location.assign('/Home/index?auto=1&ss=0' + '&cors=1' + '&client_id=' + clientid+ '&origins=https://webdir.online.lync.com/autodiscover/autodiscoverservice.svc/root'); } $('.logi...
unixcbt/demos
LamnaHealthCare-Patient/obj/Release/Package/PackageTmp/Scripts/onlinesignin.js
JavaScript
bsd-3-clause
698
<?php $this->title = 'Update Country Detail: ' . ' ' . $model->name; $this->params['breadcrumbs'][] = ['label' => 'Countries', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; $this->params['breadcrumbs'][] = 'Update'; ?> <div class="countries-upd...
61ds/aging
_protected/backend/views/countries/update.php
PHP
bsd-3-clause
405
--- title: Modify an Object Nested Within an Object localeTitle: تعديل كائن متداخل داخل كائن --- ## تعديل كائن متداخل داخل كائن طريقة: * تذكر أن الكائن الذي تريد تغييره هو مستويين عميقين ، ومن السهل استخدام `dot-notation` في هذه الحالة. * ببساطة ، قم بتعريف الكائن ثم استخدم `dot-notation` للوصول إلى الكائن الثاني...
otavioarc/freeCodeCamp
guide/arabic/certifications/javascript-algorithms-and-data-structures/basic-data-structures/modify-an-object-nested-within-an-object/index.md
Markdown
bsd-3-clause
1,177
/* ../netlib/dgehrd.f -- translated by f2c (version 20100827). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the en...
alishakiba/libflame
src/map/lapack2flamec/f2c/c/dgehrd.c
C
bsd-3-clause
13,475
package org.buildmlearn.toolkit.flashcardtemplate.data; import org.w3c.dom.Document; import org.xml.sax.SAXException; import java.io.File; import java.io.IOException; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; /**...
opticod/BuildmLearn-Toolkit-Android
source-code/app/src/main/java/org/buildmlearn/toolkit/flashcardtemplate/data/DataUtils.java
Java
bsd-3-clause
1,360
var vows = require('vows'), assert = require('assert'), path = require('path'), fs = require('fs'), exec = require('child_process').exec, base = path.join(__dirname, 'assets/badmodule/'), buildBase = path.join(base, 'build'), srcBase = path.join(base, 'src/foo'), rimraf = require('rimraf...
wf2/shifter
tests/14-builder-uglify-badmodule-cmd.js
JavaScript
bsd-3-clause
1,833
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_GFX_IMAGE_SKIA_OPERATIONS_H_ #define UI_GFX_IMAGE_SKIA_OPERATIONS_H_ #include "base/gtest_prod_util.h" #include "skia/ext/image_operations...
leighpauls/k2cro4
ui/gfx/image/image_skia_operations.h
C
bsd-3-clause
4,370
use std::ops::Mul; use num::One; use structs::mat; use traits::operations::{Inv, Transpose}; use traits::geometry::{Translate, Rotate, Transform, AbsoluteRotate}; impl One for mat::Identity { #[inline] fn one() -> mat::Identity { mat::Identity::new() } } impl Inv for mat::Identity { fn inv(&se...
jaredly/nalgebra
src/structs/spec/identity.rs
Rust
bsd-3-clause
1,523
/* jshint multistr:true */ /* jshint -W040 */ 'use strict'; var envify = require('envify/custom'); var es3ify = require('es3ify'); var grunt = require('grunt'); var UglifyJS = require('uglify-js'); var uglifyify = require('uglifyify'); var derequire = require('derequire'); var collapser = require('bundle-collapser/pl...
kchia/react
grunt/config/browserify.js
JavaScript
bsd-3-clause
3,473
""" Tests for structural time series models Author: Chad Fulton License: Simplified-BSD """ from __future__ import division, absolute_import, print_function import numpy as np import pandas as pd import os import warnings from statsmodels.datasets import macrodata from statsmodels.tsa.statespace import structural fr...
saketkc/statsmodels
statsmodels/tsa/statespace/tests/test_structural.py
Python
bsd-3-clause
9,003
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
leighpauls/k2cro4
third_party/webrtc/modules/utility/test/testAPI.cc
C++
bsd-3-clause
13,298
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title>Forms :: textarea : padding</title> <style type="text/css"> form * { font-family: Ahem; font-size: 1em; line-height: 1em; } fieldset, form>div { padding: 0; margin: 10px; border: none; } textarea, div div { color: black; background: lime; ...
frivoal/presto-testo
core/standards/forms/textarea-padding.html
HTML
bsd-3-clause
681
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_ANDROID_BUILD_INFO_H_ #define BASE_ANDROID_BUILD_INFO_H_ #include <jni.h> #include <string> #include "base/base_export.h" #include "ba...
TheTypoMaster/chromium-crosswalk
base/android/build_info.h
C
bsd-3-clause
3,897
/* Copyright (C) 2014, The University of Texas at Austin This file is part of libflame and is available under the 3-Clause BSD license, which can be found in the LICENSE file at the top-level directory, or at http://opensource.org/licenses/BSD-3-Clause */ #include "FLAME.h" FLA_Error FLA_Bsvd_find_...
yaowee/libflame
src/lapack/dec/bsvd/v/flamec/old/FLA_Bsvd_find_split.c
C
bsd-3-clause
1,885
<?xml version="1.0" encoding="UTF-8"?> <!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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>A quick animation test</title...
frivoal/presto-testo
SVG/Testsuites/W3C/tiny/full-animate-elem-20-t.html
HTML
bsd-3-clause
950
/* * libjingle * Copyright 2004--2005, Google Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions a...
Omegaphora/external_chromium_org_third_party_libjingle_source_talk
xmpp/jid.h
C
bsd-3-clause
3,740
#!/usr/bin/python # encoding: utf-8 # Jan 2011 (markus kossner) Cleaned up the code, added some documentation # somwhere around Aug 2008 (markus kossner) created # # This script extracts the molecular framework for a database of molecules. # You can use two modes (hard coded): # - Scaff: The molecular fr...
soerendip42/rdkit
Contrib/M_Kossner/Frames.py
Python
bsd-3-clause
6,124
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_LOCAL_STORAGE_HELPER_H_ #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_LOCAL_STORAGE_HELPER_H_ ...
leiferikb/bitpop-private
chrome/browser/browsing_data/browsing_data_local_storage_helper.h
C
bsd-3-clause
3,884
/* The latency monitor allows to easily observe the sources of latency * in a Redis instance using the LATENCY command. Different latency * sources are monitored, like disk I/O, execution of commands, fork * system call, and so forth. * * ----------------------------------------------------------------------------...
Zheaoli/redis_read
src/latency.c
C
bsd-3-clause
27,309
/*++ Copyright (c) 2004, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. ...
kontais/EFI-MIPS
Sample/Tools/Source/Common/SimpleFileParsing.h
C
bsd-3-clause
1,740
/* Copyright (c) 2003-2014, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
mirror/libtorrent
include/libtorrent/bencode.hpp
C++
bsd-3-clause
12,312
--- title: SQL and Operator localeTitle: SQL和运算符 --- ## SQL AND运算符 AND在WHERE子句或GROUP BY HAVING子句中用于限制从执行语句返回的行。当需要满足多个条件时使用AND。 我们将使用student表来展示示例。 这是没有WHERE子句的student表: ```sql select * from student; ``` ![图像-1](https://github.com/SteveChevalier/guide-images/blob/master/and_operator01.JPG?raw=true) 现在添加了WHERE子句以...
otavioarc/freeCodeCamp
guide/chinese/sql/sql-and-operator/index.md
Markdown
bsd-3-clause
1,586
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
TomDataworks/opensim
OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs
C#
bsd-3-clause
9,856
// Copyright 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cc/layers/tiled_layer.h" #include <algorithm> #include <vector> #include "base/auto_reset.h" #include "base/basictypes.h" #include "build/buil...
sencha/chromium-spacewalk
cc/layers/tiled_layer.cc
C++
bsd-3-clause
32,370
# cf-builder-card > Cloudflare Card Builder ## Installation ```sh $ npm install cf-builder-card ``` ## Usage ```jsx import React from 'react'; import { CardBuilder } from 'cf-builder-card'; import { Table, TableBody, TableRow, TableCell } from 'cf-component-table'; import { Button } from 'cf-component-button'; co...
jroyal/cf-ui
packages/cf-builder-card/README.md
Markdown
bsd-3-clause
1,234
(function ($) { $.Redactor.opts.langs['ua'] = { html: 'Код', video: 'Відео', image: 'Зображення', table: 'Таблиця', link: 'Посилання', link_insert: 'Вставити посилання ...', link_edit: 'Edit link', unlink: 'Видалити посилання', formatting: 'Стилі', paragraph: 'Звичайний текст', quote: 'Цитата', code: 'Код',...
elearninglondon/ematrix_2015
themes/third_party/editor/redactor/lang/ua.js
JavaScript
mit
2,697
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Text; using System.Windows; using System.Windows.Data; namespace Microsoft.Management.UI.Internal { /// <summar...
JamesWTruher/PowerShell-1
src/Microsoft.Management.UI.Internal/ManagementList/Common/IntegralConverter.cs
C#
mit
2,970
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors // MIT License. See license.txt $.extend(frappe.model, { docinfo: {}, sync: function(r) { /* docs: extract docs, docinfo (attachments, comments, assignments) from incoming request and set in `locals` and `frappe.model.docinfo` */ var i...
bcornwellmott/frappe
frappe/public/js/frappe/model/sync.js
JavaScript
mit
2,359
export const INCREMENT_COUNTER = 'INCREMENT_COUNTER' export const DECREMENT_COUNTER = 'DECREMENT_COUNTER'
niqdev/react-redux-bootstrap4
src/modules/counter/CounterActionTypes.js
JavaScript
mit
106
#include <iostream> #include <cstdio> using namespace std; int main() { cout<<"\n"; printf('\n'); // your code goes here return 0; }
aqfaridi/Code-Online-Judge
web/env/Main1122/Main1122.cpp
C++
mit
152
package org.knowm.xchange.bitmarket; import static org.assertj.core.api.Assertions.assertThat; import java.math.BigDecimal; import java.util.List; import java.util.Map; import org.knowm.xchange.bitmarket.dto.account.BitMarketBalance; import org.knowm.xchange.bitmarket.dto.marketdata.BitMarketOrderBook; import org.kno...
chrisrico/XChange
xchange-bitmarket/src/test/java/org/knowm/xchange/bitmarket/BitMarketAssert.java
Java
mit
6,414
package org.knowm.xchange.test.exx; import java.io.IOException; import org.knowm.xchange.Exchange; import org.knowm.xchange.ExchangeFactory; import org.knowm.xchange.ExchangeSpecification; import org.knowm.xchange.exx.EXXExchange; import org.knowm.xchange.service.account.AccountService; /** * kevinobamatheus@gmail.c...
chrisrico/XChange
xchange-exx/src/test/java/org/knowm/xchange/test/exx/AccountServiceIntegration.java
Java
mit
1,369
from django.shortcuts import render def home(request): return render(request, 'home.html', {})
Traviskn/django_starter_template
{{cookiecutter.project_name}}/{{cookiecutter.project_name}}/views.py
Python
mit
101
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>org.apache.commons.math3.geometry.euclidean.twod.hull (Apache Commons Math 3.5 API)</title> <link re...
AlexFiliakov/BlackScholesCalculator
src/com/alexfiliakov/blackscholescalc/commons-math3-3.5/docs/apidocs/org/apache/commons/math3/geometry/euclidean/twod/hull/package-summary.html
HTML
mit
7,939
# Check the various features of the ShTest format. # # RUN: not %{lit} -j 1 -v %{inputs}/shtest-format > %t.out # RUN: FileCheck < %t.out %s # # END. # CHECK: -- Testing: # CHECK: FAIL: shtest-format :: external_shell/fail.txt # CHECK: *** TEST 'shtest-format :: external_shell/fail.txt' FAILED *** # CHECK: Command Ou...
dbrumley/recfi
llvm-3.3/utils/lit/tests/shtest-format.py
Python
mit
1,371
// Time Complexity: O(n^2) // Space Complexity: O(1) class Solution { public: vector<vector<int> > threeSum(vector<int> &num) { vector<vector<int> > ans; const int target = 0; sort(num.begin(), num.end()); auto last = num.rend(); for(auto a = num...
tudennis/LeetCode---kamyu104-11-24-2015
C++/threeSum2.cpp
C++
mit
1,277
/*<html><pre> -<a href="qh-qhull.htm" >-------------------------------</a><a name="TOP">-</a> libqhull.c Quickhull algorithm for convex hulls qhull() and top-level routines see qh-qhull.htm, libqhull.h, unix.c see qhull_a.h for internal functions Copyright (c) 1993-...
spirit-code/spirit
thirdparty/qhull/src/libqhull/libqhull.c
C
mit
51,960
package gueei.binding; import java.util.Collection; import java.util.ArrayList; public abstract class DependentObservable<T> extends Observable<T> implements Observer{ protected IObservable<?>[] mDependents; public DependentObservable(Class<T> type, IObservable<?>... dependents) { super(type); for...
yangqiang1223/AndroidBinding
Core/AndroidBinding/src/gueei/binding/DependentObservable.java
Java
mit
1,894
error() { echo " ! $*" >&2 exit 1 } status() { echo "-----> $*" } protip() { echo echo "PRO TIP: $*" | indent echo "See https://devcenter.heroku.com/articles/nodejs-support" | indent echo } # sed -l basically makes sed replace and buffer through stdin to stdout # so you get updates while the comman...
penciu/apache
bin/common.sh
Shell
mit
1,173
var expect = require('chai').expect; var runner = require('../runner'); describe('nasm runner', function() { describe('.run', function() { it('should handle basic code evaluation (no libc)', function(done) { runner.run({ language: 'nasm', code: [ ' global _start', ' ...
Codewars/codewars-runner
test/runners/nasm_spec.js
JavaScript
mit
1,513
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Class template time_duration</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta n...
nawawi/poedit
deps/boost/doc/html/boost/date_time/time_duration.html
HTML
mit
36,009
/* * scenerenderer.h * * Created on: 09.05.2012 * @author Ralph Schurade */ #ifndef NAVRENDERERSAGITTAL_H_ #define NAVRENDERERSAGITTAL_H_ #include "navrenderer.h" class QGLShaderProgram; class NavRendererSagittal : public NavRenderer { public: NavRendererSagittal( QString name ); virtual ~N...
steelec/braingl
src/gui/gl/navrenderersagittal.h
C
mit
561
/** * error handling middleware loosely based off of the connect/errorHandler code. This handler chooses * to render errors using Jade / Express instead of the manual templating used by the connect middleware * sample. This may or may not be a good idea :-) * @param options {object} array of options **/ exports =...
brendan1mcmanus/PennApps-Fall-2015
middleware/errorHandler.js
JavaScript
mit
1,381
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2019 Intel Corporation */ #include <unistd.h> #include <inttypes.h> #include <rte_mbuf.h> #include "rte_rawdev.h" #include "rte_ioat_rawdev.h" #include "ioat_private.h" #define MAX_SUPPORTED_RAWDEVS 64 #define TEST_SKIPPED 77 #define COPY_LEN 1024 int ioat_ra...
john-mcnamara-intel/dpdk
drivers/raw/ioat/ioat_rawdev_test.c
C
mit
20,614
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2011 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person obta...
bhlzlx/ogre
RenderSystems/GL/src/OgreGLDepthBuffer.cpp
C++
mit
4,568
using Scharfrichter.Codec; using Scharfrichter.Codec.Archives; using Scharfrichter.Codec.Charts; using Scharfrichter.Codec.Sounds; using Scharfrichter.Common; using System; using System.Collections.Generic; using System.IO; using System.Text; namespace ConvertHelper { static public class BemaniToBMS...
heshuimu/scharfrichter
ConvertHelper/BemaniToBMS.cs
C#
mit
12,651
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL...
mobilecp/Windows-universal-samples
edpsamples/cs/scenario1_setup.xaml.cs
C#
mit
1,622
package com.iluwatar; public class Sergeant extends Unit { public Sergeant(Unit ... children) { super(children); } @Override public void accept(UnitVisitor visitor) { visitor.visitSergeant(this); super.accept(visitor); } @Override public String toString() { return "sergeant"; } } ...
zfu/java-design-patterns
visitor/src/main/java/com/iluwatar/Sergeant.java
Java
mit
321
/* Copyright */ //go:generate rm -vf autogen/gen.go //go:generate go-bindata -pkg autogen -o autogen/gen.go ./static/... ./templates/... //go:generate mkdir -p vendor/github.com/docker/docker/autogen/dockerversion //go:generate cp script/dockerversion vendor/github.com/docker/docker/autogen/dockerversion/dockerversio...
dontrebootme/traefik
generate.go
GO
mit
339
#ifndef vm_h #define vm_h #include "uv.h" #include "wren.h" // Executes the Wren script at [path] in a new VM. // // Exits if the script failed or could not be loaded. void runFile(const char* path); // Runs the Wren interactive REPL. int runRepl(); // Gets the currently running VM. WrenVM* getVM(); // Gets the ev...
foresterre/wren
src/cli/vm.h
C
mit
846
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON https://guides.rubyonrails.org.** Getting Started with Engines ============================ In this guide you will learn about engines and how they can be used to provide additional functionality to their host applications through a clean and very easy-to-use...
yasslab/railsguides.jp
guides/source/engines.md
Markdown
mit
57,865
<p>Magra is a sans serif typeface designed for contexts in which both spatial economy and multiple composition styles are required. Its neutral personality and humanist features makes it a perfect candidate for corporate uses too. Its large x-height and robust stems provide good legibility and economy, plus great behav...
xErik/pdfmake-fonts-google
lib/ofl/magra/DESCRIPTION.en_us.html
HTML
mit
424
title: SVG 图形 type: 示例 order: 5 --- > 这个示例展示了对自定义组件、计算属性、双向绑定和 SVG 支持的结合。 <iframe width="100%" height="500" src="http://jsfiddle.net/yyx990803/bbt0f3nz/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
zyj1022/vuejs.org
source/examples/svg.md
Markdown
mit
311
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace spec\Sylius\Bundle\CoreBundle\EventListener; use Doctrine\ORM\Eve...
rainlike/justshop
vendor/sylius/sylius/src/Sylius/Bundle/CoreBundle/spec/EventListener/CanonicalizerListenerSpec.php
PHP
mit
3,904
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <TITLE> Uses of Class org.apache.poi.hmef.Attachment (POI API Documentation) </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">...
Sebaxtian/KDD
poi-3.14/docs/apidocs/org/apache/poi/hmef/class-use/Attachment.html
HTML
mit
7,936
<h1>Pin audio file from SoundCloud</h1> <form id="webaudioUploadFromComputer" name="webaudio_form" method="post" action="/webaudio_action" > <p>&nbsp;</p> &nbsp;&nbsp;&nbsp;&nbsp; Pin From : &nbsp; <input type="radio" name="sub" value="local"/>&nbsp; Local &nbsp; <input type="radio" name="sub"...
peishenwu/pcboy_myyna
application/views/default/pin_image/webaudio_form.html
HTML
mit
1,753
<form name="deleteForm" ng-submit="confirmDelete(user.login)"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true" ng-click="clear()">&times;</button> <h4 class="modal-title">Confirm delete operation</h4> </div> <div class="m...
spedepekka/skilldemon-server
src/main/webapp/scripts/app/admin/user-management/user-management-delete-dialog.html
HTML
mit
853
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Class template visitor_ptr_t</title> <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> <meta name...
nawawi/poedit
deps/boost/doc/html/boost/visitor_ptr_t.html
HTML
mit
10,060
using System; using System.Drawing; using System.Globalization; using System.Windows.Forms; using DotSpatial.Controls; using DotSpatial.Controls.Header; using DotSpatial.Symbology; namespace DotSpatial.Plugins.Contourer { public class Snapin : Extension { public override void Activate() ...
swsglobal/DotSpatial
Source/DotSpatial.Plugins.Contourer/Snapin.cs
C#
mit
3,106
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
ptmt/flow-declarations
test/node/test-tls-friendly-error-message.js
JavaScript
mit
1,945
Kanboard.App = function() { this.controllers = {}; }; Kanboard.App.prototype.get = function(controller) { return this.controllers[controller]; }; Kanboard.App.prototype.execute = function() { for (var className in Kanboard) { if (className !== "App") { var controller = new Kanboard[cla...
fguillot/kanboard
assets/js/src/App.js
JavaScript
mit
3,355
/* * Should * Copyright(c) 2010-2014 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ module.exports = function(should, Assertion) { /** * Assert given object is NaN * @name NaN * @memberOf Assertion * @category assertion numbers * @example * * (10).should.not.be.NaN(); * NaN.should...
XuanyuZhao1984/MeanJS_train1
node_modules/should/lib/ext/number.js
JavaScript
mit
3,086
<?php /** * Copyright 2011 Bas de Nooijer. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of cond...
bitclaw/solr-test
www/vendor/solarium/solarium/tests/Solarium/Result/Select/FacetSetTest.php
PHP
mit
2,846
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
ayeletshpigelman/azure-sdk-for-net
sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IJobOperations.cs
C#
mit
27,629
using System; using System.IO; using System.Collections; using System.Runtime.InteropServices; namespace Earlab { public delegate void LogCallback(String LogMessage); /// <summary> /// DesktopEarlabDLL is a wrapper class that wraps the DesktopEarlabDLL.dll functionality /// and exposes it to C# applicati...
AuditoryBiophysicsLab/EarLab
tags/release-2.2/EarLab ExperimentManager/DesktopEarlabDLL.cs
C#
mit
5,656
class SurveyMrqAnswer < ActiveRecord::Base acts_as_paranoid attr_accessible :user_course_id, :question_id, :option_id, :selected_options, :survey_submission_id belongs_to :user_course belongs_to :question, class_name: "SurveyQuestion" belongs_to :option, class_name: "SurveyQuestionOption" belongs_to :surv...
nusedutech/coursemology.org
app/models/survey_mrq_answer.rb
Ruby
mit
455
<?php namespace Kendo\UI; class SchedulerMessagesRecurrenceEditorMonthly extends \Kendo\SerializableObject { //>> Properties /** * The text similar to "Day " displayed in the scheduler recurrence editor. * @param string $value * @return \Kendo\UI\SchedulerMessagesRecurrenceEditorMonthly */ pu...
deviffy/laravel-kendo-ui
wrappers/php/lib/Kendo/UI/SchedulerMessagesRecurrenceEditorMonthly.php
PHP
mit
1,316
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Class template generated_by</title> <link rel="stylesheet" href="../../../../boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../../../index.html" title=...
nawawi/poedit
deps/boost/libs/test/doc/html/boost/unit_test/data/monomorphic/generated_by.html
HTML
mit
11,554
// ------------------------------- // Copyright (c) Corman Technologies Inc. // See LICENSE.txt for license information. // ------------------------------- // // File: plserver_internal.h // Contents: Server internal functions for Corman Lisp // History: 8/5/97 RGC Created. // #include "CharBuf.h" ...
arbv/cormanlisp
CormanLispServer/include/plserver_internal.h
C
mit
495
<p id="sherman_jason" data-toggle="tooltip" title="<img src='{{site.filesurl}}/people/sherman_jason.jpg' alt='Jason Sherman' />"> <span class="person">Jason Sherman</span> is an Oklahoma native, a student of the liberal arts, and an IT Analyst at the University of Oklahoma Libraries. He spends much of his t...
ErinBecker/website
_includes/people/sherman_jason.html
HTML
mit
463
package main import ( "bytes" "errors" "fmt" "os" "os/exec" "path/filepath" "regexp" "runtime" "strconv" "strings" "sync" "time" ) var ( bashPath string debugging = false erroring = false maxprocs = 4 testPattern = regexp.MustCompile(`test[/\\]test-([a-z\-]+)\.sh$`) ) func mainIntegration...
Jericho25/-git-lfs_miilkyway
script/integration.go
GO
mit
3,963
require 'oauth/signature/base' module OAuth::Signature class PLAINTEXT < Base implements 'plaintext' def signature signature_base_string end def ==(cmp_signature) signature == escape(cmp_signature) end def signature_base_string secret end def secret escape(...
maximilien/people_finder
vendor/plugins/oauth/lib/oauth/signature/plaintext.rb
Ruby
mit
345
'use strict'; var APPLICATION_JSON = 'application/json'; var CONTENT_TYPE_APPLICATION_JSON = {'Content-Type': APPLICATION_JSON + ';charset=utf-8'}; var JSON_START = /^\[|^\{(?!\{)/; var JSON_ENDS = { '[': /]$/, '{': /}$/ }; var JSON_PROTECTION_PREFIX = /^\)\]\}',?\n/; var $httpMinErr = minErr('$http'); var $httpMi...
evil-wolf/angular.js
src/ng/http.js
JavaScript
mit
49,570
import { run } from '@ember/runloop'; import { guidFor, setName } from 'ember-utils'; import { context } from 'ember-environment'; import EmberObject from '../../../lib/system/object'; import Namespace from '../../../lib/system/namespace'; import { moduleFor, AbstractTestCase } from 'internal-test-helpers'; let origin...
csantero/ember.js
packages/ember-runtime/tests/system/object/toString_test.js
JavaScript
mit
3,366
// // Copyright 2011 Jeff Verkoeyen // // 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...
jyotiness/ARTSDK
thirdparty/nimbus/src/overview/src/NIOverviewView.h
C
mit
1,498
define(["../core","../manipulation"],function(e){function t(t,n){var o,a=e(n.createElement(t)).appendTo(n.body),d=window.getDefaultComputedStyle&&(o=window.getDefaultComputedStyle(a[0]))?o.display:e.css(a[0],"display");return a.detach(),d}function n(n){var d=document,r=a[n];return r||(r=t(n,d),"none"!==r&&r||(o=(o||e("...
dandenney/dandenney.com
build/assets/javascripts/vendor/jquery/src/css/defaultDisplay.js
JavaScript
mit
494
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Function template is_permutation</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../index...
TyRoXx/cdm
original_sources/boost_1_59_0/libs/algorithm/doc/html/boost/algorithm/is_permutation_idp41153984.html
HTML
mit
6,251
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using COM = System.Runtime.InteropServices.ComTypes; // Disable obsolete warnings about VarEnum and COM-marshaling APIs in CoreCLR #pragma warning disable 618 ...
JamesWTruher/PowerShell-1
src/System.Management.Automation/engine/COM/ComInvoker.cs
C#
mit
18,455
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using System.Collections.Generic; namespace Microsoft.CodeAnalysis.CSharp { public static pa...
jmarolf/roslyn
src/Compilers/CSharp/Portable/Syntax/SyntaxKindEqualityComparer.cs
C#
mit
1,204
#!/usr/bin/env node 'use strict'; var fs = require('fs'), path = require('path'), exec = require('child_process').exec, chalk = require('chalk'), Table = require('cli-table'); var fileNames = [ 'abc', 'amazon', //'eloquentjavascript', //'es6-draft', 'es6-table', 'google', 'html-minifier...
psychoss/html-minifier
benchmark.js
JavaScript
mit
3,946
/* * Copyright (c) 2001-2007, Tom St Denis * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of cond...
sigma-random/libteecrypt
libteecrypt/lib/libtomcrypt/src/mac/hmac/hmac_memory.c
C
mit
3,768
steal('can/util', 'can/observe', function(can) { // ** - 'this' will be the deepest item changed // * - 'this' will be any changes within *, but * will be the // this returned // tells if the parts part of a delegate matches the broken up props of the event // gives the prop to use as 'this' // - par...
SpredfastLegacy/canjs
observe/delegate/delegate.js
JavaScript
mit
11,161
//----------------------------------------------------------------------- // Copyright © Microsoft Corporation. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace Microsoft.PowerShell.Commands { using System; using System.Collections.G...
KarolKaczmarek/PowerShell
src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommand.cs
C#
mit
25,295
var name = "Wanderer"; var collection_type = 0; var is_secret = 0; var desc = "Visited 503 new locations."; var status_text = "Gosh, where HAVEN'T you traveled? Your peregrinations have earned you this footworn-but-carefree Wanderer badge."; var last_published = 1348803094; var is_shareworthy = 1; var url = "wande...
yelworc/eleven-gsjs
achievements/wanderer.js
JavaScript
mit
1,587
@charset "utf-8"; /* CSS Document */ #board_container{padding:20px 20px 0 ; margin: 0 1%; position:relative; background:#FFF; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 1px 5px rgba(0, 0, 0, 0.075); } .board h2{color:#333; font-size:30px; padding:5px 0; margin:0; font-family:'Varela Rou...
peishenwu/pcboy_myyna
public/default/css/boaard.css
CSS
mit
3,009
using System; using Avalonia.Controls.Primitives; using Avalonia.Input; using Avalonia.Markup.Xaml; using Avalonia.Platform; using Avalonia.Rendering; using Avalonia.UnitTests; using Moq; using Xunit; namespace Avalonia.Controls.UnitTests { public class ContextMenuTests { private Mock<IPopupImpl> po...
AvaloniaUI/Avalonia
tests/Avalonia.Controls.UnitTests/ContextMenuTests.cs
C#
mit
19,072
// -*- C++ -*- // Copyright (C) 2010-2017, Vaclav Haisman. All rights reserved. // // Redistribution and use in source and binary forms, with or without modifica- // tion, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright not...
sunzhuoshi/VRDemoHelper
Common/log4cplus/include/log4cplus/tchar.h
C
mit
1,989
#!/bin/bash -e echo "================= Installing JRuby 1.7.19 ===================" rvm requirements rvm install jruby-1.7.19 rvm use jruby-1.7.19 # Install ruby gems gem install bundler
dry-dock/u12rubpls
version/jruby_1_7_19.sh
Shell
mit
189