code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
// Package storage provides access to the Cloud Storage JSON API. // // See https://developers.google.com/storage/docs/json_api/ // // Usage example: // // import "google.golang.org/api/storage/v1" // ... // storageService, err := storage.New(oauthHttpClient) package storage // import "google.golang.org/api/stora...
mpl/camlistore
vendor/google.golang.org/api/storage/v1/storage-gen.go
GO
apache-2.0
338,935
/* Copyright 2016 The Kubernetes Authors. 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 in writing, ...
craigyam/amalgam8
vendor/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_resourcequota.go
GO
apache-2.0
4,021
<?php include_once dirname(__FILE__).'/../../bootstrap/unit.php'; class myQuery extends opDoctrineQuery { public static $lastQueryCacheHash = ''; public function calculateQueryCacheHash() { self::$lastQueryCacheHash = parent::calculateQueryCacheHash(); return self::$lastQueryCacheHash; } } $_app = ...
imamura623/OpenPNE38x_PluginBundledVersion
test/unit/util/opDoctrineQueryTest.php
PHP
apache-2.0
5,917
cask 'wifispoof' do version '3.4.3' sha256 '31465240307e6e2f36f9345c0600489e3458d81922f3a4ded66fe9881503f606' # sweetpproductions.com/products was verified as official when first introduced to the cask url "https://sweetpproductions.com/products/wifispoof#{version.major}/WiFiSpoof#{version.major}.dmg" appcas...
gyndav/homebrew-cask
Casks/wifispoof.rb
Ruby
bsd-2-clause
504
# -*- coding: utf-8 -*- import os from operator import itemgetter from gluon.storage import Storage from gluon.dal import DAL, Field, Row DBHOST = os.environ.get('DBHOST', 'localhost') DATABASE_URI = 'mysql://benchmarkdbuser:benchmarkdbpass@%s:3306/hello_world' % DBHOST class Dal(object): def __init__(self, table...
ashawnbandy-te-tfb/FrameworkBenchmarks
frameworks/Python/web2py/app/standard/modules/database.py
Python
bsd-3-clause
2,330
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * Copyright (C) 2003, 2006, 2009, 2012 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either ...
mxOBS/deb-pkg_trusty_chromium-browser
third_party/WebKit/Source/core/rendering/RenderApplet.cpp
C++
bsd-3-clause
1,302
// Copyright 2013 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 "ui/compositor/test/test_compositor_host.h" #include "base/basictypes.h" #include "base/bind.h" #include "base/compiler_specific.h" #include "ba...
ltilve/chromium
ui/compositor/test/test_compositor_host_ozone.cc
C++
bsd-3-clause
2,222
// Copyright 2014 the V8 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. 'use strict'; // This file relies on the fact that the following declaration has been made // in runtime.js: // var $Array = global.Array; // --------...
sgraham/nope
v8/src/harmony-array-includes.js
JavaScript
bsd-3-clause
1,359
/* LumX v1.5.14 (c) 2014-2017 LumApps http://ui.lumapps.com License: MIT */ (function() { 'use strict'; angular.module('lumx.utils.depth', []); angular.module('lumx.utils.event-scheduler', []); angular.module('lumx.utils.transclude-replace', []); angular.module('lumx.utils.utils', []); angu...
tholu/cdnjs
ajax/libs/lumx/1.5.14/lumx.js
JavaScript
mit
203,404
<?php defined('C5_EXECUTE') or die("Access Denied."); if (ENABLE_AREA_LAYOUTS == false) { die(t('Area layouts have been disabled.')); } global $c; $form = Loader::helper('form'); //Loader::model('layout'); if( intval($_REQUEST['lpID']) ){ $layoutPreset = LayoutPreset::getByID($_REQUEST['lpID']); if(is_objec...
HB-Biomedical-Technologies/hbbt-web-skeleton
www/concrete/elements/block_area_layout.php
PHP
mit
5,830
// File: chapter14/appUnderTest/app/scripts/app.js angular.module('fifaApp', ['ngRoute']) .config(function($routeProvider) { $routeProvider.when('/', { templateUrl: 'views/team_list.html', controller: 'TeamListCtrl as teamListCtrl' }) .when('/login', { templateUrl: 'views/login.html', ...
dikshay/angularjs-up-and-running
chapter14/appUnderTest/app/scripts/app.js
JavaScript
mit
881
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Natale Patriciello <natale.patriciello@gmail.com> * 2016 Stefano Avallone <stavallo@unina.it> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Publ...
Vivek-anand-jain/Implementation-of-BLUE-in-ns-3
src/traffic-control/model/traffic-control-layer.cc
C++
gpl-2.0
10,705
package autotest.afe; import java.util.ArrayList; import java.util.List; public class CheckBoxPanel { public static interface Display { public ICheckBox generateCheckBox(int index); } private List<ICheckBox> checkBoxes = new ArrayList<ICheckBox>(); private Display display; public void bi...
spcui/autotest
frontend/client/src/autotest/afe/CheckBoxPanel.java
Java
gpl-2.0
1,139
package autotest.tko; import autotest.common.Utils; public abstract class LabelField extends ParameterizedField { @Override public String getSqlCondition(String value) { String condition = " IS NOT NULL"; if (value.equals(Utils.JSON_NULL)) { condition = " IS NULL"; } ...
nacc/autotest
frontend/client/src/autotest/tko/LabelField.java
Java
gpl-2.0
472
tinymce.PluginManager.add("insertdatetime", function (e) { function t(t, n) { function i(e, t) { if (e = "" + e, e.length < t)for (var n = 0; n < t - e.length; n++)e = "0" + e; return e } return n = n || new Date, t = t.replace("%D", "%m/%d/%Y"), t = t.replace("%r", ...
DaveB95/CS3012Website
vendors/tinymce/plugins/insertdatetime/plugin.min.js
JavaScript
gpl-2.0
2,505
<?php if (!$os) { if (strstr($sysDescr, "KYOCERA ")) { $os = "kyocera"; } } ?>
mehulsbhatt/librenms
includes/discovery/os/kyocera.inc.php
PHP
gpl-3.0
82
/*! * JavaScript for the debug toolbar profiler, enabled through $wgDebugToolbar * and StartProfiler.php. * * @author Erik Bernhardson * @since 1.23 */ ( function ( mw, $ ) { 'use strict'; /** * @singleton * @class mw.Debug.profile */ var profile = mw.Debug.profile = { /** * Object containing data...
kylethayer/bioladder
wiki/resources/src/mediawiki/mediawiki.debug.profile.js
JavaScript
gpl-3.0
15,945
/* * ContextMenu Plugin * * */ (function($) { $.extend(mejs.MepDefaults, contextMenuItems = [ // demo of a fullscreen option { render: function(player) { // check for fullscreen plugin if (typeof player.enterFullScreen == 'undefined') return null; if (player.isFul...
europeana/broken_dont_bother_exhibitions
webtree/themes/main/javascripts/mediaelement-2.7/src/js/mep-feature-contextmenu.js
JavaScript
gpl-3.0
4,424
<?php /* * $Id$ * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR C...
aripringle/doctrine1
tests/Ticket/1365TestCase.php
PHP
lgpl-2.1
4,392
package servicefabric // Copyright (c) Microsoft and contributors. All rights reserved. // // 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 // ...
wjiangjay/origin
vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2017-07-01-preview/servicefabric/versiongroup.go
GO
apache-2.0
14,585
/* * Copyright 2000-2016 JetBrains s.r.o. * * 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 agre...
asedunov/intellij-community
python/src/com/jetbrains/python/codeInsight/functionTypeComments/PyFunctionTypeAnnotationElementTypes.java
Java
apache-2.0
1,200
/** * Implementation of Multi-User Chat (XEP-0045). */ package org.jivesoftware.openfire.muc.spi;
zuoyebushiwo/openfire-my-study
src/java/org/jivesoftware/openfire/muc/spi/package-info.java
Java
apache-2.0
99
/* * 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 in writing, software * distribut...
deciament/presto
presto-main/src/main/java/com/facebook/presto/sql/gen/PageProcessorCompiler.java
Java
apache-2.0
15,098
/* * Copyright 2000-2016 JetBrains s.r.o. * * 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 agre...
jk1/intellij-community
python/src/com/jetbrains/python/inspections/quickfix/AddIgnoredIdentifierQuickFix.java
Java
apache-2.0
2,763
module Vmdb module Initializer def self.init _log.info "- Program Name: #{$PROGRAM_NAME}, PID: #{Process.pid}, ENV['MIQ_GUID']: #{ENV['MIQ_GUID']}, ENV['EVMSERVER']: #{ENV['EVMSERVER']}" # When these classes are deserialized in ActiveRecord (e.g. EmsEvent, MiqQueue), they need to be preloaded r...
NaNi-Z/manageiq
lib/vmdb/initializer.rb
Ruby
apache-2.0
937
from fabric.api import * import fabric.contrib.project as project import os import shutil import sys import SocketServer from pelican.server import ComplexHTTPRequestHandler # Local path configuration (can be absolute or relative to fabfile) env.deploy_path = 'output' DEPLOY_PATH = env.deploy_path # Remote server co...
oscarvarto/oscarvarto.github.io
fabfile.py
Python
apache-2.0
2,437
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.lang.jvm.actions; public interface CreateConstructorRequest extends CreateExecutableRequest { }
smmribeiro/intellij-community
java/java-analysis-api/src/com/intellij/lang/jvm/actions/CreateConstructorRequest.java
Java
apache-2.0
259
package com.baidu.disconf.web.service.user.vo; public class VisitorVo { private Long id; private String name; private String role; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } ...
markyao/disconf
disconf-web/src/main/java/com/baidu/disconf/web/service/user/vo/VisitorVo.java
Java
apache-2.0
1,901
import os.path import sys import re import warnings import cx_Oracle from django.db import connection, models from django.db.backends.util import truncate_name from django.core.management.color import no_style from django.db.models.fields import NOT_PROVIDED from django.db.utils import DatabaseError # I...
edisonlz/fruit
web_project/base/site-packages/south/db/oracle.py
Python
apache-2.0
12,431
package org.opencv.samples.puzzle15; import org.opencv.core.Core; import org.opencv.core.CvType; import org.opencv.core.Mat; import org.opencv.core.Scalar; import org.opencv.core.Size; import org.opencv.core.Point; import org.opencv.imgproc.Imgproc; import android.util.Log; /** * This class is a controller for puz...
apavlenko/opencv
samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java
Java
bsd-3-clause
6,624
// Copyright 2013 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 "apps/app_lifetime_monitor_factory.h" #include "apps/app_lifetime_monitor.h" #include "apps/app_window_registry.h" #include "chrome/browser/prof...
7kbird/chrome
apps/app_lifetime_monitor_factory.cc
C++
bsd-3-clause
1,638
// Copyright (c) 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 "chrome/browser/ui/views/status_icons/status_tray_linux.h" #include "build/build_config.h" #if !defined(OS_CHROMEOS) #include "chrome/brows...
XiaosongWei/chromium-crosswalk
chrome/browser/ui/views/status_icons/status_tray_linux.cc
C++
bsd-3-clause
1,089
// Copyright 2009 the Sputnik authors. All rights reserved. /** * The production x >>>= y is the same as x = x >>> y * * @path ch11/11.13/11.13.2/S11.13.2_A4.8_T1.3.js * @description Type(x) and Type(y) vary between primitive string and String object */ //CHECK#1 x = "1"; x >>>= "1"; if (x !== 0) { $ERROR('#1:...
Oceanswave/NiL.JS
Tests/tests/sputnik/ch11/11.13/11.13.2/S11.13.2_A4.8_T1.3.js
JavaScript
bsd-3-clause
1,023
/// Copyright (c) 2012 Ecma International. All rights reserved. /** * @path ch15/15.2/15.2.3/15.2.3.5/15.2.3.5-4-258.js * @description Object.create - 'get' property of one property in 'Properties' is the primitive value null (8.10.5 step 7.b) */ function testcase() { try { Object.create({}, ...
Oceanswave/NiL.JS
Tests/tests/sputnik/ch15/15.2/15.2.3/15.2.3.5/15.2.3.5-4-258.js
JavaScript
bsd-3-clause
543
module.exports = require('./lib/socket.io');
thetomcraig/redwood
web/node_modules/socket.io/index.js
JavaScript
isc
44
var _complement = require('./internal/_complement'); var _curry2 = require('./internal/_curry2'); var filter = require('./filter'); /** * Similar to `filter`, except that it keeps only values for which the given predicate * function returns falsy. The predicate function is passed one argument: *(value)*. * * Acts...
concertcoder/leaky-ionic-app
www/lib/ramda/src/reject.js
JavaScript
mit
899
/************************************************************* * * MathJax/jax/output/HTML-CSS/fonts/Asana-Math/Size1/Regular/Main.js * * Copyright (c) 2013-2014 The MathJax Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with ...
uva/mathjax-rails-assets
vendor/assets/javascripts/jax/output/HTML-CSS/fonts/Asana-Math/Size1/Regular/Main.js
JavaScript
mit
4,163
/************************************************************* * * MathJax/jax/output/HTML-CSS/fonts/Neo-Euler/Variants/Regular/Main.js * * Copyright (c) 2013-2014 The MathJax Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance wit...
uva/mathjax-rails-assets
vendor/assets/javascripts/jax/output/HTML-CSS/fonts/Neo-Euler/Variants/Regular/Main.js
JavaScript
mit
1,809
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v9.0.3 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c <...
extend1994/cdnjs
ajax/libs/ag-grid/9.0.4/lib/xmlFactory.js
JavaScript
mit
2,992
/** * High performant way to check whether an element with a specific class name is in the given document * Optimized for being heavily executed * Unleashes the power of live node lists * * @param {Object} doc The document object of the context where to check * @param {String} tagName Upper cased tag name * @exa...
StepicOrg/wysihtml5
src/dom/has_element_with_class_name.js
JavaScript
mit
1,231
<?php /* Plugin Name: MediaFire API Description: Check links to files hosted on MediaFire. Version: 1.0 Author: Janis Elsts ModuleID: mediafire-checker ModuleCategory: checker ModuleContext: on-demand ModuleLazyInit: true ModuleClassName: blcMediaFireChecker ModulePriority: 100 ModuleCheckerUrlPattern: @^http://(?:w...
SayenkoDesign/playground
wp-content/plugins/broken-link-checker/modules/extras/mediafire.php
PHP
gpl-2.0
5,392
#!/usr/bin/env python import vtk from vtk.test import Testing from vtk.util.misc import vtkGetDataRoot VTK_DATA_ROOT = vtkGetDataRoot() ren1 = vtk.vtkRenderer() renWin = vtk.vtkRenderWindow() renWin.AddRenderer(ren1) iren = vtk.vtkRenderWindowInteractor() iren.SetRenderWindow(renWin) # create a scene with one of each ...
HopeFOAM/HopeFOAM
ThirdParty-0.1/ParaView-5.0.1/VTK/Rendering/Core/Testing/Python/pickCells.py
Python
gpl-3.0
16,540
#include <kccachedb.h> using namespace std; using namespace kyotocabinet; // main routine int main(int argc, char** argv) { // create the database object GrassDB db; // open the database if (!db.open("*", GrassDB::OWRITER | GrassDB::OCREATE)) { cerr << "open error: " << db.error().name() << endl; } ...
sapo/kyoto
kyotocabinet/example/kcgrassex.cc
C++
gpl-3.0
983
<?php // This file is part of BOINC. // http://boinc.berkeley.edu // Copyright (C) 2011 University of California // // BOINC is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License // as published by the Free Software Foundation, // either version 3 of the ...
hanxue/Boinc
html/user/submit_status.php
PHP
gpl-3.0
2,189
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # This module copyright (C) 2015 Therp BV (<http://therp.nl>). # # This program is free software: you can redistribute it and/or modify # it under the terms of ...
Ehtaga/account-financial-reporting
account_financial_report_horizontal/report/report_financial.py
Python
agpl-3.0
2,192
/* Copyright (c) 2001-2009, The HSQL Development Group * 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...
kumarrus/voltdb
src/hsqldb19b3/org/hsqldb_voltpatches/lib/HsqlList.java
Java
agpl-3.0
2,168
//===- LiveDebugVariables.cpp - Tracking debug info variables -------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
cd80/UtilizedLLVM
lib/CodeGen/LiveDebugVariables.cpp
C++
unlicense
36,643
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.core.ml.action; import org.elastic...
GlenRSmith/elasticsearch
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateProcessAction.java
Java
apache-2.0
6,629
{ "EL": {"custom":["org.nutz.el.issue279.Uuuid"]} }
lzxz1234/nutz
test/org/nutz/el/issue279/279.js
JavaScript
apache-2.0
51
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Extensions; using Microsoft.CodeAnalysis.CSharp.Syntax; u...
KevinRansom/roslyn
src/Workspaces/CSharp/Portable/Formatting/Rules/SpacingFormattingRule.cs
C#
apache-2.0
19,660
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
GlenRSmith/elasticsearch
server/src/main/java/org/elasticsearch/threadpool/ThreadPoolStats.java
Java
apache-2.0
5,488
/* * Copyright 2003,2004 The Apache Software Foundation * * 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 a...
vongosling/cglib-ext
src/proxy/net/sf/cglib/proxy/CallbackGenerator.java
Java
apache-2.0
1,311
RSpec::Matchers.define :have_rule do |rule| match do |subject| if subject.class.name == 'Serverspec::Type::Iptables' subject.has_rule?(rule, @table, @chain) else subject.has_rule?(rule) end end chain :with_table do |table| @table = table end chain :with_chain do |chain| @chai...
memelet/serverspec
lib/serverspec/matchers/have_rule.rb
Ruby
mit
340
/* * Copyright 2012 Red Hat, Inc. and/or its affiliates. * * 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 a...
rokn/Count_Words_2015
testing/drools-master/drools-workbench-models/drools-workbench-models-datamodel-api/src/main/java/org/drools/workbench/models/datamodel/rule/ExpressionUnboundFact.java
Java
mit
1,906
<?php /** * @file * Initiates a browser-based installation of Drupal. */ // Change the directory to the Drupal root. chdir('..'); /** * Global flag to indicate the site is in installation mode. * * The constant is defined using define() instead of const so that PHP * versions prior to 5.3 can display proper P...
drupaals/demo.com
d8/core/install.php
PHP
gpl-2.0
1,109
import os, sys; sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "..")) import codecs from pattern.vector import Document, PORTER, LEMMA # A Document is a "bag-of-words" that splits a string into words and counts them. # A list of words or dictionary of (word, count)-items can also be given. # Words ...
krishna11888/ai
third_party/pattern/examples/05-vector/01-document.py
Python
gpl-2.0
3,205
/* * Dynamic To Top Plugin * http://www.mattvarone.com * * By Matt Varone * @sksmatt * */ var mv_dynamic_to_top;(function($,mv_dynamic_to_top){jQuery.fn.DynamicToTop=function(options){var defaults={text:mv_dynamic_to_top.text,min:parseInt(mv_dynamic_to_top.min,10),fade_in:600,fade_out:400,speed:parseInt(mv_dynam...
richardPZH/wordpress-plus
wp-content/plugins/dynamic-to-top/js/dynamic.to.top.min.js
JavaScript
gpl-2.0
1,192
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build irix package syscall //sysnb raw_ptrace(request int, pid int, addr *byte, data *byte) (err Errno) //ptrace(request _C_int, pid Pid_t, addr *byte, da...
krichter722/gcc
libgo/go/syscall/libcall_irix.go
GO
gpl-2.0
338
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...
nagyistoce/moodle
lang/en/role.php
PHP
gpl-3.0
26,335
// 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 disable using System; using Microsoft.CodeAnalysis.ErrorReporting; using Roslyn.Test.Utilities; using Ro...
AmadeusW/roslyn
src/Workspaces/CoreTest/UtilityTest/ExceptionHelpersTests.cs
C#
apache-2.0
1,686
""" CMSIS-DAP Interface Firmware Copyright (c) 2009-2013 ARM Limited 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 la...
flyhung/CMSIS-DAP
tools/get_binary.py
Python
apache-2.0
1,166
/* * Copyright 2014 Soichiro Kashima * * 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 agree...
cymcsg/UltimateAndroid
deprecated/UltimateAndroidGradle/demoofui/src/main/java/com/marshalchen/common/demoofui/observablescrollview/ToolbarControlWebViewActivity.java
Java
apache-2.0
5,205
/* * Copyright (C) 2016 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
zmarkan/okhttp
okhttp-tests/src/test/java/okhttp3/ResponseTest.java
Java
apache-2.0
3,177
<?php /** * HTML cache invalidation of all pages linking to a given title. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any late...
BRL-CAD/web
wiki/includes/cache/HTMLCacheUpdate.php
PHP
bsd-2-clause
2,065
cask :v1 => 'witgui' do version '2.1.2' sha256 '4e108153a2cce9fede1358b265dfcd7d9f03c15658e2c9278ddad8a04260cf9b' url "http://desairem.altervista.org/witgui/download.php?version=#{version}" name 'Witgui' appcast 'http://desairem.altervista.org/witgui/appcast.xml', :sha256 => 'f982fdb6f7cfe0a307fad7...
vmrob/homebrew-cask
Casks/witgui.rb
Ruby
bsd-2-clause
566
import { MacOption24 } from "../../"; export = MacOption24;
markogresak/DefinitelyTyped
types/carbon__icons-react/lib/mac--option/24.d.ts
TypeScript
mit
61
export default (...modifiers): Array<string> => {};
recipesjs/ingredients
test/fixtures/flow/type-annotations/102/actual.js
JavaScript
mit
52
<?php namespace Concrete\Core\Search; use Concrete\Core\Application\EditResponse; use Concrete\Core\Entity\Search\Query; use Concrete\Core\Search\Result\Result as SearchResult; interface SessionQueryProviderInterface { function setSessionCurrentQuery(Query $query); function getSessionCurrentQuery(); func...
Akhenoth/Factorian
concrete/src/Search/SessionQueryProviderInterface.php
PHP
mit
393
import { LogoTumblr16 } from "../../"; export = LogoTumblr16;
markogresak/DefinitelyTyped
types/carbon__icons-react/lib/logo--tumblr/16.d.ts
TypeScript
mit
63
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
ganzenmg/lammps_current
src/USER-OMP/pppm_omp.cpp
C++
gpl-2.0
22,330
(function (_, $, Backbone, Drupal, drupalSettings) { "use strict"; /** * State of an in-place editable entity in the DOM. */ Drupal.edit.EntityModel = Drupal.edit.BaseModel.extend({ defaults: { // The DOM element that represents this entity. It may seem bizarre to // have a DOM element in a Backbone Mode...
christopherhuntley/daphnedixon
sites/all/modules/edit/js/models/EntityModel.js
JavaScript
gpl-2.0
24,459
<?php if (!defined('W3TC')) die(); ?> <?php $this->checkbox('minify.html.strip.crlf', false, 'html_') ?> Line break removal</label><br />
sudocoda/rs27
wp-content/plugins/w3-total-cache/inc/options/minify/html.php
PHP
gpl-2.0
140
/* * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
FauxFaux/jdk9-jdk
src/java.desktop/share/classes/com/sun/media/sound/ModelDestination.java
Java
gpl-2.0
5,633
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\/ M anipulation | --------...
OpenFOAM/OpenFOAM-2.3.x
src/mesh/extrudeModel/linearDirection/linearDirection.H
C++
gpl-3.0
2,664
/* YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('event-valuechange', function(Y) { /** Adds a synthetic `valueChange` event that fires when the `value` property of an `<input>` or `<textarea>` node changes as a result of ...
sergiomt/zesped
src/webapp/js/yui/event-valuechange/event-valuechange.js
JavaScript
agpl-3.0
13,297
""" Read/Write AMQP frames over network transports. 2009-01-14 Barry Pederson <bp@barryp.org> """ # Copyright (C) 2009 Barry Pederson <bp@barryp.org> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Softwa...
mzdaniel/oh-mainline
vendor/packages/amqplib/amqplib/client_0_8/transport.py
Python
agpl-3.0
7,349
$(document).delegate('.storage_graph_link', 'click', function(e){ var anchor = this, el = $(anchor), id = el.attr('data-status'); if(e.ctrlKey || e.metaKey){ return true; }else{ e.preventDefault(); } var cell = document.getElementById(id); var text = el.html(); if (text == '[:: show ::]') { ancho...
jialinsun/cat
cat-home/src/main/webapp/js/storage.js
JavaScript
apache-2.0
1,379
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
arunasujith/wso2-axis2
modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/SOAPEnvelopeBlockImpl.java
Java
apache-2.0
5,741
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
yhnishi/cassandra
src/java/org/apache/cassandra/schema/KeyspaceParams.java
Java
apache-2.0
3,724
// 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 disable using System; using System.Diagnostics; using System.Linq; using System.Threading; using Microso...
shyamnamboodiripad/roslyn
src/Workspaces/CSharp/Portable/Simplification/Reducers/CSharpExtensionMethodReducer.cs
C#
apache-2.0
6,511
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
wangcy6/storm_app
frame/kafka-0.11.0/kafka-0.11.0.1-src/connect/runtime/src/main/java/org/apache/kafka/connect/storage/MemoryOffsetBackingStore.java
Java
apache-2.0
4,169
// 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 disable #if NETCOREAPP using System; using System.IO; using System.Text; using System.Threading; using ...
brettfo/roslyn
src/Test/Utilities/Portable/Platform/CoreClr/SharedConsoleOutWriter.cs
C#
apache-2.0
2,634
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Linq; using System.Linq.Expressions; using System.Threading; using System.Threading.Tasks; using Microsoft.WebMatrix.Extensibility; using NuGet; using NuGet.WebMatrix.Data; namespace NuGet.WebM...
mrward/NuGet.V2
WebMatrixExtension/NuGetExtension/Core/FilterManager.cs
C#
apache-2.0
13,110
/** * Copyright 2017 Google Inc. All Rights Reserved. * * 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 appli...
laurentiustamate94/DefinitelyTyped
types/material__dialog/foundation.d.ts
TypeScript
mit
1,164
/* Area: ffi_closure, unwind info Purpose: Check if the unwind information is passed correctly. Limitations: none. PR: none. Originator: Jeff Sturm <jsturm@one-point.com> */ /* { dg-do run } */ #include "ffitestcxx.h" #if defined HAVE_STDINT_H #include <stdint.h> #endif #if defined HAVE_INTTYPES_H #in...
teeple/pns_server
work/install/Python-2.7.4/Modules/_ctypes/libffi/testsuite/libffi.special/unwindtest.cc
C++
gpl-2.0
3,804
var utils = require('./connection_utils'), inherits = require('util').inherits, net = require('net'), EventEmitter = require('events').EventEmitter, inherits = require('util').inherits, MongoReply = require("../responses/mongo_reply").MongoReply, Connection = require("./connection").Connection; var Connect...
cw0100/cwse
nodejs/node_modules/rrestjs/node_modules/mongodb/lib/mongodb/connection/connection_pool.js
JavaScript
gpl-2.0
7,246
using System; using System.Collections.Generic; using System.Web; using System.Web.Mvc; using SmartStore.Core.Domain.Tasks; namespace SmartStore.Core.Events { /// <summary> /// to initialize scheduled tasks in Application_Start /// </summary> public class AppInitScheduledTasksEvent { public IList<ScheduleTask>...
ibindura/SmartStoreNET
src/Libraries/SmartStore.Core/Events/CommonMessages/AppInitScheduledTasksEvent.cs
C#
gpl-3.0
357
#include <iostream> #include <seqan/stream.h> using namespace seqan; int main(int argc, char const ** argv) { if (argc != 2) { std::cerr << "USAGE: tutorial_solution1 VALUE\n"; return 1; } // Lexical casting with the 1-argument lexicalCast(). { int i = 0; unsi...
rrahn/jst_bench
include/seqan/demos/tutorial/custom_io/solution4.cpp
C++
gpl-3.0
2,177
define( ({ "collapse": "Spusti traku s alatima editora", "expand": "Proširi traku s alatima editora" }) );
avz-cmf/zaboy-middleware
www/js/dojox/editor/plugins/nls/hr/CollapsibleToolbar.js
JavaScript
gpl-3.0
110
// Copyright 2014 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package upgrader import ( "github.com/juju/juju/agent/tools" "github.com/juju/juju/version" ) // UpgradeReadyError is returned by an Upgrader to report that // an upgrade is ready to be performed and a restart is due. type...
tsakas/juju
worker/upgrader/error.go
GO
agpl-3.0
967
// stdafx.cpp : source file that includes just the standard includes // xpad.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" // TODO: reference any additional headers you need in STDAFX.H // and not in this file string format(const char* fmt, ...) ...
Pistachioman/pcsx2
plugins/CDVDolio/stdafx.cpp
C++
lgpl-3.0
679
<?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
drthomas21/WordPress_Tutorial
wordpress_htdocs/wp-content/plugins/swg-youtube-vids/vendor/google/apiclient-services/src/Google/Service/HangoutsChat/Image.php
PHP
apache-2.0
1,427
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apac...
atpham256/azure-powershell
src/ResourceManager/Sql/Commands.Sql/Secure Connection/Model/DatabaseSecureConnectionPolicyModel.cs
C#
apache-2.0
1,931
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using Microsoft.CodeAnalysis.Operations; using Microsoft.CodeAnalysis.Shared.Utilities; using Roslyn.Utilities; namespace ...
mmitche/roslyn
src/Features/Core/Portable/PopulateSwitch/PopulateSwitchHelpers.cs
C#
apache-2.0
4,898
'use strict'; angular.module('openshiftConsole') .directive('overviewDeployment', function($location, $timeout, LabelFilter) { return { restrict: 'E', scope: { // Replication controller / deployment fields rc: '=', deploymentConfigId: '=', deploymentConfigMissing: '=', ...
domenicbove/origin
assets/app/scripts/directives/resources.js
JavaScript
apache-2.0
3,240
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # # Copyright (c) 2013-2015 Noviat nv/sa (www.noviat.com). # # This program is free software: you can redistribute it and/or modify # it under the terms of th...
damdam-s/account-financial-tools
account_move_line_search_extension/__init__.py
Python
agpl-3.0
1,056
# -*- coding: utf-8 -*- from odoo.tests.common import HttpCase from odoo.exceptions import ValidationError class AccountingTestCase(HttpCase): """ This class extends the base TransactionCase, in order to test the accounting with localization setups. It is configured to run the tests after the installation ...
Aravinthu/odoo
addons/account/tests/account_test_classes.py
Python
agpl-3.0
2,749
require "helper" describe Octokit::EnterpriseAdminClient::Orgs do before do Octokit.reset! @admin_client = enterprise_admin_client end describe ".create_organization", :vcr do it "creates a new organization" do @admin_client.create_organization('SuchAGreatOrg', 'gjtorikian') expect(@adm...
iainbeeston/octokit.rb
spec/octokit/enterprise_admin_client/orgs_spec.rb
Ruby
mit
479
// Type definitions for es6-promise // Project: https://github.com/jakearchibald/ES6-Promise // Definitions by: François de Campredon <https://github.com/fdecampredon>, vvakame <https://github.com/vvakame> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped interface Thenable<T> { then<U>(onFulfille...
AbraaoAlves/DefinitelyTyped
types/es6-promise/index.d.ts
TypeScript
mit
5,199
<?php /* * This file is part of Respect/Validation. * * (c) Alexandre Gomes Gaigalas <alexandre@gaigalas.net> * * For the full copyright and license information, please view the "LICENSE.md" * file that was distributed with this source code. */ namespace Respect\Validation\Rules\SubdivisionCode; use Respect\V...
SiliconSouthTech/farmeazy
vendor/respect/validation/library/Rules/SubdivisionCode/SoSubdivisionCode.php
PHP
mit
1,108