id stringlengths 64 64 | content stringlengths 500 100k | language stringclasses 29
values | path stringlengths 4 333 | repo stringlengths 5 116 | license stringclasses 15
values | size int64 500 100k | lines int64 26 8.06k | source stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|
081baff80902bb9306241f674891ba48702227bb32e974a40e83d91485bd655f | /* ****************************************************************************
*
* 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. If
... | C# | Common/Product/SharedProject/Automation/OAProject.cs | munyirik/nodejstools | apache-2.0 | 16,787 | 423 | codeparrot/github-code |
eb92349028c63de65835b797ccb57f5dc243dea5e3a4c23a00338f8fa2297feb | /*
* 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")... | Java | core/metamodel/src/main/java/org/apache/isis/core/metamodel/services/appfeat/ApplicationFeature.java | niv0/isis | apache-2.0 | 10,327 | 324 | codeparrot/github-code |
58ac33c6f4d79fe1076756b077c7575dc01273e2ad74ac00182c87b925cad5b0 | /*
* 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")... | Java | core/metamodel/src/main/java/org/apache/isis/core/runtime/authentication/standard/AuthenticationManagerStandardInstallerAbstract.java | niv0/isis | apache-2.0 | 2,324 | 63 | codeparrot/github-code |
edab5f32d7944378cad8f81b14216f840e26b60b2fc47a5e58c3dec6e814ef33 | /*
* Copyright (C) 2014 The Android Open Source Project
*
* 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 app... | Java | packages/SystemUI/src/com/android/systemui/volume/IconPulser.java | Ant-Droid/android_frameworks_base_OLD | apache-2.0 | 1,800 | 49 | codeparrot/github-code |
4899f7b7856486b26ece4fb51783bf36e21fb20b192d6ede55f7b01efa5ed143 | /*
* Copyright 2010-2015 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 "license" file... | C++ | aws-cpp-sdk-elasticloadbalancing/source/model/SetLoadBalancerPoliciesForBackendServerResult.cpp | bmildner/aws-sdk-cpp | apache-2.0 | 1,747 | 51 | codeparrot/github-code |
c9b9171a7e22e525b5dc1651f63741a013e2aacdd876d61165472c3fafa527cb | from __future__ import print_function
import shlex
import subprocess
import sys
from .config import Configuration
class PkgConfig(object):
class Error(Exception):
"""Raised when information could not be obtained from pkg-config."""
def __init__(self, package_name):
"""Query pkg-config for i... | Python | lib/pkg_config.py | JGiola/swift-corelibs-foundation | apache-2.0 | 2,114 | 66 | codeparrot/github-code |
e532c10a9c25742e1870f505bc25481624741344a71abf34606d38ec7b0e778e | /*
* 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 not ... | Java | geode-core/src/main/java/org/apache/geode/cache/query/internal/parse/ASTTypeCast.java | pivotal-amurmann/geode | apache-2.0 | 1,274 | 43 | codeparrot/github-code |
1ddebd14771b57566d39cc77e1d6a5df13378fe69ecc32871030db30f351b321 | // Copyright (C) 2015 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: Compound Assignment Operator evaluates its operands from left to right.
description: >
The left-hand side expression is evaluated before the right-hand side.
Left-hand si... | JavaScript | Jint.Tests.Test262/test/language/expressions/compound-assignment/S11.13.2_A7.6_T2.js | sebastienros/jint | bsd-2-clause | 973 | 40 | codeparrot/github-code |
73c874f93e10aba6fc52cf820c803d45c577fcd458c88838476159154b696ad8 | #region BSD License
/*
Copyright (c) 2012, Clarius Consulting
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 cond... | C# | Src/Clide/VisualStudio/VsServiceProviderExtensions.cs | austinvernsonger/clide | bsd-2-clause | 8,015 | 156 | codeparrot/github-code |
51ccbe01f256f4db6f09d63107ff3ca73c42f25877079f29463230bce44310ac | /* ========================================================================= *
* *
* OpenMesh *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* ... | C++ | src/OpenMesh/Tools/Decimater/BaseDecimaterT.hh | svn2github/OpenMesh2 | bsd-3-clause | 10,044 | 290 | codeparrot/github-code |
a37b21150eaa13fb8639c51b26866c701152629ad57232bbb0c91a1a89502ac7 | None
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import datetime
import os
# simple json is a python 2.5 library you need to install
import json
# json comes bundled with python 2.6. use one or the other
#import json
def run():
print "starting"
from receiver.models import Submission
from xformmanager.... | Python | utilities/data_migration/data_export_script_new.py | commtrack/temp-aquatest | bsd-3-clause | 4,187 | 113 | codeparrot/github-code |
33461b8a5e79ff849d5e79c67a720afe70fc5fe3848469f60a57b8917fabb821 | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2007-2009, Image Engine Design 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:
//
// ... | C | test/IECore/IndexedIOTest.h | appleseedhq/cortex | bsd-3-clause | 7,631 | 267 | codeparrot/github-code |
5ac86d579255826c4ff1013d15ef01b998808f13a5f6fdeaa3b79f0dbc53c1d1 | #include <xpcc/architecture/platform.hpp>
#include <xpcc/debug/logger.hpp>
// ----------------------------------------------------------------------------
// Set the log level
#undef XPCC_LOG_LEVEL
#define XPCC_LOG_LEVEL xpcc::log::INFO
typedef GpioInputC0 Adc1In;
typedef GpioInputC2 Adc2In;
typedef GpioInputB13 Ad... | C++ | examples/stm32f3_discovery/adc/continous/main.cpp | dergraaf/xpcc | bsd-3-clause | 2,861 | 92 | codeparrot/github-code |
2f789a94d999879bda34c72efaab8b74a20948039abc304f70a8b88c4fac1e7a | ///
/// \file
///
/// This file is a part of pattern matching testing suite.
///
/// \autor Yuriy Solodkyy <yuriy.solodkyy@gmail.com>
///
/// This file is a part of the XTL framework (http://parasol.tamu.edu/xtl/).
/// Copyright (C) 2005-2012 Texas A&M University.
/// All rights reserved.
///
#include "tes... | C++ | code/typeswitch/2012-06-11/synthetic_dynamic_cast_fast.cpp | vscharf/Mach7 | bsd-3-clause | 25,748 | 495 | codeparrot/github-code |
be1263d8cd34085c0a68a6697d7702b4cc77a92868cda96444073554c0482507 | """
Control global computation context
"""
from collections import defaultdict
_globals = defaultdict(lambda: None)
_globals['callbacks'] = set()
class set_options(object):
""" Set global state within controled context
This lets you specify various global settings in a tightly controlled with
block
... | Python | dask/context.py | wiso/dask | bsd-3-clause | 1,121 | 42 | codeparrot/github-code |
e0d000a4bb7f839e96f1543d9fd3b14915a57fb07b900dfcfce5a49b0d9ac582 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_COMPOSITOR_COMPOSITOR_OBSERVER_H_
#define UI_COMPOSITOR_COMPOSITOR_OBSERVER_H_
#include "base/containers/flat_set.h"
#include "base/time/t... | C | ui/compositor/compositor_observer.h | chromium/chromium | bsd-3-clause | 2,940 | 76 | codeparrot/github-code |
0a6cc3d6ba524d8ca911869b3b3efd482e14acd4155aec60a6c721f7a9f06b26 | package uatparse
import (
"encoding/hex"
"errors"
"fmt"
"io/ioutil"
"strconv"
"strings"
)
const (
UPLINK_BLOCK_DATA_BITS = 576
UPLINK_BLOCK_BITS = (UPLINK_BLOCK_DATA_BITS + 160)
UPLINK_BLOCK_DATA_BYTES = (UPLINK_BLOCK_DATA_BITS / 8)
UPLINK_BLOCK_BYTES = (UPLINK_BLOCK_BITS / 8)
UPLINK_FRAME_BLO... | GO | uatparse/uatparse.go | ssokol/stratux | bsd-3-clause | 21,443 | 662 | codeparrot/github-code |
3abf28f30e6559fe45cd38bd4733b83bd9a09a66765339df363f81f524fb4253 |
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkGradientShader.h"
namespace skiagm {
class FillTypePerspGM : public GM {
SkPath fPath;
public:
FillTypePerspGM() {}
void makePath() ... | C++ | third_party/skia/gm/filltypespersp.cpp | CTSRD-SOAAP/chromium-42.0.2311.135 | bsd-3-clause | 4,675 | 133 | codeparrot/github-code |
1b64781dd77d320c33b04b644f97b261a902a8a4b117d52d8067ba123281a342 | /*
* Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
* Copyright (C) 2005 Eric Seidel <eric@webkit.org>
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify ... | C++ | third_party/WebKit/Source/platform/graphics/filters/FEDiffuseLighting.cpp | Workday/OpenFrame | bsd-3-clause | 3,336 | 108 | codeparrot/github-code |
6cbf319fe8bb24dcf465eacd441e01c95f3e3642a7c03bad8961c3d21bb4325b | // Copyright 2017 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.
import {createElementWithClassName} from 'chrome://resources/js/util.m.js';
/**
* Create by |LineChart.LineChart|.
* Create a dummy scrollbar to show t... | JavaScript | chrome/browser/resources/chromeos/sys_internals/line_chart/scrollbar.js | chromium/chromium | bsd-3-clause | 4,454 | 163 | codeparrot/github-code |
cfe8184ed5ca569cdde32e47ceebd208d72a03b8bd87a69ace1c6ff9b0416835 | /*
* Copyright (c) 2013 Michael Berlin, Zuse Institute Berlin
*
* Licensed under the BSD License, see LICENSE file for details.
*
*/
package org.xtreemfs.test.osd.rwre;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.... | Java | java/servers/test/org/xtreemfs/test/osd/rwre/FixWrongMasterEpochDirectoryTest.java | jswrenn/xtreemfs | bsd-3-clause | 2,315 | 74 | codeparrot/github-code |
51a91d5862cdb769ce99c67a130d4efd73cea328a1af7bc219894c6163d8373b | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | C++ | opencv/modules/ml/src/knearest.cpp | grace-/opencv-3.0.0-cvpr | bsd-3-clause | 16,081 | 483 | codeparrot/github-code |
b96fa139593aa59617a4b65b69fa0c35b65d20e033797dc6d8729071017c521a | // Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
import {
Context,
DocumentRegistry,
TextModelFactory
} from '@jupyterlab/docregistry';
import * as Mock from '@jupyterlab/testutils/lib/mock';
import { UUID } from '@lumino/coreutils';
import { CellRenderer, Da... | TypeScript | packages/csvviewer/test/widget.spec.ts | jupyter/jupyterlab | bsd-3-clause | 3,717 | 120 | codeparrot/github-code |
d3e14bddaf396f7c4793b1343d0c1e830667f0f101b04430700d576b02551c51 | //===-- ProcessRunLock.cpp ------------------------------------------------===//
//
// 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
//
//===---------------------------... | C++ | third_party/llvm/lldb/source/Host/common/ProcessRunLock.cpp | endlessm/chromium-browser | bsd-3-clause | 1,469 | 65 | codeparrot/github-code |
0166a1164a18e1c91ebdf50a2439966d65a7490c43bd9bcc61956f91270fad32 | function safeMatchMedia(query) {
var m = window.matchMedia(query);
return !!m && m.matches;
}
define('capabilities', [], function() {
var capabilities = {
'JSON': window.JSON && typeof JSON.parse == 'function',
'debug': (('' + document.location).indexOf('dbg') >= 0),
'debug_in_page'... | JavaScript | media/js/mkt/capabilities.js | Joergen/zamboni | bsd-3-clause | 3,467 | 85 | codeparrot/github-code |
87c733b14b4b3689a734efd0d71b3afa2fd6080e449d4aabafa8a0c8c6c0becc | // Copyright (c) 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 "tools/gn/ninja_target_writer.h"
#include <sstream>
#include "base/files/file_util.h"
#include "base/strings/string_util.h"
#include "tools... | C++ | tools/gn/ninja_target_writer.cc | SaschaMester/delicium | bsd-3-clause | 9,381 | 263 | codeparrot/github-code |
748c419ac9ce8a0b91d88ae93d5e8ed2b5aba5f1c6577d1d4cbe1c2a4d1fedcc | /*
* Copyright 2013 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkTileImageFilter.h"
#include "SkColorSpaceXformer.h"
#include "SkCanvas.h"
#include "SkImage.h"
#include "SkImageFilterPriv.h"
#include "SkMatrix.h"
#include "SkOff... | C++ | src/effects/imagefilters/SkTileImageFilter.cpp | Hikari-no-Tenshi/android_external_skia | bsd-3-clause | 5,247 | 160 | codeparrot/github-code |
a87e2574bcb656d841f78e7ec1dfe0fa4f5d4a4af9db4285e839fd022d6557e5 | from __future__ import unicode_literals
from django.core.exceptions import PermissionDenied
from django.core.mail import send_mail
from django.core import validators
from django.db import models
from django.db.models.manager import EmptyManager
from django.utils.crypto import get_random_string, salted_hmac
from django... | Python | django/contrib/auth/models.py | pwmarcz/django | bsd-3-clause | 17,843 | 512 | codeparrot/github-code |
cec04ae0890087d4046772bcc79ba952f3b7adddab58d9a10680d5fc528a9650 | from __future__ import absolute_import, unicode_literals
from django.core.exceptions import PermissionDenied
from django.shortcuts import get_object_or_404
from wagtail.wagtailadmin.forms import PageViewRestrictionForm
from wagtail.wagtailadmin.modal_workflow import render_modal_workflow
from wagtail.wagtailcore.mode... | Python | wagtail/wagtailadmin/views/page_privacy.py | chrxr/wagtail | bsd-3-clause | 2,828 | 73 | codeparrot/github-code |
3a6abb1e9affec1fcb5342c9ae30062446ad0aee1f005d7af8dd20cc0b73ca6f | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_CONTROLS_MENU_MENU_RUNNER_H_
#define UI_VIEWS_CONTROLS_MENU_MENU_RUNNER_H_
#include "base/basictypes.h"
#include "base/compiler_spec... | C | ui/views/controls/menu/menu_runner.h | leighpauls/k2cro4 | bsd-3-clause | 4,509 | 128 | codeparrot/github-code |
7e2235026e3d3e115adffa4714d5f9df35fbcb5e96c53900461058d6af57bee6 | //
// Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net>
//
// 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 co... | C# | src/NLog/Targets/ConsoleWordHighlightingRule.cs | jkowalski/NLog | bsd-3-clause | 6,309 | 167 | codeparrot/github-code |
8b3f926b7fef889b960b03e7b34ff2dd6783fcc7abe339780f98abf961d4e086 | // Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_VIEWS_DOWNLOAD_BUBBLE_DOWNLOAD_BUBBLE_ROW_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_DOWNLOAD_BUBBLE_DOWNLOAD_BUBBLE_ROW_VIEW_H_
#... | C | chrome/browser/ui/views/download/bubble/download_bubble_row_view.h | chromium/chromium | bsd-3-clause | 2,081 | 59 | codeparrot/github-code |
652835b8c75198b5257943b65475ba12518b5ecd8770207c947ad2601a04c67f | // Copyright 2020 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_PERFORMANCE_MANAGER_SERVICE_WORKER_CONTEXT_ADAPTER_H_
#define COMPONENTS_PERFORMANCE_MANAGER_SERVICE_WORKER_CONTEXT_ADAPTER_H_
#includ... | C | components/performance_manager/service_worker_context_adapter.h | chromium/chromium | bsd-3-clause | 8,057 | 175 | codeparrot/github-code |
a7f42ab50e2c03bd7d7ad61e4710636d27a613847be587475c50ab5b34594426 |
package ibxm;
/* A data array dynamically loaded from an InputStream. */
public class Data {
private int bufLen;
private byte[] buffer;
private java.io.InputStream stream;
public Data( java.io.InputStream inputStream ) throws java.io.IOException {
bufLen = 1 << 16;
buffer = new byte[ bufLen ];
stream = inp... | Java | ibxm/src/main/java/ibxm/Data.java | Arcnor/micromod | bsd-3-clause | 4,767 | 154 | codeparrot/github-code |
e29bc940d862827403fb6e28585a3c7523a1eed4e701c87b3af0909f56329f0a | #if !NETSTANDARD2_0
using OfficeDevPnP.Core.IdentityModel.WSTrustBindings;
using System;
using System.IdentityModel.Protocols.WSTrust;
using System.IdentityModel.Tokens;
using System.Net;
using System.ServiceModel;
using System.ServiceModel.Security;
namespace OfficeDevPnP.Core.IdentityModel.TokenProviders.ADFS
{
... | C# | Core/OfficeDevPnP.Core/IdentityModel/TokenProviders/ADFS/UsernameMixed.cs | OfficeDev/PnP-Sites-Core | mit | 3,990 | 87 | codeparrot/github-code |
94a2512c92f73629ab7443731b1a9ad9cd763149eec59ed6d929dee688f70cea | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
namespace System.Runtime.CompilerServices
{
using System;
using System.Reflection;
// This Enum matchs the miImpl flags defined in corhdr.h. It is used to specify
// certain method properties.
[F... | C# | Zelig/Zelig/RunTime/Framework/mscorlib/System/Runtime/CompilerServices/MethodImplAttribute.cs | jelin1/llilum | mit | 2,378 | 75 | codeparrot/github-code |
a47159e99ea893f3e5d69dbd5323d07329d640ee3b0317a613cab13b1495b965 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Threading;
using Microsoft.Build.Fram... | C# | src/OrcasEngine/LocalProvider/LocalNode.cs | nikson/msbuild | mit | 28,537 | 649 | codeparrot/github-code |
5671cff4085a76796079e7f9476e6efd7c3967b09404b395d87ea42856811fb0 | /*
FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
This file is part of the FreeRTOS distribution.
FreeRTOS is free software; you can redistribute it and/or modify it under
the... | C | firmware/freertos/semaphore/lib/FreeRTOSV8.2.3/FreeRTOS/Demo/PIC32MZ_MPLAB/ISRTriggeredTask.c | PUCSIE-embedded-course/stm32f4-examples | mit | 9,510 | 219 | codeparrot/github-code |
67abab7969d376c13a99e18fe5dd12b18bd234e0e47a1d263d93915e7a461ac8 | /**
* Copyright (c) 2014,2015 NetEase, Inc. and other Pomelo contributors
* MIT Licensed.
*/
#include <assert.h>
#include <string.h>
#include <pomelo_trans.h>
#include "pc_lib.h"
#include "pc_pomelo_i.h"
void pc_trans_fire_event(pc_client_t* client, int ev_type, const char* arg1, const char* arg2)
{
int pend... | C | src/pc_trans.c | hitstanley/libpomelo2 | mit | 10,100 | 354 | codeparrot/github-code |
bcd2d5b6d2bb69e70080c6d1216eb014d0ad611928663a47ac597d59fc3a17ea | // Copyright (c) 2011-2016 The Cryptonote developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <cstddef>
#include <cstring>
#include <functional>
#define CRYPTO_MAKE_COMPARABLE(type) \
namespace... | C | src/crypto/generic-ops.h | Boter/SIT | mit | 1,079 | 37 | codeparrot/github-code |
0be73c1e66b6da4659f11a4a66880cf906efedb4d18a13372153eaf966ef308a | //
// CCHDevice.h
// ContextHub
//
// Created by Kevin Lee on 7/24/14.
// Copyright (c) 2014 ChaiOne. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#define kDeviceErrorDomain @"com.contexthub.device.error"
/**
ContextHub Device error codes.
*/
typedef NS_ENUM(NSInteger, CCHDe... | C | ContextHub.framework/Versions/Current/Headers/CCHDevice.h | contexthub/awareness-ios | mit | 3,725 | 94 | codeparrot/github-code |
675daa1b6d5edf52984339c0142eb3f2ae6f7d48fa57508dd9aeeb29c8337b9c | <!DOCTYPE html>
<html lang="en">
<head>
<title>three.js webgl - trackball camera</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
color: #000;
font-family:Monospace;
font-size:13px;
text-... | HTML | three/source/three/examples/misc_camera_trackball.html | christopheschwyzer/StopheWebLab | mit | 3,637 | 168 | codeparrot/github-code |
8edcb3c36ed46f6ef324b26703a3bacec863132d47dd7fb53bc62e1f0fe49a59 | {% extends "base.html" %}
{% block title %}All notes ({{ notes|length }}){% endblock %}
{% block page_title %} <span>All notes ({{ notes|length }})</span> {% endblock %}
{% block content %}
{% if notes %}
<table class="notes">
<tr>
<th class="note">Note <a href="/?order=name" class="sort_arrow" >&... | HTML | flask/notejam/templates/notes/list.html | williamn/notejam | mit | 1,221 | 35 | codeparrot/github-code |
7defc5ddd4539c8a08f00c0981878d5836f3cbe7b523e3cf1f46779cc86decc3 | package org.knowm.xchange.ripple;
import static org.assertj.core.api.Assertions.assertThat;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.IOException;
import java.io.InputStream;
impo... | Java | xchange-ripple/src/test/java/org/knowm/xchange/ripple/RippleAdaptersTest.java | timmolter/XChange | mit | 24,065 | 478 | codeparrot/github-code |
28f6e4f336deb4445e7cec65cedff31cd70ec3913bd937c1893c1e0f56f5cb91 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import '@angular/compiler';
import * as fs from 'fs';
import * as path from 'path';
const UTF8 = {
encoding: 'utf... | TypeScript | packages/core/test/bundling/hello_world_r2/treeshaking_spec.ts | gkalpak/angular | mit | 923 | 35 | codeparrot/github-code |
05ba36f8740d2e5921c38f8d32d6f65b8fa395be4957e1f490a137c3b0406b58 | define('lodash/internal/createWrapper', ['exports', 'lodash/internal/baseSetData', 'lodash/internal/createBindWrapper', 'lodash/internal/createHybridWrapper', 'lodash/internal/createPartialWrapper', 'lodash/internal/getData', 'lodash/internal/mergeData', 'lodash/internal/setData'], function (exports, _lodashInternalBas... | JavaScript | tmp/babel-output_path-hOv4KMmE.tmp/lodash/internal/createWrapper.js | hoka-plus/p-01-web | mit | 3,598 | 80 | codeparrot/github-code |
0a273f165e68f394626c7ccb9be26d46b834ae12f1a13588243a1ce170398bf5 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Phaser Source: src/plugins/weapon/WeaponPlugin.js</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/default.css">
<link type="te... | HTML | docs/src_plugins_weapon_WeaponPlugin.js.html | fmflame/phaser | mit | 79,482 | 2,516 | codeparrot/github-code |
6bc05985959fdc461519620782aef82121e0ad1ef2214a6ed49a484d0746250f | Clazz.declarePackage ("JU");
Clazz.load (["JU.V3"], "JU.Measure", ["java.lang.Float", "javajs.api.Interface", "JU.Lst", "$.P3", "$.P4", "$.Quat"], function () {
c$ = Clazz.declareType (JU, "Measure");
c$.computeAngle = Clazz.defineMethod (c$, "computeAngle",
function (pointA, pointB, pointC, vectorBA, vectorBC, as... | JavaScript | static/jmol/j2s/JU/Measure.js | sandipde/Interactive-Sketchmap-Visualizer | mit | 15,234 | 402 | codeparrot/github-code |
8a169db8ada129c53e097c692285d30cf6187f89f231bcc2acc02ae33097dddd | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2011 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... | C++ | PlugIns/BSPSceneManager/src/OgreQuake3Shader.cpp | ruleless/ogre | mit | 11,012 | 285 | codeparrot/github-code |
2163ee3c3eb44a58fda647d4420e9590b9ed3f31043c0d14a6c5ba9a6cd2091e | import Ember from 'ember';
export default Ember.Object.extend({
content: {},
contentLength: 0,
add: function(obj) {
var id = this.generateId();
this.get('content')[id] = obj;
this.incrementProperty("contentLength");
return id;
},
getObj: function(key) {
var res = this.get('content')[key... | JavaScript | app/models/obj-hash.js | bdvholmes/ember-drag-drop | mit | 717 | 38 | codeparrot/github-code |
a9a78b6d538b254b16951716fc638601593536457a55a34f3e0ae22293c072cf | # Image Patches Differential Optical Flow Rotation/Scale
#
# This example shows off using your OpenMV Cam to measure
# rotation/scale by comparing the current and the previous
# image against each other. Note that only rotation/scale is
# handled - not X and Y translation in this mode.
#
# However, this examples goes b... | Python | scripts/examples/OpenMV/22-Optical-Flow/image-patches-differential-rotation-scale.py | openmv/openmv | mit | 3,596 | 74 | codeparrot/github-code |
b4361d4ff42a7354abd52c7569935de1f20e53c4af9ff7f2f4c99f6c842c33ca | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Jasmine Spec Runner</title>
<link rel="shortcut icon" type="image/png" href="lib/jasmine-1.3.1/jasmine_favicon.png">
<link rel="stylesheet" type="text/css" href="lib/jasmine-1.3.1/jasmine... | HTML | test/index.html | h3xagram/h3xagram.github.io | mit | 1,895 | 58 | codeparrot/github-code |
f4f730306788123b5467cd0eddd01dfb93aeaecf5aad0da8209bb13c2d14b36f | require('ember-runtime/core');
require('ember-runtime/system/core_object');
require('ember-runtime/mixins/mutable_enumerable');
require('ember-runtime/mixins/copyable');
require('ember-runtime/mixins/freezable');
/**
@module ember
@submodule ember-runtime
*/
var get = Ember.get, set = Ember.set, guidFor = Ember.guidF... | JavaScript | packages/ember-runtime/lib/system/set.js | teddyzeenny/ember.js | mit | 13,316 | 458 | codeparrot/github-code |
46a996130d1e6ecc897b1761389a852f3cd8d8113bf659b74c7712e32e6a9d96 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="BoundingBoxWireFrameVisual3D.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// <summary>
// A visual element that shows a w... | C# | Source/HelixToolkit.Wpf/Visual3Ds/ScreenSpaceVisuals/BoundingBoxWireFrameVisual3D.cs | DynamoDS/helix-toolkit | mit | 3,574 | 107 | codeparrot/github-code |
99cf7aa6a45796f7b4e3b99775dfeb53f154221470132144a453cac2d56a7a71 | //
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
//
using UnityEngine;
using System;
using System.Collections.Generic;
namespace HUX.Utility
{
public class AABBTree<T> where T : class
{
#region Private Class... | C# | ShareAndKeepSynced/Assets/MRDesignLab/HUX/Scripts/Utility/AABBTree.cs | AllBecomesGood/Share-UpdateHolograms | mit | 8,880 | 363 | codeparrot/github-code |
34ed46964ce5d478777b2a127e630f276668aea5a295f2b3e88c775832d375ca | /*!
* Bootstrap-select v1.13.2 (https://developer.snapappointments.com/bootstrap-select)
*
* Copyright 2012-2018 SnapAppointments, LLC
* Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)
*/
(function (root, factory) {
if (root === undefined && window !== undefi... | JavaScript | ajax/libs/bootstrap-select/1.13.2/js/i18n/defaults-bg_BG.js | extend1994/cdnjs | mit | 1,616 | 46 | codeparrot/github-code |
461ec4e6f3811417dd2d02d6fee482e5c9e528b353373a5118f70021fc9dfc21 | <?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Component\Core\Promotion\Checker\Rule;
use Sylius\Componen... | PHP | src/Sylius/Component/Core/Promotion/Checker/Rule/HasTaxonRuleChecker.php | videni/Sylius | mit | 1,864 | 69 | codeparrot/github-code |
55e88709a6f486ad29a2c060f692f0aa759b466d7833c30e28ffd2f0371964cb | /*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | Java | utils/eclipselink.utils.workbench/framework/source/org/eclipse/persistence/tools/workbench/framework/context/ExpandedResourceRepositoryApplicationContext.java | RallySoftware/eclipselink.runtime | epl-1.0 | 2,433 | 61 | codeparrot/github-code |
8c8f0493760d24c8be1d1344f50f5ff7483f2864752637fa732d13d1445f66f9 | /*! PopUp Free - v4.7.11
* https://wordpress.org/plugins/wordpress-popup/
* Copyright (c) 2015; * Licensed GPLv2+ */
/*global window:false */
/*global document:false */
/*global wp:false */
/*global wpmUi:false */
/*global ace:false */
/**
* Admin Javascript functions for PopUp
*/
jQuery(function init_admin() {
... | JavaScript | wp-content/plugins/wordpress-popup/js/popup-admin.js | iAPT/producerroom | gpl-2.0 | 15,341 | 576 | codeparrot/github-code |
0110b947d9720240e61c8f9f9dd3567d2e3881f4d5c58498dea214fedf259baa | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Introspecting member function</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../index.html" ti... | HTML | myodd/boost/libs/tti/doc/html/the_type_traits_introspection_library/tti_detail_has_member_function.html | FFMG/myoddweb.piger | gpl-2.0 | 17,725 | 201 | codeparrot/github-code |
940370d0e1a26e5b70b5c5eaba633f696c01565a060d71e098f725a4f8eba835 | //
// Copyright (c) 2004-2006 Jaroslaw Kowalski <jaak@jkowalski.net>
//
// 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 co... | C# | Libraries/Source/NLog/Targets/Wrappers/PostFilteringWrapper.cs | WCell/WCell | gpl-2.0 | 7,654 | 197 | codeparrot/github-code |
3914bee4bfc371b84f986a3889dc621ee7016cb2ca946630210d51fde4ba5695 | #
# Copyright (C) 2007-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=mac80211
PKG_VERSION:=2014-11-04
PKG_RELEASE:=1
PKG_SOURCE_URL:=http://mirror2.openwrt.org/... | Makefile | package/kernel/mac80211/Makefile | houzhenggang/openwrt-hc5661 | gpl-2.0 | 66,895 | 2,044 | codeparrot/github-code |
923fd691274307d670c5eb8bdd29358bab2fc3a3a52c44acceb9ac160d1d5342 | /*
* Block driver for media (i.e., flash cards)
*
* Copyright 2002 Hewlett-Packard Company
* Copyright 2005-2008 Pierre Ossman
*
* Use consistent with the GNU GPL is permitted,
* provided that this copyright notice is
* preserved in its entirety in all copies and derived works.
*
* HEWLETT-PACKARD COMPANY MAK... | C | drivers/mmc/card/block.c | mahound/Cyanogenmod_kernel_samsung_loganreltexx | gpl-2.0 | 81,469 | 3,079 | codeparrot/github-code |
a74209cfafe0d218215a5a041f47229c5a2a8165ce818499f73f4c9ba6682500 | //# LCExtension.cc: Extend an LCRegion along straight lines to other dimensions
//# Copyright (C) 1998,2001
//# Associated Universities, Inc. Washington DC, USA.
//#
//# 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
... | C++ | lattices/LRegions/LCExtension.cc | bmerry/casacore | gpl-2.0 | 10,331 | 317 | codeparrot/github-code |
25d3dba1d11c22b008cc3f9dfa65af9c85f275084cc2b7ba8eff0f81d06b2ce3 | /*
* drivers/media/video/msm/ov5642_reg_globaloptics.c
*
* Refer to drivers/media/video/msm/mt9d112_reg.c
* For IC OV5642 of Module GLOBALOPTICS: 5.0Mp 1/4-Inch System-On-A-Chip (SOC) CMOS Digital Image Sensor
*
* Copyright (C) 2009-2010 ZTE Corporation.
*
* This software is licensed under the terms of the GNU ... | C | drivers/media/video/msm/mt9d113_qtech_sunny_socket.c | ZTE-BLADE/ZTE-BLADE-2.6.32 | gpl-2.0 | 56,303 | 2,359 | codeparrot/github-code |
1e841d18576678d34387e961dc1f16428a8868b3c02430c1240894f9eccfa94b | /*
* This file contains the RTC driver table for Motorola MCF5206eLITE
* ColdFire evaluation board.
*
* Copyright (C) 2000 OKTET Ltd., St.-Petersburg, Russia
* Author: Victor V. Vengerov <vvv@oktet.ru>
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution o... | C | c/src/lib/libbsp/m68k/mcf5206elite/tod/todcfg.c | yangxi/omap4m3 | gpl-2.0 | 2,267 | 83 | codeparrot/github-code |
6503b197315d877db2b8222383b42c8185012a6f4c362c0f1455094e5b021627 | /*
* Driver O/S-independent utility routines
*
* $Copyright Open Broadcom Corporation$
* $Id: bcmutils.c,v 1.277.2.18 2011-01-26 02:32:08 $
*/
#include <typedefs.h>
#include <bcmdefs.h>
#include <stdarg.h>
#ifdef BCMDRIVER
#include <osl.h>
#include <bcmutils.h>
#include <siutils.h>
#if defined(BCMNVRAM)
#includ... | C | drivers/net/wireless/bcmdhd/bcmutils.c | hroark13/n861_two_n860 | gpl-2.0 | 45,582 | 1,954 | codeparrot/github-code |
e73117a2110f942e004c34102a93a78408eac5f4c6e610bce8049a08ea4e4546 | #ifndef __SDCPP_H
#define __SDCPP_H
#ifdef _WIN32
/* declaration of alloca */
#include <malloc.h>
#include <string.h>
#ifdef __BORLANDC__
#define strcasecmp stricmp
#else
#define strcasecmp _stricmp
#endif
#endif
#define BYTES_BIG_ENDIAN 0
/*
* From defaults.h
*/
#ifndef GET_ENVIRONMENT
#define GET_ENVIRONMENT(V... | C | support/cpp/sdcpp.h | pfalcon/sdcc | gpl-2.0 | 7,065 | 259 | codeparrot/github-code |
a732a1c23d54cb7efeac00410fdd543046fd54edc4dbad6391276fa7fda9e981 | /* Copyright (c) 2012-2013, The Linux Foundation. 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 version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | C | drivers/video/msm/mdss/mdss_mdp_intf_video.c | Spartonos/android_kernel_motorola_falcon_umts | gpl-2.0 | 19,252 | 709 | codeparrot/github-code |
c71f5f18aca5e5eeffe9be461eacc8ed4df5b7cadd2bff3cddaec84f0bec570f | <?php
/**
* Akeeba Engine
* The modular PHP5 site backup engine
* @copyright Copyright (c)2009-2013 Nicholas K. Dionysopoulos
* @license GNU GPL version 3 or, at your option, any later version
* @package akeebaengine
*/
// Protection against direct access
defined('AKEEBAENGINE') or die();
/**
* Da... | PHP | tmp/com_akeeba-3.9.2-core/backend/akeeba/abstract/driver.php | effortlesssites/template | gpl-2.0 | 39,065 | 1,534 | codeparrot/github-code |
b1c01db52b4b0f493ce27706b69255edcc3c9e1b2518c6c9281cf108a260ba16 | /*
* linux/sound/oss/dmasound/dmasound_awacs.c
*
* PowerMac `AWACS' and `Burgundy' DMA Sound Driver
* with some limited support for DACA & Tumbler
*
* See linux/sound/oss/dmasound/dmasound_core.c for copyright and
* history prior to 2001/01/26.
*
* 26/01/2001 ed 0.1 Iain Sandoe
* - added version info.
... | C | sound/oss/dmasound/dmasound_awacs.c | waterice/Test-Git | gpl-2.0 | 86,835 | 3,171 | codeparrot/github-code |
656dec67137d806d9616f8fdb37ce30334b3fd693777126c9401602ad23e126a | //-----------------------------------------------------------------------------
// boost-libs variant/test/test8.cpp header file
// See http://www.boost.org for updates, documentation, and revision history.
//-----------------------------------------------------------------------------
//
// Copyright (c) 2003
// Eric ... | C++ | libs/variant/test/test8.cpp | rprata/boost | gpl-2.0 | 2,621 | 115 | codeparrot/github-code |
8965d48e02dd345e198c103db200e35fa90161515bb5f29eeaf942918b14207b | /*
* iaf_psc_alpha_presc.cpp
*
* This file is part of NEST.
*
* Copyright (C) 2004 The NEST Initiative
*
* NEST 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, o... | C++ | precise/iaf_psc_alpha_presc.cpp | INM-6/nest-git-migration | gpl-2.0 | 18,368 | 571 | codeparrot/github-code |
2912690610c4919f6d462c0183d4d7ebf378e6973a1b8f4a5c76f48fd900f0d2 | /*
Copyright (c) 2006-2009 by Jakob Schroeter <js@camaya.net>
This file is part of the gloox library. http://camaya.net/gloox
This software is distributed under a license. The full license
agreement can be found in the file LICENSE in this distribution.
This software may not be copied, modified, sold or dist... | C++ | src/vcardupdate.cpp | segfault/gloox-clone | gpl-2.0 | 1,874 | 80 | codeparrot/github-code |
111b10003c6361e8cc6c8bb80848954c9c8e37faaf1d1533fcb55bb07bec0bf5 | <?php
/**
* TestLink Open Source Project - http://testlink.sourceforge.net/
* $Id: keywordBarChart.php,v 1.16.2.1 2010/12/10 15:52:23 franciscom Exp $
*
* @author Kevin Levy
*
* - PHP autoload feature is used to load classes on demand
*
* @internal revisions
*
*/
require_once('../../config.inc.php');
requi... | PHP | lib/results/keywordBarChart.php | TabbedOut/testlink-1.9.9 | gpl-2.0 | 3,079 | 132 | codeparrot/github-code |
7f8f1fcd4d4f97292c75fc3328ee9df6dc5f33f302db2646ec5e5a53cc26c6d6 | /* Copyright (c) 2012-2013, The Linux Foundation. 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 version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | C | arch/arm/mach-msm/board/zte-camera.c | ztemt/Z5mini_H112_kernel | gpl-2.0 | 23,184 | 940 | codeparrot/github-code |
8e4dcdd5bb02cd03d28637726e39e2b76d6cd3dda3f7e518c4e4fbfcbea83be9 | /*
* linux/lib/vsprintf.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
* (C) Copyright 2000-2009
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
/* vsprintf.c -- Lars Wirzenius & Linus Torvalds. */
/*
* Wirzenius wrote this portably, Torvalds fucked it up :-)
*
* from hush: simple_itoa() was lift... | C | lib/vsprintf.c | Digilent/u-boot-digilent | gpl-2.0 | 19,676 | 890 | codeparrot/github-code |
6eddab0e1c035611fe7e3bce327610a32bc3f3a35cf49e6ed531fa47313c2817 | /*
* Copyright (C) 2009 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | C | modules/web/src/main/native/Source/WebKit/ios/WebCoreSupport/WebSelectionRect.h | Debian/openjfx | gpl-2.0 | 2,391 | 62 | codeparrot/github-code |
be96d844657fb1813c27dfa8cce205a588bb27a8d416e1ff4b2f10e98b94f7ff | <?php
/*
V4.98 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved.
Released under both BSD license and Lesser GPL library license.
Whenever there is any discrepancy between the two licenses,
the BSD license will take precedence. See License.txt.
Set tabs to 4 for best viewing.
... | PHP | photos/lib/adodb/perf/perf-mssql.inc.php | jcannava/bleedcrimson.net | gpl-2.0 | 4,822 | 165 | codeparrot/github-code |
59c43fb7dec13592e6b0ab0b41b83d2a697ead70704c6b36e5b11de33bf91df2 | /*
* SPU file system -- SPU context management
*
* (C) Copyright IBM Deutschland Entwicklung GmbH 2005
*
* Author: Arnd Bergmann <arndb@de.ibm.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... | C | linux-2.6.18-xen.hg/arch/powerpc/platforms/cell/spufs/context.c | zhoupeng/spice4xen | gpl-2.0 | 3,935 | 172 | codeparrot/github-code |
13bf297b330223421ae7378c181e67b3bc72c599253f4f830701101573c215e3 | /*
* Copyright (C) 2008-2017 TrinityCore <http://www.trinitycore.org/>
*
* 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 ve... | C++ | src/server/scripts/Commands/cs_send.cpp | Effec7/Adamantium | gpl-2.0 | 10,199 | 293 | codeparrot/github-code |
71122cf00cb24759bf19b609295a834bd445bfeb91d41fc5acfddc94ad2a1446 | ## This file is part of Invenio.
## Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 CERN.
##
## Invenio 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
## Lic... | Python | modules/webaccess/lib/access_control_config.py | AlbertoPeon/invenio | gpl-2.0 | 35,364 | 718 | codeparrot/github-code |
db9c52af8356345f3bbbf5baa8f26f9bf660ac466041261549df9b8031f3a3ed | # cgi-lib.pl
# Common functions for writing http headers
#----------------------------------------------------------
#
# @APPLE_LICENSE_HEADER_START@
#
#
# Copyright (c) 1999-2008 Apple Inc. All Rights Reserved.
#
# This file contains Original Code and/or Modifications of Original Code
# as defined in and that are sub... | Perl | DarwinStreamingSrvr6.0.3-Source-relay-wasu-sx/WebAdmin/WebAdminHtml/cgi-lib.pl | zkf-qwj/Relay-Wasu-NoBalance | gpl-2.0 | 6,514 | 208 | codeparrot/github-code |
f53efb1a7e469ea3a585f389618bef506a27da82fb59bd8f0aab00b24653e0a3 | <?php
/**
* Customizer settings for this theme.
*
* @package WordPress
* @subpackage Twenty_Twenty
* @since Twenty Twenty 1.0
*/
if ( ! class_exists( 'TwentyTwenty_Customize' ) ) {
/**
* CUSTOMIZER SETTINGS
*
* @since Twenty Twenty 1.0
*/
class TwentyTwenty_Customize {
/**
* Register customizer o... | PHP | wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php | rasken2003/fuga-it-business | gpl-2.0 | 14,593 | 542 | codeparrot/github-code |
50069be406d524ad63ee604dec08a12af5905287217a033045dcb69b6d1c3ca5 | /*
* Bt8xx based DVB adapter driver
*
* Copyright (C) 2002,2003 Florian Schirmer <jolt@tuxbox.org>
*
* 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
*... | C | go9/linux-s3c24xx/drivers/media/dvb/bt8xx/dvb-bt8xx.c | kzlin129/tt-gpl | gpl-2.0 | 23,010 | 819 | codeparrot/github-code |
2ec10e455c97561a091c7ae857c88dc7d4c74bf5b8575edd548c71c2aa12d9b0 | /** @internal
** @file vl_siftdescriptor_python.cpp
** @author Andrea Vedaldi
** @author Mikael Rousson (Python wrapping)
** @brief SIFT descriptor - MEX
**/
#include "../py_vlfeat.h"
extern "C" {
#include <vl/mathop.h>
#include <vl/sift.h>
}
#include <math.h>
#include <assert.h>
#include <iostream>... | C++ | vlfeat/sift/vl_siftdescriptor.cpp | DerThorsten/pyvlfeat | gpl-2.0 | 4,699 | 193 | codeparrot/github-code |
adc5c7bf3612a5007723159e0c49583e13ecda55a38b7dabc64849c49968f623 | /*!
* jQuery Form Plugin
* version: 3.33.0-2013.05.02
* @requires jQuery v1.5 or later
* Copyright (c) 2013 M. Alsup
* Examples and documentation at: http://malsup.com/jquery/form/
* Project repository: https://github.com/malsup/form
* Dual licensed under the MIT and GPL licenses.
* https://github.com/malsup/fo... | JavaScript | wp-content/plugins/wp-toolbar-editor/js/jquery.form.js | 12sm/erinmyers | gpl-2.0 | 41,603 | 1,191 | codeparrot/github-code |
25703c13d772ef165a8a63770687b980d44cc71c66b51f6c8fdb151f33667ddc | /*
* Samsung EXYNOS FIMC-LITE (camera host interface) driver
*
* Copyright (C) 2012 - 2013 Samsung Electronics Co., Ltd.
* Author: Sylwester Nawrocki <s.nawrocki@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 a... | C | linux/drivers/media/platform/exynos4-is/fimc-lite.c | Barracuda09/media_build-bst | gpl-2.0 | 45,548 | 1,730 | codeparrot/github-code |
0d98f7dc1be61816149adb18b3f4538e78571cc288c877988060a58d74cf7b01 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Copyright (C) 2006 Imendio AB
*
* 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
* L... | C | libempathy-gtk/empathy-conf.c | jmansar/empathy | gpl-2.0 | 7,566 | 372 | codeparrot/github-code |
52745a70c05f9ea584cc33ed97007b6d2957c78cbd4c69e25b10045c16b44daf | <html lang="en">
<head>
<title>GDB/MI Ada Tasking Commands - Debugging with GDB</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Debugging with GDB">
<meta name="generator" content="makeinfo 4.11">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="GD... | HTML | buildtools/gcc-arm-none-eabi-5_4-2016q2-linux-x86/share/doc/gcc-arm-none-eabi/html/gdb/GDB_002fMI-Ada-Tasking-Commands.html | FabianKnapp/nexmon | gpl-3.0 | 5,607 | 117 | codeparrot/github-code |
22cfff21e5f308aa64899d13f7ff482c0e14990a47e15ac9e857548f447b4c3a | /* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995-2002 Spencer Kimball, Peter Mattis, and others
*
* gimp-gradients.c
* Copyright (C) 2002 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Lic... | C | app/core/gimp-gradients.c | mskala/noxcf-gimp | gpl-3.0 | 5,035 | 132 | codeparrot/github-code |
a3478d7af3cc13fbae3fd32f1f2dda944a4dcd49c56dbef9f354f9d02ad12edd | #
# functions to use with HP Hardware RAID (Smart Array and compatible)
#
#
function define_HPSSACLI() {
# HP Smart Storage Administrator CLI is either hpacucli, hpssacli or ssacli
if has_binary hpacucli ; then
HPSSACLI=hpacucli
elif has_binary hpssacli ; then
HPSSACLI=hpssacli
elif has... | Shell | usr/share/rear/lib/hp_raid-functions.sh | phracek/rear | gpl-3.0 | 871 | 34 | codeparrot/github-code |
67c35cff434633c6689db3341ac19ceae6dd549cc42039ac095597575b5a4c1c | #pragma once
#include <wrl.h>
namespace DX
{
// Helper class for animation and simulation timing.
class StepTimer
{
public:
StepTimer() :
m_elapsedTicks(0),
m_totalTicks(0),
m_leftOverTicks(0),
m_frameCount(0),
m_framesPerSecond(0),
m_framesThisSecond(0),
m_qpcSecondCount... | C | windows/Common/StepTimer.h | ruzzgames/BlindFate | gpl-3.0 | 5,605 | 184 | codeparrot/github-code |
6a78ef8985da38cc6e3a7566ddc379227b2ce6c3fd1fed4e390b24923f133dce | /*
This file is part of cpp-ethereum.
cpp-ethereum 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.
cpp-ethereum is distributed in the... | C | libsolidity/Compiler.h | BreemsEmporiumMensToiletriesFragrances/cpp-ethereum | gpl-3.0 | 6,043 | 130 | codeparrot/github-code |
45b15521b175d0b3d41e1d4109845a8920914492a6bb2336b9e2618784f2f88f | package cn.nukkit.block;
import cn.nukkit.Player;
import cn.nukkit.item.Item;
import cn.nukkit.item.ItemTool;
import cn.nukkit.level.Level;
import cn.nukkit.level.sound.NoteBoxSound;
import cn.nukkit.network.protocol.BlockEventPacket;
/**
* Created by Snake1999 on 2016/1/17.
* Package cn.nukkit.block in project nuk... | Java | src/main/java/cn/nukkit/block/BlockNoteblock.java | yescallop/Nukkit | gpl-3.0 | 3,101 | 130 | codeparrot/github-code |
70c258ddcb36da8b69d57f070666fc5e55196fb07b807cabb5ee51436fbd85cc | /*
* Copyright (C) 2012 The Android Open Source Project
*
* 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 app... | Java | cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/DnsSdResponseListenerTest.java | s20121035/rk3288_android5.1_repo | gpl-3.0 | 4,616 | 140 | codeparrot/github-code |
3f4302754e1c0010fdf4113290b869d3cc60d45209102cedf7783ced10276f92 | #!/usr/bin/perl
use strict;
use warnings;
use Test::More tests => 34;
BEGIN { use_ok('li_carrays') }
require_ok('li_carrays');
# array_class
{
my $length = 5;
my $xyArray = new li_carrays::XYArray($length);
for (my $i=0; $i<$length; $i++) {
my $xy = $xyArray->getitem($i);
$xy->{x} = $i*10;
$xy->{y} =... | Perl | deps/swig-3.0.7/Examples/test-suite/perl5/li_carrays_runme.pl | DGA-MI-SSI/YaCo | gpl-3.0 | 1,879 | 73 | codeparrot/github-code |
3a35587e324d300b05bbf2dc947860062e988ed5c564286e2e9b9c8de908a458 | package App::Prove::State;
use strict;
use warnings;
use File::Find;
use File::Spec;
use Carp;
use App::Prove::State::Result;
use TAP::Parser::YAMLish::Reader ();
use TAP::Parser::YAMLish::Writer ();
use base 'TAP::Base';
BEGIN {
__PACKAGE__->mk_methods('result_class');
}
use constant IS_WIN32 => ( $^O =~ /^(M... | Perl | perl-5.26.1/perl5.26.1/lib/5.26.1/App/Prove/State.pm | mgood7123/UPM | gpl-3.0 | 11,689 | 549 | codeparrot/github-code |
084983ca372ebb1c38ba4cc9cb8bdbcd80a7ee2ba5e743bbacd17863a430bb40 | <?php
namespace Drupal\language\Form;
use Drupal\Core\Block\BlockManagerInterface;
use Drupal\Component\Utility\Unicode;
use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\Core\Extension\ThemeHandlerInterface;
use Drupal\Core\Form\ConfigFormBase;
use Drupal\Core\F... | PHP | drupal8/core/modules/language/src/Form/NegotiationConfigureForm.php | oeru/techblog | gpl-3.0 | 11,818 | 338 | codeparrot/github-code |
9a4153d6fff7110294a7b8b102a51eea13ee819569bb78e0d7a772cf9f3c5d46 | <?php
class Appconfig extends CI_Model
{
public function exists($key)
{
$this->db->from('app_config');
$this->db->where('app_config.key', $key);
return ($this->db->get()->num_rows() == 1);
}
public function get_all()
{
$this->db->from('app_config');
$this->db->order_by('key', 'asc');
return $this... | PHP | application/models/mypanel/Appconfig.php | digyna/digyna-CMS | gpl-3.0 | 1,375 | 78 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.