repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
heke123/chromium-crosswalk
base/android/jni_generator/jni_generator_tests.py
39812
#!/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...
bsd-3-clause
axinging/chromium-crosswalk
third_party/WebKit/Source/core/loader/ThreadableLoader.cpp
3022
/* * 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...
bsd-3-clause
aivankovich/zo
vendor/jquery.scrollbar/package.js
964
// 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...
bsd-3-clause
netbek/chrys
demo/vendor/prismjs/components/prism-j.min.js
818
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)...
bsd-3-clause
xantage/code
vilya/static/js/lib/jquery.zclip.js
16750
/* * 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...
bsd-3-clause
OrchardCMS/Brochard
src/OrchardCore/OrchardCore/Shell/Descriptor/Settings/SetFeaturesShellDescriptorManager.cs
1381
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...
bsd-3-clause
AnuchitPrasertsang/go
src/syscall/zsyscall_darwin_arm.go
33695
// 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_...
bsd-3-clause
frivoal/presto-testo
imported/peter/unicode/tables/utf8/2500.html
1699
<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...
bsd-3-clause
piyushsh/choco3
choco-solver/src/main/java/org/chocosolver/solver/thread/AbstractParallelSlave.java
3193
/** * 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:...
bsd-3-clause
frivoal/presto-testo
core/standards/dnd/events/events-suite.html
24906
<!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 { ...
bsd-3-clause
beni55/sentry
tests/sentry/tasks/check_update/tests.py
1970
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' ...
bsd-3-clause
axinging/chromium-crosswalk
chrome/renderer/chrome_render_frame_observer_browsertest.cc
1787
// 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" #...
bsd-3-clause
unixcbt/demos
LamnaHealthCare-Patient/obj/Release/Package/PackageTmp/Scripts/onlinesignin.js
698
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...
bsd-3-clause
61ds/aging
_protected/backend/views/countries/update.php
405
<?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...
bsd-3-clause
otavioarc/freeCodeCamp
guide/arabic/certifications/javascript-algorithms-and-data-structures/basic-data-structures/modify-an-object-nested-within-an-object/index.md
1177
--- title: Modify an Object Nested Within an Object localeTitle: تعديل كائن متداخل داخل كائن --- ## تعديل كائن متداخل داخل كائن طريقة: * تذكر أن الكائن الذي تريد تغييره هو مستويين عميقين ، ومن السهل استخدام `dot-notation` في هذه الحالة. * ببساطة ، قم بتعريف الكائن ثم استخدم `dot-notation` للوصول إلى الكائن الثاني...
bsd-3-clause
alishakiba/libflame
src/map/lapack2flamec/f2c/c/dgehrd.c
13475
/* ../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...
bsd-3-clause
opticod/BuildmLearn-Toolkit-Android
source-code/app/src/main/java/org/buildmlearn/toolkit/flashcardtemplate/data/DataUtils.java
1360
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; /**...
bsd-3-clause
wf2/shifter
tests/14-builder-uglify-badmodule-cmd.js
1833
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...
bsd-3-clause
leighpauls/k2cro4
ui/gfx/image/image_skia_operations.h
4370
// 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...
bsd-3-clause
jaredly/nalgebra
src/structs/spec/identity.rs
1523
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...
bsd-3-clause
kchia/react
grunt/config/browserify.js
3473
/* 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...
bsd-3-clause
saketkc/statsmodels
statsmodels/tsa/statespace/tests/test_structural.py
9003
""" 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...
bsd-3-clause
leighpauls/k2cro4
third_party/webrtc/modules/utility/test/testAPI.cc
13298
/* * 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...
bsd-3-clause
frivoal/presto-testo
core/standards/forms/textarea-padding.html
681
<!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; ...
bsd-3-clause
TheTypoMaster/chromium-crosswalk
base/android/build_info.h
3897
// 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...
bsd-3-clause
yaowee/libflame
src/lapack/dec/bsvd/v/flamec/old/FLA_Bsvd_find_split.c
1885
/* 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_...
bsd-3-clause
frivoal/presto-testo
SVG/Testsuites/W3C/tiny/full-animate-elem-20-t.html
950
<?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...
bsd-3-clause
Omegaphora/external_chromium_org_third_party_libjingle_source_talk
xmpp/jid.h
3740
/* * 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...
bsd-3-clause
soerendip42/rdkit
Contrib/M_Kossner/Frames.py
6124
#!/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...
bsd-3-clause
leiferikb/bitpop-private
chrome/browser/browsing_data/browsing_data_local_storage_helper.h
3884
// 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_ ...
bsd-3-clause
Zheaoli/redis_read
src/latency.c
27309
/* 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. * * ----------------------------------------------------------------------------...
bsd-3-clause
kontais/EFI-MIPS
Sample/Tools/Source/Common/SimpleFileParsing.h
1740
/*++ 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. ...
bsd-3-clause
mirror/libtorrent
include/libtorrent/bencode.hpp
12312
/* 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 ...
bsd-3-clause
otavioarc/freeCodeCamp
guide/chinese/sql/sql-and-operator/index.md
1586
--- 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子句以...
bsd-3-clause
TomDataworks/opensim
OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs
9856
/* * 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...
bsd-3-clause
sencha/chromium-spacewalk
cc/layers/tiled_layer.cc
32370
// 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...
bsd-3-clause
jroyal/cf-ui
packages/cf-builder-card/README.md
1234
# 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...
bsd-3-clause
elearninglondon/ematrix_2015
themes/third_party/editor/redactor/lang/ua.js
2697
(function ($) { $.Redactor.opts.langs['ua'] = { html: 'Код', video: 'Відео', image: 'Зображення', table: 'Таблиця', link: 'Посилання', link_insert: 'Вставити посилання ...', link_edit: 'Edit link', unlink: 'Видалити посилання', formatting: 'Стилі', paragraph: 'Звичайний текст', quote: 'Цитата', code: 'Код',...
mit
JamesWTruher/PowerShell-1
src/Microsoft.Management.UI.Internal/ManagementList/Common/IntegralConverter.cs
2970
// 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...
mit
bcornwellmott/frappe
frappe/public/js/frappe/model/sync.js
2359
// 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...
mit
niqdev/react-redux-bootstrap4
src/modules/counter/CounterActionTypes.js
106
export const INCREMENT_COUNTER = 'INCREMENT_COUNTER' export const DECREMENT_COUNTER = 'DECREMENT_COUNTER'
mit
aqfaridi/Code-Online-Judge
web/env/Main1122/Main1122.cpp
152
#include <iostream> #include <cstdio> using namespace std; int main() { cout<<"\n"; printf('\n'); // your code goes here return 0; }
mit
chrisrico/XChange
xchange-bitmarket/src/test/java/org/knowm/xchange/bitmarket/BitMarketAssert.java
6414
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...
mit
chrisrico/XChange
xchange-exx/src/test/java/org/knowm/xchange/test/exx/AccountServiceIntegration.java
1369
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...
mit
Traviskn/django_starter_template
{{cookiecutter.project_name}}/{{cookiecutter.project_name}}/views.py
101
from django.shortcuts import render def home(request): return render(request, 'home.html', {})
mit
AlexFiliakov/BlackScholesCalculator
src/com/alexfiliakov/blackscholescalc/commons-math3-3.5/docs/apidocs/org/apache/commons/math3/geometry/euclidean/twod/hull/package-summary.html
7939
<!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...
mit
dbrumley/recfi
llvm-3.3/utils/lit/tests/shtest-format.py
1371
# 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...
mit
tudennis/LeetCode---kamyu104-11-24-2015
C++/threeSum2.cpp
1277
// 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...
mit
spirit-code/spirit
thirdparty/qhull/src/libqhull/libqhull.c
51960
/*<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-...
mit
yangqiang1223/AndroidBinding
Core/AndroidBinding/src/gueei/binding/DependentObservable.java
1894
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...
mit
penciu/apache
bin/common.sh
1173
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...
mit
Codewars/codewars-runner
test/runners/nasm_spec.js
1513
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', ' ...
mit
nawawi/poedit
deps/boost/doc/html/boost/date_time/time_duration.html
36009
<!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...
mit
steelec/braingl
src/gui/gl/navrenderersagittal.h
561
/* * 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...
mit
brendan1mcmanus/PennApps-Fall-2015
middleware/errorHandler.js
1381
/** * 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 =...
mit
john-mcnamara-intel/dpdk
drivers/raw/ioat/ioat_rawdev_test.c
20614
/* 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...
mit
bhlzlx/ogre
RenderSystems/GL/src/OgreGLDepthBuffer.cpp
4568
/* ----------------------------------------------------------------------------- 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...
mit
heshuimu/scharfrichter
ConvertHelper/BemaniToBMS.cs
12651
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...
mit
mobilecp/Windows-universal-samples
edpsamples/cs/scenario1_setup.xaml.cs
1622
//********************************************************* // // 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...
mit
zfu/java-design-patterns
visitor/src/main/java/com/iluwatar/Sergeant.java
321
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"; } } ...
mit
dontrebootme/traefik
generate.go
339
/* 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...
mit
foresterre/wren
src/cli/vm.h
846
#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...
mit
yasslab/railsguides.jp
guides/source/engines.md
57865
**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...
mit
xErik/pdfmake-fonts-google
lib/ofl/magra/DESCRIPTION.en_us.html
424
<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...
mit
zyj1022/vuejs.org
source/examples/svg.md
311
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>
mit
rainlike/justshop
vendor/sylius/sylius/src/Sylius/Bundle/CoreBundle/spec/EventListener/CanonicalizerListenerSpec.php
3904
<?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...
mit
Sebaxtian/KDD
poi-3.14/docs/apidocs/org/apache/poi/hmef/class-use/Attachment.html
7936
<!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">...
mit
peishenwu/pcboy_myyna
application/views/default/pin_image/webaudio_form.html
1753
<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"...
mit
spedepekka/skilldemon-server
src/main/webapp/scripts/app/admin/user-management/user-management-delete-dialog.html
853
<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...
mit
nawawi/poedit
deps/boost/doc/html/boost/visitor_ptr_t.html
10060
<!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...
mit
swsglobal/DotSpatial
Source/DotSpatial.Plugins.Contourer/Snapin.cs
3106
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() ...
mit
ptmt/flow-declarations
test/node/test-tls-friendly-error-message.js
1945
// 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...
mit
fguillot/kanboard
assets/js/src/App.js
3355
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...
mit
XuanyuZhao1984/MeanJS_train1
node_modules/should/lib/ext/number.js
3086
/* * 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...
mit
bitclaw/solr-test
www/vendor/solarium/solarium/tests/Solarium/Result/Select/FacetSetTest.php
2846
<?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...
mit
ayeletshpigelman/azure-sdk-for-net
sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IJobOperations.cs
27629
// <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...
mit
AuditoryBiophysicsLab/EarLab
tags/release-2.2/EarLab ExperimentManager/DesktopEarlabDLL.cs
5656
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...
mit
nusedutech/coursemology.org
app/models/survey_mrq_answer.rb
455
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...
mit
deviffy/laravel-kendo-ui
wrappers/php/lib/Kendo/UI/SchedulerMessagesRecurrenceEditorMonthly.php
1316
<?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...
mit
nawawi/poedit
deps/boost/libs/test/doc/html/boost/unit_test/data/monomorphic/generated_by.html
11554
<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=...
mit
arbv/cormanlisp
CormanLispServer/include/plserver_internal.h
495
// ------------------------------- // 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" ...
mit
ErinBecker/website
_includes/people/sherman_jason.html
463
<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...
mit
Jericho25/-git-lfs_miilkyway
script/integration.go
3963
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...
mit
maximilien/people_finder
vendor/plugins/oauth/lib/oauth/signature/plaintext.rb
345
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(...
mit
evil-wolf/angular.js
src/ng/http.js
49570
'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...
mit
csantero/ember.js
packages/ember-runtime/tests/system/object/toString_test.js
3366
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...
mit
jyotiness/ARTSDK
thirdparty/nimbus/src/overview/src/NIOverviewView.h
1498
// // 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...
mit
dandenney/dandenney.com
build/assets/javascripts/vendor/jquery/src/css/defaultDisplay.js
494
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("...
mit
TyRoXx/cdm
original_sources/boost_1_59_0/libs/algorithm/doc/html/boost/algorithm/is_permutation_idp41153984.html
6251
<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...
mit
JamesWTruher/PowerShell-1
src/System.Management.Automation/engine/COM/ComInvoker.cs
18455
// 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 ...
mit
jmarolf/roslyn
src/Compilers/CSharp/Portable/Syntax/SyntaxKindEqualityComparer.cs
1204
// 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...
mit
psychoss/html-minifier
benchmark.js
3946
#!/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...
mit
sigma-random/libteecrypt
libteecrypt/lib/libtomcrypt/src/mac/hmac/hmac_memory.c
3768
/* * 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...
mit
SpredfastLegacy/canjs
observe/delegate/delegate.js
11161
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...
mit
KarolKaczmarek/PowerShell
src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommand.cs
25295
//----------------------------------------------------------------------- // Copyright © Microsoft Corporation. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace Microsoft.PowerShell.Commands { using System; using System.Collections.G...
mit
yelworc/eleven-gsjs
achievements/wanderer.js
1587
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...
mit
peishenwu/pcboy_myyna
public/default/css/boaard.css
3009
@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...
mit
AvaloniaUI/Avalonia
tests/Avalonia.Controls.UnitTests/ContextMenuTests.cs
19072
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...
mit
sunzhuoshi/VRDemoHelper
Common/log4cplus/include/log4cplus/tchar.h
1989
// -*- 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...
mit
dry-dock/u12rubpls
version/jruby_1_7_19.sh
189
#!/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
mit