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
723b334d5e41dedbc805b7003973fa995dde4610dfb52e8325086c888f333d05
/* * 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
components/camel-stomp/src/test/java/org/apache/camel/component/stomp/StompSslConsumerTest.java
objectiser/camel
apache-2.0
1,420
39
codeparrot/github-code
9c9319b249ea86dd0f56a5569d6812f5e8d35b3c5e74ff5b88f1fd70db5373e1
/* * 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
core/camel-core/src/test/java/org/apache/camel/processor/StreamCachingInOutTest.java
nikhilvibhav/camel
apache-2.0
3,809
94
codeparrot/github-code
57442492e3ec16c145ee0f539facc34903ae09d6cb6f893c01d49a1a35420d91
package com.facebook.presto.operator.scalar; /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
Java
presto-main/src/main/java/com/facebook/presto/operator/scalar/RowDistinctFromOperator.java
gh351135612/presto
apache-2.0
4,910
111
codeparrot/github-code
a2fc7cf071e5884ec69f764fca5c358bf8b043bea1c244dbfbbf65041dd1ddd2
/*========================================================================= * Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved. * This product is protected by U.S. and international copyright * and intellectual property laws. Pivotal products are covered by * more patents listed at http://www.pivo...
Java
gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/partitioned/PersistentPartitionedRegionDUnitTest.java
nchandrappa/incubator-geode
apache-2.0
70,139
2,202
codeparrot/github-code
da08762fd0e35659e371cbccb54755be3acb322808b31ab4853ff9b474ac821e
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
core/src/test/java/org/elasticsearch/action/admin/cluster/node/tasks/TestTaskPlugin.java
danielmitterdorfer/elasticsearch
apache-2.0
17,547
483
codeparrot/github-code
49f0d3ea65328fc50352b1c87c9d2e36f30325ed61d5edc8c9463f2096dc0d43
/* * 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
exec/java-exec/src/main/java/org/apache/drill/exec/vector/complex/fn/ExtendedJsonOutput.java
johnnywale/drill
apache-2.0
5,234
186
codeparrot/github-code
93960fc5724bf5537e46d4751f2691656c9faf56382fbf3e1f4d1c79eebb6327
/* Copyright 2007-2009 WebDriver committers Copyright 2007-2009 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 appli...
Java
server/selenium-remote-control-1.0.3/selenium-server/org/openqa/selenium/remote/PropertyMunger.java
dineshkummarc/Gitak_r982
apache-2.0
1,910
63
codeparrot/github-code
3faf130af52a7827f27915da8119316a514cfe9df21350de6615c994724b514a
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Web; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using ...
C#
05 - Security/05aHostAuthentication/App_Start/IdentityConfig.cs
brianbrawe/MVA-WebAPIDesign
apache-2.0
4,350
110
codeparrot/github-code
df9d787ef4d06c0bfb579b80e11596a29cb18ccbcf4364bce8fa9e0e533e19c8
package test.thread; import org.testng.Assert; import org.testng.annotations.Test; import org.testng.xml.XmlSuite; import test.BaseTest; import java.util.HashMap; import java.util.Map; public class SequentialTest extends BaseTest { @Test public void verifySequential1() { verifySequential(1);...
Java
src/test/java/test/thread/SequentialTest.java
s2oBCN/testng
apache-2.0
2,282
102
codeparrot/github-code
77f493c85d09f769aa7bca82234c4ab4a9b0ea6c39a005bf28c7017abd362af9
/* * 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
gobblin-core/src/main/java/gobblin/source/extractor/DummyExtractor.java
lbendig/gobblin
apache-2.0
1,518
55
codeparrot/github-code
f77717cecd663abb19b95c6833a50d8ef696fa38cbf0e4498614c43cd1824f37
/** * Copyright 2007-2016, Kaazing Corporation. 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...
Java
transport/http/src/main/java/org/kaazing/gateway/transport/http/HttpStatus.java
justinma246/gateway
apache-2.0
3,929
112
codeparrot/github-code
91c360cd8da39dbb0be623656d702e46f8b7506e9f36e1c17b4bd69abf949e74
/* * 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
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/common/ndv/hll/TestHyperLogLog.java
vineetgarg02/hive
apache-2.0
13,315
339
codeparrot/github-code
64f8646850b45362f3cb1ee0ce076796ff5c1c25979a0114516ba8a579281a09
# Makefile for Sphinx documentation # # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = BUILDDIR = build # User-friendly check for sphinx-build ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) $(error The '$(SPHINXBUILD)' command wa...
Makefile
docs/Makefile
openprocurement/openprocurement.api
apache-2.0
6,819
178
codeparrot/github-code
5d61de6503a69f3fbff958c84c7559f7cdacc1716316882ec8d6dab4d681f1e6
/* * 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
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/storage/archive/AlterTableArchiveOperation.java
lirui-apache/hive
apache-2.0
14,391
318
codeparrot/github-code
14a9b9e0ba77198ce7247ed3ed950faba0643a06d73ce5ee503f13f646570476
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.security.authc.esnative; import org.elasticse...
Java
x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/NativeRealmTests.java
gfyoung/elasticsearch
apache-2.0
3,833
76
codeparrot/github-code
307eb8506cfa41d0124a1a93e1c97650fd4a9555fead8a15f2da4135914ee9e5
// 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
api/src/org/apache/cloudstack/api/response/AutoScalePolicyResponse.java
resmo/cloudstack
apache-2.0
3,934
123
codeparrot/github-code
ac40c25b85cf5f01b9ef1787b2b8119eb28db815e38b991f045408f81dcd4240
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.core.ml.dataframe.evaluation.classification; ...
Java
x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/dataframe/evaluation/classification/MulticlassConfusionMatrixTests.java
gingerwizard/elasticsearch
apache-2.0
14,041
273
codeparrot/github-code
39ed0b0f0917a2a58c2a0b2ffa0773ad8dcb4d23c64ac02ffccddd2242b44c19
package org.apache.helix.integration; /* * 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 Licens...
Java
helix-core/src/test/java/org/apache/helix/integration/TestCorrectnessOnConnectivityLoss.java
Teino1978-Corp/Teino1978-Corp-helix
apache-2.0
7,804
207
codeparrot/github-code
bdc9321db06c88a8f243b86550bf27e1f1ef4d48d0d6a838d2bf504db1ad0a65
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Java
src/activiti-examples/org/activiti/examples/bpmn/servicetask/JavaServiceTaskTest.java
tectronics/grails-activiti-plugin
apache-2.0
5,227
132
codeparrot/github-code
c0ef03306bab780da2d891fa44c41a294b09911e6febf959f80d81ab88a3ca83
// Copyright 2012 Cloudera Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
C++
be/src/exec/union-node.cc
ImpalaToGo/ImpalaToGo
apache-2.0
9,332
251
codeparrot/github-code
d61568bb44a3dbabfd0d91690857de6433acfc084b6eb207ba125ae5e74c6d35
# 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
tensorflow/python/summary/writer/writer.py
chemelnucfin/tensorflow
apache-2.0
17,167
432
codeparrot/github-code
963590b0f7087162fc9a239f2b4ce9aeb8ec1d03a846ece523e550788804b24f
/*------------------------------------------------------------------------- * drawElements Quality Program EGL Module * --------------------------------------- * * Copyright 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except...
C++
modules/egl/teglChooseConfigTests.cpp
Omegaphora/external_deqp
apache-2.0
19,073
597
codeparrot/github-code
b5b9cf3d3fa258fac0e5a60d296bb71c8ab127c3dd3126b4936902daf385160c
/*------------------------------------------------------------------------- * * GBK <--> UTF8 * * Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION * src/backend/utils/mb/conversion_procs/utf8_and_g...
C++
src/postgres/backend/utils/mb/conversion_procs/utf8_and_gbk/utf8_and_gbk.cpp
larryxiao/peloton
apache-2.0
1,795
73
codeparrot/github-code
934d579cde240e6b0f27201892e756c75a9b369793dede5bc35a849ada7501a9
"""composite primary key port ip association Revision ID: 3b467be51e43 Revises: 26e984b48a0d Create Date: 2014-10-09 15:42:58.104964 """ # revision identifiers, used by Alembic. revision = '3b467be51e43' down_revision = '26e984b48a0d' import contextlib import itertools from alembic import op import sqlalchemy as s...
Python
quark/db/migration/alembic/versions/3b467be51e43_composite_primary_key_port_ip_.py
asadoughi/quark
apache-2.0
3,036
81
codeparrot/github-code
f21fb6a105a2672b7e12c5364740dc2791dfbcd572e8869b490276398407d0c4
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2012 IBM Corp. # 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/licen...
Python
openstack F/python-novaclient/novaclient/v1_1/floating_ips_bulk.py
tylertian/Openstack
apache-2.0
1,938
61
codeparrot/github-code
988dd98bef02d7748c0d1b3d896c13814256b7cae89f3221ea44bfde50af3618
// Copyright (c) 2013, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #ifndef ROCKSDB_LITE #include "utilities/persistent_cache/block_c...
C++
3rdParty/rocksdb/6.29/utilities/persistent_cache/block_cache_tier_file.cc
arangodb/arangodb
apache-2.0
16,407
612
codeparrot/github-code
6126c862b6a08c50a1a971075807a1d607d6b032d66138652dcffa0b1469e08e
using System.Diagnostics; using System.ComponentModel.Composition; using Microsoft.VisualStudio; using Microsoft.VisualStudio.Editor; using Microsoft.VisualStudio.OLE.Interop; using Microsoft.VisualStudio.Text.Editor; using Microsoft.VisualStudio.Text.Operations; using Microsoft.VisualStudio.TextManager.Interop; using...
C#
src/FSharpVSPowerTools/HighlightUsageFilterProvider.cs
ovatsus/VisualFSharpPowerTools
apache-2.0
2,301
61
codeparrot/github-code
03441e202774becb0f4d1275f6702aad36b84c8aee5b4c0608762b16e98c50aa
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #include "rocksdb/trace_record_result.h" namespace ROCKS...
C++
3rdParty/rocksdb/6.29/trace_replay/trace_record_result.cc
arangodb/arangodb
apache-2.0
4,926
147
codeparrot/github-code
52497af9dd184a4e46877c5c36aa0d1430696b4d04ebbb004ac45b1fd1974a10
/* * 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
components/camel-sql/src/test/java/org/apache/camel/processor/aggregate/jdbc/JdbcAggregateRecoverWithSedaTest.java
nikhilvibhav/camel
apache-2.0
3,832
89
codeparrot/github-code
548b89baf681dba7707e9ef6f78d720be13054a19c9bf134dbc8cdfa7849fcb5
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
Java
geode-cq/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/DurableClientCrashDUnitTest.java
smgoller/geode
apache-2.0
2,463
71
codeparrot/github-code
d5165d5f2ce5997777206e0c324bc5792a509c11f0e589d7cb7edbf1b26099b3
/*========================================================================= * Copyright (c) 2010-2014 Pivotal Software, Inc. All Rights Reserved. * This product is protected by U.S. and international copyright * and intellectual property laws. Pivotal products are covered by * one or more patents listed at http://w...
Java
gemfire-core/src/main/java/com/gemstone/gemfire/internal/cache/DiskRegionStats.java
ysung-pivotal/incubator-geode
apache-2.0
10,702
318
codeparrot/github-code
8c741a606dea3fb09acf2e3d077c30f51678565413d5a8d232f37aac2d63e215
/** * Copyright 2015-2016 Red Hat, Inc, and individual contributors. * * 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...
Java
core/container/src/main/java/org/wildfly/swarm/cli/CommandLineParser.java
emag/wildfly-swarm
apache-2.0
1,413
47
codeparrot/github-code
bb575bbb87b4fb700bab2f5191f0d66e12d4d5a20523f20b3f4dfa9411bf6fb3
/* * 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-guided-rule-editor/drools-wb-guided-rule-editor-client/src/test/java/org/drools/workbench/screens/guided/rule/client/editor/GuidedRuleEditorPresenterValidationTest.java
mbiarnes/drools-wb
apache-2.0
3,123
85
codeparrot/github-code
6716a258c1bcc347792c716a39fe5d8caf6dc9999ad28bf0c2b2adaf880b3228
/* * Copyright 2000-2012 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
platform/lang-impl/src/com/intellij/codeInsight/completion/CompletionThreading.java
android-ia/platform_tools_idea
apache-2.0
4,847
159
codeparrot/github-code
19fd596572d3e22e7ac6f4df2283f104d63b44d0141aaae88a52b67caf4a8ae9
/** * 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
core/src/main/java/org/apache/metamodel/schema/DefaultTableAliasedSchema.java
tomatophantastico/metamodel
apache-2.0
2,643
90
codeparrot/github-code
259920efeefad5fdebad8aa233d85dcec76fdb4bd250d14347bf32d768d873ae
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" type="text/css" href="./tracker_debug.css"> <script type="text/javascript" src="debug.js"></script> <script type="text/javascript"> function loadDebugOutput() { /////// show calibration proce...
HTML
contrib/tracker_debug.html
cosmo1911/moveonpc
bsd-2-clause
6,591
220
codeparrot/github-code
d9f0a45450b3e3568f4ffe9ed585c5cae8262c07be95f2a78dbb5266af3428aa
/** * PS Move API - An interface for the PS Move Motion Controller * Copyright (c) 2011 Thomas Perl <m@thp.io> * 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 o...
C
src/utils/psmovepair.c
cosmo1911/moveonpc
bsd-2-clause
3,141
100
codeparrot/github-code
433db595169713bb8eadf07e059c073388c23cfff1c18a2617dba0562e84ed04
<?php class Kwc_Form_Field_Radio_Component extends Kwc_Form_Field_Select_Component { public static function getSettings() { $ret = parent::getSettings(); $ret['componentName'] = trlKwfStatic('Form.Radio'); return $ret; } protected function _getFormField() { $ret = ne...
PHP
Kwc/Form/Field/Radio/Component.php
yacon/koala-framework
bsd-2-clause
1,085
32
codeparrot/github-code
278e22aff0dbe1e272767a98c8c328aff470964ea7d2a76359aba4b60d735835
/* * Copyright © 2007,2008,2009,2010 Red Hat, Inc. * Copyright © 2010,2012 Google, Inc. * * This is part of HarfBuzz, a text shaping library. * * Permission is hereby granted, without written agreement and without * license or royalty fees, to use, copy, modify, and distribute this * software and its documen...
C++
third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh
youtube/cobalt
bsd-3-clause
75,352
2,291
codeparrot/github-code
eff626596e3ab72020d9384f39cab68910788c39da4656eb2fd7df9925353da1
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
C++
Modules/QtWidgets/src/QmitkLevelWindowRangeChangeDialog.cpp
ireicht/MITK-CSI
bsd-3-clause
1,524
60
codeparrot/github-code
b3a945df13bd9e15a830f195a8ac828edd9636f7ed78edee19b939e931ed1343
package org.hisp.dhis.dxf2.metadata.sync; /* * Copyright (c) 2004-2017, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the a...
Java
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/sync/MetadataSyncDelegate.java
troyel/dhis2-core
bsd-3-clause
3,796
102
codeparrot/github-code
8e81fc325d9dd45d9a8f0631fb63cad1e2b19c2f66e9ee93895035cfc8647aef
// 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 CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_BLOCKLIST_H_ #define CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_BLOCKLIST_H_ #include <map> #include <vector> #incl...
C
content/browser/bluetooth/bluetooth_blocklist.h
chromium/chromium
bsd-3-clause
3,825
107
codeparrot/github-code
b18021dc726831f8d15dbbcd17920a87129477bcaf65e4657cca6ee35abddf96
using System.Collections.Generic; using Contrib.Taxonomies.Models; using Contrib.Taxonomies.Services; using Orchard.ContentManagement; using Orchard.Environment; using Orchard.Environment.Extensions.Models; namespace Simian.Properties.Handlers { public class PropertyFeatureEventHandler : IFeatureEventHandler ...
C#
src/Orchard.Web/Modules/Simian.Properties/Handlers/PropertyFeatureEventHandler.cs
amandaharlin/cebdcore
bsd-3-clause
3,511
125
codeparrot/github-code
05b99e36ba20b1b7a680cc873f652b34de2a71a8b2effbb2ad5ac2a59e515d5c
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @emails oncall+react_native * @flow strict-local */ 'use strict'; const React = require('react'); import LogBoxIns...
JavaScript
Libraries/LogBox/UI/__tests__/LogBoxInspectorStackFrames-test.js
exponentjs/react-native
bsd-3-clause
2,709
96
codeparrot/github-code
f761fa56adfc2a739a24ed6a80b80f8abaaa74a4d928d4dc14b6efe6624fbe7e
// 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 rsa implements RSA encryption as specified in PKCS#1. // // RSA is a single, fundamental operation that is used in this package to // implement eithe...
GO
src/crypto/rsa/rsa.go
codestation/go
bsd-3-clause
20,022
665
codeparrot/github-code
f87a1d3db46ca57f5462f9b7021e98b3d03ca26a8bd2cf79ba8a331d2973fe9f
// 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 "third_party/blink/renderer/core/css/parser/css_supports_parser.h" #include "third_party/blink/renderer/core/css/parser/css_parser_impl.h" #incl...
C++
third_party/blink/renderer/core/css/parser/css_supports_parser.cc
chromium/chromium
bsd-3-clause
6,617
179
codeparrot/github-code
d9c9295ff985f53df8b9eaa21667fcc2308860ec9f417625a3fb0e46ee8c802b
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
C#
OpenSim/Framework/Servers/HttpServer/BaseStreamHandler.cs
TomDataworks/opensim
bsd-3-clause
3,471
85
codeparrot/github-code
dbfe6923a7b65597aea3c8578a12295a5021b00fed6025b07c942e1b89ccb546
/* * Sound driver for Silicon Graphics O2 Workstations A/V board audio. * * Copyright 2003 Vivien Chappelier <vivien.chappelier@linux-mips.org> * Copyright 2008 Thomas Bogendoerfer <tsbogend@alpha.franken.de> * Mxier part taken from mace_audio.c: * Copyright 2007 Thorben Jändling <tj.trevelyan@gmail.com...
C
unionfs-3.10.y/sound/mips/sgio2audio.c
prasidh09/cse506
gpl-2.0
27,269
979
codeparrot/github-code
8fa0f20111d57e0f8f8a96efef56ead7cda43318a1865151394dd1d05eb1bea0
// // Copyright (c) Microsoft Corporation. All rights reserved. // namespace Microsoft.Zelig.Debugger.ArmProcessor { using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.IO; using System....
C#
Zelig/Zelig/DebugTime/Debugger/Forms/SessionManager.cs
jkotas/llilum
mit
14,235
498
codeparrot/github-code
c53317d11fca2e7c235f963416cc05c85a74854f987722161c7c8769c0307057
/*! * jquery.confirm * * @version 2.3.1 * * @author My C-Labs * @author Matthieu Napoli <matthieu@mnapoli.fr> * @author Russel Vela * @author Marcus Schwarz <msspamfang@gmx.de> * * @license MIT * @url https://myclabs.github.io/jquery.confirm/ */ (function ($) { /** * Confirm a link or a button ...
JavaScript
web/js/jquery_confirm/jquery.confirm.js
michalgraczyk/calculus
mit
4,992
148
codeparrot/github-code
3690cc8f3e401c85d2f02d53e300e907d139f418eef8115f6cbfb6a0d912d3f7
/*************************************************************************/ /* visual_script_flow_control.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
C++
modules/visual_script/visual_script_flow_control.cpp
NateWardawg/godot
mit
26,255
940
codeparrot/github-code
30c9f6d33cc9710f6bacb1dfd1234da55abc800f1c529c5c06f5bf71a7b2ca20
using OfficeDevPnP.Core.Tools.UnitTest.PnPBuildExtensions.Utilities; using OfficeDevPnP.Core.Tools.UnitTest.SQL; using System; using System.Collections.Generic; using System.Data.SqlClient; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using System.Xml; namespa...
C#
Core/Tools/OfficeDevPnP.Core.Tools.UnitTest/OfficeDevPnP.Core.Tools.UnitTest.PnPBuildExtensions/SQLDB/PnPAppConfigManager.cs
rajashekarusa/PnP-Sites-Core
mit
10,446
216
codeparrot/github-code
aae33ade68fff14f2ee911c46b69766708eb40b0048045e368dab9e30dd25959
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Orleans.Runtime; using Orleans.Streams.Core; namespace Orleans.Streams { internal class StreamConsumer<T> : IInternalAsyncObservable<T> { internal bool ...
C#
src/Orleans.Streaming/Internal/StreamConsumer.cs
veikkoeeva/orleans
mit
11,940
258
codeparrot/github-code
d7d03acbef369f3bbb2f95575e29e70a89fdafc6c40fd863174c2f9dad2d2006
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // // #ifndef _DLWRAP_H #define _DLWRAP_H //include this file if you get contract violation because of delayload //nothrow implementations #if defined(VER_H) &...
C
src/inc/dlwrap.h
perfectphase/coreclr
mit
6,976
206
codeparrot/github-code
d77937c446bbe288d22f55145e5bc0385c38b0f864ba50424aa61b5eb1a1ed94
(function(angular, $) { 'use strict'; angular.module('FileManagerApp').service('apiHandler', ['$http', '$q', '$window', '$translate', 'Upload', function ($http, $q, $window, $translate, Upload) { $http.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; var ApiHandler = fun...
JavaScript
src/js/services/apihandler.js
michelpm1/angular-filemanager
mit
13,852
370
codeparrot/github-code
fc96ac849ddbaf248839133d4c1109723c98cd973e9d26cbe3dec59d31f41433
"""Nearest Neighbor Regression""" # Authors: Jake Vanderplas <vanderplas@astro.washington.edu> # Fabian Pedregosa <fabian.pedregosa@inria.fr> # Alexandre Gramfort <alexandre.gramfort@inria.fr> # Sparseness support by Lars Buitinck # Multi-output support by Arnaud Joly <a.joly@ulg.ac...
Python
venv/lib/python3.6/site-packages/sklearn/neighbors/regression.py
mbayon/TFG-MachineLearning
mit
10,967
302
codeparrot/github-code
5b0300d15550acc8b33c9c1ad5b0947174ac5c9bb2dad24c53bf94dfb58a643e
/** ****************************************************************************** * @file stm32f4xx_hal_hash.c * @author MCD Application Team * @version V1.4.4 * @date 22-January-2016 * @brief HASH HAL module driver. * This file provides firmware functions to manage the following...
C
third_party/STM32CubeF4/STM32F4xx_HAL_Driver/src/stm32f4xx_hal_hash.c
darketik/libstm32f4
mit
61,278
1,869
codeparrot/github-code
e36543538935e6b0f2d56daf9749ed8f1d127a8b6a4ebc79be8210d04769ffa6
<!DOCTYPE html > <html> <head> <title>implDV - io.github.mandar2812.dynaml.algebra.square.implDV</title> <meta name="description" content="implDV - io.github.mandar2812.dynaml.algebra.square.implDV" /> <meta name="keywords" content="implDV io.github.mandar2812.dynaml.algebra.square...
HTML
api_docs/DynaML/v1.5/dynaml-core/io/github/mandar2812/dynaml/algebra/package$$square$$implDV$.html
transcendent-ai-labs/transcendent-ai-labs.github.io
mit
29,412
506
codeparrot/github-code
87266b65f8befc36e30b3b3d79940f2207e7be1cc9e68a7a26169a6a6062d611
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Abp.Collections.Extensions; using Abp.Extensions; using Abp.Web.Api.Modeling; namespace Abp.Web.Api.ProxyScripting.Generators { internal static class ProxyScriptingJsFuncHelper { private const string ValidJsVari...
C#
src/Abp.Web.Common/Web/Api/ProxyScripting/Generators/ProxyScriptingJsFuncHelper.cs
abdllhbyrktr/aspnetboilerplate
mit
4,035
143
codeparrot/github-code
d1a05686b66bd3c286e1322d88be642074d0aaaedf7bedef97d0725945ba6e7d
/*! \file static_object.hpp \brief Internal polymorphism static object support \ingroup Internal */ /* Copyright (c) 2014, Randolph Voorhies, Shane Grant All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following condit...
C++
third_party/cereal/details/static_object.hpp
vonhachtaugust/simpleCNN
mit
4,837
128
codeparrot/github-code
bfe516f3f7b74e68c28b5d16de383064a274455f54dc500a8ea7fa8f6e0a41dd
--- A Set class. -- -- > Set = require 'pl.Set' -- > = Set{'one','two'} == Set{'two','one'} -- true -- > fruit = Set{'apple','banana','orange'} -- > = fruit['banana'] -- true -- > = fruit['hazelnut'] -- nil -- > colours = Set{'red','orange','green','blue'} -- > = fruit,colours --...
Lua
torch1/install/share/lua/5.1/pl/Set.lua
EliHar/Pattern_recognition
mit
5,439
223
codeparrot/github-code
6924104a9019ac1f981be1953e23194461711ef7770e77396577d08a90f1c2f8
<!DOCTYPE html> <html lang="en"> <head> <title>three.js webgl - modifier - tessellation</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=...
HTML
playground/js/three.js-r115/examples/webgl_modifier_tessellation.html
easz/rt_geometry
mit
4,961
234
codeparrot/github-code
b3771d9fb87eadca1178fa0dd4eeb5aff62417725fd7bdf400b1be0807a616c9
/** * Image Select (Version 1.8) * * Image Select is an extention to the Chosen, a Select Box Enhancer for * jQuery and Prototype, full source at https://github.com/harvesthq/chosen * * This plugin extension was designed as a humanized UI element for social networking * sites that need to faciliate relations bet...
JavaScript
ajax/libs/image-select/1.9/ImageSelect.jquery.js
joeyparrish/cdnjs
mit
6,792
191
codeparrot/github-code
4c5e4bca02bae8b47722de4831816bac29c4c40a68d1ebb104a2b139a42ae784
/** * Copyright (c) 2010-2017 by the respective copyright holders. * * 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 */...
Java
addons/binding/org.openhab.binding.sensebox/src/main/java/org/openhab/binding/sensebox/internal/model/SenseBoxGeometry.java
mvolaart/openhab2-addons
epl-1.0
870
34
codeparrot/github-code
c210a1197efe5e44979f7bc8b21e483119c000a755a78b6a0efbcea3d83b06dc
/** * Copyright (c) 2014,2019 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is av...
Java
extensions/binding/org.eclipse.smarthome.binding.bosesoundtouch/src/main/java/org/eclipse/smarthome/binding/bosesoundtouch/internal/OperationModeNotAvailableException.java
Snickermicker/smarthome
epl-1.0
1,117
38
codeparrot/github-code
64b2bc530d5bd225382b51f2c1e85612615532705f18b3f1c850e3163a38ab31
/* * Core MDSS framebuffer driver. * * Copyright (C) 2007 Google Incorporated * Copyright (c) 2008-2014, The Linux Foundation. All rights reserved. * Copyright (C) 2015 XiaoMi, Inc. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Fou...
C
drivers/video/msm/mdss/mdss_fb.c
monishk10/moshi_cancro
gpl-2.0
66,966
2,618
codeparrot/github-code
a2993bf9d91693c901e2bedcdce80c75087a5e171e10d979b12b4487c8ccc5c4
#ifndef _SCSI_IOCTL_H #define _SCSI_IOCTL_H #define SCSI_IOCTL_SEND_COMMAND 1 #define SCSI_IOCTL_TEST_UNIT_READY 2 #define SCSI_IOCTL_BENCHMARK_COMMAND 3 #define SCSI_IOCTL_SYNC 4 /* */ #define SCSI_IOCTL_START_UNIT 5 #define SCSI_IOCTL_STOP_UNIT 6 /* ...
C
include/scsi/scsi_ioctl.h
holyangel/LGE_G3
gpl-2.0
1,259
49
codeparrot/github-code
11a9a42f5c6f1c9c7d5bf7f0715983726cc93560b04e3b6c3af9befb92c82e69
/* * reserved comment block * DO NOT REMOVE OR ALTER! */ /* * 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 ...
Java
jdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/xml/internal/utils/NodeVector.java
YouDiSN/OpenJDK-Research
gpl-2.0
15,194
741
codeparrot/github-code
8652542fa233f593b50717231c5d4785cef002619b0e33309a6db8fe0694d84b
// leave this line at the top for all g_xxxx.cpp files... #include "g_headers.h" #include "g_local.h" #include "g_functions.h" #include "b_local.h" extern cvar_t *g_spskill; void G_SetEnemy( gentity_t *self, gentity_t *enemy ); void finish_spawning_turret( gentity_t *base ); void ObjectDie (gentity_t *self, gentity_...
C++
code/game/g_turret.cpp
ioquake/jedi-academy
gpl-2.0
70,057
2,516
codeparrot/github-code
b4e84ddb43387a5bad4608c927a6b5d8dcf0158ba4182897c4affe8e3762cf0c
/* brk system call for Linux/SH. Copyright (C) 1999-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. 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 by the Free Software Foundati...
C
uefi/userspace/glibc/sysdeps/unix/sysv/linux/sh/brk.c
SanDisk-Open-Source/SSD_Dashboard
gpl-2.0
1,344
48
codeparrot/github-code
27869630f551ee76a61077434adabc68d2770f6304f758d2bab213975ac66086
/* Copyright (C) 1991,1993-1997,99,2000,2005 Free Software Foundation, Inc. This file is part of the GNU C Library. Based on strlen implementation by Torbjorn Granlund (tege@sics.se), with help from Dan Sahlin (dan@sics.se) and bug fix and commentary by Jim Blandy (jimb@ai.mit.edu); adaptation to strchr ...
C
string/strchrnul.c
jjones-cavium/glibc
gpl-2.0
5,937
170
codeparrot/github-code
d36e75e98ed9c57cb0f93db2298dc283343c1955d9edd8a3d0142ceea38fd91c
using System; using Server; namespace Server.Items { public class Buckler : BaseShield { public override int BasePhysicalResistance{ get{ return 0; } } public override int BaseFireResistance{ get{ return 0; } } public override int BaseColdResistance{ get{ return 0; } } public override int BasePoisonResistanc...
C#
Scripts/Items/Shields/Buckler.cs
nmcgill/UOReturns
gpl-2.0
1,033
46
codeparrot/github-code
8abb547533de77fceea18181266ab81506a45053a3acc7b1974f6ae8355a8a78
/************************************************************************** * jquery.themepunch.revolution.js - jQuery Plugin for Revolution Slider * @version: 5.1 (20.10.2015) * @requires jQuery v1.7 or later (tested on 1.9) * @author ThemePunch *********************************************************************...
JavaScript
wp-content/plugins/revslider/public/assets/js/source/jquery.themepunch.revolution.js
patlegris/On-off-Studio
gpl-2.0
81,729
2,535
codeparrot/github-code
f16cc1483d476934e3d6fe50e2b591f26a4d38a0edf0ed8e860b2a325681499a
/* Copyright (c) 2011-2015, 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/gpu/msm/kgsl_trace.h
Odin-Kernel/kernel_huawei_angler
gpl-2.0
28,273
1,221
codeparrot/github-code
0123b867c59f1b4fa48a86b3f03422f7b91825b660089d96c109d39321f0a120
<?php /** * upcoming_products module * * @package modules * @copyright Copyright 2003-2018 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: Drbyte Fri Mar 2 22:34:03 2018 -0500 Modified in v1.5.6 $...
PHP
includes/modules/upcoming_products.php
mc12345678/zc-v1-series
gpl-2.0
3,141
63
codeparrot/github-code
136ec2208862601f6dc8d6b8cb4d76d646cfed0054453c46e4183cf390c329dc
/* Quad-precision floating point sine on <-pi/4,pi/4>. Copyright (C) 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek <jj@ultra.linux.cz> The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser...
C
sysdeps/ieee754/ldbl-128/k_sinl.c
stephenR/glibc-fpp
gpl-2.0
5,276
132
codeparrot/github-code
97fb04873908f6770b9ebecdb06239d7aabfed32929339001a46054c133c424b
/*************************************************************************** qgsserversettings.cpp --------------------- begin : December 19, 2016 copyright : (C) 2016 by Paul Blottiere email : paul dot blottiere at oslandia dot com ...
C++
src/server/qgsserversettings.cpp
CS-SI/QGIS
gpl-2.0
10,628
308
codeparrot/github-code
6ff8ed1a90c18abdd082c0996633dbc6fc654889a72f16db0f709ee3cac4523a
/* * #%L * OME Bio-Formats package for reading and converting biological file formats. * %% * Copyright (C) 2005 - 2015 Open Microscopy Environment: * - Board of Regents of the University of Wisconsin-Madison * - Glencoe Software, Inc. * - University of Dundee * %% * This program is free software: you ca...
Java
components/formats-gpl/src/loci/formats/in/MolecularImagingReader.java
JoeHsiao/bioformats
gpl-2.0
5,270
176
codeparrot/github-code
fbeb57e3f8c6d1cf4f947ce4fc900ecca3b798189f881162d5d58ac70e548b8e
/* * Copyright 2010 Tilera Corporation. 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, version 2. * * This program is distributed in the hope that it will ...
C
arch/tile/include/arch/sim.h
holyangel/LGE_G3
gpl-2.0
17,271
644
codeparrot/github-code
a6b5a46c4d94a035324ba9599465aca6b4a944f75e25042d5d6c45a9bb1b0267
/* Inner loops of cache daemon. Copyright (C) 1998-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licen...
C
nscd/connections.c
jjones-cavium/glibc
gpl-2.0
65,686
2,524
codeparrot/github-code
57d9e2a9dd7454566077c8c236a75c7d5348916623304a4c59d729e633e386ef
# # Copyright (C) 2009 OpenWrt.org # . /lib/ar71xx.sh PART_NAME=firmware RAMFS_COPY_DATA=/lib/ar71xx.sh CI_BLKSZ=65536 CI_LDADR=0x80060000 platform_find_partitions() { local first dev size erasesize name while read dev size erasesize name; do name=${name#'"'}; name=${name%'"'} case "$name" in vmlinux.bin.l...
Shell
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
ghostry/openwrt-ghostry
gpl-2.0
3,564
152
codeparrot/github-code
b5a9d10298dceb1018c918301af52032803fae5db93f57d23530ef58139b7563
/* Copyright (c) 2014-2015, 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/power/qcom/debug_core.c
freak07/Kirisakura_Pixel
gpl-2.0
7,427
320
codeparrot/github-code
96c8aaf3d3253cbcc5ae024210c367fc89a0d8a70ae365b9ec07ecda332c392d
/* * Copyright (c) 2007, 2012, 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
test/javax/swing/JColorChooser/Test6827032.java
greghaskins/openjdk-jdk7u-jdk
gpl-2.0
2,708
87
codeparrot/github-code
530488576cbce1e393775f70a8d39eb9e0aed00eab49deafb769a4fb04a06578
/**************************************************************************** ** ** This file is part of the Qt Extended Opensource Package. ** ** Copyright (C) 2009 Trolltech ASA. ** ** Contact: Qt Extended Information (info@qtextended.org) ** ** This file may be used under the terms of the GNU General Public License ...
C++
src/qtopiadesktop/server/merge.cpp
rk34cj/qt-extend-4.4.3
gpl-2.0
35,760
963
codeparrot/github-code
05017ff83724908356a3075b7f26359584e6b472320495f17e7659454f10b54a
////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// // // copyright : (C) 2014 The CodeLite Team // file name : Markup.cpp // // ---------------------------------------------------------...
C++
Plugin/Markup.cpp
pkdevbox/codelite
gpl-2.0
4,572
127
codeparrot/github-code
fe643c41d3c4ea2908400a5f5373d4446950f5be78258deced6f44be92782176
/**************************************************************************** ** ** This file is part of the Qt Extended Opensource Package. ** ** Copyright (C) 2009 Trolltech ASA. ** ** Contact: Qt Extended Information (info@qtextended.org) ** ** This file may be used under the terms of the GNU General Public License ...
C++
src/plugins/qtopiacore/iconengines/qtopiapiciconengine/piciconengine.cpp
liuyanghejerry/qtextended
gpl-2.0
7,811
274
codeparrot/github-code
9f019e02534c28bd9ce5a821158879a08800b5aaf0b8c1712e24904927044f6d
/* Copyright (C) 2003 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT AN...
C++
storage/ndb/include/util/NdbSqlUtil.hpp
ottok/mariadb-galera-10.0
gpl-2.0
5,914
185
codeparrot/github-code
f2d6769f2f153440ce5a3d1797c3571bd5b972682a7b076bcff8529d94b3b5c7
<?php /** * * * Created on Sep 4, 2006 * * Copyright © 2006 Yuri Astrakhan "<Firstname><Lastname>@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; either version 2 of the Li...
PHP
wiki/includes/api/ApiMain.php
Dominic--/CCPT
gpl-2.0
42,457
1,353
codeparrot/github-code
66fdbec79b19d2f1a23290912437ea4f77cf656c0eee1bcc555a65b5740200f4
/* $Id: capiutil.c,v 1.13.6.4 2001/09/23 22:24:33 kai Exp $ * * CAPI 2.0 convert capi message to capi message struct * * From CAPI 2.0 Development Kit AVM 1995 (msg.c) * Rewritten for Linux 1996 by Carsten Paeth <calle@calle.de> * * This software may be used and distributed according to the terms * of the GNU G...
C
drivers/isdn/capi/capiutil.c
holyangel/LGE_G3
gpl-2.0
29,488
1,077
codeparrot/github-code
556e4e002cade805fd3646940c617678327d5d440d42f63b4964b47169e3822d
/* * File: mca.h * Purpose: Machine check handling specific defines * * Copyright (C) 1999, 2004 Silicon Graphics, Inc. * Copyright (C) Vijay Chander (vijay@engr.sgi.com) * Copyright (C) Srinivasa Thirumalachar (sprasad@engr.sgi.com) * Copyright (C) Russ Anderson (rja@sgi.com) */ #ifndef _ASM_IA64_MCA_H #defin...
C
linux-2.6.x/include/asm-ia64/mca.h
ipwndev/DSLinux-Mirror
gpl-2.0
5,370
164
codeparrot/github-code
ae4ec415a65abe8f6fde49fcb78de6d6c66559ca06737bfd89f80c062def68fe
using System; namespace Server.Items { [Flipable(0x315C, 0x315D)] public class HornOfTheDreadhorn : Item { public override int LabelNumber{ get{ return 1072089; } } // Horn of the Dread [Constructable] public HornOfTheDreadhorn() : base( 0x315C ) { } public HornOfTheDreadhorn( Serial serial ) : base( ...
C#
Scripts/Items/Misc/Twisted Weald/HornOfTheDreadhorn.cs
jackuoll/Pre-AOS-RunUO
gpl-2.0
613
35
codeparrot/github-code
a9d58ac0042c36e6a815668d29d9d90fb7cc15bd34f51a4fe37b9f75c3bca09a
#ifndef __ASM_SH_USER_H #define __ASM_SH_USER_H #include <asm/ptrace.h> #include <asm/page.h> /* ...
C
arch/sh/include/asm/user.h
holyangel/LGE_G3
gpl-2.0
2,539
68
codeparrot/github-code
2f5dd8d47ddb7b47d351a058da00e6b02c30d05beb36c9257b2de14e266c1391
/* * Linux/PA-RISC Project (http://www.parisc-linux.org/) * * Floating-point emulation code * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * ...
C
arch/parisc/math-emu/sfsub.c
javelinanddart/android_kernel_samsung_msm8974
gpl-2.0
14,613
522
codeparrot/github-code
b201f6c78c4ef5d0a6ff8b6e855d4676afd4b77cca78a6f456ff4510b5c1543c
/* * Copyright (C) 2005 MIPS Technologies, Inc. All rights reserved. * * This program is free software; you can distribute it and/or modify it * under the terms of the GNU General Public License (Version 2) as * published by the Free Software Foundation. * * This program is distributed in the hope it will b...
C
arch/mips/kernel/kspd.c
javelinanddart/android_kernel_samsung_msm8974
gpl-2.0
9,473
424
codeparrot/github-code
5c4d792e6bd2a13d667cfe2cf78ef7158a980bf6b5c231c3ef954801b1d6ce2c
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* * st-scroll-bar.c: Scroll bar actor * * Copyright 2008 OpenedHand * Copyright 2008, 2009 Intel Corporation. * Copyright 2009, 2010 Red Hat, Inc. * Copyright 2010 Maxim Ermilov * * This program is free software; you can redistribute it and/or ...
C
src/st/st-scroll-bar.c
artourkin/Cinnamon
gpl-2.0
38,548
1,268
codeparrot/github-code
38d288c1d8a65d33e8505f14d58889fceb9d8f20fb86698b9796849e892d7731
#include "GLideN64.h" #include "F3D.h" #include "F3DEX.h" #include "F3DEX2.h" #include "F3DZEX2.h" #include "gSP.h" #define F3DZEX2_BRANCH_W 0x04 void F3DZEX2_Branch_W( u32 w0, u32 w1 ) { gSPBranchLessW(gDP.half_1, _SHIFTR( w0, 1, 7 ), w1); } void F3DZEX2_Init() { gSPSetupFunctions(); // Set GeometryMode flags G...
C++
mupen64plus-video-gliden64/upstream/src/uCodes/F3DZEX2.cpp
loganmc10/mupen64plus-ae
gpl-3.0
2,079
52
codeparrot/github-code
5bbb608128b1e56b74117ec02db1c5fb35bfbda394dc28712074f4f09535b8b4
#!/usr/bin/env python """ This activity will calculate the ratio between CPU request and Memory request by (job ID, task index, event type). These fields are optional and could be null. """ # It will connect to DataStoreClient from sciwonc.dataflow.DataStoreClient import DataStoreClient import ConfigDB_TaskEvent_0 imp...
Python
sbbd2016/experiments/4-mongodb-rp-3sh/9_workflow_full_10files_primary_3sh_noannot_with_proj_9s/calculateratio_0/CalculateRatioCpuMemory_0.py
elainenaomi/sciwonc-dataflow-examples
gpl-3.0
3,196
121
codeparrot/github-code
6cc7641f20262527365ff41a22b9aa172fe4402190c4c626d821ad9b530e0c8e
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- #include "Plane.h" void Plane::failsafe_short_on_event(enum failsafe_state fstype) { // This is how to handle a short loss of control signal failsafe. failsafe.state = fstype; failsafe.ch3_timer_ms = millis(); gcs_send_text(M...
C++
ArduPlane/events.cpp
jherve/ardupilot
gpl-3.0
3,497
131
codeparrot/github-code
bb438ec0f052e3a5726c154f28befc1f47cb8a239d0e840017f881a7779c66db
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Goggehn -- Involved in Mission: Bastok 3-3, 4-1 -- !pos 3 9 -76 243 ----------------------------------- require("scripts/globals/keyitems") require("scripts/globals/missions") ----------------------------------- function onTrade(player,npc,trade) en...
Lua
scripts/zones/RuLude_Gardens/npcs/Goggehn.lua
ffxijuggalo/darkstar
gpl-3.0
2,251
63
codeparrot/github-code
476f9522b4fbc7e1fa71b52e75826c5478d4dd6daf079ff6845420052de0a1a6
Clazz.declarePackage ("JM"); Clazz.load (["JM.AtomCollection"], "JM.BondCollection", ["JU.AU", "$.BS", "JM.Bond", "$.BondIteratorSelected", "$.BondSet", "$.HBond", "JU.BSUtil", "$.C", "$.Edge", "$.Logger"], function () { c$ = Clazz.decorateAsClass (function () { this.bo = null; this.bondCount = 0; this.numCached = null...
JavaScript
core/dslmcode/shared/drupal-7.x/libraries/jmol/jsmol/j2s/JM/BondCollection.js
heyMP/elmsln
gpl-3.0
17,347
521
codeparrot/github-code