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
87a559a3570069bf5def31329b3ff922a853a5c46cea22c2e3726d5044836bcf
/* * Copyright 2018 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 app...
Java
drools-wb-screens/drools-wb-dtable-xls-editor/drools-wb-dtable-xls-editor-client/src/test/java/org/drools/workbench/screens/dtablexls/client/editor/DecisionTableXLSEditorPresenterValidateTest.java
mbiarnes/drools-wb
apache-2.0
3,912
95
codeparrot/github-code
cf3166112cbcad13b6bd56e6a9506fbb2cd3961811cdc8e45ec7e1ae14af53d8
//===----------------------------------------------------------------------===// // // Peloton // // column_stats_catalog.h // // Identification: src/include/catalog/column_stats_catalog.h // // Copyright (c) 2015-17, Carnegie Mellon University Database Group // //===------------------...
C
src/include/catalog/column_stats_catalog.h
seojungmin/peloton
apache-2.0
3,576
120
codeparrot/github-code
5b3c84f41c0c0dae1a8228782e8ed8fed4779e6480725d847effbacc3cf892f6
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
Python
sdks/python/apache_beam/examples/wordcount_debugging.py
mxm/incubator-beam
apache-2.0
6,652
169
codeparrot/github-code
89e1c080f6d6571b75f0987483bee98f27fc4f91e1dd7ee2aed36f1b09d3cf9b
# -------------------------------------------------------------------------- # # Copyright 2002-2015, OpenNebula Project (OpenNebula.org), C12G Labs # # # # Licensed under the Apache License, Version 2.0 (the "License"); you may # # no...
Ruby
src/vnm_mad/one_vnm.rb
spirit03/one
apache-2.0
3,200
78
codeparrot/github-code
04ef64f874533a84e42b1679222b7c253f54f15842466d63b4747bd01126ec22
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
C#
Product/SharedProject/WebSocketStream.cs
Microsoft/VisualStudio-SharedProject
apache-2.0
3,621
102
codeparrot/github-code
3133b0192fdd43c495facd0883659aa37b79a7679ce8a26d17e48e9872d310ac
# Copyright 2018 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
tensorflow/python/distribute/one_device_strategy.py
tensorflow/tensorflow
apache-2.0
18,606
488
codeparrot/github-code
e6bf770f62c0408e8557a406a6446edd8a73532a1dbcd7921c5fc67b2c8010ee
import {formatQS} from './url'; import {getWinningBids} from './targeting'; // Adserver parent class const AdServer = function(attr) { this.name = attr.adserver; this.code = attr.code; this.getWinningBidByCode = function() { return getWinningBids(this.code)[0]; }; }; // DFP ad server exports.dfpAdserver =...
JavaScript
src/adserver.js
hadarpeer/Prebid.js
apache-2.0
1,566
56
codeparrot/github-code
0b521c876328b783ef9631cf446593e891046e2703c5023bd882b88fa5928eb2
/* * Copyright (c) 2012-2015 S-Core Co., Ltd. * * 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...
JavaScript
apps/ide/src/plugins/webida.editor.code-editor.content-assist.css.css-smart/css-hint-server.js
happibum/webida-client
apache-2.0
3,359
97
codeparrot/github-code
e83c52938f6884df7cda00f093ff902bdc462416f3dcb1076563a07ff5ec490a
/* * 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
pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAppearanceCharacteristicsDictionary.java
joansmith/pdfbox
apache-2.0
6,439
253
codeparrot/github-code
dbf0936328a6f58fc6b6eab5d3a7502cb3a0cb98df42418cf4bb37bfc275b4c5
package com.navercorp.pinpoint.plugin.dubbo; import com.navercorp.pinpoint.bootstrap.instrument.InstrumentClass; import com.navercorp.pinpoint.bootstrap.instrument.InstrumentException; import com.navercorp.pinpoint.bootstrap.instrument.Instrumentor; import com.navercorp.pinpoint.bootstrap.instrument.transformer.Transf...
Java
plugins/dubbo/src/main/java/com/navercorp/pinpoint/plugin/dubbo/DubboPlugin.java
dawidmalina/pinpoint
apache-2.0
2,928
62
codeparrot/github-code
872e3c77361585e454223a39f20e7189f1455b0062f26d52c386db91babd00d0
/* * Copyright 2000-2013 JetBrains s.r.o. * Copyright 2014-2014 AS3Boyan * Copyright 2014-2014 Elias Ku * * 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/lice...
Java
src/common/com/intellij/plugins/haxe/runner/NMERunningState.java
mtkocak/intellij-haxe
apache-2.0
4,628
115
codeparrot/github-code
2d8c6cab7c2cdc84deba35c34fada4903408395db000a4de432c6fb155a77d16
/* * Copyright (c) 2005-2009, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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.ap...
Java
components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/ZipWSDLMediaTypeHandler.java
laki88/carbon-registry
apache-2.0
53,013
1,150
codeparrot/github-code
7e79f866ceaed892c16eb0234abaa2f6ae6cc312dff18c66bee0689f48ab6dc8
/** * Copyright 2011-2013 Zuse Institute Berlin * * 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
contrib/wikipedia/src/de/zib/scalaris/examples/wikipedia/bliki/WikiServletScalaris.java
tectronics/scalaris
apache-2.0
26,708
618
codeparrot/github-code
052aa32bebffa98637030c561ed7a6e7d1e6480126fb18643d4ec315b8fdae15
/** * Copyright (C) 2011-2020 Red Hat, Inc. (https://github.com/Commonjava/indy) * * 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 ...
Java
models/core-java/src/main/java/org/commonjava/indy/model/spi/IndyAddOnID.java
pkocandr/indy
apache-2.0
4,082
179
codeparrot/github-code
62aed7780156523d6fd787d26635db303580d6582d9fd625fc047b2410cef1ae
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.model.option.definition; import org.apache.commons.lang.ObjectUtils; import org.apache.commons.lang.Validate; import org.slf4j.Logger; impo...
Java
projects/OG-Analytics/src/main/java/com/opengamma/analytics/financial/model/option/definition/ForwardStartOptionDefinition.java
DevStreet/FinanceAnalytics
apache-2.0
4,716
146
codeparrot/github-code
69f5f1777a6a7c4221a73fdf355bc34451ecc28633c3e90cc4eb269679a4e5d2
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.interestrate.bond.provider; import static org.testng.AssertJUnit.assertEquals; import static org.testng.AssertJUnit.assertFalse; import or...
Java
projects/OG-Analytics/src/test/java/com/opengamma/analytics/financial/interestrate/bond/provider/BondTransactionDiscountingMethodTest.java
jeorme/OG-Platform
apache-2.0
29,558
363
codeparrot/github-code
164c4507485cf402b11b88f176f4fb67e5fe44f17ea423b971fd48802c5e406a
/** * Copyright (c) 2010 Yahoo! Inc. All rights reserved. * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless requir...
Java
core/src/main/java/com/yahoo/ycsb/CommandLine.java
manolama/YCSB
apache-2.0
11,056
350
codeparrot/github-code
78b5b04c51570ee71377776778e3607225065ce96193288ac11cbdefbf4c0dda
/** * Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.volatilityswap; import static org.testng.AssertJUnit.assertEquals; import static org.testng.AssertJUnit.assertTrue; import java.util.Arra...
Java
projects/OG-Analytics/src/test/java/com/opengamma/analytics/financial/volatilityswap/VolatilitySwapCalculatorResultTest.java
jeorme/OG-Platform
apache-2.0
6,557
151
codeparrot/github-code
957f4ea90ca446793346bbc6933c7bf5ef65955cf6b3a50c05c1ab1b0ae63bdb
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.harvard.iq.dataverse.mydata; import edu.harvard.iq.dataverse.DvObject; import edu.harvard.iq.dataverse.DvObjectServiceBean...
Java
src/main/java/edu/harvard/iq/dataverse/mydata/RoleTagRetriever.java
JayanthyChengan/dataverse
apache-2.0
24,567
628
codeparrot/github-code
60e80c540bbfa6f93648801ce0611e6e6cc096a4207d97e011e55a21c6d9e3aa
# -*- coding: utf-8 -*- # This file is part of pygal # # A python svg graph plotting library # Copyright © 2012-2014 Kozea # # 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...
Python
windows/win32/pygal-1.7.0/pygal/graph/horizontal.py
mytliulei/DCNRobotInstallPackages
apache-2.0
1,779
54
codeparrot/github-code
68307256d4088f555a6888dc033d03726d322f542e60e8cb753bb01833065b95
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.model.option.pricing.tree; import com.google.common.primitives.Doubles; import com.opengamma.util.ArgumentChecker; /** * The payoff of ...
Java
projects/OG-Analytics/src/main/java/com/opengamma/analytics/financial/model/option/pricing/tree/EuropeanExchangeOptionFunctionProvider.java
jeorme/OG-Platform
apache-2.0
4,090
129
codeparrot/github-code
6b1fea9bf78a18526c610bc727f2dcf85c9d2b3b2cc684a0a6e2b1877e8196ec
/* * Copyright 2016-present Open Networking Laboratory * * 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...
Java
core/api/src/test/java/org/onosproject/net/optical/impl/DefaultOmsPortTest.java
paradisecr/ONOS-OXP
apache-2.0
4,995
122
codeparrot/github-code
c622e9b88e8aaf8d7944e77074a0ac159f76a0c51c405c32c1b58759d49d6604
/** * Copyright 2016 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
test/unit/test-form.js
widespace-os/amphtml
apache-2.0
9,073
294
codeparrot/github-code
00402348ff99c0c56f84114385bf90ebd7303a2465bee4001e9a5c43ba8a7cb2
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_WEB_RESTRICTIONS_BROWSER_WEB_RESTRICTIONS_MOJO_IMPLEMENTATION_H_ #define COMPONENTS_WEB_RESTRICTIONS_BROWSER_WEB_RESTRICTIONS_MOJO_IMPL...
C
third_party/webrtc/include/chromium/src/components/web_restrictions/browser/web_restrictions_mojo_implementation.h
ssaroha/node-webrtc
bsd-2-clause
1,272
36
codeparrot/github-code
51f84618608a71248fa715266fea0e7708b61a8b746bbf62f8af1633c0e5a90f
// This file was procedurally generated from the following sources: // - src/dstr-binding/ary-init-iter-close.case // - src/dstr-binding/default/cls-decl-async-gen-meth-dflt.template /*--- description: Iterator is closed when not exhausted by pattern evaluation (class expression async generator method (default paramete...
JavaScript
Jint.Tests.Test262/test/language/statements/class/dstr-async-gen-meth-dflt-ary-init-iter-close.js
sebastienros/jint
bsd-2-clause
2,372
78
codeparrot/github-code
4e7a841d9f91d609130d6b2e06d5f251d1323c6a9a2a1f09037faa259865e158
// Copyright 2015 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/passwords/manage_passwords_state.h" #include <utility> #include <vector> #include "base/strings/utf_string_conversions.h" #i...
C++
chrome/browser/ui/passwords/manage_passwords_state_unittest.cc
hujiajie/chromium-crosswalk
bsd-3-clause
25,245
560
codeparrot/github-code
80e55978dc4824e187419f087fe1ac5301bd72355c5031e6971e68490ca4e1d0
<?php /** * Checks that the opening brace of a class/interface/trait is on the same line as the class declaration. * * @author Greg Sherwood <gsherwood@squiz.net> * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) * @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licen...
PHP
src/Standards/Generic/Sniffs/Classes/OpeningBraceSameLineSniff.php
VANINUitgeverij/PHP_CodeSniffer
bsd-3-clause
4,619
124
codeparrot/github-code
f71c9fd9133e50e5b83c5bb0fd3fb65079fbc6e5558088bb6426d03e28186898
// 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. #include "content/browser/navigator_connect/navigator_connect_context_impl.h" #include <stdint.h> #include "base/stl_util.h" #include "content/browser/m...
C++
content/browser/navigator_connect/navigator_connect_context_impl.cc
hujiajie/chromium-crosswalk
bsd-3-clause
10,091
267
codeparrot/github-code
7c8406912481c32c2aee8f9ad85aa08cded8eb94eb6c0fd28d5ba083dfc0f7da
/* Copyright (C) 2005-2011, Thorvald Natvig <thorvald@natvig.com> Copyright (C) 2009-2011, Stefan Hacker <dd0t@users.sourceforge.net> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -...
C++
src/mumble/TextMessage.cpp
mkrautz/mumble-sbcelt
bsd-3-clause
3,477
104
codeparrot/github-code
aff4fe4c3c3a5119495cb984941ecabcc50f84549dbb6689542acf71f000cde0
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; const runtime = require("sdk/system/runtime"); const system = require("sdk/system"); exports["test ...
JavaScript
firefox/addon-sdk/test/test-system.js
grammarly/browser-extensions
bsd-3-clause
1,167
38
codeparrot/github-code
9918cf478642f5b5a28b657c5ad31a944efc8d53f80bc77e2168fef186b4c1b6
#include "opencv2/imgproc/imgproc_c.h" #include "opencv2/highgui/highgui_c.h" #include <stdio.h> static void help(void) { printf("\nThis program creates an image to demonstrate the use of the \"c\" contour\n" "functions: cvFindContours() and cvApproxPoly() along with the storage\n" "functio...
C
opencv/samples/c/contours.c
grace-/opencv-3.0.0-cvpr
bsd-3-clause
5,908
168
codeparrot/github-code
7e28658e3eca22b7d0b2d9c0447ecdf3f3eab71e157239913ae650a0c6ade495
// 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. #include "base/strings/stringprintf.h" #include "chrome/browser/apps/app_browsertest_util.h" #include "components/guest_view/browser/guest_view_manager.h"...
C++
chrome/browser/apps/guest_view/app_view_browsertest.cc
CapOM/ChromiumGStreamerBackend
bsd-3-clause
10,238
264
codeparrot/github-code
17c9119b770a9e7725da94eb2591f0244c7c00cc4b45ac06cd035f7ba8c0da27
/******************************************************* * Copyright (c) 2015, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
C++
src/backend/opencl/kernel/susan.hpp
ghisvail/arrayfire
bsd-3-clause
5,131
147
codeparrot/github-code
802364d5868f239887371678dcd366e65c7db2d0a834219cce8705e220877623
// 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 "chrome/browser/chromeos/net/network_change_notifier_chromeos.h" #include "base/bind.h" #include "chrome/browser/chromeos/cros/cros_library....
C++
chrome/browser/chromeos/net/network_change_notifier_chromeos.cc
gx1997/chrome-loongson
bsd-3-clause
7,391
220
codeparrot/github-code
e689c206f02b183be2c44e2257feccfa560c7797cd5d9a25d0a7819bb5d510a2
'''"Executable documentation" for the pickle module. Extensive comments about the pickle protocols and pickle-machine opcodes can be found here. Some functions meant for external use: genops(pickle) Generate all the opcodes in a pickle, as (opcode, arg, position) triples. dis(pickle, out=None, memo=None, indentl...
Python
src/main/python/pickletools.py
yotchang4s/cafebabepy
bsd-3-clause
91,809
2,841
codeparrot/github-code
772c55c787b0115af6b68fa0687752f0f4ececbdffabcd8968017d9d59696e59
// Copyright 2015 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 StyleVariableData_h #define StyleVariableData_h #include "core/css/CSSVariableData.h" #include "wtf/Forward.h" #include "wtf/HashMap.h" #include ...
C
third_party/WebKit/Source/core/style/StyleVariableData.h
danakj/chromium
bsd-3-clause
1,693
48
codeparrot/github-code
8c09a08cff2649a596c31fbf98373dba746a04eece65a38a20263ddfa6cdd369
/* Suppress initial rendering of result list, but only if we can show it with JS later on */ document.write('<style type="text/css">#result_list { display: none }</style>'); treeadmin.jQuery(function($){ // recolor tree after expand/collapse $.extend($.fn.recolorRows = function() { $('tr:visible:even', this).rem...
JavaScript
treeadmin/static/treeadmin/js/treeadmin.js
extertioner/django-treeadmin
bsd-3-clause
10,938
377
codeparrot/github-code
31202907d5803ccdfaf271e282f000d0964bc92a2ef16568746bef31907025b6
// 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 "chrome/browser/plugins/plugin_prefs.h" #include <stddef.h> #include <string> #include "base/bind.h" #include "base/command_line.h" #inclu...
C++
chrome/browser/plugins/plugin_prefs.cc
js0701/chromium-crosswalk
bsd-3-clause
21,217
578
codeparrot/github-code
d8488a8c630f6e73e7ee85cce399fbda4f815466bf37ca46352532928b72ab5f
/***************************************************************************** Copyright (c) 2014, Intel Corp. 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 cod...
C
lapack-netlib/LAPACKE/src/lapacke_ssycon_3_work.c
grisuthedragon/OpenBLAS
bsd-3-clause
3,756
84
codeparrot/github-code
cf789e4f2f90dcf8d3cdb321423d788cad58525dc8338ba5e0ed16cf20d33eae
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/platform/loader/fetch/url_loader/request_conversion.h" #include "mojo/public/cpp/bindings/receiver.h" #include "mojo...
C++
third_party/blink/renderer/platform/loader/fetch/url_loader/request_conversion.cc
chromium/chromium
bsd-3-clause
16,560
410
codeparrot/github-code
95eedae4b3f88d9234b8d7cce9a293f65c2ac4bf542462a89bedff314c7ae3b1
// 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 WEBKIT_DOM_STORAGE_DOM_STORAGE_TYPES_H_ #define WEBKIT_DOM_STORAGE_DOM_STORAGE_TYPES_H_ #pragma once #include <map> #include "base/basictype...
C
webkit/dom_storage/dom_storage_types.h
robclark/chromium
bsd-3-clause
957
34
codeparrot/github-code
919fd6708bf672e29c9b6afb6b7b0a72ec1c38b995646144fecf668a41af051f
package jsky.app.ot.gemini.editor.targetComponent import java.beans.{PropertyChangeListener, PropertyChangeEvent} import jsky.app.ot.ui.util.FlatButtonUtil import jsky.util.gui.{ TextBoxWidget, TextBoxWidgetWatcher } import java.awt.event.{ActionEvent, ActionListener} import javax.swing.BorderFactory._ import javax....
Scala
bundle/jsky.app.ot/src/main/scala/jsky/app/ot/gemini/editor/targetComponent/details2/package.scala
spakzad/ocs
bsd-3-clause
2,139
60
codeparrot/github-code
08b357d0764bb21e3f81b333f544db9dd53cc8fc7c11d1e949ca8d64790718ad
/* * Copyright (c) 2014 The Native Client 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 <alloca.h> #include <stdint.h> void __pnacl_start(uint32_t *info); static int count_envs(char **envp) { int count = 0; for ...
C
pnacl/support/entry_linux.c
yantrabuddhi/nativeclient
bsd-3-clause
1,547
51
codeparrot/github-code
b610e645cb4dd42c26a9332dc6a1032fc2d4b7d91f8fb158be3bf4997a072772
// 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 "base/process/process_metrics.h" #include <stddef.h> #include <stdint.h> #include <sys/param.h> #include <sys/sysctl.h> #include "base/memo...
C++
base/process/process_metrics_openbsd.cc
chromium/chromium
bsd-3-clause
2,149
90
codeparrot/github-code
8984ed97ee1fe6202f77c7b59c2a84e3658816f881c7ef8b1a07dbd64b164fab
// Copyright 2016 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 "remoting/host/security_key/security_key_auth_handler.h" #include <cstdint> #include <memory> #include <string> #include "base/bind.h" #include...
C++
remoting/host/security_key/security_key_auth_handler_win_unittest.cc
chromium/chromium
bsd-3-clause
18,175
443
codeparrot/github-code
815d715cc8ee96540a46ee3280e74cb8c0772dd365c093e0002bdba3d94d1070
// 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 REMOTING_PROTOCOL_CLIENT_VIDEO_DISPATCHER_H_ #define REMOTING_PROTOCOL_CLIENT_VIDEO_DISPATCHER_H_ #include <list> #include "base/compiler_specif...
C
remoting/protocol/client_video_dispatcher.h
chromium/chromium
bsd-3-clause
1,657
57
codeparrot/github-code
dd8aaa7953758726887735d8a306e26f816fe025326ba3216e0d0fb2faeb900a
// 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 "net/server/http_server.h" #include "base/compiler_specific.h" #include "base/logging.h" #include "base/string_util.h" #include "base/string...
C++
net/server/http_server.cc
gx1997/chrome-loongson
bsd-3-clause
9,611
313
codeparrot/github-code
5c0b64fabe13840557423edf876aa713fb4b5d28d190221b146d8c27df45b8eb
// 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 "chrome/browser/ui/webui/instant_ui.h" #include <stdint.h> #include "base/bind.h" #include "base/macros.h" #include "base/prefs/pref_servic...
C++
chrome/browser/ui/webui/instant_ui.cc
js0701/chromium-crosswalk
bsd-3-clause
6,313
182
codeparrot/github-code
a392c41eb7b9ede4c58950d044ae96a79446ea4cb3d7e07e77066d8219568ee9
# $Id$ # importing this module shouldn't directly cause other large imports # do large imports in the init() hook so that you can call back to the # ModuleManager progress handler methods. """vtk_kit package driver file. This performs all initialisation necessary to use VTK from DeVIDE. Makes sure that all VTK clas...
Python
module_kits/vtk_kit/__init__.py
nagyistoce/devide
bsd-3-clause
3,965
128
codeparrot/github-code
8123386bc08f3b5527c06c2eca586db9bc5b7eee0f73beec4d7916223f86696b
/*************************************************************************/ /* joints_2d.h */ /*************************************************************************/ /* This file is part of: */ /* ...
C
scene/2d/joints_2d.h
n-pigeon/godot
mit
4,471
146
codeparrot/github-code
3840b81ed16f473e0fd97ac3cb0509efb719f2e90f10c57f2864caba3b5a7948
//===-- llvm-nm.cpp - Symbol table dumping utility for llvm ---------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
C++
llvm-3.3/tools/llvm-nm/llvm-nm.cpp
dbrumley/recfi
mit
15,595
451
codeparrot/github-code
389dfec72abb17c003aace288ceb0fc3da8da14065edd9676dcda734e90e72ed
""" WSGI config for made_with_twd_project project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_...
Python
made_with_twd_project/made_with_twd_project/wsgi.py
leifos/tango_with_django
mit
1,464
33
codeparrot/github-code
863372323fc0438c2cb6c5f822b870285701c3f54b5aced72d45ecf3c7d54dd9
/** ****************************************************************************** * @file stm32f7xx_hal_rtc.c * @author MCD Application Team * @brief RTC HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Real Time Cloc...
C
stm32f7_cube/hal_src/stm32f7xx_hal_rtc.c
MITEVT/stm32f7_libs
mit
55,874
1,566
codeparrot/github-code
fb03a741e69a17ca2710f952b4aa0bae15f5d2a709600ab9ae50d77419590e03
/** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import invariant from 'fbjs/lib/invariant'; import warning from 'fbjs/lib/warning'; import {isEndish, isMoveish, isStartish...
JavaScript
react/react-16.2.0/packages/events/ResponderTouchHistoryStore.js
isubham/isubham.github.io
mit
6,890
216
codeparrot/github-code
127fc9560d152606d94b70daa869a0447cca5702d94837060c91eac3dfbf1ccb
#ifndef TRANSFORM_3D_H #define TRANSFORM_3D_H #include <QVector3D> #include <QQuaternion> #include <QMatrix4x4> class Transform3D { public: // Constants static const QVector3D LocalForward; static const QVector3D LocalUp; static const QVector3D LocalRight; // Constructors Transform3D(); ...
C
PA9/src/3D/transform3d.h
Zarol/cs480Kleips
mit
1,660
61
codeparrot/github-code
9daea9616d7c5c99ac9a9cfc2070ee236b1bd1d8be9533d357f43970763dc18f
// 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. using System.Linq; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Shared.Extensions; nam...
C#
src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/Extensions/ArrowExpressionClauseSyntaxExtensions.cs
abock/roslyn
mit
1,743
50
codeparrot/github-code
b97b5a32e24a79f05b59402929af27cb69d6b6571a550783ff7d2c06ec2060f3
// 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. // -------------------------------------------------------------------------------- // DomainFile.cpp // // --------...
C++
src/vm/domainfile.cpp
krk/coreclr
mit
74,381
2,431
codeparrot/github-code
5f06b929f6909ef233426a1aabe3e691bc85524ccfbee844f3ad7e6d290974c4
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import 'babel-polyfill'; import path from 'path'; import e...
JavaScript
src/server.js
N4N0/resume
mit
4,584
146
codeparrot/github-code
cfa09dedbeb77c9af68ae4c1bfb16e53a0e007527de65e43295bb52c165fbfb8
############################################################# # Required variables for each makefile # Discard this section from all parent makefiles # Expected variables (with automatic defaults): # CSRCS (all "C" files in the dir) # SUBDIRS (all subdirs with a Makefile) # GEN_LIBS - list of libs to be generated...
Makefile
app/Makefile
tisan-kit/tisan-demo
mit
3,273
142
codeparrot/github-code
b425801937f49a7da1e05d1a79c86ee5331e8f34ad3bf742ce12bad21e70b719
<html><!-- Created using the cpp_pretty_printer from the dlib C++ library. See http://dlib.net for updates. --><head><title>dlib C++ Library - hashed_feature_image_abstract.h</title></head><body bgcolor='white'><pre> <font color='#009900'>// Copyright (C) 2011 Davis E. King (davis@dlib.net) </font><font color='#00990...
HTML
ext/dlib-19.4/docs/dlib/image_keypoint/hashed_feature_image_abstract.h.html
ruby-dlib/ruby-dlib
mit
17,634
306
codeparrot/github-code
3ac0ce3911e5fde2085bbc4b79d6a672220c6ba1b887a25b5bde4107ff43c188
/* $Id: ebus.c,v 1.64 2001/11/08 04:41:33 davem Exp $ * ebus.c: PCI to EBus bridge device. * * Copyright (C) 1997 Eddie C. Dost (ecd@skynet.be) * Copyright (C) 1999 David S. Miller (davem@redhat.com) */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/types.h> #include <linux/init.h> #includ...
C
snapgear_linux/linux-2.6.21.1/arch/sparc64/kernel/ebus.c
impedimentToProgress/UCI-BlueChip
mit
12,797
545
codeparrot/github-code
c922750e8c0455b55610e04f5e56bc6c3eeff86feca89f1028cc2785b16ca9b8
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Form\Extension\Core\Type; use Symfony\Component\Form\...
PHP
src/Symfony/Component/Form/Extension/Core/Type/TimeType.php
hacfi/symfony
mit
10,777
282
codeparrot/github-code
1ed710b32884a5a77204c6b708de3532c613c60943caeae45efc910de4a31576
{-# OPTIONS_JHC -fno-prelude #-} module Jhc.Inst.Show() where import Jhc.Basics import Jhc.Class.Num import Jhc.Class.Ord import Jhc.Class.Real import Jhc.Show import Jhc.Type.C -- we convert them to Word or WordMax so the showIntAtBase specialization can occur. fromIntegral :: (Integral a, Num b) => a -> b fromIn...
Haskell
lib/jhc/Jhc/Inst/Show.hs
hvr/jhc
mit
3,166
92
codeparrot/github-code
1f2626f491ccb793440453185646bc8ea59fb2b65ca0358e1ade90868b759727
// 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. using System; using System.Collections.Generic; using Microsoft.VisualStudio; using Microsoft.VisualStudio.TextMana...
C#
src/VisualStudio/Core/Def/Implementation/Venus/CodeBlockEnumerator.cs
jmarolf/roslyn
mit
2,678
82
codeparrot/github-code
06e26282a24c32251c58460db77613c1fe85fbf26bdd99ea568edf3f006ddb3c
#!/bin/bash FN="pd.u133.x3p_3.12.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.14/data/annotation/src/contrib/pd.u133.x3p_3.12.0.tar.gz" "https://bioarchive.galaxyproject.org/pd.u133.x3p_3.12.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-pd.u133.x3p/bioconductor-pd.u133.x3p_3.12.0_src_a...
Shell
recipes/bioconductor-pd.u133.x3p/post-link.sh
cokelaer/bioconda-recipes
mit
1,307
47
codeparrot/github-code
b1ef2a9f6964399fe7ca40ada34e13626531434b551de4f933b451df365c58ee
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>db_en...
HTML
deps/db/docs/api_reference/C/db_env_set_func_free.html
egoitzro/poedit
mit
4,979
121
codeparrot/github-code
461ba7328bffbb32b2efe8e799485afe5c8064b8f0072194d5a475898b9b57a1
import { Meteor } from 'meteor/meteor'; import bugsnag from 'bugsnag'; import { settings } from '../../../settings'; import { Info } from '../../../utils'; settings.get('Bugsnag_api_key', (key, value) => { if (value) { bugsnag.register(value); } }); const notify = function(message, stack) { if (typeof stack ===...
JavaScript
app/lib/server/lib/bugsnag.js
Sing-Li/Rocket.Chat
mit
816
36
codeparrot/github-code
5a599ffcaff2a4084bfcba944e4973d2b263662b05e54fe45b82040e168a56b9
<!DOCTYPE html> <html lang="en"> <head> <title>three.js webgl - lights - point lights</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <link type="text/css" rel="stylesheet" href="main.css"> </head> <body> <div id="i...
HTML
public/js/three.js/examples/webgl_lights_pointlights.html
billroy/jchart
mit
3,701
136
codeparrot/github-code
e945b630e23c9ced019a87e817bd0bd9598d5fcd246063d737b5fe0e53d6bac5
///////////////////////////////////////////////////////////////////////////////// // Paint.NET // // Copyright (C) Rick Brewster, Tom Jackson, and past contributors. // // Portions Copyright (C) Microsoft Corporation. All Rights Reserved. ...
C#
src/Clients/MainApp/Pinta/ColorBgra.cs
Yetangitu/f-spot
mit
2,391
75
codeparrot/github-code
d48724784b78fe56dc5c7fa96ff6596e7ca9c771f345e061c5e00126a51387ed
/* * Copyright (C) 2012-2013 Freescale Semiconductor, 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...
C
arch/arm/mach-mx6/board-mx6sl_evk.c
pacificIT/udoo_kernel_imx
gpl-2.0
44,986
1,720
codeparrot/github-code
7e12adb2c77ad7951ceff5f28528b90c19523c1903678394aa3ffdb1ebe03c73
#include <linux/ceph/ceph_debug.h> #include <linux/module.h> #include <linux/slab.h> #include <asm/div64.h> #include <linux/ceph/libceph.h> #include <linux/ceph/osdmap.h> #include <linux/ceph/decode.h> #include <linux/crush/hash.h> #include <linux/crush/mapper.h> char *ceph_osdmap_state_str(char *str, int len, u32 ...
C
net/ceph/osdmap.c
eva-oss/linux
gpl-2.0
62,412
2,701
codeparrot/github-code
46c00d01793b655a8f03f882decb672a529804b429480a607111882ed855dfdc
/* Copyright (C) 1998-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published b...
C
nscd/nscd_helper.c
vtsingaras/hurd-glibc
gpl-2.0
15,900
589
codeparrot/github-code
f6355f4ec76327082e1c7b28598e858cdf192b8a08b8d8f1d9e68c163338b676
/* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free ** Software License B, Version 1.1 (the "License"), the contents of this ** file are subject only to the provisions of the License. You may not use ** this file except in co...
C++
third-party/reactos/dll/opengl/glu32/src/libnurbs/internals/splitarcs.cc
GreenteaOS/Kernel
gpl-2.0
8,966
294
codeparrot/github-code
ce702b850346f9b3eabfb997c38c5894fceae4c39e7555575c4d2f6a937ce69d
/*************************************************************************** qgsquerybuilder.h - query builder -------------------------------------- Date : 2004-11-19 Copyright : (C) 2004 by Gary E.Sherman Email : sherman at mrcc.com *********************...
C
src/gui/qgsquerybuilder.h
michaelkirk/QGIS
gpl-2.0
4,408
131
codeparrot/github-code
b42b8358357628a048c8513bf74ac9de2b597852db5cbb2da5fa27ee1fc2be3a
/** * The Forgotten Server - a free and open-source MMORPG server emulator * Copyright (C) 2016 Mark Samman <mark.samman@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; eithe...
C++
src/outfit.cpp
otbr/forsaken
gpl-2.0
2,394
78
codeparrot/github-code
4fd0cf2b9a55751ea5c4b8a724b3417607bbeea56f8920e13633e0f76e75acdc
/* * Copyright (c) 1998-2012 Caucho Technology -- all rights reserved * * This file is part of Resin(R) Open Source * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Resin Open Source is free software; you can redistribute it and/or modify * it under the terms o...
Java
modules/kernel/src/com/caucho/vfs/FilesystemPath.java
WelcomeHUME/svn-caucho-com-resin
gpl-2.0
9,063
377
codeparrot/github-code
c484e61e70d62ad2d5494cf9195f82d721797efc5ea8095b5d4d5d58e2be585c
/* packet-mrdisc.c 2001 Ronnie Sahlberg <See AUTHORS for email> * Routines for IGMP/MRDISC packet disassembly * * 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 ...
C
src/epan/dissectors/packet-mrdisc.c
jfzazo/wireshark-hwgen
gpl-2.0
7,411
289
codeparrot/github-code
2dac4f9c6e6fe7b8efea50258b9b82ea8b8a80703a6e403742215806f3e7bda9
/* * Copyright (C) 2001-2004 by David Brownell * * 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...
C
drivers/usb/host/ehci-hub.c
avoltz/linux-vybrid
gpl-2.0
32,944
1,205
codeparrot/github-code
1ec7db87b73fbc53f3dad176dfaeafba22d8c5487a3b7ea7c3c07fda2ac472b5
/* * This file is part of the coreboot project. * * Copyright (C) 2013-2014 Sage Electronic Engineering, LLC. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. ...
C
src/northbridge/intel/fsp_sandybridge/fsp/chipset_fsp_util.c
librecore-org/librecore
gpl-2.0
3,273
106
codeparrot/github-code
8de7f7cba11633539b6ef1c75e0418489916002816f3356bebabf965fe0ad73b
/* * Copyright (c) 1998-2012 Caucho Technology -- all rights reserved * * This file is part of Resin(R) Open Source * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Resin Open Source is free software; you can redistribute it and/or modify * it under the terms o...
Java
modules/kernel/src/com/caucho/bytecode/ByteCodeParser.java
mdaniel/svn-caucho-com-resin
gpl-2.0
13,508
590
codeparrot/github-code
fb15f32bd9315766a8f8b7c294ff53b27cd1aeebc63e64bfcb3306fafd7051c0
/* * Author: illuz <iilluzen[at]gmail.com> * File: AC_dfs_2^n.cpp * Create Date: 2015-02-07 18:59:30 * Descripton: Use dfs. */ #include <bits/stdc++.h> using namespace std; const int N = 0; class Solution { private: void dfs(int dep, vector<int> &S, vector<int> &cur, vector<vector<in...
C++
solutions/078.Subsets/AC_dfs_2^n.cpp
bssrdf/leetcode-7
gpl-2.0
1,117
54
codeparrot/github-code
cae56779affb64150f7762a3c7483f26873f479e6407244776c1398bc51dbf85
/** * @file shm.c * @brief Shared memory frame buffer capture module for VLC media player */ /***************************************************************************** * Copyright © 2011 Rémi Denis-Courmont * * This program is free software; you can redistribute it and/or modify it * under the terms of the G...
C
vlc/modules/access/shm.c
qenter/vlc-android
gpl-2.0
9,803
370
codeparrot/github-code
dde6909da6a5c2e771eb3431d5bd94782576da8c067b662489b9984ede4e9a42
/**************************************************************************** ** Meta object code from reading C++ file 'customstyle.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.0) ** ** WARNING! All changes made in this file will be lost! *********************************************************...
C++
whLego version0.1/GeneratedFiles/Debug/moc_customstyle.cpp
billhhh/whLego-version
gpl-2.0
2,715
90
codeparrot/github-code
005c8a50cfbabe2cde2edf88ee8e367939a2f0e22d78078bb9535fca7f95f5eb
#include "ScriptPCH.h" #include "ScriptMgr.h" #include "SpellAuras.h" #include "SpellAuraEffects.h" #include "SpellScript.h" enum Spells { SPELL_SEETHE = 119487, SPELL_ENDLESS_RAGE = 119586, SPELL_BITTER_THOUGHTS = 119601, SPELL_GROWING_ANGER = 119622, SPELL_AGGRESSIVE_BEHAVIOUR = 119626, ...
C++
src/server/scripts/Pandaria/boss_sha_of_anger.cpp
ProjectPandaCore/PandaCore-5.1.0-16357
gpl-2.0
10,088
326
codeparrot/github-code
0e68144c2f6ae49450154971c7322182805b4932e570d9e51a33a663079f1b4d
/* * tegra210_peq_alt.c - Tegra210 PEQ driver * * Copyright (c) 2014 NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation....
C
sound/soc/tegra-alt/tegra210_peq_alt.c
zombi-x/android_kernel_nvidia_shieldtablet
gpl-2.0
10,187
325
codeparrot/github-code
8645ca70830ab071fb9d51fc16ede526864a73d65507ef36b3e14edb91abd635
<?php namespace Drupal\webform; use Drupal\Core\Cache\CacheBackendInterface; use Drupal\Core\Database\Connection; use Drupal\Core\Database\Query\AlterableInterface; use Drupal\Core\Entity\EntityManagerInterface; use Drupal\Core\Entity\EntityTypeInterface; use Drupal\Core\Entity\Query\QueryInterface; use Drupal\Core\L...
PHP
profiles/varbase/profiles/varbase/modules/contrib/webform/src/WebformSubmissionStorage.php
jagnoha/website
gpl-2.0
39,830
1,196
codeparrot/github-code
9dbfb874ab3f2aee5949b4b81d85a21585b7b554ac0bbeb72ddbad0bdc32bc8d
/***************************************************************************** * timer.c: simple threaded timer ***************************************************************************** * Copyright (C) 2009-2012 Rémi Denis-Courmont * * This program is free software; you can redistribute it and/or modify it * ...
C
vlc/src/posix/timer.c
pddthinh/android-vlc
gpl-2.0
4,814
167
codeparrot/github-code
e575a1f60939e37df3f5c6e4072390b4ef2674097a021f79eec5e0ba31fe67f5
<?php /** * @package WPSEO\Admin */ /** * Class WPSEO_Premium_Upsell_Admin_Block */ class WPSEO_Premium_Upsell_Admin_Block { /** @var string Hook to display the block on. */ protected $hook; /** @var string Identifier to use in the dismissal functionality. */ protected $identifier = 'premium_upsell_admin_bloc...
PHP
wp-content/plugins/wordpress-seo/admin/class-premium-upsell-admin-block.php
overstreetce/Portfolio-Site
gpl-2.0
4,369
145
codeparrot/github-code
add0624e67043df87a23b52e095321c72396b8412fa235452e0193be720fb6ce
<html lang="en"> <head> <title>Debugging Info - GNU Compiler Collection (GCC) Internals</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="GNU Compiler Collection (GCC) Internals"> <meta name="generator" content="makeinfo 4.8"> <link title="Top" rel="start" href="index.html#T...
HTML
toolchain/arm_cm0_deprecated/share/doc/gcc-arm-none-eabi/html/gccint/Debugging-Info.html
jocelynmass/nrf51
gpl-2.0
3,378
71
codeparrot/github-code
f715b5691d2fe68633af6ab7ce15273d79ca68d0059d9641b504234348f63275
#ifndef _SYS_SEM_H #define _SYS_SEM_H #include <sys/ipc.h> __BEGIN_DECLS /* semop flags */ #define SEM_UNDO 0x1000 /* undo the operation on exit */ /* semctl Command Definitions. */ #define GETPID 11 /* get sempid */ #define GETVAL 12 /* get semval */ #define GETALL 13 /* get all semval...
C
include/sys/sem.h
ensc/dietlibc
gpl-2.0
2,595
86
codeparrot/github-code
33c878b07e93fc6a8028a6c421858c5dd414e0ab49cd5150b3d2cd656d93fb69
/* * This confidential and proprietary software may be used only as * authorised by a licensing agreement from ARM Limited * (C) COPYRIGHT 2011-2014 ARM Limited * ALL RIGHTS RESERVED * The entire notice above must be reproduced on all authorised * copies and copies may only be made to the extent permitted * by a...
C
drivers/gpu/arm/mali4_64/r5p0_01rel0/common/mali_pp_job.h
wbrambley/Grace-kernel
gpl-2.0
19,006
594
codeparrot/github-code
d86221e185720f3947c227e157baa831876533b728719f5ddfe2aea8f34a6ef2
# SPDX-License-Identifier: GPL-2.0+ # Copyright (c) 2018 Google, Inc # Written by Simon Glass <sjg@chromium.org> # # Support for a Chromium OS Google Binary Block, used to record read-only # information mostly used by firmware. from collections import OrderedDict from patman import command from binman.entry import E...
Python
tools/binman/etype/gbb.py
Digilent/u-boot-digilent
gpl-2.0
3,381
97
codeparrot/github-code
22bc2dcc8a27cb73ca8fc115df7b1295b84fbc6302a017885d7402c1de1b2ccc
/* * tcp_diag.c Module for monitoring TCP sockets. * * Version: $Id: tcp_diag.c,v 1.2 2001/11/05 09:42:22 davem Exp $ * * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * ...
C
net/ipv4/tcp_diag.c
ashish-17/linux-2.4.27-CS518
gpl-2.0
15,180
612
codeparrot/github-code
1905922af53e3bbedf17a7e97a68eadcdab33f6922abb7c2c94ca78c88dffadd
package org.opengeo.geoserver; import java.io.File; import java.util.HashMap; import java.util.Map; import org.mortbay.jetty.Connector; import org.mortbay.jetty.Server; import org.mortbay.jetty.bio.SocketConnector; import org.mortbay.jetty.webapp.WebAppContext; public class StartCluster { public static void mai...
Java
web/app/src/test/java/org/opengeo/geoserver/StartCluster.java
geosolutions-it/geoserver-exts
gpl-2.0
1,787
59
codeparrot/github-code
50b102487899170282bccecde83cd7e3adb0238386dec4c4f5bd41b084050637
// license:BSD-3-Clause // copyright-holders:smf,Vas Crabb #ifndef MAME_BUS_RS232_RS232_H #define MAME_BUS_RS232_RS232_H #pragma once #include "diserial.h" #define RS232_BAUD_110 (0x00) #define RS232_BAUD_150 (0x01) #define RS232_BAUD_300 (0x02) #define RS232_BAUD_600 (0x03) #define RS232_BAUD_1200 (0x04) #define R...
C
src/devices/bus/rs232/rs232.h
johnparker007/mame
gpl-2.0
9,588
308
codeparrot/github-code
d8771aedf367dcca555218cc955999cd5c2a6529daa3a53515db85f7d5c5f949
/* This file is part of the KDE project Copyright 2007 Stefan Nikolaus <stefan.nikolaus@kdemail.net> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the Lic...
C
sheets/commands/AutoFormatCommand.h
wyuka/calligra
gpl-2.0
1,686
65
codeparrot/github-code
f5441db0f91ed80a24d95e5e4eda8a06a13eabb6d8586f3d238db2290ad0283c
#include "rar.hpp" static bool IsUnicode(byte *Data,int Size); bool ReadTextFile(char *Name,StringList *List,bool Config,bool AbortOnError, bool ConvertToAnsi,bool Unquote,bool SkipComments) { char FileName[NM]; if (Config) GetConfigName(Name,FileName,true); else strcpy(FileName,Name);...
C++
lib/UnrarXLib/filestr.cpp
LS80/xbmc
gpl-2.0
3,212
140
codeparrot/github-code
d0791be5953143450fd9b0324f81e9808f56dec386d605ab2a7c6f1ed3e416ff
/*====================================================================== Kernel fixups for PCI device support pci_fixup.c 1.33 2002/10/12 19:02:59 PCI bus fixups: various bits of code that don't really belong in the PCMCIA subsystem, but may or may not be available from the kernel, depend...
C
linux/pcmcia-cs/modules/pci_fixup.c
vedangp/gnumach_lotto
gpl-2.0
19,269
678
codeparrot/github-code
3bed7da9f6bc6874579c8572b2cd949528ef96551015280664e35972f9057b34
#include "FTPolyGlyph.h" #include "FTVectoriser.h" FTPolyGlyph::FTPolyGlyph( FT_GlyphSlot glyph, bool useDisplayList) : FTGlyph( glyph), glList(0) { if( ft_glyph_format_outline != glyph->format) { err = 0x14; // Invalid_Outline return; } FTVectoriser vectoriser( glyph); if(...
C++
ExternalLibs/FTGL/src/FTPolyGlyph.cpp
chewi/Aquaria
gpl-2.0
1,850
79
codeparrot/github-code
944d81423ec764ab9fccc80fbf277e5298599560923666d27ebdc044d0553edb
////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// // // copyright : (C) 2014 Eran Ifrah // file name : uicallgraphpanel.cpp // // ------------------------------------------------------------...
C++
CallGraph/uicallgraphpanel.cpp
StefanoBelloni/codelite
gpl-2.0
8,290
261
codeparrot/github-code