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 |
|---|---|---|---|---|---|---|---|---|
827f26f68010083fd26b0f1063d619ddae5da88a5996a37fe92e0c2cb4752be9 | /*
* Copyright (c) 2007, Michael Feathers, James Grenning, Bas Vodde and Timo Puronen
* 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 a... | C++ | src/Platforms/Symbian/UtestPlatform.cpp | cpputest/cpputest | bsd-3-clause | 5,287 | 183 | codeparrot/github-code |
4c08a1be7e45517fa9f854d835674264c66342ddadf32b132488f5e19d9f3c00 | /**
* @license Highstock JS v2.1.4 (2015-03-10)
* Plugin for displaying a message when there is no data visible in chart.
*
* (c) 2010-2014 Highsoft AS
* Author: Oystein Moseng
*
* License: www.highcharts.com/license
*/
(function (H) {
var seriesTypes = H.seriesTypes,
chartPrototype = H.Chart.prototype,
... | JavaScript | web/media/js/jquery/plugins/Highstock/2.1.4/js/modules/no-data-to-display.src.js | syscart/syscart | gpl-2.0 | 2,826 | 126 | codeparrot/github-code |
cfde2095a71746de6105732e8cf379a66677e064c1c92ed7cde82928bb898018 | import Ember from 'ember-metal/core';
import { get } from 'ember-metal/property_get';
import { internal } from 'htmlbars-runtime';
import { read } from 'ember-metal/streams/utils';
export default {
setupState(state, env, scope, params, hash) {
var controller = hash.controller;
if (controller) {
if (!s... | JavaScript | packages/ember-htmlbars/lib/keywords/with.js | cjc343/ember.js | mit | 1,930 | 70 | codeparrot/github-code |
7fa4c329c5415ed665657d4367e4c3ca3e9799e7179a74cc4aabde595731e6ad | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*============================================================
**
** Class: EventLogPermissionHolder
**
** Purpose:
** Internal class that defines the permissions that are used
** throughout the Event Log classes of this names... | C# | System.Core/System/Diagnostics/Eventing/Reader/EventLogPermissionHolder.cs | sekcheong/referencesource | mit | 983 | 33 | codeparrot/github-code |
bf8548a8746070a5b37d61e3e61f3003b1821a57336bb8a031635c1a3474f995 | /* $Id$ */
/*
* This file is part of OpenTTD.
* OpenTTD 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.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without... | C++ | src/script/script_info_dummy.cpp | alex34567/openttd-emscripten | gpl-2.0 | 4,715 | 113 | codeparrot/github-code |
191f4baad557a53868294d5d93d57139837d41b8391b25577a1d3e221f9b0845 | /*
* LPC32xx SSP interface (SPI mode)
*
* (C) Copyright 2014 DENX Software Engineering GmbH
* Written-by: Albert ARIBAUD <albert.aribaud@3adev.fr>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <linux/compat.h>
#include <asm/io.h>
#include <malloc.h>
#include <spi.h>
#include <asm/ar... | C | u-boot15/drivers/spi/lpc32xx_ssp.c | mdxy2010/forlinux-ok6410 | gpl-2.0 | 3,430 | 145 | codeparrot/github-code |
f121a520fb7aedbf017376fcaa05eb5d236e9c0555e286d7c9efdf0c0b468fb2 | /*
* TI OMAP I2C master mode driver
*
* Copyright (C) 2003 MontaVista Software, Inc.
* Copyright (C) 2004 Texas Instruments.
*
* Updated to work with multiple I2C interfaces on 24xx by
* Tony Lindgren <tony@atomide.com> and Imre Deak <imre.deak@nokia.com>
* Copyright (C) 2005 Nokia Corporation
*
* Cleaned up ... | C | drivers/i2c/busses/i2c-omap.c | janrinze/loox7xxport.loox2624 | gpl-2.0 | 18,068 | 678 | codeparrot/github-code |
27a2fc84b692fdc112083487cbc437f3f839ec61d567d05b9229e346dff06e2e | /*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | C++ | src/share/vm/asm/codeBuffer.hpp | TobiHartmann/hotspot | gpl-2.0 | 23,840 | 609 | codeparrot/github-code |
3bd4d4c026fcef7e8d95620bd09626666dc31b2a6ec8b1fad2c6216454936bca | // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package patch
import (
"bytes"
"compress/zlib"
"crypto/sha1"
"encoding/git85"
"fmt"
"io"
"os"
)
func gitSHA1(data []byte) []byte {
if len(data) == 0 ... | GO | uefi/gcc/gcc-4.6.3/libgo/go/patch/git.go | SanDisk-Open-Source/SSD_Dashboard | gpl-2.0 | 2,816 | 122 | codeparrot/github-code |
425e3441f32a3ea1d2f537937ee2b656afbc34bc6341b60e0351d938328778e2 | /*
* Copyright 2015 Advanced Micro Devices, Inc.
*
* 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, modify, m... | C | drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c | endocode/linux | gpl-2.0 | 9,245 | 370 | codeparrot/github-code |
824d2ad4f22a81ca80283f6d029bfeef145a17e5cc3c8e6872457c478f0798dc | /**
* Copyright (C) 2011 JTalks.org Team
* 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 your option) any later version.
* This library ... | Java | jcommune-plugin-api/src/main/java/org/jtalks/jcommune/plugin/api/web/validation/validators/BbCodeAwareSizeValidator.java | Noctrunal/jcommune | lgpl-2.1 | 4,375 | 117 | codeparrot/github-code |
5a01cf970abf8731f2be2240ce0ab1a8327660bd6f1e6ebb62cce1e12db26efd | /*
* Copyright 2011 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | Java | src/com/google/javascript/jscomp/ClosureOptimizePrimitives.java | jhiswin/idiil-closure-compiler | apache-2.0 | 3,783 | 124 | codeparrot/github-code |
e38d01d5fc6f27d2e20d8870467a3e62a89f8142a3103a7bb10034169284756e | /**
* Copyright 2017 The AMP HTML 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 require... | JavaScript | extensions/amp-vk/0.1/test/test-amp-vk.js | engtat/amphtml | apache-2.0 | 7,420 | 223 | codeparrot/github-code |
8a64711e71bb2544d13a67da32ee981634c0155a05e5e73f75bd6c1e10171386 | /*
Copyright 2014 The Kubernetes 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 applicable law or ag... | GO | pkg/proxy/userspace/proxier.go | socaa/kubernetes | apache-2.0 | 39,220 | 991 | codeparrot/github-code |
361dbf68199062de8b0957c2f16d65aabc5961d2e7336e269531637d80d75059 | /**
* 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... | Java | src/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/CreateEditsLog.java | ZhangXFeng/hadoop | apache-2.0 | 8,019 | 212 | codeparrot/github-code |
050ea2f02efe10d6e19b60491db7cbf203e7caaaa20df49a59be3fe385b00032 | /*
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of condit... | C | webkit/Source/WebCore/bindings/v8/V8GCController.h | mogoweb/webkit_for_android5.1 | apache-2.0 | 2,883 | 88 | codeparrot/github-code |
04037fee0954ba96eb149058950cf232ea8f3108bb34357bf97019d322606f45 | package org.wso2.carbon.stratos.common.util;
import java.util.List;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.wso2.carbon.stratos.common.config.CloudServiceConfig;
import org.wso2.carbon.stratos.common.config.CloudServicesDescConfig;
import o... | Java | components/tenant-mgt-common/org.wso2.carbon.tenant.common/src/main/java/org/wso2/carbon/stratos/common/util/CloudServicesUtil.java | madhawa-gunasekara/carbon-commons | apache-2.0 | 9,738 | 182 | codeparrot/github-code |
a2fb28f1e180cdb34c2597c7adfb680e638442c04341695b5de062d524e6b5e4 | # -*- coding: utf-8 -*-
import os
from operator import itemgetter
from gluon.storage import Storage
from gluon.dal import DAL, Field, Row
DBHOST = os.environ.get('DBHOST', 'localhost')
DATABASE_URI = 'mysql://benchmarkdbuser:benchmarkdbpass@%s:3306/hello_world' % DBHOST
class Dal(object):
def __init__(self, table... | Python | frameworks/Python/web2py/app/standard/modules/database.py | ashawnbandy-te-tfb/FrameworkBenchmarks | bsd-3-clause | 2,330 | 60 | codeparrot/github-code |
67e0700c4a4033094ff96e7bf8aeb323d04bc50efb7081a6468432afa7047a3c | // Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
'use strict';
// This file relies on the fact that the following declaration has been made
// in runtime.js:
// var $Array = global.Array;
// --------... | JavaScript | v8/src/harmony-array-includes.js | sgraham/nope | bsd-3-clause | 1,359 | 62 | codeparrot/github-code |
c110c7e34d6d2eb96bbbd64c513e7a427108fb9311f3838a020b4e0b373d8f10 | <!--
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.
Copyright (c) Microsoft Corporation. All rights reserved
-->
<!DOCTYPE html>
<html>
<head>
... | HTML | FeedReader/js/pages/news/news.html | gforguru/Windows-universal-samples | mit | 3,586 | 86 | codeparrot/github-code |
38984ac3b8bc64b025cbae50ce1c1a4e27487991da682a31337a24a0b55b2834 | <!DOCTYPE html>
<!--
#######################################
- THE HEAD PART -
######################################
-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-widt... | HTML | web/bundles/layout/Frontend/assets/plugins/revolution_slider/index.html | EssamKhaled/es-blog | mit | 30,075 | 830 | codeparrot/github-code |
dbad51297d1c9c47d4830f0cb7defd46e9dad3c5fcba17a3f630a6549092f271 | <!DOCTYPE html>
<html>
<head>
<title>Use resetView to reset the header width</title>
<meta charset="utf-8">
<link rel="stylesheet" href="../assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="../assets/bootstrap-table/src/bootstrap-table.css">
<link rel="stylesheet" href="../assets... | HTML | static/bootstrap/issues/283.html | weidongwanga/framework | mit | 2,773 | 92 | codeparrot/github-code |
b278d376cc149e5246ae93674ef9eb0f9f2f44225976904e6f43a9e85b01021e | <?php
defined('C5_EXECUTE') or die("Access Denied.");
if (ENABLE_AREA_LAYOUTS == false) {
die(t('Area layouts have been disabled.'));
}
global $c;
$form = Loader::helper('form');
//Loader::model('layout');
if( intval($_REQUEST['lpID']) ){
$layoutPreset = LayoutPreset::getByID($_REQUEST['lpID']);
if(is_objec... | PHP | www/concrete/elements/block_area_layout.php | HB-Biomedical-Technologies/hbbt-web-skeleton | mit | 5,830 | 156 | codeparrot/github-code |
7fa1c7d72afcdacef480f00072a13f0ba2b034244ed6a2879574c83935ae37be | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2015 Natale Patriciello <natale.patriciello@gmail.com>
* 2016 Stefano Avallone <stavallo@unina.it>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Publ... | C++ | src/traffic-control/model/traffic-control-layer.cc | Vivek-anand-jain/Implementation-of-BLUE-in-ns-3 | gpl-2.0 | 10,705 | 318 | codeparrot/github-code |
26f71eee499eeec12fbea9b5f5b1dcf34e8f7a1d05657453868179c3f0b6e76e | /*
* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright not... | C | drivers/staging/prima/CORE/HDD/src/wlan_hdd_softap_tx_rx.c | monishk10/moshi_cancro | gpl-2.0 | 71,439 | 1,905 | codeparrot/github-code |
364b6d2340a9646b2ffd1e8ddc487f3a39876b715c824fb4660e5069a75dd9d1 | /*******************************************************************************
Intel 10 Gigabit PCI Express Linux driver
Copyright(c) 1999 - 2013 Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
ver... | C | drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c | HarveyHunt/linux | gpl-2.0 | 8,776 | 301 | codeparrot/github-code |
d5177b2155e46397746a947e197409c245a81f76fc6965ea3c9d5e22625b9617 | package autotest.afe;
import java.util.ArrayList;
import java.util.List;
public class CheckBoxPanel {
public static interface Display {
public ICheckBox generateCheckBox(int index);
}
private List<ICheckBox> checkBoxes = new ArrayList<ICheckBox>();
private Display display;
public void bi... | Java | frontend/client/src/autotest/afe/CheckBoxPanel.java | spcui/autotest | gpl-2.0 | 1,139 | 48 | codeparrot/github-code |
73b7b70288d9867dd211a8e66a82bf001171def3aa9c341631212fa003bd4f54 | /* bnx2x_cmn.h: Broadcom Everest network driver.
*
* Copyright (c) 2007-2013 Broadcom Corporation
*
* 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.
*
* Maintained by: Eilon Greenstein <e... | C | kernel/drivers/net/bnx2x/bnx2x_cmn.h | MetSystem/fastsocket | gpl-2.0 | 35,738 | 1,430 | codeparrot/github-code |
794db8f851d48ff76af151d879eed61fec3faf8415c61662ad5fdbe85ebf22fe | # -*- coding: utf-8 -*-
from __future__ import (unicode_literals, division, absolute_import, print_function)
store_version = 1 # Needed for dynamic plugin loading
__license__ = 'GPL 3'
__copyright__ = '2011, John Schember <john@nachtimwald.com>'
__docformat__ = 'restructuredtext en'
from calibre.gui2.store.basic_con... | Python | src/calibre/gui2/store/stores/archive_org_plugin.py | drxaero/calibre | gpl-3.0 | 1,689 | 44 | codeparrot/github-code |
3f386f3cc318f180cef92d2c8ead8565e4e2d67544998457e4c31492f002c54e | /*!
* JavaScript for the debug toolbar profiler, enabled through $wgDebugToolbar
* and StartProfiler.php.
*
* @author Erik Bernhardson
* @since 1.23
*/
( function ( mw, $ ) {
'use strict';
/**
* @singleton
* @class mw.Debug.profile
*/
var profile = mw.Debug.profile = {
/**
* Object containing data... | JavaScript | wiki/resources/src/mediawiki/mediawiki.debug.profile.js | kylethayer/bioladder | gpl-3.0 | 15,945 | 550 | codeparrot/github-code |
069ab2c86a373fa31e53ab29d39ff70d115cdd85e638f729fd9689e1ef296ac9 | /*
* ContextMenu Plugin
*
*
*/
(function($) {
$.extend(mejs.MepDefaults,
contextMenuItems = [
// demo of a fullscreen option
{
render: function(player) {
// check for fullscreen plugin
if (typeof player.enterFullScreen == 'undefined')
return null;
if (player.isFul... | JavaScript | webtree/themes/main/javascripts/mediaelement-2.7/src/js/mep-feature-contextmenu.js | europeana/broken_dont_bother_exhibitions | gpl-3.0 | 4,424 | 193 | codeparrot/github-code |
b3d62833d1419de41a524db9e46a1e0f4c19a3a15b34a4ca96fe52884f65d508 | /*
ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
2011,2012,2013 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
ChibiOS/RT 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 Softw... | C | os/ports/GCC/ARMCMx/STM32L1xx/vectors.c | kvzhao/Embedded-ROS | gpl-3.0 | 9,889 | 229 | codeparrot/github-code |
4842d389d99f77e03dc8a1ebee8e5106b247d0c348b434ac324625a9ea9a11ea | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Java | presto-main/src/main/java/com/facebook/presto/sql/gen/PageProcessorCompiler.java | deciament/presto | apache-2.0 | 15,098 | 353 | codeparrot/github-code |
d46f3290c5c82814e49aa5d936532257377412e6c90fc275cfd399799644475a | /*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | python/src/com/jetbrains/python/inspections/quickfix/AddIgnoredIdentifierQuickFix.java | jk1/intellij-community | apache-2.0 | 2,763 | 81 | codeparrot/github-code |
6ce6bcafd99befe3c21b46716112693bad408e2f63844f9e84ebebf846acba9b | /*
* 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 ... | Scala | core/src/main/scala/org/apache/spark/internal/io/SparkHadoopWriter.scala | akopich/spark | apache-2.0 | 14,219 | 391 | codeparrot/github-code |
fd179a95915ecea012433b01f1127d1970ce7f4aef794e46dacaf0233b0de13f | package com.baidu.disconf.web.service.user.vo;
public class VisitorVo {
private Long id;
private String name;
private String role;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
... | Java | disconf-web/src/main/java/com/baidu/disconf/web/service/user/vo/VisitorVo.java | markyao/disconf | apache-2.0 | 1,901 | 85 | codeparrot/github-code |
748e8f47362f6afbe6845ed74f33dff5b712a2e36de969f3bb089096717ca85c | import os.path
import sys
import re
import warnings
import cx_Oracle
from django.db import connection, models
from django.db.backends.util import truncate_name
from django.core.management.color import no_style
from django.db.models.fields import NOT_PROVIDED
from django.db.utils import DatabaseError
# I... | Python | web_project/base/site-packages/south/db/oracle.py | edisonlz/fruit | apache-2.0 | 12,431 | 300 | codeparrot/github-code |
0cfc591b8be59852cbe1f0b314bffd8f2b0edda97fd1c88d2a24d1f6d035899b | package org.opencv.samples.puzzle15;
import org.opencv.core.Core;
import org.opencv.core.CvType;
import org.opencv.core.Mat;
import org.opencv.core.Scalar;
import org.opencv.core.Size;
import org.opencv.core.Point;
import org.opencv.imgproc.Imgproc;
import android.util.Log;
/**
* This class is a controller for puz... | Java | samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java | apavlenko/opencv | bsd-3-clause | 6,624 | 196 | codeparrot/github-code |
c369721eb8bbdb227e48c2b66b5c618874785eff314919a6d51f86b045a69866 | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | C | video_engine/vie_performance_monitor.h | Linphone-sync/webrtc | bsd-3-clause | 1,557 | 55 | codeparrot/github-code |
fff312e30cb879538c74bfdd32bf5b94cca6ebd0f17e032562f485fe7cb35778 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "apps/app_lifetime_monitor_factory.h"
#include "apps/app_lifetime_monitor.h"
#include "apps/app_window_registry.h"
#include "chrome/browser/prof... | C++ | apps/app_lifetime_monitor_factory.cc | 7kbird/chrome | bsd-3-clause | 1,638 | 50 | codeparrot/github-code |
875680060e01882bd10b708a0a7239951adafe8b0a8a94f4dae1815ce687d65d | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/status_icons/status_tray_linux.h"
#include "build/build_config.h"
#if !defined(OS_CHROMEOS)
#include "chrome/brows... | C++ | chrome/browser/ui/views/status_icons/status_tray_linux.cc | XiaosongWei/chromium-crosswalk | bsd-3-clause | 1,089 | 39 | codeparrot/github-code |
3de08ee06e2441cf3dea383f43ddaa40b917638cfd2269688d0198854b8dbc8e | /**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v9.0.3
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c <... | JavaScript | ajax/libs/ag-grid/9.0.4/lib/xmlFactory.js | extend1994/cdnjs | mit | 2,992 | 69 | codeparrot/github-code |
a364f6eaed2489680a0527418f789f45d4ee550cc842948887bc834b7ae8ad19 | /**
* High performant way to check whether an element with a specific class name is in the given document
* Optimized for being heavily executed
* Unleashes the power of live node lists
*
* @param {Object} doc The document object of the context where to check
* @param {String} tagName Upper cased tag name
* @exa... | JavaScript | src/dom/has_element_with_class_name.js | StepicOrg/wysihtml5 | mit | 1,231 | 35 | codeparrot/github-code |
e2f34670facc0b1f5adcd588ebe1b54f61bbaa91d45d8afafc405453b77c74a7 | // $Id: UTF32_Encoding_Converter.cpp 80826 2008-03-04 14:51:23Z wotte $
// ======================================================================
//
// The actual conversion methods are covered by the copyright information
// below. It is not the actual code provided by Unicode, Inc. but is an
// ACE-ified and ... | C++ | dep/acelite/ace/UTF32_Encoding_Converter.cpp | drakeos/Dracore | gpl-2.0 | 7,464 | 255 | codeparrot/github-code |
8ab0453de41bf6c780872ea57dbb3081ca2d75d5e751d889b73bdb3df926d0a9 | #pragma once
/*
* Copyright (C) 2010 Team XBMC
* http://www.xbmc.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, or (at your option)
* any later vers... | C | xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecVideoToolBox.h | opdenkamp/xbmc | gpl-2.0 | 3,041 | 90 | codeparrot/github-code |
597b846cc0474676d7e86d587c72ef1d299c1b977ae9e15af414a4df2473491a | /*
* Copyright (C) 2005-2009 Junjiro R. Okajima
*
* This program, aufs 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... | C | ubuntu/aufs/inode.c | ArthySundaram/firstrepo | gpl-2.0 | 9,534 | 415 | codeparrot/github-code |
61e931933de2418d23159c14e09a9ab8aca584917216ce05c02e98badf26d47a | <?php
/*
Plugin Name: MediaFire API
Description: Check links to files hosted on MediaFire.
Version: 1.0
Author: Janis Elsts
ModuleID: mediafire-checker
ModuleCategory: checker
ModuleContext: on-demand
ModuleLazyInit: true
ModuleClassName: blcMediaFireChecker
ModulePriority: 100
ModuleCheckerUrlPattern: @^http://(?:w... | PHP | wp-content/plugins/broken-link-checker/modules/extras/mediafire.php | SayenkoDesign/playground | gpl-2.0 | 5,392 | 167 | codeparrot/github-code |
14bb758af2424b2ae6301abbdcdc27019ed5928c95627da309a4bac9afcff6a4 | // SPDX-License-Identifier: GPL-2.0
/*
* USB4 specific functionality
*
* Copyright (C) 2019, Intel Corporation
* Authors: Mika Westerberg <mika.westerberg@linux.intel.com>
* Rajmohan Mani <rajmohan.mani@intel.com>
*/
#include <linux/delay.h>
#include <linux/ktime.h>
#include "tb.h"
#define USB4_DATA_DWORDS... | C | drivers/thunderbolt/usb4.c | c0d3z3r0/linux-rockchip | gpl-2.0 | 17,878 | 765 | codeparrot/github-code |
254aa52a64230dfd75c9697fe0c775faf53425f353c633999f3ba64e1c7841ed | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 1996, 99, 2003 by Ralf Baechle
*/
#ifndef _ASM_BYTEORDER_H
#define _ASM_BYTEORDER_H
#include <linux/compiler.h>
#include <... | C | go12/linux-2.6.28.10/arch/mips/include/asm/byteorder.h | kzlin129/tt-gpl | gpl-2.0 | 1,265 | 68 | codeparrot/github-code |
1d3921939f9e040f9ddd69580ed28abf30778bf31d535d9abfa6637b401aada6 | /*
Simple DirectMedia Layer
Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | C | vs2015/sdl2/src/audio/psp/SDL_pspaudio.c | joncampbell123/dosbox-rewrite | gpl-2.0 | 5,604 | 182 | codeparrot/github-code |
1b4adf0f137286d85dfa00b2f99c4c5bd3ac1fdc8a3828002c2e785474f4e56a | /* -*- c++ -*- */
/*
* Copyright 2002,2012 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio 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, or (at your o... | C | gr-filter/include/gnuradio/filter/iir_filter.h | analogdevicesinc/gnuradio | gpl-3.0 | 7,511 | 254 | codeparrot/github-code |
d7064a37ed53687df3ff0e121b1d45affc2dbb5b391b1105fbaed62667a92870 | #ifndef __LWP_MUTEX_H__
#define __LWP_MUTEX_H__
#include <gctypes.h>
#include <lwp_threadq.h>
#define LWP_MUTEX_LOCKED 0
#define LWP_MUTEX_UNLOCKED 1
#define LWP_MUTEX_NEST_ACQUIRE 0
#define LWP_MUTEX_NEST_ERROR 1
#define LWP_MUTEX_NEST_BLOCK 2
#define LWP_MUTEX_FIFO 0
#define LWP_MUTEX_PRIORITY ... | C | wii/libogc/include/ogc/lwp_mutex.h | Monroe88/RetroArch | gpl-3.0 | 1,935 | 77 | codeparrot/github-code |
7f6e93ea61c664ed219c3b3624f4794d017d10605b42b2248ae14db68b54969c | #!/usr/bin/env python
import vtk
from vtk.test import Testing
from vtk.util.misc import vtkGetDataRoot
VTK_DATA_ROOT = vtkGetDataRoot()
ren1 = vtk.vtkRenderer()
renWin = vtk.vtkRenderWindow()
renWin.AddRenderer(ren1)
iren = vtk.vtkRenderWindowInteractor()
iren.SetRenderWindow(renWin)
# create a scene with one of each ... | Python | ThirdParty-0.1/ParaView-5.0.1/VTK/Rendering/Core/Testing/Python/pickCells.py | HopeFOAM/HopeFOAM | gpl-3.0 | 16,540 | 470 | codeparrot/github-code |
2848f48107fd22ebd15ea61d815a0fdb841f3d2ce46748718b605984aa152ab6 | #include <kccachedb.h>
using namespace std;
using namespace kyotocabinet;
// main routine
int main(int argc, char** argv) {
// create the database object
GrassDB db;
// open the database
if (!db.open("*", GrassDB::OWRITER | GrassDB::OCREATE)) {
cerr << "open error: " << db.error().name() << endl;
}
... | C++ | kyotocabinet/example/kcgrassex.cc | sapo/kyoto | gpl-3.0 | 983 | 48 | codeparrot/github-code |
c2fededdb6b5cbd1183ade436286b2d80b8c1063e33cf23b919fcd550b9de0d8 | /****************************************************************
Siano Mobile Silicon, Inc.
MDTV receiver kernel modules.
Copyright (C) 2006-2008, Uri Shkolnik
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 F... | C | kernel/drivers/media/dvb/siano/smscharioctl.h | danialbehzadi/Nokia-RM-1013-2.0.0.11 | gpl-3.0 | 2,317 | 75 | codeparrot/github-code |
22e306987a657a35f4353f697cc48b587228ed546b0a0e912cd37aceb4c36dbc | <?php
// This file is part of BOINC.
// http://boinc.berkeley.edu
// Copyright (C) 2011 University of California
//
// BOINC is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation,
// either version 3 of the ... | PHP | html/user/submit_status.php | hanxue/Boinc | gpl-3.0 | 2,189 | 71 | codeparrot/github-code |
dff77666d939c12c7fc4927bdeb633855c05ba5de71584b3841b91ae0a2520a3 | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# This module copyright (C) 2015 Therp BV (<http://therp.nl>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of ... | Python | account_financial_report_horizontal/report/report_financial.py | Ehtaga/account-financial-reporting | agpl-3.0 | 2,192 | 55 | codeparrot/github-code |
0a2d428527e6338658543dcd3c24df19e6b53ba74ca0800000f7ef88dec148f0 | //===- LiveDebugVariables.cpp - Tracking debug info variables -------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C++ | lib/CodeGen/LiveDebugVariables.cpp | cd80/UtilizedLLVM | unlicense | 36,643 | 1,048 | codeparrot/github-code |
819726e854a480911d35020a3dd7fc942b7ab746eb3c61000be6c24cf4cceb92 | /*
* 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 ... | Java | tooling/maven/slingstart-maven-plugin/src/main/java/org/apache/sling/maven/slingstart/run/StopMojo.java | dulvac/sling | apache-2.0 | 3,583 | 90 | codeparrot/github-code |
1edbf0e712cb90a9f910458857265d63e318282ac4855852fcc2b0ddffbe87b5 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.core.ml.action;
import org.elastic... | Java | x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateProcessAction.java | GlenRSmith/elasticsearch | apache-2.0 | 6,629 | 191 | codeparrot/github-code |
0bc6ac31b70b56b40e5330c9b38d88899e347f007848855c6d23b624dc6bc0fd | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnalysis.CSharp.Syntax;
u... | C# | src/Workspaces/CSharp/Portable/Formatting/Rules/SpacingFormattingRule.cs | KevinRansom/roslyn | apache-2.0 | 19,658 | 373 | codeparrot/github-code |
8ab97fed18cce9614feae1ad2c4f4fdc8fa2f74602cce750417039533f4efdc7 | /**
* Copyright (C) 2011, 2012 camunda services GmbH
*
* 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 applicab... | Java | qa/integration-tests-engine/src/test/java/org/camunda/bpm/integrationtest/deployment/war/TestWarDeployment.java | subhrajyotim/camunda-bpm-platform | apache-2.0 | 1,697 | 49 | codeparrot/github-code |
66dca4333b4ece7e0514b3c77596044921abc14db1ed42b9c83bd108146bc67c | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Xunit;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;... | C# | src/Compilers/CSharp/Test/Syntax/Parsing/RefStructs.cs | OmarTawfik/roslyn | apache-2.0 | 10,277 | 290 | codeparrot/github-code |
59278f58974dea8a438ae0abbe5525f389af4905b4ca80e41cebbcf7a94c557c | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | Java | server/src/main/java/org/elasticsearch/threadpool/ThreadPoolStats.java | GlenRSmith/elasticsearch | apache-2.0 | 5,488 | 178 | codeparrot/github-code |
672c041d5041fb692b8acaf57be41c84a08a0189e197eae0fd9b59e3fce7023f | /*
* Copyright 2003,2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Java | src/proxy/net/sf/cglib/proxy/CallbackGenerator.java | vongosling/cglib-ext | apache-2.0 | 1,311 | 37 | codeparrot/github-code |
2d03e5fc6531b3d141394d851504fae0cb98b5a86304d419852dd3578a937969 | //===-- NVPTXTargetMachine.h - Define TargetMachine for NVPTX ---*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C | softboundcets-llvm-clang34/lib/Target/NVPTX/NVPTXTargetMachine.h | santoshn/softboundcets-34 | bsd-3-clause | 4,038 | 119 | codeparrot/github-code |
e2279625a5dd9345b878f97e3882f6c3dc8b91eedc39f3af3e293e62ca4df01a | // Inferno utils/5c/sgen.c
// http://code.google.com/p/inferno-os/source/browse/utils/5c/sgen.c
//
// Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved.
// Portions Copyright © 1995-1997 C H Forsyth (forsyth@terzarima.net)
// Portions Copyright © 1997-1999 Vita Nuova Limited
// Portions Copyright © 20... | C | src/cmd/5c/sgen.c | eternalNight/ucore_app_go | bsd-3-clause | 5,052 | 268 | codeparrot/github-code |
5bd163fc3f97447f9a4249908931331b21089202fc1cfa9987767751409f696c | // 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 SANDBOX_WIN_SRC_SANDBOX_TYPES_H_
#define SANDBOX_WIN_SRC_SANDBOX_TYPES_H_
namespace sandbox {
// Operation result codes returned by the sand... | C | third_party/webrtc/src/chromium/src/sandbox/win/src/sandbox_types.h | Teamxrtc/webrtc-streaming-node | mit | 3,552 | 95 | codeparrot/github-code |
34cf52190b0de749dc0af033a4f6144732b496e699630c8204513cf8b067ede1 | /*
* Copyright 2012 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Java | testing/drools-master/drools-workbench-models/drools-workbench-models-datamodel-api/src/main/java/org/drools/workbench/models/datamodel/rule/ExpressionUnboundFact.java | rokn/Count_Words_2015 | mit | 1,906 | 72 | codeparrot/github-code |
0d31c294d2df70be55e2947ea5c587e45246609555da3eb2482276bf6297c530 | // SPDX-License-Identifier: GPL-2.0
/*
* Volume Management Device driver
* Copyright (c) 2015, Intel Corporation.
*/
#include <linux/device.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/msi.h>
#include <linux/pci.h>
#include <linux/srcu.h>... | C | linux-5.4/drivers/pci/controller/vmd.c | BPI-SINOVOIP/BPI-Mainline-kernel | gpl-2.0 | 23,241 | 875 | codeparrot/github-code |
8392b8a5d81037e67be2014ad46b14a77842ff67362a9add9e95b4b20299bfcd | import os, sys; sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", ".."))
import codecs
from pattern.vector import Document, PORTER, LEMMA
# A Document is a "bag-of-words" that splits a string into words and counts them.
# A list of words or dictionary of (word, count)-items can also be given.
# Words ... | Python | third_party/pattern/examples/05-vector/01-document.py | krishna11888/ai | gpl-2.0 | 3,205 | 77 | codeparrot/github-code |
46fe8bd492c29a32e7782337553720e5141a7b0edbd822c854f1434e4aa648c3 | /* sam_header.c -- basic SAM/BAM header API.
Copyright (C) 2009-2013 Genome Research Ltd.
Author: Petr Danecek <pd3@sanger.ac.uk>
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... | C | tools/samtools-1.2/sam_header.c | hanfang/scikit-ribo | gpl-2.0 | 22,559 | 835 | codeparrot/github-code |
377128312cc911c067a43ab19565d6e68f91cc822f28ed1835b73918ae5cbd74 | /* packet-smrse.c
* Routines for SMRSE Short Message Relay Service packet dissection
* Ronnie Sahlberg 2004
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* modify it under the t... | C | asn1/smrse/packet-smrse-template.c | frenos/wireshark | gpl-2.0 | 5,066 | 184 | codeparrot/github-code |
94f7ef1903fb27451e27b82b8535989356b1bba64d6bb2d7d5f746cdd01db95a | <?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 ... | PHP | lang/en/role.php | nagyistoce/moodle | gpl-3.0 | 26,335 | 425 | codeparrot/github-code |
53e6970e523c9f61c36b171a6b65e62541fbe328d45a3c754eb8221c0ab9e7a8 | """
CMSIS-DAP Interface Firmware
Copyright (c) 2009-2013 ARM Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable la... | Python | tools/get_binary.py | flyhung/CMSIS-DAP | apache-2.0 | 1,166 | 36 | codeparrot/github-code |
d18f6eabb7b5790434ef80a044529f8c0314e0e2642ea300f64bdf615803ebc1 | /*
* Copyright 2014 Soichiro Kashima
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | Java | deprecated/UltimateAndroidGradle/demoofui/src/main/java/com/marshalchen/common/demoofui/observablescrollview/ToolbarControlWebViewActivity.java | cymcsg/UltimateAndroid | apache-2.0 | 5,205 | 125 | codeparrot/github-code |
0a69562e28e32cc40f7fca9133f89fb431080d5b5dab5856d9f08a0a07c73deb | <?php
/**
* HTML cache invalidation of all pages linking to a given title.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any late... | PHP | wiki/includes/cache/HTMLCacheUpdate.php | BRL-CAD/web | bsd-2-clause | 2,065 | 74 | codeparrot/github-code |
95dbf8ac5775122fdf8365f6f3c419ad6f4948763ac0ad9dd45181a1912ae1a1 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_EXTERNAL_UPDATE_VALIDATOR_H_
#define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_EXTERNAL_UPDATE_VALIDATOR_H_
#... | C | chrome/browser/chromeos/app_mode/kiosk_external_update_validator.h | guorendong/iridium-browser-ubuntu | bsd-3-clause | 2,596 | 77 | codeparrot/github-code |
18fa8d032cf193251811bd040628e5c9113871ac0ee25ed1f24a59944f1a4ea0 | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | C++ | src/USER-OMP/pppm_omp.cpp | ganzenmg/lammps_current | gpl-2.0 | 22,330 | 726 | codeparrot/github-code |
171911d22fb4b72ffb8e274bf09db8e29bda43265275bd22b173390a3fbf2de8 | /* eepro.c: Intel EtherExpress Pro/10 device driver for Linux. */
/*
Written 1994, 1995,1996 by Bao C. Ha.
Copyright (C) 1994, 1995,1996 by Bao C. Ha.
This software may be used and distributed
according to the terms of the GNU General Public License,
incorporated herein by reference.
The author may be reached ... | C | linux-2.6.31/drivers/net/eepro.c | stevelord/PR30 | gpl-2.0 | 52,171 | 1,823 | codeparrot/github-code |
5379cb64148581a384a0415df8f3687eb04bf7840b280ef84fab171491b0840d | (function (_, $, Backbone, Drupal, drupalSettings) {
"use strict";
/**
* State of an in-place editable entity in the DOM.
*/
Drupal.edit.EntityModel = Drupal.edit.BaseModel.extend({
defaults: {
// The DOM element that represents this entity. It may seem bizarre to
// have a DOM element in a Backbone Mode... | JavaScript | sites/all/modules/edit/js/models/EntityModel.js | christopherhuntley/daphnedixon | gpl-2.0 | 24,459 | 613 | codeparrot/github-code |
df2d2b1fd3299510fa652d378e390fd46ef5274417ab6f7ecc472024b214bba7 | /*
* Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | Java | src/java.desktop/share/classes/com/sun/media/sound/ModelDestination.java | FauxFaux/jdk9-jdk | gpl-2.0 | 5,633 | 119 | codeparrot/github-code |
642a322b8553504dd17b87ca3c9a745624e2bba3dc987e8f970877aaa8bb2151 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
--------... | C++ | src/mesh/extrudeModel/linearDirection/linearDirection.H | OpenFOAM/OpenFOAM-2.3.x | gpl-3.0 | 2,664 | 98 | codeparrot/github-code |
3e39c92f5682ee2fbf9958a7fd0e652186bba19276e33c6962dd194bce728270 | /*
YUI 3.5.1 (build 22)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('event-valuechange', function(Y) {
/**
Adds a synthetic `valueChange` event that fires when the `value` property of an
`<input>` or `<textarea>` node changes as a result of ... | JavaScript | src/webapp/js/yui/event-valuechange/event-valuechange.js | sergiomt/zesped | agpl-3.0 | 13,297 | 468 | codeparrot/github-code |
a0b84252811748481afe6cc4c09680d3931a8b2205bd5d3db5d3d3c5db0044f4 | $(document).delegate('.storage_graph_link', 'click', function(e){
var anchor = this,
el = $(anchor),
id = el.attr('data-status');
if(e.ctrlKey || e.metaKey){
return true;
}else{
e.preventDefault();
}
var cell = document.getElementById(id);
var text = el.html();
if (text == '[:: show ::]') {
ancho... | JavaScript | cat-home/src/main/webapp/js/storage.js | jialinsun/cat | apache-2.0 | 1,379 | 51 | codeparrot/github-code |
2d251dd2eccc48ea8d2e0b3ce8e70bc20baf32f02595b8b93d04d515d2f42258 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... | Java | modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/SOAPEnvelopeBlockImpl.java | arunasujith/wso2-axis2 | apache-2.0 | 5,741 | 171 | codeparrot/github-code |
f88cb903def25326474546e1209681ca099a0612063643ed91a2c732d48f8023 | /*
* 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 ... | Java | src/java/org/apache/cassandra/schema/KeyspaceParams.java | yhnishi/cassandra | apache-2.0 | 3,724 | 121 | codeparrot/github-code |
50ddd79eab103a26b3266a2ace8eae652992a672e48f70aa6c0f5c737b07e9c4 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using Microso... | C# | src/Workspaces/CSharp/Portable/Simplification/Reducers/CSharpExtensionMethodReducer.cs | shyamnamboodiripad/roslyn | apache-2.0 | 6,509 | 133 | codeparrot/github-code |
d19a634b330680c0fe7704672a9cb17fc78210ad91d3a4d2ccaa112cd0efaaf8 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... | Java | frame/kafka-0.11.0/kafka-0.11.0.1-src/connect/runtime/src/main/java/org/apache/kafka/connect/storage/MemoryOffsetBackingStore.java | wangcy6/storm_app | apache-2.0 | 4,169 | 118 | codeparrot/github-code |
4b1124a188caa56a13fe7dfa41860e7b37e9f540d47a9693fd00f4caf0df66e1 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
#if NETCOREAPP
using System;
using System.IO;
using System.Text;
using System.Threading;
using ... | C# | src/Test/Utilities/Portable/Platform/CoreClr/SharedConsoleOutWriter.cs | brettfo/roslyn | apache-2.0 | 2,632 | 84 | codeparrot/github-code |
2519e1118bbfb9a08e6a9da31aa52fee433212f98448ecaab44f3735b33743d8 | /*
* 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 ... | Scala | deploy/worker/DriverRunner.scala | sh-cho/cshSpark | apache-2.0 | 8,881 | 256 | codeparrot/github-code |
e4db8a7358bf3979eaaad64372ddd233b79b700f1478f74e38c7d6a5ad419d2a | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.WebMatrix.Extensibility;
using NuGet;
using NuGet.WebMatrix.Data;
namespace NuGet.WebM... | C# | WebMatrixExtension/NuGetExtension/Core/FilterManager.cs | mrward/NuGet.V2 | apache-2.0 | 13,108 | 329 | codeparrot/github-code |
d28114329ba80df92d4ba44ebe6cf305c38c58e15dc52d37625f33ed5839699a | /**
* Copyright 2017 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | TypeScript | types/material__dialog/foundation.d.ts | laurentiustamate94/DefinitelyTyped | mit | 1,164 | 40 | codeparrot/github-code |
5b956539e2756b6003933c776f4b56a3d43e2763afb136f167747df92a9b2912 | --
-- Copyright (c) 2011 Citrix Systems, Inc.
--
-- 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 progra... | Haskell | xenmgr/Setup.hs | jean-edouard/manager | gpl-2.0 | 8,034 | 184 | codeparrot/github-code |
58769e0cfad41d1eb1a0ea28e1bc67f8be308a8dc5f26d85d885c2b782cb43a5 | /*
* chap.c - Challenge Handshake Authentication Protocol.
*
* Copyright (c) 1993 The Australian National University.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that the above copyright notice and this paragraph are
* duplicated in all such forms and th... | C | cpukit/pppd/chap.c | lizhuobin1981/rtems_test | gpl-2.0 | 21,275 | 859 | codeparrot/github-code |
b5deb4d719aa783bb3674c762049e9a54876a414bbce89c0f2a2d09248f94f1e | /* Area: ffi_closure, unwind info
Purpose: Check if the unwind information is passed correctly.
Limitations: none.
PR: none.
Originator: Jeff Sturm <jsturm@one-point.com> */
/* { dg-do run } */
#include "ffitestcxx.h"
#if defined HAVE_STDINT_H
#include <stdint.h>
#endif
#if defined HAVE_INTTYPES_H
#in... | C++ | work/install/Python-2.7.4/Modules/_ctypes/libffi/testsuite/libffi.special/unwindtest.cc | teeple/pns_server | gpl-2.0 | 3,804 | 126 | codeparrot/github-code |
a91f3a6856b46e1dcca80ccb7ab259337464021189273786e851b520fb0f2b5c | /*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* ROUTE - implementation of the IP router.
*
* Authors: Ross Biro
* Fred N. van Kempen, <waltje@uWalt.NL.Mug... | C | net/ipv4/route.c | Andiry/prd | gpl-2.0 | 68,241 | 2,776 | codeparrot/github-code |
87d1a0a6d5bcc838db951f0c8f7fc74f3e5019e2154de7ec39ae4811ccfc5d32 | //
// openhabMasterViewController.h
// openHAB iOS User Interface
// Copyright © 2011 Pablo Romeu
//
// 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 3 of the License, or
... | C | openhab/openhabMasterViewController.h | hektiker1983/openhab.ios | gpl-3.0 | 1,439 | 44 | codeparrot/github-code |
97694ef02af016fac1e042d8173b2b507c75b0bf39ff7874af3cdc856230cacd | #include <iostream>
#include <seqan/stream.h>
using namespace seqan;
int main(int argc, char const ** argv)
{
if (argc != 2)
{
std::cerr << "USAGE: tutorial_solution1 VALUE\n";
return 1;
}
// Lexical casting with the 1-argument lexicalCast().
{
int i = 0;
unsi... | C++ | include/seqan/demos/tutorial/custom_io/solution4.cpp | rrahn/jst_bench | gpl-3.0 | 2,177 | 74 | codeparrot/github-code |
7fe5b4472496f3fe3a92e6e10d4888452501937b2bf8bddcc4c1455a3a4f85a3 | // Copyright 2014 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package upgrader
import (
"github.com/juju/juju/agent/tools"
"github.com/juju/juju/version"
)
// UpgradeReadyError is returned by an Upgrader to report that
// an upgrade is ready to be performed and a restart is due.
type... | GO | worker/upgrader/error.go | tsakas/juju | agpl-3.0 | 967 | 35 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.