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
<?php namespace Jazzee\Element; /** * Phonenumber Element * * @author Jon Johnson <jon.johnson@ucsf.edu> * @license http://jazzee.org/license BSD-3-Clause */ class Phonenumber extends TextInput { const PAGEBUILDER_SCRIPT = 'resource/scripts/element_types/JazzeeElementPhonenumber.js'; public function addT...
Jazzee/Jazzee
src/Jazzee/Element/Phonenumber.php
PHP
bsd-3-clause
1,083
# for for i in 1..10 do puts i end
TJ-Hidetaka-Takano/mrubyc
sample_ruby/basic_sample05.rb
Ruby
bsd-3-clause
39
// Copyright 2015 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/browser/media/webrtc/permission_bubble_media_access_handler.h" #include <memory> #include <utility> #include "base/bind.h" #include "ba...
endlessm/chromium-browser
chrome/browser/media/webrtc/permission_bubble_media_access_handler.cc
C++
bsd-3-clause
17,709
# Copyright (c) 2006-2009 The Trustees of Indiana University. # All rights reserved. # # Redistribution and use in source and binary forms, with or without ...
matthiaskramm/corepy
corepy/arch/spu/isa/spu_isa.py
Python
bsd-3-clause
22,294
/* * Copyright (c) 2012, United States Government, as represented by the Secretary of Health and Human Services. * 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 so...
sailajaa/CONNECT
Product/Production/Services/PatientDiscoveryCore/src/main/java/gov/hhs/fha/nhinc/patientdiscovery/inbound/deferred/request/AbstractInboundPatientDiscoveryDeferredRequest.java
Java
bsd-3-clause
5,048
/* -- MAGMA (version 2.1.0) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date August 2016 @author Stan Tomov @author Hartwig Anzt @precisions normal z -> s d c */ #include "magmasparse_internal.h" #define P...
maxhutch/magma
sparse-iter/src/zlobpcg.cpp
C++
bsd-3-clause
27,130
import * as fs from "fs" import * as path from "path" import * as ts from "typescript" const coffee = require("coffeescript") const less = require("less") import {argv} from "yargs" import {collect_deps} from "./dependencies" const mkCoffeescriptError = (error: any, file?: string) => { const message = error.message...
stonebig/bokeh
bokehjs/src/compiler/compile.ts
TypeScript
bsd-3-clause
7,841
# -*- coding: utf-8 -*- # # Copyright (c) 2015, Alcatel-Lucent Inc, 2017 Nokia # 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 copyrigh...
nuagenetworks/vspk-python
vspk/v6/nuvmresync.py
Python
bsd-3-clause
11,928
package glasskey.spray.model import glasskey.config.OAuthConfig import spray.http.HttpHeader trait OAuthAction { import akka.actor.ActorSystem import spray.client.pipelining._ import spray.http.HttpHeaders.RawHeader import spray.http.HttpRequest import spray.http.parser.HttpParser import spra...
MonsantoCo/glass-key
glass-key-spray/src/main/scala/glasskey/spray/model/OAuthAction.scala
Scala
bsd-3-clause
2,713
from mock import patch from nose.tools import eq_ from helper import TestCase import appvalidator.submain as submain class TestSubmainPackage(TestCase): @patch("appvalidator.submain.test_inner_package", lambda x, z: "success") def test_package_pass(self): "Tests the test_package function ...
mattbasta/perfalator
tests/test_submain_package.py
Python
bsd-3-clause
1,268
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="scaffolded-by" content="https://github.com/google/stagehand"> <title>futures_api</title> <link rel="style...
dart-archive/dart-tutorials-samples
futures/futures-api/web/index.html
HTML
bsd-3-clause
494
Directory for interactive development of c2po plots. Install deps via: bundle install then run bundle exec guard execute some of the code in `scratch.rb` and view your plots at `http://localhost:3000/`.
keminglabs/c2po-ruby
examples/README.markdown
Markdown
bsd-3-clause
220
package com.mistraltech.smogen.codegenerator.javabuilder; public class InterfaceMethodBuilder extends MethodSignatureBuilder<InterfaceMethodBuilder> { private InterfaceMethodBuilder() { } public static InterfaceMethodBuilder anInterfaceMethod() { return new InterfaceMethodBuilder(); } @Ov...
mistraltechnologies/smogen
src/main/java/com/mistraltech/smogen/codegenerator/javabuilder/InterfaceMethodBuilder.java
Java
bsd-3-clause
432
// Copyright 2014 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 COMPONENTS_CLOUD_DEVICES_COMMON_PRINTER_DESCRIPTION_H_ #define COMPONENTS_CLOUD_DEVICES_COMMON_PRINTER_DESCRIPTION_H_ #include <stdint.h> #inclu...
endlessm/chromium-browser
components/cloud_devices/common/printer_description.h
C
bsd-3-clause
12,413
class ProductTag < ActiveRecord::Base has_attached_file :icon, :url => "/assets/product_tags/:id/:basename.:extension", :path => ":rails_root/public/assets/product_tags/:id/:basename.:extension" validates :name, :presence => true, :uniqueness => true has_many :products ...
secoint/spree_products_tags
app/models/product_tag.rb
Ruby
bsd-3-clause
323
"use strict" function checkEnvironmentForConfig(config:Object) : Object { let mentionBotEnvConfig; try { mentionBotEnvConfig = JSON.parse(process.env.MENTION_BOT_CONFIG); } catch(e) { mentionBotEnvConfig = {}; } return Object.keys(config).reduce((previousValue, key) => { let defaultConfigValue ...
ifuller1/mention-bot
environment.js
JavaScript
bsd-3-clause
641
// 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/resources/content_layer_updater.h" #include "base/debug/trace_event.h" #include "base/time.h" #include "cc/debug/rendering_stats_instrumenta...
codenote/chromium-test
cc/resources/content_layer_updater.cc
C++
bsd-3-clause
2,848
# Copyright (C) 2010 CENATIC: Centro Nacional de Referencia de # Aplicacion de las TIC basadas en Fuentes Abiertas, Spain. # # 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 reta...
helix84/activae
src/Type.py
Python
bsd-3-clause
2,833
# -*- coding: utf-8 -*- ''' Production Configurations - Use djangosecure - Use mailgun to send emails - Use redis ''' from __future__ import absolute_import, unicode_literals from django.utils import six from .common import * # noqa # SECRET CONFIGURATION # ---------------------------------------------------------...
jayfk/cookiecutter-django-docker
{{cookiecutter.repo_name}}/config/settings/production.py
Python
bsd-3-clause
4,238
// Copyright 2015 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. package org.chromium.chrome.browser.sync; import android.test.FlakyTest; import android.test.suitebuilder.annotation.LargeTest; import android.util.Pair;...
was4444/chromium.src
chrome/android/sync_shell/javatests/src/org/chromium/chrome/browser/sync/OpenTabsTest.java
Java
bsd-3-clause
14,827
/* * Copyright 2016 Facebook, Inc. * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law...
xytosis/reactivesocket-tck
src/main/scala/io/reactivesocket/tck/RequesterDSL.scala
Scala
bsd-3-clause
2,782
// 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. #include "chrome/browser/password_manager/password_store_mac.h" #include "base/basictypes.h" #include "base/files/scoped_temp_dir.h" #include "base/s...
lihui7115/ChromiumGStreamerBackend
chrome/browser/password_manager/password_store_mac_unittest.cc
C++
bsd-3-clause
78,380
Markdown to presentation ======================== A simple tool for creating presentations from markdown files. License ======= md2p is licensed under BSD3 license. This refers to `src/Main.hs` and `output/js/present.js` files. **Note:** any other content is not a part of md2p and is not licensed by it. Example -...
soupi/markdown-to-presentation
README.md
Markdown
bsd-3-clause
1,911
/* -- MAGMA (version 1.5.0-beta3) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date July 2014 @generated from magma_z_init.cpp normal z -> s, Fri Jul 18 17:34:30 2014 @author Hartwig Anzt */ #include <fstream> #include <stdlib....
EmergentOrder/magma
sparse-iter/control/magma_s_init.cpp
C++
bsd-3-clause
2,249
//To Test:http://localhost:8080/nbia-auth/services/v3/getProtectionGrpList?format=html package gov.nih.nci.nbia.restAPI; import gov.nih.nci.nbia.dao.TrialDataProvenanceDAO; import gov.nih.nci.nbia.util.SpringApplicationContext; import gov.nih.nci.security.SecurityServiceProvider; import gov.nih.nci.security.UserProvi...
NCIP/national-biomedical-image-archive
software/nbia-api/src/gov/nih/nci/nbia/restAPI/V3_getProtectionGrpList.java
Java
bsd-3-clause
2,741
// 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 CONTENT_BROWSER_RENDERER_HOST_CLIPBOARD_MESSAGE_FILTER_H_ #define CONTENT_BROWSER_RENDERER_HOST_CLIPBOARD_MESSAGE_FILTER_H_ #include <string>...
junmin-zhu/chromium-rivertrail
content/browser/renderer_host/clipboard_message_filter.h
C
bsd-3-clause
2,770
# Copyright (c) 2013 LE GOFF Vincent # 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 th...
v-legoff/croissant
croissant/output/__init__.py
Python
bsd-3-clause
1,636
/* * Copyright (c) 2013-2013, KNOPFLERFISH project * 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 ...
knopflerfish/knopflerfish.org
osgi/bundles/repository/repositorymanager/src/org/knopflerfish/service/repositorymanager/RepositoryInfo.java
Java
bsd-3-clause
3,464
//------------------------------------------------------------------------------ // GB_Descriptor_get: get the status of a descriptor //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2018, All Rights Reserved. // http://suitesparse.co...
jlblancoc/suitesparse-metis-for-windows
SuiteSparse/GraphBLAS/Source/GB_Descriptor_get.c
C
bsd-3-clause
5,829
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkObjectWrap.h" #include "vtkAbstractContextItemWrap.h" #include "vtkObjectBaseWrap.h" #include "vtkContext2DWrap.h" #include "vtkContextScene...
axkibe/node-vtk
wrappers/8.1.1/vtkAbstractContextItemWrap.cc
C++
bsd-3-clause
14,676
<!DOCTYPE html> <html> <head> <title>PKIjs Mocha Test - OCSP Request Complex Example</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="https://cdn.rawgit.com/mochajs/mocha...
GlobalSign/PKI.js
test/browser/ocspRequestComplexExample.html
HTML
bsd-3-clause
933
package org.chasen.mecab.wrapper; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import org.junit.Test; pub...
nowelium/jna-libmecab
test/org/chasen/mecab/wrapper/NodeIteratorTest.java
Java
bsd-3-clause
3,838
<html> <body> <p>Registration was requested {{ email }}. Open the link below to confirm e-mail address and continue registration.</p> <a href="{{ url }}">{{ url }}</a> </body> </html>
triflesoft/django-application-talos
applications/talos/templates/talos/principal_registration/request_email_body.html
HTML
bsd-3-clause
195
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <iostream> #include <string> #include "parser.h" #include "CLI/wrapper.h" #include "Libraries/linenoise.h" #include "CLI/interface.h" #define HIST_FILENAME ".polyBobHistory" int main(int argc, char **argv) { char* line; unsigned...
Taiki-San/Polybob
entrypoint.cpp
C++
bsd-3-clause
1,286
<!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/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
BuildmLearn/BuildmLearn-Store
Android/doc/Doxygen/d8/dfa/classorg_1_1buildmlearn_1_1appstore_1_1activities_1_1_home_activity.html
HTML
bsd-3-clause
29,511
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkCollectionWrap.h" #include "vtkRenderWindowCollectionWrap.h" #include "vtkObjectBaseWrap.h" #include "vtkRenderWindowWrap.h" #include "../.....
axkibe/node-vtk
wrappers/8.1.1/vtkRenderWindowCollectionWrap.cc
C++
bsd-3-clause
6,447
# Copyright (C) 2011 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 conditions and the f...
ric2b/Vivaldi-browser
chromium/third_party/blink/tools/blinkpy/common/net/results_fetcher_mock.py
Python
bsd-3-clause
3,794
# -*- coding: utf-8 -*- import access import util @auth.requires_login() def index(): """Produces a list of the feedback obtained for a given venue, or for all venues.""" venue_id = request.args(0) if venue_id == 'all': q = (db.submission.user == get_user_email()) else: q = ((db.su...
lucadealfaro/crowdranker
controllers/feedback.py
Python
bsd-3-clause
10,966
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\models\search\UserSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Users'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="user-index"> <h1><?= Html::encode($this...
vincentsthe/market-on
views/user/index.php
PHP
bsd-3-clause
999
//------------------------------------------------------------------------------ // GB_AxB: hard-coded C=A*B and C<M>=A*B //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2018, All Rights Reserved. // http://suitesparse.com See ...
jlblancoc/suitesparse-metis-for-windows
SuiteSparse/GraphBLAS/Source/Generated/GB_AxB__times_isgt_int32.c
C
bsd-3-clause
8,225
from __future__ import print_function import shutil import os, sys import time import logging from .loaders import PythonLoader, YAMLLoader from .bundle import get_all_bundle_files from .exceptions import BuildError from .updater import TimestampUpdater from .merge import MemoryHunk from .version import get_manifest f...
gi0baro/weppy-assets
weppy_assets/webassets/script.py
Python
bsd-3-clause
22,478
/* Copyright (c) 2016, Alexander Entinger / LXRobotics * 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 * ...
lxrobotics/arduinoio
framework/ioentity.cpp
C++
bsd-3-clause
1,958
{-# LANGUAGE FlexibleInstances #-} -- ghc options {-# OPTIONS_GHC -Wall #-} {-# OPTIONS_GHC -fno-warn-unused-matches #-} -- {-# OPTIONS_GHC -fno-warn-name-shadowing #-} {-# OPTIONS_GHC -fno-warn-orphans #-} -- {-# OPTIONS_GHC -fno-warn-missing-signatures #-} -- {-# OPTIONS_GHC -fno-warn-unused-do-bind #-} -- {...
reuleaux/pire
src/Pire/Pretty/Nm.hs
Haskell
bsd-3-clause
1,331
/* xxHash - Extremely Fast Hash algorithm Header File Copyright (C) 2012-2016, Yann Collet. BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions ...
anton-povarov/pinba2
third_party/t1ha/tests/xxhash/xxhash.h
C
bsd-3-clause
14,323
/* * Copyright (c) 2016, The OpenThread Authors. * 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 ...
erja-gp/openthread
examples/platforms/da15000/alarm.c
C
bsd-3-clause
2,963
#!/usr/bin/env python # # Copyright 2007 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 o...
ychen820/microblog
y/google-cloud-sdk/platform/google_appengine/google/appengine/datastore/datastore_v3_pb.py
Python
bsd-3-clause
282,355
// Copyright 2012 tsuru authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package provisiontest import ( "fmt" "io" "io/ioutil" "net/url" "sort" "sync" "sync/atomic" "time" docker "github.com/fsouza/go-dockerclient" "github...
ggarnier/tsuru
provision/provisiontest/fake_provisioner.go
GO
bsd-3-clause
35,129
/****************************************************************************** * * Copyright(c) 2009-2012 Realtek Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundati...
talnoah/android_kernel_htc_dlx
virt/drivers/net/wireless/rtlwifi/regd.h
C
gpl-2.0
1,963
var request = require('request'), log = require('bole')('npme-send-data'), config = require('../../../config') module.exports = function (formGuid, data, callback) { var hubspot = config.license.hubspot.forms .replace(":portal_id", config.license.hubspot.portal_id) .replace(":form_guid", formGuid...
alexindigo/newww
services/npme/methods/sendData.js
JavaScript
isc
693
module.exports = { env: { mocha: true }, plugins: [ 'mocha' ] };
pghalliday/recursive-semver
test/.eslintrc.js
JavaScript
isc
81
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE TypeFamilies #-} {-# OPTIONS_GHC -fno-warn-orphans #-} -- | Converting 'MC' programs to 'MCMem'. module Futhark.Pass.ExplicitAllocations.MC (explicitAllocations) where import Futhark.IR.MC import Futhark.IR.MCMem import Futhark.Pass.Exp...
HIPERFIT/futhark
src/Futhark/Pass/ExplicitAllocations/MC.hs
Haskell
isc
1,283
/******************************************************************************* * * Module Name: rscalc - Calculate stream and list lengths * ******************************************************************************/ /* * Copyright (C) 2000 - 2016, Intel Corp. * All rights reserved. * * Redistribution an...
TigerBSD/TigerBSD
FreeBSD/sys/contrib/dev/acpica/components/resources/rscalc.c
C
isc
23,744
/* eslint-disable flowtype/require-parameter-type, flowtype/require-return-type, no-magic-numbers */ import {test} from "tap" import {spy} from "sinon" import aside from "./" test(({equal, end}) => { const unction = spy(() => "b") equal(aside([unction])("a"), "a") end() }) test(({ok, end}) => { const uncti...
krainboltgreene/ramda-extra.js
package/aside/test.js
JavaScript
isc
737
/*- * Copyright (c) 1999 M. Warner Losh <imp@village.org> * 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...
TigerBSD/TigerBSD
FreeBSD/sys/dev/sn/if_sn_pccard.c
C
isc
8,607
/* Copyright (C) 2004 Michael J. Silbersack. 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 conditions and the ...
TigerBSD/TigerBSD
FreeBSD/tests/sys/kern/pipe/pipe_fstat_bug_test.c
C
isc
3,787
/* * The Yices SMT Solver. Copyright 2014 SRI International. * * This program may only be used subject to the noncommercial end user * license agreement which is downloadable along with this program. */ #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <inttypes.h> #include "utils/int_stack.h" ...
maelvalais/ocamlyices2
ext/yices/tests/unit/test_int_stack.c
C
isc
2,167
/* * Copyright (c) 2006, 2007 ThoughtWorks, Inc. * * 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 "AS IS" AND THE AUTH...
codehaus/cozmos
src/main/java/com/thoughtworks/cozmos/ModDavSvnProxyServlet2.java
Java
isc
3,638
/*- * Copyright (c) 2010, 2012 Konstantin Belousov <kib@FreeBSD.org> * Copyright (c) 2015 The FreeBSD Foundation * All rights reserved. * * Portions of this software were developed by Konstantin Belousov * under sponsorship from the FreeBSD Foundation. * * Redistribution and use in source and binary forms, with...
TigerBSD/TigerBSD
FreeBSD/sys/kern/kern_sharedpage.c
C
isc
7,826
# $FreeBSD$ SUBDIR= libasn1 libgssapi_krb5 libgssapi_ntlm libgssapi_spnego libhdb \ libheimntlm libhx509 libkadm5clnt libkadm5srv libkrb5 \ libroken libsl libvers libkdc libwind libheimbase libheimipcc libheimipcs SUBDIR+= libkafs5 # requires krb_err.h from libkrb5 SUBDIR_DEPEND_libkafs5= libkrb5 .include <bsd.s...
TigerBSD/TigerBSD
FreeBSD/kerberos5/lib/Makefile
Makefile
isc
330
TARGETS = cpcond tagintr EXTRA_OBJS = ../dmatags.o ../dmasend.o EE_LIBS = -lg -ldma COMMON_DIR=../../../common include $(COMMON_DIR)/common-ee.mk
jpd002/ps2autotests
tests/dma/dmac/Makefile
Makefile
isc
147
var doNothing = function () {} /** * The `Base` log defines methods that transports will share. */ var Base = module.exports = function (config, defaults) { var cedar = require('../../cedar') // A log is a shorthand for `log.log`, among other things. var log = function () { log.log.apply(log, arguments)...
zerious/cedar
lib/transports/base.js
JavaScript
isc
4,332
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GAPPSF.OKAPI { public class SiteInfoNetherlands: SiteInfo { public const string STR_INFO = "opencaching.nl"; public SiteInfoNetherlands() { ID = "2"; Info = STR_INFO...
RH-Code/GAPP
GAPPSF/OKAPI/SiteInfoNetherlands.cs
C#
mit
1,336
import Omni = require('../../lib/omni-sharp-server/omni'); import {Observable, CompositeDisposable} from "rx"; import {setupFeature, restoreBuffers, openEditor} from "../test-helpers"; describe('Run Tests', () => { setupFeature(['features/run-tests']); it('adds commands', () => { var disposable = new ...
rambocoder/omnisharp-atom
spec/features/run-tests-spec.ts
TypeScript
mit
886
*{ margin: 0px; padding: 0px; } #introduce{ width: 1000px; height: 680px; background-color: #f4f4f4; margin: auto; } h1{ font-size: 2em; text-align: center; } li{ list-style: none; font-size: 1em; } #pic1{ margin-left: 60px; float: left; width: 361px; height: 237px; } #pic2{ margin-left: 300px; flo...
JackyBird/nju_sun
WebRoot/css/operating_Guide.css
CSS
mit
419
// using System; if (double.TryParse(aaa, out var bbb)) { // ... } //
general-language-syntax/GLS
test/integration/IfStringToDoubleEnd/if string to double end.cs
C#
mit
75
{{- define "main" -}} <h1>{{ .Title | markdownify }}</h1> <p> <small class="text-secondary"> {{ $customDateFormat := "January 2, 2006" }} {{ with .Site.Params.customDateFormat }}{{ $customDateFormat = . }}{{ end }} {{ .PublishDate.Format $customDateFormat }}{{ if gt .Lastmod .PublishDate }}, updated {{ .Lastmo...
senthilsiva/senthilsiva.github.io
themes/minimal-bootstrap-hugo-theme/layouts/post/single.html
HTML
mit
427
using System; using System.Collections.Generic; using KellermanSoftware.CompareNetObjects; using KellermanSoftware.CompareNetObjects.TypeComparers; using ProtoBuf; namespace Abc.Zebus.Testing.Comparison { internal static class ComparisonExtensions { public static bool DeepCompare<T>(this T firstObj, T...
biarne-a/Zebus
src/Abc.Zebus.Testing/Comparison/ComparisonExtensions.cs
C#
mit
1,822
// Generated on 12/11/2014 19:01:22 using System; using System.Collections.Generic; using System.Linq; using BlueSheep.Common.Protocol.Types; using BlueSheep.Common.IO; using BlueSheep.Engine.Types; namespace BlueSheep.Common.Protocol.Messages { public class SequenceNumberMessage : Message { ...
Sadikk/BlueSheep
BlueSheep/Common/Protocol/messages/game/basic/SequenceNumberMessage.cs
C#
mit
1,158
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Unittest extends CI_Controller { function __construct() { parent::__construct (); $this->load->model('UnitTest_model'); $this->load->library('unit_test'); } function index(){ echo "test"; } function debate(){ $...
dvmoomoodv/CORK-server
vendor/codeigniter/framework/application/controllers/Unittest.php
PHP
mit
7,831
# modern-django Modern Django: A Guide on How to Deploy Django-based Web Applications in 2017
safouh94/modern-django
README.md
Markdown
mit
94
#include <iostream> using namespace std; #include <omp.h> #define SIZE 8 int main(void){ int x[SIZE]; int sum=0; for(int i=0;i<SIZE;i++){ x[i]=i; } #pragma omp parallel for reduction (+:sum) for(int i=0;i<SIZE;i++){ sum+=x[i]; } cout<<sum<<std::endl; return 0; }
wasit7/cs426
lectures/week02_omp2/week022_forReduction/for.cpp
C++
mit
300
- 只验证值,不关心这个值从哪里来 - 验证成功返回`undefined`,验证失败返回提示信息 - 验证又分:输入时验证,提交时验证 - 验证失败处理:提示,获得焦点 - 验证失败提示:提示时机,提示方式
jserz/feget
专题/表单验证/记录.md
Markdown
mit
262
from .image import Image from .product_category import ProductCategory from .supplier import Supplier, PaymentMethod from .product import Product from .product import ProductImage from .enum_values import EnumValues from .related_values import RelatedValues from .customer import Customer from .expense import Expense fr...
betterlife/psi
psi/app/models/__init__.py
Python
mit
875
import type {ResponseType} from "./base.type"; function parseJSON(response: ResponseType): Object { return response.json(); } export {parseJSON};
lingui/everest
src/parsers.js
JavaScript
mit
150
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
jjuiddong/KarlSims
SampleFramework/renderer/src/RendererTextureDesc.cpp
C++
mit
2,787
var request = require('request'), mongoose = require('mongoose'), util = require('util'), url = require('url'), helpers = require('./helpers'), sync = require('./sync') // turn off request pooling request.defaults({ agent:false }) // cache elasticsearch url options for elmongo.search() to use var ...
regini/inSquare
inSquareBackend/cloud.insquare/node_modules/elmongo/lib/elmongo.js
JavaScript
mit
5,351
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>local::basic_endpoint::operator!=</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="../../../boos...
rkq/cxxexp
third-party/src/boost_1_56_0/doc/html/boost_asio/reference/local__basic_endpoint/operator_not__eq_.html
HTML
mit
4,511
/** * Copyright 2015 Telerik AD * * 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 to ...
assunluis80/Web-Starter-Template
assets/scripts/vendors/kendo_ui/cultures/kendo.culture.qut.js
JavaScript
mit
3,281
#!/bin/bash export LDFLAGS="-lstdc++fs" mkdir -p $PREFIX/lib ./configure --prefix $PREFIX make make install
blankenberg/bioconda-recipes
recipes/libmaus2/build.sh
Shell
mit
109
using System; using System.Collections.Generic; using System.Text; using FlatRedBall; using FlatRedBall.Gui; using FlatRedBall.AI.Pathfinding; #if FRB_MDX using Color = System.Drawing.Color; #else using Color = Microsoft.Xna.Framework.Graphics.Color; #endif using CameraPropertyGrid = EditorObjects.Gui.CameraPropert...
GorillaOne/FlatRedBall
FRBDK/AIEditor/AIEditor/AIEditor/Gui/GuiData.cs
C#
mit
7,748
// flow-typed signature: 573c576fe34eb3c3c65dd7a9c90a46d2 // flow-typed version: b43dff3e0e/http-errors_v1.x.x/flow_>=v0.25.x declare module 'http-errors' { declare class SpecialHttpError extends HttpError { constructor(): SpecialHttpError; } declare class HttpError extends Error { expose: bool; mess...
conveyal/scenario-editor
flow-typed/npm/http-errors_v1.x.x.js
JavaScript
mit
2,439
--- layout: nav_menu_item title: Sales/Billing Document Integration date: 2016-03-07 06:18 author: jeremy.buller comments: true categories: [AvaTax 16 Certification navigation] ---
anyarms/developer-dot
_drafts/deprecated/nav items/2016-03-07-salesbilling-document-integration.md
Markdown
mit
191
/*! * Start Bootstrap - New Age v3.3.7 (http://startbootstrap.com/template-overviews/new-age) * Copyright 2013-2016 Start Bootstrap * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) */ .heading-font { font-family: 'Catamaran', 'Helvetica', 'Arial', 'sans-serif'; fon...
justincadburywong/justincadburywong.github.io
css/new-age.css
CSS
mit
9,892
using System; namespace Microsoft.eShopOnContainers.Services.Catalog.API.Model { public class CatalogItem { public int Id { get; set; } public string Name { get; set; } public string Description { get; set; } public decimal Price { get; set; } public string PictureU...
oferns/eShopOnContainers
src/Services/Catalog/Catalog.API/Model/CatalogItem.cs
C#
mit
593
<?xml version="1.0" encoding="iso-8859-1"?> <!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" xml:lang="en" lang="en"> <head> <title>Class: Gem::Package::TarReader::UnexpectedEOF</titl...
michaelsync/Giles
tools/Rake/lib/ruby/gems/1.8/doc/rubygems-1.5.2/rdoc/classes/Gem/Package/TarReader/UnexpectedEOF.html
HTML
mit
2,615
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JSDoc: Source: flags.js</title> <script src="scripts/prettify/prettify.js"> </script> <script src="scripts/prettify/lang-css.js"> </script> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></scr...
danikas2k2/just
doc/flags.js.html
HTML
mit
3,993
require 'cgi' require 'nkf' class Mechanize::Util # default mime type data for Page::Image#mime_type. # You can use another Apache-compatible mimetab. # mimetab = WEBrick::HTTPUtils.load_mime_types('/etc/mime.types') # Mechanize::Util::DefaultMimeTypes.replace(mimetab) DefaultMimeTypes = WEBrick::HTTPUti...
eligoenergy/mechanize
lib/mechanize/util.rb
Ruby
mit
4,585
require 'english/class' class English # = Noun Number Inflections # # This module provides english singular <-> plural noun inflections. module Inflect @singular_of = {} @plural_of = {} @singular_rules = [] @plural_rules = [] # This class provides the DSL for creating inflections, you c...
rubygengo/english
lib/english/inflect.rb
Ruby
mit
9,263
#ifndef MOAISPINEANIMATIONMIXTABLE_H #define MOAISPINEANIMATIONMIXTABLE_H #include <moai-core/headers.h> //----------------------------------------------------------------// class MOAISpineAnimationMixEntry { public: STLString mSrc; STLString mTarget; // STLString mOverlay; float mDuration; float mDelay; ...
tommo/gii
test/host/extension/MOAISpineAnimationMixTable.h
C
mit
1,158
var PixiText = require('../../lib/pixi/src/core/text/Text'), utils = require('../core/utils'), math = require('../../lib/pixi/src/core/math'), Sprite = require('../display/Sprite'), CONST = require('../core/const'); function Text(text, style, resolution){ this._init(text, style, resolution); } Tex...
TarentolaDigital/perenquen
src/display/Text.js
JavaScript
mit
13,176
/** * A wrapper around JSLint to drop things into the console * * Copyright (C) 2011 Nikolay Nemshilov */ var RightJS = require('./right-server.js'); var JSLint = require('./jslint').JSLINT; var fs = require('fs'); exports.Linter = new RightJS.Class({ extend: { Options: { debug: false, // no d...
rightjs/rightjs-ui
util/linter.js
JavaScript
mit
2,541
# coding=utf-8 import pygame import pygame.locals class Board(object): """ Plansza do gry. Odpowiada za rysowanie okna gry. """ def __init__(self, width, height): """ Konstruktor planszy do gry. Przygotowuje okienko gry. :param width: szerokość w pikselach ...
roninek/python101
docs/pygame/life/code1a.py
Python
mit
5,039
using System.Linq.Expressions; using System.Collections.Generic; namespace Bermuda.ExpressionGeneration { public partial class ValueExpression : ExpressionTreeBase { public long Value { get; private set; } public ValueExpression(long value) { Value = value; ...
melnx/Bermuda
Bermuda.ExpressionGenerator/QL/ValueExpression.cs
C#
mit
730
// String literal types are only valid in overload signatures function foo(x: any); function foo(x: 'hi') { } class C { foo(x: string); foo(x: 'hi') { } } interface I { (x: 'a'); (x: 'hi'); foo(x: 'a', y: 'a'); foo(x: 'hi', y: 'hi'); } var a: { (x: 'hi'); (x: 'a'); foo(x: 'hi'); ...
Pajn/prettier
tests/typescript/conformance/types/objectTypeLiteral/callSignatures/stringLiteralTypesInImplementationSignatures2.ts
TypeScript
mit
395
<?php namespace PhraseanetSDK\Tests\Cache; use PhraseanetSDK\Cache\BackendCacheFactory; use PhraseanetSDK\Exception\RuntimeException; class BackendCacheFactoryTest extends \PHPUnit_Framework_TestCase { /** * @dataProvider provideValidParameters */ public function testCreateSuccess($type, $host, $po...
aztech-dev/Phraseanet-PHP-SDK
tests/PhraseanetSDK/Tests/Cache/BackendCacheFactoryTest.php
PHP
mit
2,336
""" File-based Checkpoints implementations. """ import os import shutil from tornado.web import HTTPError from .checkpoints import ( Checkpoints, GenericCheckpointsMixin, ) from .fileio import FileManagerMixin from IPython.utils import tz from IPython.utils.path import ensure_dir_exists from IPython.utils.py...
wolfram74/numerical_methods_iserles_notes
venv/lib/python2.7/site-packages/IPython/html/services/contents/filecheckpoints.py
Python
mit
6,954
import React, { PropTypes } from 'react' import ActionDelete from 'material-ui/svg-icons/action/delete' import { colors } from '/styles' import moduleStyles from '/styles/fileTree' const RemoveBtn = ({ onClick }) => ( <ActionDelete onClick={onClick} style={moduleStyles.listIcon.base} ...
heshihao0813/registerScan
src/components/fileTree/RemoveBtn.js
JavaScript
mit
426
// Source : https://leetcode.com/problems/longest-substring-without-repeating-characters/ // Author : codeyu // Date : 2016-09-20 /********************************************************************************** * * Given a string, find the length of the longest substring without repeating characters. * * Examp...
AzureLocalizationTeam/leetcode
Algorithms/LengthOfLongestSubstring.cs
C#
mit
1,408
using System.Collections.ObjectModel; namespace SimpleBackgroundUploadWebAPI.Areas.HelpPage.ModelDescriptions { public class ComplexTypeModelDescription : ModelDescription { public ComplexTypeModelDescription() { Properties = new Collection<ParameterDescription>(); } ...
dannycabrera/SimpleBackgroundUpload
SimpleBackgroundUploadWebAPI/SimpleBackgroundUploadWebAPI/Areas/HelpPage/ModelDescriptions/ComplexTypeModelDescription.cs
C#
mit
402
<!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/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
bachelorwhc/Valkyrie
third_party/tbb/doc/html/a00371.html
HTML
mit
15,116