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 |
|---|---|---|---|---|---|
/*
*
* /arch/arm/mach-msm/htc_headset_mgr.c
*
* HTC headset manager driver.
*
* Copyright (C) 2010 HTC, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those ter... | mwoodward/Amaze-ics-sense | arch/arm/mach-msm/htc_headset_mgr.c | C | gpl-2.0 | 42,617 |
/*
* drivers/gpu/ion/ion_system_heap.c
*
* Copyright (C) 2011 Google, Inc.
* Copyright (c) 2011-2015, The Linux Foundation. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distrib... | ashyx/Samsung_Galaxy_Tab_A_kernel | drivers/staging/android/ion/ion_system_heap.c | C | gpl-2.0 | 17,491 |
/***********************************************************************
* mt4j Copyright (c) 2008 - 2009, C.Ruff, Fraunhofer-Gesellschaft All rights reserved.
*
* 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
... | Twelve-60/mt4j | src/org/mt4j/components/visibleComponents/widgets/progressBar/AbstractProgressThread.java | Java | gpl-2.0 | 6,687 |
/*
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
* Copyright (c) 2002-2009 Eric Lafortune (eric@graphics.cornell.edu)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as publ... | qtekfun/htcDesire820Kernel | external/proguard/src/proguard/classfile/instruction/SwitchInstruction.java | Java | gpl-2.0 | 2,474 |
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | somaen/scummvm | engines/ultima/nuvie/core/obj_manager.cpp | C++ | gpl-2.0 | 57,348 |
/*
(See Documentation/git-fast-import.txt for maintained documentation.)
Format of STDIN stream:
stream ::= cmd*;
cmd ::= new_blob
| new_commit
| new_tag
| reset_branch
| checkpoint
| progress
;
new_blob ::= 'blob' lf
mark?
file_content;
file_content ::... | Lekensteyn/git | fast-import.c | C | gpl-2.0 | 90,233 |
<?php
/* Get all of the faq entries */
$results = $tc_db->GetAll("SELECT * FROM `".KU_DBPREFIX."front` WHERE `page` = 1 ORDER BY `order` ASC");
foreach($results AS $line) {
$content .= '<div class="content">' . "\n" .
'<h2><span class="newssub">'.stripslashes($line['subject']).'';
$content .= '</span><span cla... | stormeus/Kusaba-Z | inc/pages/faq.php | PHP | gpl-2.0 | 494 |
tinyMCE.addI18n('ps.modxlink',{
link_desc:"Insert/edit link"
}); | svyatoslavteterin/belton.by | core/packages/tinymce-4.3.3-pl/modPlugin/46c188883a90c37d912c8b5f16d2bdbd/0/tinymce/jscripts/tiny_mce/plugins/modxlink/langs/ps.js | JavaScript | gpl-2.0 | 68 |
"""
Downloads bootloader content for all arches for when the user doesn't want to supply their own.
Copyright 2009, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
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 Softwa... | elsonrodriguez/madhatter | cobbler/action_dlcontent.py | Python | gpl-2.0 | 2,907 |
/****************************************************************************
** Meta object code from reading C++ file 'info_panels.hpp'
**
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5)
**
** WARNING! All changes made in this file will be lost!
*******************************************************... | dulton/vlc-2.1.4.32.subproject-2013-update2 | modules/gui/qt4/components/info_panels.moc.cpp | C++ | gpl-2.0 | 10,339 |
/* GStreamer
*
* unit test for GstBufferList
*
* Copyright (C) 2009 Axis Communications <dev-gstreamer at axis dot com>
* @author Jonas Holmberg <jonas dot holmberg at axis dot com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
*... | atmark-techno/atmark-dist | user/gstreamer/gstreamer0.10/gstreamer0.10-0.10.36/tests/check/gst/gstbufferlist.c | C | gpl-2.0 | 28,194 |
/* unistd.h <ndf@linux.mit.edu> */
#include <features.h>
#include <sys/types.h>
#ifndef __UNISTD_H
#define __UNISTD_H
#include <errno.h>
#include <asm/unistd.h>
#define STDIN_FILENO 0
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
__BEGIN_DECLS
extern int vhangup __P ((void));
extern int close __P ((int));
extern... | rhuitl/uClinux | lib/libc/include/unistd.h | C | gpl-2.0 | 4,536 |
/*
* net/sched/cls_flower.c Flower classifier
*
* Copyright (c) 2015 Jiri Pirko <jiri@resnulli.us>
*
* 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
... | identisoft-rashid/ec3_kernel_pre_4.1 | net/sched/cls_flower.c | C | gpl-2.0 | 19,249 |
<?php
namespace Stripe;
/**
* Class WebhookEndpoint
*
* @property string $id
* @property string $object
* @property int $created
* @property string[] $enabled_events
* @property bool $livemode
* @property string $secret
* @property string $status
* @property string $url
*
* @package Stripe
*/
class Webho... | eventespresso/event-espresso-legacy | gateways/stripe/stripe-php-6.43.1/lib/WebhookEndpoint.php | PHP | gpl-2.0 | 549 |
/*
* Copyright (C) 2009 by Jonathan Naylor, G4KLX
*
* 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; version 2 of the License.
*
* This program is distributed in the hope that it wi... | dl5di/OpenDV | Digital Voice/Common/FECDecoder.h | C | gpl-2.0 | 722 |
/* Openswan NAT-Traversal
* Copyright (C) 2002-2003 Mathieu Lafon - Arkoon Network Security
* Copyright 2005 Michael Richardson <mcr@xelerance.com>
*
* 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 Fo... | rhuitl/uClinux | openswan/include/natt_defines.h | C | gpl-2.0 | 924 |
EasyBlog.module( "featured" , function($) {
var module = this;
// require: start
EasyBlog.require()
.done(function(){
// controller: start
EasyBlog.Controller(
"Featured.Scroller",
{
defaultOptions: {
elements: null,
itemWidth: null,
// Auto rotate option
autorotate: {
enabled : false,
... | BetterBetterBetter/B3App | media/com_easyblog/scripts/featured.js | JavaScript | gpl-2.0 | 2,903 |
<?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... | ftisunpar/BlueTape | vendor/google/apiclient-services/src/Google/Service/ManagedServiceforMicrosoftActiveDirectoryConsumerAPI/TestIamPermissionsRequest.php | PHP | gpl-3.0 | 965 |
<?php
/**
* Project: Smarty: the PHP compiling template engine
* File: smarty_internal_utility.php
* SVN: $Id: smarty_internal_utility.php 2640 2013-03-23 19:23:26Z slaver7 $
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General ... | meetai/2Moons | src/includes/libs/Smarty/sysplugins/smarty_internal_utility.php | PHP | gpl-3.0 | 34,199 |
/*
===========================================================================
Wolfenstein: Enemy Territory GPL Source Code
Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company.
This file is part of the Wolfenstein: Enemy Territory GPL Source Code (Wolf ET Source Code).
Wolf ET Source Code is free s... | GenaSG/ET | src/cgame/cg_particles.c | C | gpl-3.0 | 50,490 |
;*****************************************************************************
;* checkasm-a.asm: assembly check tool
;*****************************************************************************
;* Copyright (C) 2008-2017 x264 project
;*
;* Authors: Loren Merritt <lorenm@u.washington.edu>
;* Henrik Gramner <... | hzhjellyfish/mUsbCam | x264/tools/checkasm-a.asm | Assembly | gpl-3.0 | 6,026 |
-----------------------------------
-- Area: Temple of Uggalepih
-- MOB: Rompaulion S Ciralle
-- Involved with San d'Oria quest "Knight Stalker"
-----------------------------------
function onMobSpawn(mob)
end;
function onMobDeath(mob, player, isKiller)
-- Get credit if other NM is dead/despawned or in the proce... | Whitechaser/darkstar | scripts/zones/Temple_of_Uggalepih/mobs/Rompaulion_S_Citalle.lua | Lua | gpl-3.0 | 539 |
<?php
/**
* Polyfiller for missing PHP json extension.
* Simply avoids fatal errors. Doesn't attempt to really replace the functionality
*/
function loco_compat_json_encode( $value ){
return '{"error":{"code":-1,"message":"json extension is not installed"}}';
}
if( ! extension_loaded('json_encode') && WP_DEB... | cedewey/sol | wp-content/plugins/loco-translate/old/lib/compat/loco-json.php | PHP | gpl-3.0 | 677 |
#include <hwloc.h>
#include <stdio.h>
/* The body of the test is in a separate .c file and a separate
library, just to ensure that hwloc didn't force compilation with
visibility flags enabled. */
int do_test(void)
{
mytest_hwloc_topology_t topology;
unsigned depth;
hwloc_bitmap_t cpu_set;
/* Ju... | jbreitbart/hwloc-test | vendor/hwloc-1.11.0/tests/embedded/do_test.c | C | gpl-3.0 | 1,078 |
/*
* Copyright (C) 2008 Search Solution Corporation. All rights reserved by Search Solution.
*
* 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; version 2 of the License.
*
* Thi... | andrei14vl/cubrid | src/win_tools/cubridtray/ToolManage.h | C | gpl-3.0 | 1,499 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>avr-libc: <compat/ina90.h>: Compatibility with IAR EWB 3.x</title>
<link href="dox.css" rel="stylesheet" type="text/css">
</head>
<body>
<cent... | 8cH9azbsFifZ/ble-morse | lib/arduino_ide/Arduino 1.0.5.app/Contents/Resources/Java/hardware/tools/avr/doc/avr-libc/group__compat__ina90.html | HTML | gpl-3.0 | 1,943 |
/**
* Aptana Studio
* Copyright (c) 2005-2011 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the GNU Public License (GPL) v3 (with exceptions).
* Please see the license.html included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
... | HossainKhademian/Studio3 | plugins/com.aptana.js.debug.ui/src/com/aptana/js/debug/ui/internal/actions/InspectAction.java | Java | gpl-3.0 | 2,395 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_16) on Thu Jul 22 17:19:23 CEST 2010 -->
<TITLE>
Uses of Interface models.maillage.Maillage
</TITLE>
<META NAME="date" CONTENT="2010-07-22"... | PiRSquared17/asd-tower-defense | javadoc/models/maillage/class-use/Maillage.html | HTML | gpl-3.0 | 8,861 |
#
# The patch applied in http://bugs.python.org/issue1207589
# changes the structure of rmenu_specs in EditorWindow.py. This breaks a lot of extensions.
# This file is a re-factoring of rmenu code for other extensions to use.
#
| technologiescollege/Blockly-rduino-communication | scripts_XP/Lib/site-packages/idlexlib/extensions/_rmenu.py | Python | gpl-3.0 | 231 |
/**
* Copyright (c) 2011-2013 Fabien Cazenave, Mozilla.
*
* 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, mo... | thierry-bugeat/myFeeds | www/js/libs/l10n.js | JavaScript | gpl-3.0 | 34,656 |
import { ComponentFactoryResolver, ElementRef, OnInit, OpaqueToken, Renderer, ViewContainerRef } from '@angular/core';
import { App } from './app';
import { Config } from '../../config/config';
import { Ion } from '../ion';
import { OverlayPortal } from '../nav/overlay-portal';
import { Platform } from '../../platform/... | kfrerichs/roleplay | node_modules/ionic-angular/umd/components/app/app-root.d.ts | TypeScript | gpl-3.0 | 1,305 |
#ifndef __XRDNETMSG_H__
#define __XRDNETMSG_H__
/******************************************************************************/
/* */
/* X r d N e t M s g . h h */
/* ... | alja/xrootd | src/XrdNet/XrdNetMsg.hh | C++ | gpl-3.0 | 6,243 |
<?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 ... | marcusboon/moodle | admin/tool/task/classes/run_from_cli.php | PHP | gpl-3.0 | 2,461 |
/**
* Aptana Studio
* Copyright (c) 2005-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the GNU Public License (GPL) v3 (with exceptions).
* Please see the license.html included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
... | HossainKhademian/Studio3 | plugins/com.aptana.syncing.ui/src/com/aptana/ide/syncing/ui/views/ConnectionPointComposite.java | Java | gpl-3.0 | 23,079 |
/**
* Aptana Studio
* Copyright (c) 2005-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the GNU Public License (GPL) v3 (with exceptions).
* Please see the license.html included with this distribution for details.
* Any modifications to this file must keep this entire header int... | HossainKhademian/Studio3 | plugins/com.aptana.ui/src/com/aptana/ui/IBrowserProvider.java | Java | gpl-3.0 | 1,150 |
--
-- CREATE_INDEX
-- Create ancillary data structures (i.e. indices)
--
--
-- BTREE
--
CREATE INDEX onek_unique1 ON onek USING btree(unique1 int4_ops);
CREATE INDEX IF NOT EXISTS onek_unique1 ON onek USING btree(unique1 int4_ops);
CREATE INDEX IF NOT EXISTS ON onek USING btree(unique1 int4_ops);
CREATE INDEX onek_... | techdragon/Postgres-XL | src/test/regress/sql/create_index.sql | SQL | mpl-2.0 | 37,747 |
<!DOCTYPE HTML>
<html dir="rtl">
<title>Testcase, bug 428810</title>
<style type="text/css">
html, body { margin: 0; padding: 0; }
</style>
<div style="height: 10px">
<div style="float: right; height: 20px; width: 100px"></div>
</div>
<div style="margin-right: 40px; width: 70px; display: list-item;">
<div style="fl... | Yukarumya/Yukarum-Redfoxes | layout/reftests/bugs/428810-3b-rtl.html | HTML | mpl-2.0 | 418 |
function f() {
var i32 = new Int32Array(1);
var f32 = new Float32Array(i32.buffer);
for (var i = 0; i < 3; i++) {
var a0 = +1;
var a3 = +4;
i32[0] = a0;
var b0 = f32[0];
i32[0] = a3;
var b3 = f32[0];
assertEq(b0 != b3, true);
}
}
f();
| cstipkovic/spidermonkey-research | js/src/jit-test/tests/ion/bug1279898.js | JavaScript | mpl-2.0 | 312 |
/*
* Copyright (C) 2008 Tommi Maekitalo
*
* 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 later version.
*
* This program is di... | carmenfdezb/Zimpedia | sailfish/libs/zimlib/include/zim/fileheader.h | C | mpl-2.0 | 3,814 |
<?php
// include base peer class
require_once 'classes/model/om/BaseSequencesPeer.php';
// include object class
include_once 'classes/model/Sequences.php';
/**
* Skeleton subclass for performing query and update operations on the 'SEQUENCES' table.
*
*
*
* You should add additional methods to this cla... | colosa/processmaker | workflow/engine/classes/model/SequencesPeer.php | PHP | agpl-3.0 | 568 |
// Copyright 2016 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package metricsdebug_test
import (
"errors"
"time"
jc "github.com/juju/testing/checkers"
gc "gopkg.in/check.v1"
basetesting "github.com/juju/juju/api/base/testing"
"github.com/juju/juju/api/metricsdebug"
"github.com/... | waigani/juju | api/metricsdebug/client_test.go | GO | agpl-3.0 | 12,837 |
#Manufacturing Settings
Manufacturing Settings can be found at:
`Manufacturing > Setup > Manufacturing Settings`
<img class="screenshot" alt="Manufacturing Settings" src="{{docs_base_url}}/assets/img/manufacturing/manufacturing-settings-1.png">
####Disable Capacity Planning and Time Tracking
As per Capacity Planni... | mahabuber/erpnext | erpnext/docs/user/manual/en/manufacturing/setup/manufacturing-settings.md | Markdown | agpl-3.0 | 3,611 |
<?php
/*
* This file is part of the Access to Memory (AtoM) software.
*
* Access to Memory (AtoM) is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your op... | kyfr59/atom-cg35 | lib/propel/generator/QubitGenerator.class.php | PHP | agpl-3.0 | 1,699 |
#include "FOX_OSG_MDIView.h"
#include <osgViewer/ViewerEventHandlers>
#include <osgGA/TrackballManipulator>
#include <osgDB/ReadFile>
// Map
FXDEFMAP(FOX_OSG_MDIView) FOX_OSG_MDIView_Map[] = {
//________Message_Type_________ ___ID___ ________Message_Handler________
FXMAPFUNC(S... | openscenegraph/osg | examples/osgviewerFOX/FOX_OSG_MDIView.cpp | C++ | lgpl-2.1 | 2,636 |
/*
* bytestream.cpp - base class for bytestreams
* Copyright (C) 2003 Justin Karneges
*
* 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 Software Foundation; either
* version 2.1 of the License, or (at... | harishnavnit/iris | src/irisnet/noncore/cutestuff/bytestream.cpp | C++ | lgpl-2.1 | 7,044 |
//* This file is part of the MOOSE framework
//* https://www.mooseframework.org
//*
//* All rights reserved, see COPYRIGHT for full restrictions
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
//*
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html
#pr... | harterj/moose | framework/include/restart/Restartable.h | C | lgpl-2.1 | 12,018 |
/**
* Copyright (C) 2005-2016 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco 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 License, or
* (at ... | davidcognite/Aikau | aikau/src/main/resources/alfresco/preview/AlfDocumentPreviewPlugin.js | JavaScript | lgpl-3.0 | 5,033 |
/*! \file include/kernel/ext2.h
* \brief ext2 file system header.
* \author
* Filippo Brogi
* \note Copyright (©) 2003
* Filippo Brogi
* \date Last update:
* 2003-09-30 by Andrea Righi
* init_ext2() now returns a bo... | animotron/animos | oldtree/kernel/phantom/unix/fs_ext2.h | C | lgpl-3.0 | 11,755 |
/* ****************************************************************************
* eID Middleware Project.
* Copyright (C) 2012 FedICT.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version
* 3.0 as published by the Free Softw... | yiminyangguang520/eid-mw | installers/quickinstaller/NSIS_Plugins/beidread/getreadercount.h | C | lgpl-3.0 | 1,006 |
/**
*
* Phantom OS multithreading library.
*
* Copyright (C) 2009-2010 Dmitry Zavalishin, dz@dz.ru
*
* Run queues handling.
*
* Licensed under CPL 1.0, see LICENSE file.
*
**/
#include <queue.h>
#include <hal.h>
#include <malloc.h>
#include "thread_private.h"
phantom_thread_t * t_dequeue... | kandeshvari/phantomuserland | phantom/threads/t_queues.c | C | lgpl-3.0 | 1,082 |
"""
Default settings for the ``mezzanine.generic`` app. Each of these can be
overridden in your project's settings module, just like regular
Django settings. The ``editable`` argument for each controls whether
the setting is editable via Django's admin.
Thought should be given to how a setting is actually used before
... | orlenko/bccf | src/mezzanine/generic/defaults.py | Python | unlicense | 4,223 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Xml;
using Mono.Cecil;
namespace MFMetaDataProcessor.Console
{
internal static class MainClass
{
private sealed class MetaDataProcessor
{
private readonly IDictionary<String, String> _l... | venkatarajasekhar/Monkey.Robotics | Source/Xamarin Studio Microframework Add-in/MFMetaDataProcessor/MFMetaDataProcessor.Console/Program.cs | C# | apache-2.0 | 4,148 |
/*
* Copyright (c) 2015-2017, Texas Instruments Incorporated
* 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
* n... | fbsder/zephyr | ext/hal/ti/simplelink/source/ti/drivers/spi/SPICC32XXDMA.h | C | apache-2.0 | 13,197 |
/*
* 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.aggregatemetric.aggregations.metric... | robin13/elasticsearch | x-pack/plugin/mapper-aggregate-metric/src/test/java/org/elasticsearch/xpack/aggregatemetric/aggregations/metrics/AggregateMetricBackedMinAggregatorTests.java | Java | apache-2.0 | 7,196 |
/*
* Licensed to DuraSpace under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership.
*
* DuraSpace licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file excep... | fcrepo4/fcrepo4 | fcrepo-kernel-api/src/main/java/org/fcrepo/kernel/api/exception/InvalidMementoPathException.java | Java | apache-2.0 | 1,477 |
/*
* Copyright (c) 2005, 2006, 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 ... | andreagenso/java2scala | test/J2s/java/openjdk-6-src-b27/jdk/src/share/classes/com/sun/tools/script/shell/init.js | JavaScript | apache-2.0 | 20,463 |
// Copyright 2016 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.
#include "src/ast/context-slot-cache.h"
#include <stdlib.h>
#include "src/ast/scopes.h"
#include "src/bootstrapper.h"
// FIXME(mstarzinger, marja): Th... | weolar/miniblink49 | v8_5_7/src/ast/context-slot-cache.cc | C++ | apache-2.0 | 3,604 |
/*
* Copyright 2000-2015 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 | plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/junit/JUnit4MethodNamingConventionInspectionBase.java | Java | apache-2.0 | 2,676 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_102) on Wed Oct 19 15:34:08 PDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.apache.or... | pudidic/orc | site/api/orc-core/org/apache/orc/class-use/OrcProto.IntegerStatistics.Builder.html | HTML | apache-2.0 | 16,954 |
/* 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
* distributed... | stephraleigh/flowable-engine | modules/flowable-ui-admin/src/main/java/org/flowable/admin/app/rest/client/ContentItemsClientResource.java | Java | apache-2.0 | 2,700 |
##
# Announcements get made by Instructors and Autolab Admins, and get displayed
# to everyone who uses the site, until they expire.
#
class Announcement < ActiveRecord::Base
belongs_to :course
trim_field :title
end
| anusornc/Autolab | app/models/announcement.rb | Ruby | apache-2.0 | 220 |
import glob
import logging
import os
from typing import Any, Dict, List, Optional
from django.conf import settings
from zerver.lib.storage import static_path
# See https://jackstromberg.com/2013/01/useraccountcontrol-attributeflag-values/
# for docs on what these values mean.
LDAP_USER_ACCOUNT_CONTROL_NORMAL = "512"... | rht/zulip | zerver/lib/dev_ldap_directory.py | Python | apache-2.0 | 3,149 |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | EsikAntony/libgdx | extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/CollisionJNI.java | Java | apache-2.0 | 392,685 |
// Copyright 2021 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0
package types
import (
"fmt"
"strings"
"sigs.k8s.io/kustomize/kyaml/resid"
)
const DefaultReplacementFieldPath = "metadata.name"
// Replacement defines how to perform a substitution
// where it is from and where it is to.
type Repl... | verult/kubernetes | vendor/sigs.k8s.io/kustomize/api/types/replacement.go | GO | apache-2.0 | 2,367 |
// Copyright 2017 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.
// Flags: --allow-natives-syntax
var buffer = new ArrayBuffer(0x100);
var array = new Uint8Array(buffer).fill(55);
var tmp = {};
tmp[Symbol.toPrimitive]... | macchina-io/macchina.io | platform/JS/V8/v8/test/mjsunit/regress/regress-crbug-691323.js | JavaScript | apache-2.0 | 951 |
# Copyright (C) 2017 Google Inc.
# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
"""Add CycleTaskGroupObject.object
Revision ID: 26d9c9c91542
Revises: 19a67dc67c3
Create Date: 2014-07-15 21:49:34.073412
"""
# revision identifiers, used by Alembic.
revision = '26d9c9c91542'
down_revis... | VinnieJohns/ggrc-core | src/ggrc_workflows/migrations/versions/20140715214934_26d9c9c91542_add_cycletaskgroupobject_object.py | Python | apache-2.0 | 1,141 |
###########################################################################
## ##
## Centre for Speech Technology Research ##
## University of Edinburgh, UK ##
## ... | mjansche/tts-tutorial | usr_local/src/festival/src/modules/java/cstr/festival/Makefile | Makefile | apache-2.0 | 2,699 |
# Copyright 2017 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 to in writing,... | shashankrajput/seq2seq | seq2seq/test/attention_test.py | Python | apache-2.0 | 3,532 |
// SlotArea.h
// Interfaces to the cSlotArea class representing a contiguous area of slots in a UI window
#pragma once
#include "../Inventory.h"
#include "Window.h"
class cWindow;
class cPlayer;
class cBeaconEntity;
class cBrewingstandEntity;
class cChestEntity;
class cEnderChestEntity;
class cFurnaceEntity;
... | HelenaKitty/EbooMC | src/UI/SlotArea.h | C | apache-2.0 | 15,881 |
/*
* Copyright 2014-2016 CyberVision, 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... | vtkhir/kaa | common/core/src/main/java/org/kaaproject/kaa/server/common/core/algorithms/generation/package-info.java | Java | apache-2.0 | 757 |
/**
* 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... | yssharma/pig-on-drill | exec/java-exec/src/main/codegen/templates/DateIntervalFunctionTemplates/DateTruncFunctions.java | Java | apache-2.0 | 4,333 |
/*
* IzPack - Copyright 2001-2008 Julien Ponge, All Rights Reserved.
*
* http://izpack.org/
* http://izpack.codehaus.org/
*
* Copyright 2001 Johannes Lehtinen
* Copyright 2002 Paul Wilkinson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance... | codehaus/izpack | izpack-core/src/main/java/com/izforge/izpack/core/io/ByteCountingOutputStream.java | Java | apache-2.0 | 1,857 |
/**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008 Sakai Foundation
*
* Licensed under the Educational Community License, Versio... | udayg/sakai | kernel/kernel-impl/src/main/java/org/sakaiproject/content/impl/BaseContentService.java | Java | apache-2.0 | 429,329 |
package batchapi
// 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
//
// Un... | pweil-/origin | vendor/github.com/Azure/azure-sdk-for-go/services/batch/2019-08-01.10.0/batch/batchapi/interfaces.go | GO | apache-2.0 | 23,089 |
// Copyright 2016 The Bazel Authors. 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 applica... | davidzchen/bazel | src/main/java/com/google/devtools/build/lib/worker/SandboxedWorker.java | Java | apache-2.0 | 2,178 |
#include "cbase.h"
#include "nb_select_mission_panel.h"
#include "vgui_controls/Label.h"
#include "vgui_controls/ImagePanel.h"
#include "vgui_controls/Button.h"
#include "nb_select_mission_entry.h"
#include "nb_horiz_list.h"
#include "nb_header_footer.h"
#include "missionchooser/iasw_mission_chooser.h"
#include "missio... | ppittle/AlienSwarmDirectorMod | trunk/src/game/client/swarm/vgui/nb_select_mission_panel.cpp | C++ | apache-2.0 | 6,331 |
// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... | stepancheg/rust-ide-rust | src/test/debuginfo/c-style-enum.rs | Rust | apache-2.0 | 3,049 |
package org.mifos.dto.screen;
import java.io.Serializable;
import java.util.Locale;
import org.joda.time.DateTime;
@SuppressWarnings("PMD")
@edu.umd.cs.findbugs.annotations.SuppressWarnings(value="SE_NO_SERIALVERSIONID", justification="should disable at filter level and also for pmd - not important for us")
public c... | maduhu/mifos-head | serviceInterfaces/src/main/java/org/mifos/dto/screen/PersonnelNoteDto.java | Java | apache-2.0 | 1,112 |
/*
* Copyright 2011 Sonian 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 to in w... | fabric8io/elasticsearch-zookeeper | src/test/java/com/sonian/elasticsearch/zookeeper/discovery/embedded/EmbeddedZooKeeperService.java | Java | apache-2.0 | 3,724 |
/*
* 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 ... | cpcloud/arrow | java/dataset/src/main/java/org/apache/arrow/dataset/source/DatasetFactory.java | Java | apache-2.0 | 1,721 |
/*
* Copyright 2016 JBoss 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 to i... | kahboom/apiman | manager/api/jdbc/src/main/java/io/apiman/manager/api/jdbc/handlers/ResponseStatsPerPlanHandler.java | Java | apache-2.0 | 2,400 |
/**
* FreeRDP: A Remote Desktop Protocol Implementation
* Security Support Provider Interface (SSPI)
*
* Copyright 2012-2014 Marc-Andre Moreau <marcandre.moreau@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You... | ssieb/FreeRDP | winpr/libwinpr/sspi/sspi_winpr.c | C | apache-2.0 | 42,196 |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution... | ChinaQuants/PTVS | Python/Product/CanopyInterpreter/AssemblyInfo.Internal.cs | C# | apache-2.0 | 1,512 |
# Copyright 2017 The TensorFlow Authors. 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 applica... | ghchinoy/tensorflow | tensorflow/python/grappler/layout_optimizer_test.py | Python | apache-2.0 | 60,128 |
//
// CppParserTestSuite.h
//
// $Id: //poco/1.3/CppParser/testsuite/src/CppParserTestSuite.h#1 $
//
// Definition of the CppParserTestSuite class.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef CppParserTestSuite_INCLUDE... | nextsmsversion/macchina.io | platform/CppParser/testsuite/src/CppParserTestSuite.h | C | apache-2.0 | 503 |
/*
Copyright 2007, 2008 Daniel Zerbino (zerbino@ebi.ac.uk)
This file is part of Velvet.
Velvet 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 opt... | reiverjohn/biobench2 | velvet/contrib/MetaVelvet-v0.3.1/src/shortReadPairs.h | C | apache-2.0 | 1,238 |
/*
* Copyright 2010-2012 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | abovelabs/aws-ios-sdk | src/include/EC2/EC2DescribeImagesResponseUnmarshaller.h | C | apache-2.0 | 1,429 |
'use strict';
/**
* @ngdoc function
* @name openshiftConsole.controller:ImageController
* @description
* Controller of the openshiftConsole
*/
angular.module('openshiftConsole')
.controller('ImageController', function ($scope, $routeParams, DataService, ProjectsService, $filter, ImageStreamsService) {
$scop... | tmckayus/oshinko-rest | vendor/github.com/openshift/origin/assets/app/scripts/controllers/image.js | JavaScript | apache-2.0 | 2,257 |
/*
* Copyright 2016 SimplifyOps, Inc. (http://simplifyops.com)
*
* 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 ... | rophy/rundeck | core/src/main/java/com/dtolabs/rundeck/core/storage/BaseResource.java | Java | apache-2.0 | 1,647 |
"""Support for switches through the SmartThings cloud API."""
from __future__ import annotations
from collections.abc import Sequence
from pysmartthings import Capability
from homeassistant.components.switch import SwitchEntity
from . import SmartThingsEntity
from .const import DATA_BROKERS, DOMAIN
async def asyn... | jawilson/home-assistant | homeassistant/components/smartthings/switch.py | Python | apache-2.0 | 1,911 |
//===- include/Core/Instrumentation.h - Instrumentation API ---------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | llvm-mirror/lld | include/lld/Core/Instrumentation.h | C | apache-2.0 | 3,344 |
#ifndef AXIS2_CREATEACCOUNTRESPONSE_H
#define AXIS2_CREATEACCOUNTRESPONSE_H
/**
* axis2_createAccountResponse.h
*
* This file was auto-generated from WSDL
* by the Apache Axis2 version: #axisVersion# #today#
*/
#include <stdio.h>
... | techhead/wsf_php_dist | wsf_c/examples/trader/include/axis2_createAccountResponse.h | C | apache-2.0 | 2,360 |
/*
* 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.watcher.actions.jira;
import org.a... | robin13/elasticsearch | x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/jira/ExecutableJiraAction.java | Java | apache-2.0 | 4,970 |
(function() {
window.WallTime || (window.WallTime = {});
window.WallTime.data = {
rules: {"PRC":[{"name":"PRC","_from":"1986","_to":"only","type":"-","in":"May","on":"4","at":"0:00","_save":"1:00","letter":"D"},{"name":"PRC","_from":"1986","_to":"1991","type":"-","in":"Sep","on":"Sun>=11","at":"0:00","_... | SalesforceSFDC/aura | aura-resources/src/main/resources/aura/resources/walltime-js/olson/walltime-data_Asia-Chongqing.js | JavaScript | apache-2.0 | 826 |
# Contributor Covenant Code of Conduct
## Our Pledge
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of... | docker-solr/official-images | CODE-OF-CONDUCT.md | Markdown | apache-2.0 | 3,421 |
package mil.nga.giat.geowave.adapter.raster.adapter.merge.nodata;
import java.nio.ByteBuffer;
import java.util.HashSet;
import java.util.Set;
public class NoDataBySampleIndex implements
NoDataMetadata
{
private Set<SampleIndex> noDataIndexSet;
protected NoDataBySampleIndex() {
super();
}
public NoDataBySamp... | ruks/geowave | extensions/adapters/raster/src/main/java/mil/nga/giat/geowave/adapter/raster/adapter/merge/nodata/NoDataBySampleIndex.java | Java | apache-2.0 | 1,322 |
// (C) Copyright Edward Diener 2011
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).
#include "test_has_static_mem_fun.hpp"
#include <boost/mpl/assert.hpp>
int main... | flingone/frameworks_base_cmds_remoted | libs/boost/libs/tti/test/test_has_static_member_compile.cpp | C++ | apache-2.0 | 833 |
/*
* 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 ... | Distrotech/xerces-c | src/xercesc/dom/impl/DOMImplementationListImpl.cpp | C++ | apache-2.0 | 1,564 |
=pod
=for comment openssl_manual_section:7
=head1 NAME
evp - high-level cryptographic functions
=head1 SYNOPSIS
#include <openssl/evp.h>
=head1 DESCRIPTION
The EVP library provides a high-level interface to cryptographic
functions.
L<B<EVP_Seal>I<...>|EVP_SealInit(3)> and L<B<EVP_Open>I<...>|EVP_OpenInit(3)>
p... | openweave/openweave-core | third_party/openssl/openssl/doc/crypto/evp.pod | Perl | apache-2.0 | 4,219 |
/*******************************************************************************
*
* Pentaho Big Data
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... | pedrofvteixeira/big-data-plugin | kettle-plugins/hdfs/src/test/java/org/pentaho/big/data/kettle/plugins/hdfs/job/JobEntryHadoopCopyFilesLoadSaveTest.java | Java | apache-2.0 | 4,340 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.