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
2926477d35cb12baba10db147dd6b0faf1c702823214023b0d96f0e7a77d5fa7
<?php abstract class PhabricatorSelectSetting extends PhabricatorSetting { abstract protected function getSelectOptions(); final protected function newCustomEditField($object) { $setting_key = $this->getSettingKey(); $default_value = $object->getDefaultValue($setting_key); $options = $this->getSel...
PHP
src/applications/settings/setting/PhabricatorSelectSetting.php
freebsd/phabricator
apache-2.0
1,881
77
codeparrot/github-code
ef3ecffdb486a1a1ad35b369fab94d3d51d680f9c9ad4c434212ac9bdd195514
name "mysql" maintainer "Opscode, Inc." maintainer_email "cookbooks@opscode.com" license "Apache 2.0" description "Installs and configures mysql for client or server" long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version "3.0.0" recipe "mysql",...
Ruby
cookbooks/mysql/metadata.rb
hgontijo/chef-repo
apache-2.0
4,824
141
codeparrot/github-code
0bdeb66f38eb5ae86c0eb4de9a8ff3d7e244f0341181435565bbaf60d9683939
/* Copyright 2015 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C
tensorflow/core/platform/tracing.h
eadgarchen/tensorflow
apache-2.0
9,990
289
codeparrot/github-code
36201f80010e6d8bfe6ef0d7e21aed0d0741a6cdbbd17c119dfdca75dbf0ac1e
/* * 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/common/logging/Loggers.java
GlenRSmith/elasticsearch
apache-2.0
6,886
170
codeparrot/github-code
bff3c3f3f3be9ac19e17855aa4983be265df9a77bc53b10aaab80e59d4ec889a
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees ...
C++
src/qt/qtbase/src/gui/painting/qrasterizer.cpp
you21979/phantomjs
bsd-3-clause
44,958
1,322
codeparrot/github-code
136a9724476525c5f3baee3ab564333ffa5036e68ee22ac5f6f4306f44db6673
/* * Copyright 2004 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 contributing ...
C
third_party/webrtc/base/json.h
CTSRD-SOAAP/chromium-42.0.2311.135
bsd-3-clause
3,832
90
codeparrot/github-code
584e74ce75f4220f9275399f3cf209e57f7360608b19e8762af7eca294296f4e
[CmdletBinding(DefaultParameterSetName = 'None')] param ( [String] [Parameter(Mandatory = $true)] $connectedServiceName, [String] [Parameter(Mandatory = $true)] [ValidateNotNullOrEmpty()] $TestSettings, [String] [Parameter(Mandatory = $true)] [ValidateNotNullOrEmpty()] $TestDrop, [String] [...
PowerShell
Tasks/RunLoadTest/Start-CloudLoadTest.ps1
danielcweber/vso-agent-tasks
mit
13,110
406
codeparrot/github-code
1798783e6f472f7df56db1c7787e6a72d65d2655541ec5eabcd3d1d7f322d62e
// // Copyright (c) 2018-2019, Cem Bassoy, cem.bassoy@gmail.com // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // The authors gratefully acknowledge the support of // Fraunhofer IOSB, Ettlingen, Germ...
C++
third_party/boost_tp/boost/numeric/ublas/tensor/expression_evaluation.hpp
satya-das/common
mit
8,957
289
codeparrot/github-code
e62b2bbfb15869ce3bec1f74f8ca0d6bbdadb49aae0e1c4b56d1ace01eccf455
/* Copyright (c) 2008-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/char/diag/diagchar_core.c
DennisBold/android_kernel_htc_pyramid
gpl-2.0
59,713
2,100
codeparrot/github-code
206f8a850517f6fe726595f376fd0f48806e349c57adfdbb18b0b93cbec3cf8c
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C++
engines/illusions/cursor.cpp
alexbevi/scummvm
gpl-2.0
2,636
98
codeparrot/github-code
0452a801784f0b0595e02485fe834ccc3c5b3652e34f51bc4b7f60dbf47802cc
#define WIN32_LEAN_AND_MEAN #include "../git-compat-util.h" #include "win32.h" #include "../cache.h" /* to read configuration */ static inline void filetime_to_timespec(const FILETIME *ft, struct timespec *ts) { long long winTime = ((long long)ft->dwHighDateTime << 32) + ft->dwLowDateTime; winTime -= 116444736000...
C
compat/cygwin.c
asoltys/git
gpl-2.0
4,877
144
codeparrot/github-code
60fa0d9e148c29d3132d968af7e16a07e1d1a463e87f887a416a79207c6ef8be
/* SPDX-License-Identifier: GPL-2.0+ */ // Copyright (c) 2016-2017 Hisilicon Limited. #ifndef __HNAE3_H #define __HNAE3_H /* Names used in this framework: * ae handle (handle): * a set of queues provided by AE * ring buffer queue (rbq): * the channel between upper layer and the AE, can do ...
C
drivers/net/ethernet/hisilicon/hns3/hnae3.h
c0d3z3r0/linux-rockchip
gpl-2.0
22,611
696
codeparrot/github-code
b2e6baa18d7e9946a88ce35da88b10d30a224d8381bba9c58cfca285e52890c1
/* Test program for rpmatch function. Copyright (C) 1998-2015 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jochen Hein <jochen.hein@delphi.central.de>. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser ...
C
localedata/tst-rpmatch.c
tripleee/glibc-en-150
gpl-2.0
1,253
37
codeparrot/github-code
3b9f771c211556aa567c8796cf78b640a71fe22e33238c34c688272a8991c551
/* Set up combined include path chain for the preprocessor. Copyright (C) 1986-2014 Free Software Foundation, Inc. Broken out of cppinit.c and cppfiles.c and rewritten Mar 2003. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as pub...
C
gcc/incpath.c
albertghtoun/gcc-libitm
gpl-2.0
15,062
518
codeparrot/github-code
5bec686e6c4e0adbe5d7b4948423ff6897fd82180ad186f521b633f6f88143a9
/*********************************************************************** * * Copyright 2001 MontaVista Software Inc. * Author: jsun@mvista.com or jsun@junsun.net * * arch/mips/ddb5xxx/common/prom.c * prom.c file. * * This program is free software; you can redistribute it and/or modify it * under the term...
C
linux-2.4.x/arch/mips/ddb5xxx/common/prom.c
sensysnetworks/uClinux
gpl-2.0
4,561
146
codeparrot/github-code
93b56d0c0f6bf554022ed2252fda70633b8c2b44d50c9d09c2f735e9d022b159
/* * Copyright (C) 2005 SAN People * Copyright (C) 2008 Atmel * * 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....
C
arch/arm/mach-at91/board-sam9g20ek.c
librae8226/linux-2.6.30.4
gpl-2.0
5,803
257
codeparrot/github-code
bc9b40893e44daa103a144c2a777d9c1948e4535177b373339a8c2b95591eabc
/* Copyright (C) 2002 FPMD group This file is distributed under the terms of the GNU General Public License. See the file `License' in the root directory of the present distribution, or http://www.gnu.org/copyleft/gpl.txt . */ #include <stdio.h> #include <stdlib.h> #include "c_defs.h" #define MAX_INDEX 327...
C
clib/indici.c
maxhutch/quantum-espresso
gpl-2.0
3,753
183
codeparrot/github-code
3440928353fcc8c135bdcbac514d03ff3561096dff87f63d0794edb518b2e15c
/* --------------------------------------------------------------------------- Open Asset Import Library (assimp) --------------------------------------------------------------------------- Copyright (c) 2006-2015, assimp team All rights reserved. Redistribution and use of this software in source and binary forms, w...
C++
test/src/assimp/code/OptimizeMeshes.cpp
0x2A/physicam
gpl-3.0
9,496
260
codeparrot/github-code
f9f2018cdb44999a79f02019cc258afd469d0ab3427c477e51bbbe15372c2a38
//===- llvm/Bitcode/BitcodeConvenience.h - Convenience Wrappers -*- C++ -*-===// // // 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
3rd/templight/llvm/include/llvm/Bitcode/BitcodeConvenience.h
sabel83/metashell
gpl-3.0
18,028
487
codeparrot/github-code
cab90e27f3eb0cc4c9fbc697e8d831a920474337d3f35441c45ede7351628b0b
//go:build darwin // +build darwin // Package kernel provides helper function to get, parse and compare kernel // versions for different platforms. package kernel // import "github.com/docker/docker/pkg/parsers/kernel" import ( "fmt" "os/exec" "strings" ) // GetKernelVersion gets the current kernel version. func ...
GO
pkg/parsers/kernel/kernel_darwin.go
jthelin/docker
apache-2.0
1,458
60
codeparrot/github-code
51ff45cacb8f05dda5e48617cc93e49ef28e0ed17b03c8f5f5c8c3eec9d04d32
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. Imports System Imports System.Collections.Generic Imports System.Collections.Immutable Imports System.Reflection Imports System.Runtime.InteropServices Import...
Visual Basic
src/Compilers/VisualBasic/Portable/Symbols/Attributes/AttributeData.vb
VPashkov/roslyn
apache-2.0
33,292
603
codeparrot/github-code
224fe8a8c30bfa11a9722ea22493b932c9b2a4fdb37da0b0925160a063804ad0
CLANG_LEVEL := ../.. DIRS := AST Basic Driver Lex Parse Sema Serialization include $(CLANG_LEVEL)/Makefile install-local:: $(Echo) Installing Clang include files $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_includedir) $(Verb) if test -d "$(PROJ_SRC_DIR)" ; then \ cd $(PROJ_SRC_DIR)/.. && \ for hdr in `find clang -typ...
Makefile
src/llvm/tools/clang/include/clang/Makefile
jeltz/rust-debian-package
apache-2.0
1,488
45
codeparrot/github-code
f42c35081060f7bc79797e72ff31818c9b97626b0778093641815d613703e758
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C
tensorflow/compiler/aot/compile.h
freedomtan/tensorflow
apache-2.0
2,099
55
codeparrot/github-code
62fa5849008e9015f27b7c73a99cf366148869a34dc049819368e405d20ef4b7
// 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 io provides basic interfaces to I/O primitives. // Its primary job is to wrap existing implementations of such primitives, // such as those in packag...
GO
src/pkg/io/io.go
xiocode/go
bsd-3-clause
15,255
489
codeparrot/github-code
0ce83a29829be39a689eccebbbe9543598cb49194cf7f0b3a9d8e772872a84c6
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="App.xaml.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // -----------------------------------------------------------------------------------...
C#
Source/Examples/Silverlight/SilverlightDemo/App.xaml.cs
Kaplas80/oxyplot
mit
2,685
74
codeparrot/github-code
7d705c2794039507d72ca74bd8ccfd99f9b29c7d4e350d69f81ea9dc33e98eea
// 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 Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Syntax; using M...
C#
src/Compilers/CSharp/Portable/Binder/Semantics/Operators/UnaryOperatorAnalysisResult.cs
sharwell/roslyn
mit
1,839
52
codeparrot/github-code
12e12fca1349d276da1cf450ef75b7b8a706745e36aa815ae2282d6d130e7622
/* ======================================================================== * Bootstrap: tooltip.js v3.2.0 * http://getbootstrap.com/javascript/#tooltip * Inspired by the original jQuery.tipsy by Jason Frame * ======================================================================== * Copyright 2011-2014 Twitter, I...
JavaScript
web/assetic/bootstrap_js_tooltip_7.js
natashashannon/SymfonyTest1
mit
15,179
470
codeparrot/github-code
5833a935128fe68cc7f29ddc009ef63330fc17ba88d94b3807677575ba203ce7
/* * Copyright (c) 2006, 2007, 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
testing/openjdk/jdk/test/sun/security/pkcs11/ec/ReadCertificates.java
rokn/Count_Words_2015
mit
5,575
144
codeparrot/github-code
7655b71f9406d8107f8e4ae56c4976195d1d4bd704d598db975f01b813a298ad
"use strict"; exports.__esModule = true; exports.default = void 0; var React = _interopRequireWildcard(require("react")); var _createElement = _interopRequireDefault(require("../createElement")); var _useMergeRefs = _interopRequireDefault(require("../../modules/useMergeRefs")); var _usePlatformMethods = _interopRe...
JavaScript
ajax/libs/react-native-web/0.17.7/cjs/exports/Picker/index.js
cdnjs/cdnjs
mit
4,540
84
codeparrot/github-code
d0fb65fa4dae09e8ffbe965e2670289b310df1aa7f7064b3b4a940c4b6fc80ac
/** * Copyright (c) 2010-2016, openHAB.org and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package org...
Java
bundles/binding/org.openhab.binding.denon/src/main/java/org/openhab/binding/denon/internal/communication/entities/commands/AppCommandResponse.java
paolodenti/openhab
epl-1.0
1,177
43
codeparrot/github-code
94459ef4b9f35d4bf004ed653e8a60da58113fd4dc60936e9afe5c31d5b171ad
# Copyright (c) 2001, Stanford University # All rights reserved. # # See the file LICENSE.txt for information on redistributing this software. import sys import apiutil apiutil.CopyrightDef() print """DESCRIPTION "" EXPORTS """ keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt") for func_name in ap...
Python
src/VBox/GuestHost/OpenGL/state_tracker/state_defs.py
yuyuyu101/VirtualBox-NetBSD
gpl-2.0
1,397
65
codeparrot/github-code
0cf1765fb5aade397201877968db151dc68d71adb457d02f24bfc5e7a943a133
/* * This file is part of Cleanflight and Betaflight. * * Cleanflight and Betaflight are free software. You can redistribute * this software and/or modify this software 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 ...
C
src/main/common/huffman.c
AlienWiiBF/betaflight
gpl-3.0
3,137
108
codeparrot/github-code
35683f40a88a564ec5f8adc2c42bd9f453d648bd6837f9a050d410859114f050
/* * Copyright 2010 Aalto University, ComNet * Released under GPLv3. See LICENSE.txt for details. */ package test; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.Vector; import junit.framework.TestCase; import report.DistanceDelayRepo...
Java
test/DistanceDelayReportTest.java
davidsan/one
gpl-3.0
2,292
84
codeparrot/github-code
5d6fffdc74989d5b42b7853715d46050c51155c55fa07d3f11aec3bd4f669a4b
/* * Copyright (C) 2008 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++
webkit/Source/WebCore/platform/network/mac/NetworkStateNotifierMac.cpp
danialbehzadi/Nokia-RM-1013-2.0.0.11
gpl-3.0
5,378
139
codeparrot/github-code
866f76f934147d22de728e95c70e96ede73b2b1add8015f178c130b78e00d79b
<?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
mod/assign/renderable.php
smurfy92/moodle
gpl-3.0
32,878
838
codeparrot/github-code
9ee616b1db3c2e4403d2b506acf607b37a4394995aec07018137282939959908
/* * Copyright (C) 2006 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
src/android/os/SystemPropertiesTest.java
JuudeDemos/android-sdk-20
apache-2.0
1,639
52
codeparrot/github-code
ab7a82fd3c656a5e514e7b8ffba85188e10add4cf3b94ac3bcc62452703385ab
// 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 Roslyn.Utilities; namespace Microsoft.CodeAnalysis.FindSymbols { internal enum Search...
C#
src/Workspaces/Core/Portable/FindSymbols/SearchKind.cs
physhi/roslyn
apache-2.0
1,071
36
codeparrot/github-code
98ad8a2a4c6aa98d7b18a5e77ecd051bef87e399141b8b0d1a004bc9017e666f
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
plugins/InspectionGadgets/testsrc/com/siyeh/ig/threading/AtomicFieldUpdaterNotStaticFinalInspectionTest.java
asedunov/intellij-community
apache-2.0
1,812
49
codeparrot/github-code
170588fdc0c2ba23120d316e08640733337e05555ed7ba07402dcd8b631c04ea
/* * 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 m...
Java
xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xalan/templates/ElemNumber.java
mirego/j2objc
apache-2.0
69,751
2,158
codeparrot/github-code
9bb685af78f7711dfd6433fe25859b8e599d90bc8777d5c629719f9e73a5db71
/** * 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
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/TaskStatus.java
dennishuo/hadoop
apache-2.0
17,294
528
codeparrot/github-code
f6bc756a5871d7d6daac6068a48dd32bec2d1fad112ed475e6f381cc6982963d
// 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. #ifndef MEDIA_CDM_PPAPI_PPAPI_CDM_BUFFER_H_ #define MEDIA_CDM_PPAPI_PPAPI_CDM_BUFFER_H_ #include <map> #include <utility> #include "base/compiler_specif...
C
third_party/webrtc/include/chromium/src/media/cdm/ppapi/ppapi_cdm_buffer.h
ssaroha/node-webrtc
bsd-2-clause
3,008
98
codeparrot/github-code
3a91d8c7df8b55b82f25317479c996bedb2e03ed24470b99573fb8b0074dbe26
/* YUI 3.17.0 (build ce55cc9) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('selector-css3', function (Y, NAME) { /** * The selector css3 module provides support for css3 selectors. * @module dom * @submodule selector-css3 * @for Selector...
JavaScript
libs/yui/3.17.0/selector-css3/selector-css3.js
xuminready/baiducdnstatic
mit
4,419
160
codeparrot/github-code
c26bc566fedaf7515b4222c50b98d30cb081bd2d5d3077460a4c0436f7a79260
// Anytime you change the schema of one of the collection in a non-backward // compatible way you have to write a migration in this file using the following // API: // // Migrations.add(name, migrationCallback, optionalOrder); // Note that we have extra migrations defined in `sandstorm.js` that are // exclusive to S...
JavaScript
server/migrations.js
jtickle/wekan
mit
4,243
133
codeparrot/github-code
b1c2030959bde4022cf61a4e6fab66d7d02e021ea4d3b1b78b587ccf82d406d8
/* * Copyright (c) 2014 Chukong Technologies 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, ...
JavaScript
script/jsb_boot.js
soomla/cocos2dx-js-store-example
mit
49,800
1,652
codeparrot/github-code
2c0ea79faebe45ac5a16f21c833dcad0bad76e2c84d9be37713cdf2c58212783
import * as favicons from "favicons"; let config: Partial<favicons.Configuration> = { path: "/foo/bar" }; config = { icons: { android: true } }; let html = ""; favicons("path/to/file.png", config, (err, res) => { html = res.html.join(""); for (const { name, contents } of [...res.files, ....
TypeScript
types/favicons/favicons-tests.ts
magny/DefinitelyTyped
mit
784
37
codeparrot/github-code
ec4acff50e2234b745805772776607b7708efc2d3324699130f3f0216d3284e6
/* * R : A Computer Language for Statistical Data Analysis * Copyright (C) 1995, 1996 Robert Gentleman and Ross Ihaka * Copyright (C) 2000-2007 The R Core Team * * 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 *...
C
src/utils/rmath/pt.c
gatoravi/regtools
mit
2,636
84
codeparrot/github-code
f3e0e523549dca578f882db88c8c48e815e53717d97fd0bef86604d1ee323f0f
use std::any::Any; use std::fmt::{self, Display}; use std::str::{FromStr, from_utf8}; use std::ops::{Deref, DerefMut}; use serialize::base64::{ToBase64, FromBase64, Standard, Config, Newline}; use header::{Header, HeaderFormat}; /// `Authorization` header, defined in [RFC7235](https://tools.ietf.org/html/rfc7235#secti...
Rust
src/header/common/authorization.rs
TimNN/hyper
mit
9,060
294
codeparrot/github-code
e12594d200982c3e984b9c392bf8d6b6e066bc7c56e7cdbcd0ae8302830d578d
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/renderer_host/render_widget_host_view_aura.h" #include "base/basictypes.h" #include "base/memory/shared_memory.h" #include ...
C++
external/chromium_org/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
qtekfun/htcDesire820Kernel
gpl-2.0
41,536
1,115
codeparrot/github-code
1631c75792f32d3ac7ec5d825664b06d3f5a6c5ac972e936e9f7665d35583988
// license:BSD-3-Clause // copyright-holders:David Haywood #ifndef MAME_MACHINE_ELAN_EU3A14SYS_H #define MAME_MACHINE_ELAN_EU3A14SYS_H #include "elan_eu3a05commonsys.h" class elan_eu3a14sys_device : public elan_eu3a05commonsys_device, public device_memory_interface { public: elan_eu3a14sys_device(const machine_conf...
C
src/mame/machine/elan_eu3a14sys.h
johnparker007/mame
gpl-2.0
954
38
codeparrot/github-code
7f3bba29c2a142ae730a85cf59c71b124e77dcad8405d0b978dde972a6678d11
$(function() { $(".navbar-expand-toggle").click(function() { $(".app-container").toggleClass("expanded"); return $(".navbar-expand-toggle").toggleClass("fa-rotate-90"); }); return $(".navbar-right-expand-toggle").click(function() { $(".navbar-right").toggleClass("expanded"); return $(".navbar-righ...
JavaScript
webroot/js/app.js
Rabp9/help-desk
gpl-3.0
875
37
codeparrot/github-code
bb22e51aa6c62bcee421301f68443002e159c9ed8b8c4f7af2aaf0a640e5113a
/***************************************************************************//** * @file PinNames.h ******************************************************************************* * @section License * <b>(C) Copyright 2015 Silicon Labs, http://www.silabs.com</b> ****************************************************...
C
libraries/mbed/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PinNames.h
jferreir/mbed
apache-2.0
4,523
127
codeparrot/github-code
33cd341968452630e8a2674b182ea92608539cd2bb4f0eb19433de31a862251d
/* * Copyright (c) 2014. Marshal Chen. */ package com.marshalchen.common.usefulModule.standuptimer.dao; import static android.provider.BaseColumns._ID; import java.util.ArrayList; import java.util.List; import com.marshalchen.common.usefulModule.standuptimer.model.Team; import com.marshalchen.common.usefulModule...
Java
deprecated/UltimateAndroidNormal/UltimateAndroid/src/com/marshalchen/common/usefulModule/standuptimer/dao/TeamDAO.java
cymcsg/UltimateAndroid
apache-2.0
4,747
142
codeparrot/github-code
8b1e8c332203bcfb4673e2df002eb9136fdb20401dd817596fb5e43934357131
# 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. import logging import os import sys import unittest from telemetry.core import browser_options from telemetry.core import discover from telemetry.unittes...
Python
tools/telemetry/telemetry/unittest/run_tests.py
gfreed/android_external_chromium-org
bsd-3-clause
4,642
143
codeparrot/github-code
167cf982e72b6f808ebbb35beb68107e859857c183a15871c6828660df7453b4
package vtk; import java.util.HashMap; import java.util.Map.Entry; import java.util.concurrent.atomic.AtomicInteger; /** * Information object return by the Garbage collector. This allow the user to * monitor what kind of vtkObject and how many have been removed and kept during * the Garbage collection call. * * ...
Java
Wrapping/Java/vtk/vtkReferenceInformation.java
msmolens/VTK
bsd-3-clause
3,930
119
codeparrot/github-code
23aee7f65c89df48481386a077ea26d0b8ae8e5358cf3d53684d869dc956a88e
// 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 "chrome/browser/diagnostics/diagnostics_controller.h" #include <string> #include "base/command_line.h" #include "base/logging.h" #include "base...
C++
chrome/browser/diagnostics/diagnostics_controller.cc
aospx-kitkat/platform_external_chromium_org
bsd-3-clause
1,952
68
codeparrot/github-code
bc4a9eb547ea0f4bdde9eca4563bc1c38ca749a54b73de82209d4834b9fc4f05
// Copyright (c) Microsoft. All rights reserved. #include "pch.h" #include "Scenario3_ResetPin.xaml.h" #include "ChallengeResponseAlgorithm.h" using namespace Smartcard; using namespace SDKTemplate; using namespace concurrency; using namespace Platform; using namespace Windows::Devices::SmartCards; using namespace W...
C++
smartcard/cpp/scenario3_resetpin.xaml.cpp
williamsrz/Windows-universal-samples
mit
2,965
91
codeparrot/github-code
cf70b70178310b72a7e631a94820b9a6d980d8a8253d50bbd0819d598d1c8fb3
/* * linux/arch/arm/mach-integrator/integrator_cp.c * * Copyright (C) 2003 Deep Blue Solutions Ltd * * 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. */...
C
build_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/linux-2.6.28.fa2/arch/arm/mach-integrator/integrator_cp.c
fedya/aircam-openwrt
gpl-2.0
13,282
590
codeparrot/github-code
816b721300bf2f63a9b52172a4dfc156269ad18fe3f2643dcc6fd39acc3aaa1c
//======================================================================== // // This file is under the GPLv2 or later license // // Copyright (C) 2005-2006 Kristian Høgsberg <krh@redhat.com> // Copyright (C) 2005, 2009 Albert Astals Cid <aacid@kde.org> // Copyright (C) 2011 Simon Kellner <kellner@kit.edu> // // To see...
C++
src/poppler/poppler/PageLabelInfo.cc
kenjiuno/ThumbGensPack
gpl-2.0
8,589
390
codeparrot/github-code
82c70bdc8cf4ad831b5623d53a5ae9bfb8d364cf913cc1ebf581b4c49e5c1074
<?php /** * The template for displaying Comments. * * The area of the page that contains both current comments * and the comment form. The actual display of comments is * handled by a callback to _s_comment() which is * located in the functions.php file. * * @package _s * @since _s 1.0 */ ?> <?php /* * If...
PHP
wp-content/themes/underscores/comments.php
konscript/konscriptblog
gpl-2.0
3,043
77
codeparrot/github-code
77efa305c00d75886c33bb89cbb453a63e25e8c24e4acd34524756cd4e726cc4
/* * Copyright (C) 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Java
android/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/ScriptListAdapter.java
thejeshgn/sl4a
apache-2.0
2,464
86
codeparrot/github-code
a4930a9798aa6d21e5bda05362b95c6483bdb2d3fa661a3e9a86fe941fe7293d
{-# LANGUAGE RecordWildCards #-} module Network.HTTP.Download.VerifiedSpec where import Crypto.Hash import Control.Monad (unless) import Control.Monad.Trans.Reader import Control.Retry (limitRetries) import Data.Maybe import Network.HTTP.Client.Conduit import Network.HTTP.Download.Verified import Path import System.Di...
Haskell
src/test/Network/HTTP/Download/VerifiedSpec.hs
akhileshs/stack
bsd-3-clause
6,282
165
codeparrot/github-code
0619be4c284eafad86e83782ff7ca8b44a897bdc00cc6d9e04a3e0fd05ff7955
// 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 CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_CORE_CHROMEOS_OPTIONS_HANDLER_H_ #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_CORE_CHROMEOS_OPTIO...
C
chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.h
IllusionRom-deprecated/android_platform_external_chromium_org
bsd-3-clause
2,343
62
codeparrot/github-code
5cb277228c01c0494c934bbe6ab678d2176e7d324b091376933f9aa332f42a78
// 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 CHROME_BROWSER_SPEECH_TTS_CONTROLLER_H_ #define CHROME_BROWSER_SPEECH_TTS_CONTROLLER_H_ #include <queue> #include <set> #include <string> #in...
C
chrome/browser/speech/tts_controller.h
gfreed/android_external_chromium-org
bsd-3-clause
10,736
347
codeparrot/github-code
a490a3cba58aa6ba71c48b43a7300f30cba67fa42c3ad2098b0280101c3b4964
<!-- @license Copyright (c) 2015 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http:/...
HTML
www/lib/iron-form/iron-form.html
zacharyfmarion/Graviton
bsd-3-clause
8,796
293
codeparrot/github-code
bf3f81209a16552134ee4634ae8085072e91f9038b0eee0c04eb976ca6112604
// 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.Generic; using System.Collections; using System.Linq; using System.Text; using System.IO; using Microsoft.Build.Framework; using...
C#
src/Utilities/TrackedDependencies/DependencyTableCache.cs
zima2219981998/msbuilding
mit
13,301
308
codeparrot/github-code
a8d45b4a9bf9cae35b6ae2034d4c8fd279c3dc30aeee822ccaa0bfcfa5633732
/** * @class Create quick look window (similar to MacOS X Quick Look) * @author dio dio@std42.ru **/ (function($) { elFinder.prototype.quickLook = function(fm, el) { var self = this; this.fm = fm; this._hash = ''; this.title = $('<strong/>'); this.ico = $('<p/>'); this.info = $('<label/>'); this...
JavaScript
src/Vietland/ElfinderBundle/Resources/public/js/elFinder4.quickLook.js
CaoPhiHung/CRM
mit
10,313
372
codeparrot/github-code
f52aa0ed567be5b8d5a9d426ed53a0b65e65c035e711d0a8b9cb7b770b2ca67c
# encoding: utf-8 class FileUploader < CarrierWave::Uploader::Base storage :file def initialize(base_dir, path = '', allowed_extensions = nil) @base_dir = base_dir @path = path @allowed_extensions = allowed_extensions end def base_dir @base_dir end def store_dir File.join(@base_dir, @...
Ruby
app/uploaders/file_uploader.rb
sideci-sample/sideci-sample-gitlabhq
mit
833
42
codeparrot/github-code
912970207e8959d427ab823f6e50fba1113e4f5dd68c781ee845273939a62cdc
/* Unix SMB/CIFS implementation. low level tdb backup and restore utility Copyright (C) Andrew Tridgell 2002 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 ver...
C
tools/darwin/depends/samba/samba-3.6.6/lib/tdb/tools/tdbbackup.c
zarboz/XBMC-PVR-mac
gpl-2.0
7,654
343
codeparrot/github-code
f37988655647385fa28cba3ab9f6197698829f234a591c7c14c103ccbcc27f02
<?php /** * Order Notes * * @author WooThemes * @category Admin * @package WooCommerce/Admin/Meta Boxes * @version 2.1.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } /** * WC_Meta_Box_Order_Notes Class. */ class WC_Meta_Box_Order_Notes { /** * Output the metabo...
PHP
wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-notes.php
Falotico/charm
gpl-2.0
2,715
85
codeparrot/github-code
1f99b98d024b7aa12660bebd5035ca044a49c727b6dc2aca95ca14b6d82aedf8
<?php if ( ! function_exists( 'get_custom_header' ) ) { // compatibility with versions of WordPress prior to 3.4. add_custom_background(); } else { add_theme_support( 'custom-background', apply_filters( 'et_custom_background_args', array() ) ); } if (function_exists('add_post_type_support')) add_post_type_s...
PHP
wp-content/themes/Vertex/epanel/custom_functions.php
aaronpods/Portmanteau-Website
gpl-2.0
62,743
1,776
codeparrot/github-code
4183c1fb162ce6eba3fbeabccb6ea1ad503c086d466d02fe81ae039771d0330d
/* * bf5xx-ac97.c -- AC97 support for the ADI blackfin chip. * * Author: Roy Huang * Created: 11th. June 2007 * Copyright: Analog Device Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Soft...
C
sound/soc/blackfin/bf5xx-ac97.c
ZhizhouTian/s3c-linux
gpl-2.0
10,820
407
codeparrot/github-code
1601994953cf4cf7176fed72c40202fc05b6cfe5699e2e9663888f0247eab4ad
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
Python
third_party/tensorflow/tensorflow/contrib/learn/python/learn/dataframe/transforms/example_parser.py
npuichigo/ttsflow
apache-2.0
2,407
69
codeparrot/github-code
85b07ef06a34b5ff790afd9485f9d33a847c4449054844ca122e63c094f6a2e6
/*! \file gd32f30x_crc.c \brief CRC driver \version 2018-10-10, V1.1.0, firmware for GD32F30x (The version is for mbed) */ /* Copyright (c) 2018, GigaDevice Semiconductor Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted...
C
targets/TARGET_GigaDevice/TARGET_GD32F30X/GD32F30x_standard_peripheral/Source/gd32f30x_crc.c
mbedmicro/mbed
apache-2.0
3,644
127
codeparrot/github-code
05a10bd103f40a1418d78b6f136e36333612e4b5d0fddbb67e5073b8dde7c94e
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.CodeAnalysis.Test.Utilities { public static class Traits { public const string Feature = nameof(Feature); public ...
C#
src/Test/Utilities/Portable/Traits/Traits.cs
mmitche/roslyn
apache-2.0
1,843
36
codeparrot/github-code
aa4ebd7c312d3dd72cac0cb461e2a6a26c65588ef078bb3e9502393e6007eb46
using System; using System.ComponentModel.Design; using System.Diagnostics; using System.Globalization; using System.Runtime.InteropServices; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; namespace Roslyn.SyntaxVisualizer.Extension { /// <summary> /// This is the class that im...
C#
src/Tools/Source/SyntaxVisualizer/SyntaxVisualizerExtension/SyntaxVisualizerExtensionPackage.cs
bbarry/roslyn
apache-2.0
4,591
85
codeparrot/github-code
92c2f6623a4de2e4bbaf2498fd145eb09d8ddff8522dcbdc84b4c4e1a76fcf72
// Copyright (C) 2007 Douglas Gregor // Use, modification and distribution is subject to the Boost Software // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // Provides support for named vertices in graphs, allowing one to more // easily associate uni...
C++
inc/boost/graph/named_graph.hpp
maxdeliso/elevatorSim
bsd-2-clause
17,095
495
codeparrot/github-code
c13929bec6af72ed861e92db814dde081c1f2cee6caee31a1a1646affc4087bd
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
C++
third_party/libc++/trunk/test/strings/basic.string/string.cons/substr.pass.cpp
mxOBS/deb-pkg_trusty_chromium-browser
bsd-3-clause
6,213
174
codeparrot/github-code
a0eae212ef43206777ceffae991e923ea8492c3aeee05160d9fcb6cb25a56908
// 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. #ifndef CHROMEOS_DBUS_BLUETOOTH_DEVICE_CLIENT_H_ #define CHROMEOS_DBUS_BLUETOOTH_DEVICE_CLIENT_H_ #include <string> #include <vector> #include "base/cal...
C
chromeos/dbus/bluetooth_device_client.h
anirudhSK/chromium
bsd-3-clause
7,632
189
codeparrot/github-code
187408b08279665735728d37fe58e4b2bd8cd6bc2b4cea2d96bc5effdbea8140
// Type definitions for Microsoft jQuery Unobtrusive Validation v3.2.3 // Project: http://aspnetwebstack.codeplex.com/ // Definitions by: Matt Brooks <https://github.com/EnableSoftware> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference path="../jquery.validation/jquery.validation.d.ts"...
TypeScript
jquery-validation-unobtrusive/jquery-validation-unobtrusive.d.ts
Pro/DefinitelyTyped
mit
1,569
39
codeparrot/github-code
37a589b709e69c6dc86c5cb01fbc256b5991f2ae901ca6d4a28b13bc73e1c712
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/devtools/devtools_http_handler_impl.h" #include <algorithm> #include <utility> #include "base/bind.h" #include "base/compi...
C++
src/content/browser/devtools/devtools_http_handler_impl.cc
thlorenz/debugium-take1
mit
29,191
907
codeparrot/github-code
3abeacc7f3c4c8dbfe543fa26c413ba569517678c080e8a9a006e125636850be
#ifndef IA_CSS_DEVPROXY_SERVICE_CCM_COMM_H_ #define IA_CSS_DEVPROXY_SERVICE_CCM_COMM_H_ #include "type_support.h" /* uint8_t, uint32_t */ #include "ia_css_devproxy_ctrl.h" /* CCM service state structure */ struct ia_css_devproxy_service_ccm_state_type { uint32_t initialized; uint32_t num_configs; uint32_t used_co...
C
linux/modules/ipu/drivers/media/pci/css2600/lib2600psys/devproxy/interface/ia_css_devproxy_service_ccm_comm.h
shakalaca/ASUS_ZenFone_A500CG_A600CG
gpl-2.0
1,080
36
codeparrot/github-code
c737a12c8703499f9aa2e29bc78886047c37c8e5c3d94b5ac1fcc712be99d254
/////////////////////////////////////////////////////////////////////////////// // Name: msw/caret.h // Purpose: wxCaret class - the MSW implementation of wxCaret // Author: Vadim Zeitlin // Modified by: // Created: 23.05.99 // RCS-ID: $Id: caret.h 35650 2005-09-23 12:56:45Z MR $ // Copyright: ...
C
win32/library3rd/wxWidgets-2.8.12/include/wx/msw/caret.h
beiko-lab/gengis
gpl-3.0
1,489
65
codeparrot/github-code
2f1f48a8ae63eb596b221cb5a8a5267ed52232421baf09e2137b8b765da89c63
/* Copyright (C) 2010-2016 Free Software Foundation, Inc. This file is part of GCC. GCC 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 option) any later version. ...
C
source/gcc-latest/gcc/config/i386/tbmintrin.h
selmentdev/selment-toolchain
gpl-3.0
5,317
181
codeparrot/github-code
192d779163bf4ee6993db28038f2c0a52451d29f9ea5487f9c2159ed50b86bf4
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/ash_switches.h" #include "base/command_line.h" namespace ash { namespace switches { // Enables an animated transition from the boot s...
C++
external/chromium_org/ash/ash_switches.cc
s20121035/rk3288_android5.1_repo
gpl-3.0
5,436
129
codeparrot/github-code
7020f8ba2f136ab3ee01b05911d44d2347ceeb7318306e9c26d6156c88a1aa42
from __future__ import unicode_literals import errno import os import re import socket import sys from datetime import datetime from django.core.exceptions import ImproperlyConfigured from django.core.management.base import BaseCommand, CommandError from django.core.servers.basehttp import get_internal_wsgi_applicati...
Python
venv/lib/python2.7/site-packages/django/core/management/commands/runserver.py
devs1991/test_edx_docmode
agpl-3.0
7,307
178
codeparrot/github-code
fa41e64a2368fe66cb8d4eefd8d448d64bad12f6be88fea72580c40b7accce71
require 'active_record/migration' module CanvasPartman class Migration < ActiveRecord::Migration class << self # @attr [CanvasPartman::Partitioned] base_class # The partitioned ActiveRecord::Base model _class_ we're modifying attr_accessor :base_class end def with_each_partition(&bloc...
Ruby
gems/canvas_partman/lib/canvas_partman/migration.rb
Rvor/canvas-lms
agpl-3.0
1,106
44
codeparrot/github-code
352a0743dfdc4705a27f763924da3979471d9df736ac208f4821f126cf976c26
<?php /** * Quickly create a task. */ final class ArcanistTodoWorkflow extends ArcanistWorkflow { public function getWorkflowName() { return 'todo'; } public function getCommandSynopses() { return phutil_console_format(<<<EOTEXT **todo** __summary__ [__options__] EOTEXT ); } public f...
PHP
src/workflow/ArcanistTodoWorkflow.php
jra3/arcanist
apache-2.0
2,735
122
codeparrot/github-code
fa45258973ecbd67e1b8a6c586a90ad76ed5167645f3f3c893adf0adb1d62365
/* * Copyright 2006-2008 Sxip Identity Corporation */ package org.openid4java.infocard; import org.openid4java.message.Message; import org.openid4java.message.ParameterList; import org.openid4java.OpenIDException; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.w3c.do...
Java
src/org/openid4java/infocard/OpenIDToken.java
rajzz9/openid4java
apache-2.0
5,477
185
codeparrot/github-code
29a0e4cf48bf1778bd4a0eb883497166011bc77dd22338faff035543f3df31f1
package org.apache.lucene.store; /* * 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, Versio...
Java
src/main/java/org/apache/lucene/store/IOContext.java
smartan/lucene
apache-2.0
4,505
144
codeparrot/github-code
20e2bc538a106f4c897b8d189098636e4706033be905e42be9a74ede14ababb0
/* * Copyright (C) 2003, Axis Communications AB. */ #include <linux/sched.h> #include <linux/mm.h> #include <linux/kernel.h> #include <linux/signal.h> #include <linux/errno.h> #include <linux/wait.h> #include <linux/ptrace.h> #include <linux/unistd.h> #include <linux/stddef.h> #include <linux/syscalls.h> #include <l...
C
arch/cris/arch-v32/kernel/signal.c
JonnyH/pandora-kernel
gpl-2.0
17,823
676
codeparrot/github-code
f55d348aa35ab3fac6297b42ff44d6d12c840abf2c6e526cba0a7fbc23ea1dd3
/* * Copyright (C) 2003 - 2009 NetXen, Inc. * All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later versi...
C
drivers/net/netxen/netxen_nic_main.c
pichina/linux-bcache
gpl-2.0
45,678
1,764
codeparrot/github-code
7b4e89fba2b6cdc7d18073d5972860989a8cb216e8c70b8d4438ccf557256b20
# # Copyright (C) 2006-2013 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:=iptables PKG_VERSION:=1.4.21 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 ...
Makefile
package/network/utils/iptables/Makefile
morgenroth/openwrt
gpl-2.0
13,347
550
codeparrot/github-code
535878abb20aa9473beac1e8711407dbce309c9427b3ed5cfe1c5c93ab9f6935
// 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. // The file contains the implementation of the mini_installer re-versioner. // The main function (GenerateNextVersion) does the following in a temp di...
C++
external/chromium_org/chrome/installer/test/alternate_version_generator.cc
s20121035/rk3288_android5.1_repo
gpl-3.0
25,118
701
codeparrot/github-code
09cb59720039659080412f9e6de5c180a5b20d4e26f5b0bc92aaee7b8634826d
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #include "MobCensus.h" void cMobCensus::CollectMob(cMonster & a_Monster, cChunk & a_Chunk, double a_Distance) { m_ProximityCounter.CollectMob(a_Monster, a_Chunk, a_Distance); m_MobFamilyCollecter.CollectMob(a_Monster...
C++
src/MobCensus.cpp
ionux/MCServer
apache-2.0
2,247
100
codeparrot/github-code
a44df1bcfd48043862db5e2d1b0c6b82e0a1a6350d269c6f2e49ac91137a265a
/* * Copyright 2008 The Android Open Source Project * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkMallocPixelRef_DEFINED #define SkMallocPixelRef_DEFINED #include "SkPixelRef.h" /** We explicitly use the same allocator for our pixels that S...
C
third_party/skia/include/core/SkMallocPixelRef.h
mxOBS/deb-pkg_trusty_chromium-browser
bsd-3-clause
3,896
110
codeparrot/github-code
30e40909d04106014354d93bbdaf8442849fe4d54d29710b29409ffca04bcd15
// 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 <iostream> #include <sstream> #include "testing/gtest/include/gtest/gtest.h" #include "tools/gn/input_file.h" #include "tools/gn/parser.h" #...
C++
tools/gn/parser_unittest.cc
Philippe12/external_chromium_org
bsd-3-clause
12,536
482
codeparrot/github-code
61d231a780253b5da1cb44faa36c14024451d72b61df44c3a4426a145c038db8
package im.actor.server.enrich import scala.concurrent.ExecutionContext import akka.util.Timeout import slick.dbio._ import im.actor.api.rpc.Implicits._ import im.actor.api.rpc.messaging.{ Message, UpdateMessageContentChanged } import im.actor.server.models.{ Peer, PeerType } import im.actor.server.persist import im...
Scala
actor-server/actor-enrich/src/main/scala/im/actor/server/enrich/UpdateHandler.scala
supertanglang/actor-platform
mit
3,318
98
codeparrot/github-code
51240ff053e13597893d60557c0eb3c7bb934b8f85bc940667d6ea112b6730c2
(function (global, factory) { if (typeof define === "function" && define.amd) { define('element/locale/hy-AM', ['module', 'exports'], factory); } else if (typeof exports !== "undefined") { factory(module, exports); } else { var mod = { exports: {} }; factory(mod, mod.exports); global...
JavaScript
ajax/libs/element-ui/2.7.2/locale/hy-AM.js
joeyparrish/cdnjs
mit
3,328
128
codeparrot/github-code
50f86a6bb87f1babb9415a8135620c7d35289f41baf484ef47a35dab96c055fb
/* libunwind - a platform-independent unwind library Copyright (C) 2003, 2005 Hewlett-Packard Co Contributed by David Mosberger-Tang <davidm@hpl.hp.com> This file is part of libunwind. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files ...
C
third_party/libunwind/src/unwind/unwind-internal.h
yaozongyou/common
mit
4,465
141
codeparrot/github-code
15fd79a284d860ef38b9f1d6f0d05c18a2669b9842beca0004e3e4e70b59b5f0
/* * Copyright 2016 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/hwmgr/ppatomfwctrl.c
evaautomation/linux
gpl-2.0
14,915
446
codeparrot/github-code