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
b0dd471de2db3adf816390b0a1559e09d3446a1328d1227efe9742a022ca5852
/* Unix SMB/CIFS implementation. simple NTVFS filesystem backend Copyright (C) Andrew Tridgell 2003 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the Licens...
C
source4/ntvfs/simple/vfs_simple.c
sathieu/samba
gpl-3.0
28,263
1,113
codeparrot/github-code
adaf1b3d5bfd0a9b96b04da0362f3bdaefe0e9f635a9155a7766d29aed864739
# -*- coding: utf-8 -*- import re import time from ..internal.Account import Account from ..internal.misc import json class EuroshareEu(Account): __name__ = "EuroshareEu" __type__ = "account" __version__ = "0.12" __status__ = "testing" __description__ = """Euroshare.eu account plugin""" __l...
Python
module/plugins/accounts/EuroshareEu.py
Arno-Nymous/pyload
gpl-3.0
1,755
55
codeparrot/github-code
d54069b4b0afe88bca5c97ce040184582100780ed982e68a588942e7ef860909
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>The source code</title> <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="../resources/prettify/prettify.js"></script> <style type="t...
HTML
vendors/extjs/docs/source/Button.html
Warlock-developer/practicas
gpl-3.0
11,916
292
codeparrot/github-code
6ccb713abce6e18188191e058e821d0dc6c76a6c44f8edb5a6f8fb66b7e80228
/* * The Kuali Financial System, a comprehensive financial management system for higher education. * * Copyright 2005-2014 The Kuali Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Softw...
Java
kfs-purap/src/main/java/org/kuali/kfs/module/purap/util/ExpiredOrClosedAccount.java
bhutchinson/kfs
agpl-3.0
3,761
127
codeparrot/github-code
a5c1353fbcdbf7a9cbf04690cb5518fb6b8a9b574bc8b62964fa35a2dff6763b
/************************************************************************* * * * Thread local storage access stub for Open Dynamics Engine, * * Copyright (C) 2008 Oleh Derevenko. All rights reserved. * * Email: odar@eleks...
C++
ode/src/odetls.cpp
jwatte/ode
lgpl-2.1
5,166
151
codeparrot/github-code
73e97965b7f24858c865b9f70f33a8eb00f21440f44b744e80d61eab7b043641
/* * JBoss, Home of Professional Open Source. * Copyright 2018, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify i...
Java
testsuite/integration/ws/src/test/java/org/jboss/as/test/integration/ws/wsse/trust/SamlSecurityContextInInterceptor.java
xasx/wildfly
lgpl-2.1
2,716
59
codeparrot/github-code
4d7014942c2be782e97deecee7fb8a7b88f0948a08dc939f19c86abc7bb72cb2
#!/usr/bin/perl -w use strict; if (!scalar(@ARGV)) { print STDERR "Syntax: multi-bleu.perl [-length_analysis bucket] [ref-stem] < [system-output] If one reference translation: ref-stem is filename If multiple reference translations: ref-stem[0,1,2,...] is filename\n"; } my $length_analysis; if ($ARGV[0] eq '-lengt...
Perl
src/OpenNMT/benchmark/3rdParty/multi-bleu.perl
xennygrimmato/nmt
lgpl-3.0
5,049
166
codeparrot/github-code
d95da0bf96b95f07232f99c80086154a4337e5749c9723628d3493427d8002cb
#!/usr/bin/env python # Copyright 2011 OpenStack Foundation # 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...
Python
glance/cmd/cache_manage.py
vuntz/glance
apache-2.0
16,590
521
codeparrot/github-code
e5d7ea9ff950789627fd7a4d9e40298a4cbc7d35a1a3f77845c358d78e992ec9
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Scala
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/statsEstimation/BasicStatsEstimationSuite.scala
maropu/spark
apache-2.0
14,844
383
codeparrot/github-code
96c807a4d720976100777e2a3b8613d806077961ea64b542be50f283255fe0de
/* * Copyright 2015, The Querydsl Team (http://www.querydsl.com/team) * * 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 ...
Java
querydsl-jpa/src/test/java/com/querydsl/jpa/JPACollectionAnyVisitorTest.java
gordski/querydsl
apache-2.0
5,301
132
codeparrot/github-code
26f862a7b49a49b550333736f1a2593f69759f46f17c258101aa79601da7dffe
chorus.collections.FilteringCollection = chorus.collections.Base.extend({ constructorName:"FilteringCollection", setup:function (args) { if(!this.attributes.collection) { throw "Must initialize FilteringCollection with a child collection"; } if(args[0]) { throw ...
JavaScript
app/assets/javascripts/collections/filtering_collection.js
nvoron23/chorus
apache-2.0
1,897
56
codeparrot/github-code
c945c76dfd84f8c80f9cc2a845d7a83b9d2097b1740a60a163a78c7445501d09
/* Copyright 2012 - 2015 pac4j organization 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 agr...
Java
pac4j-oauth/src/main/java/org/pac4j/oauth/profile/linkedin/LinkedInAttributesDefinition.java
thesamet/pac4j
apache-2.0
1,460
41
codeparrot/github-code
6a180e068097aa78934162367781c8f02373affdfdd0db9c96654254e64d6aaf
/* * * Copyright 2015 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
C
third_party/grpc/include/grpcpp/impl/codegen/async_generic_service.h
akira-baruah/bazel
apache-2.0
2,656
82
codeparrot/github-code
a257891353130ddcc799a09bac034f9d9a24a07e6e34110f94078e4f92fab848
/* * Copyright 2009-2011 Red Hat, 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 agr...
C
src/condor_contrib/mgmt/qmf/daemons/JobServerObject.h
bbockelm/htcondor
apache-2.0
1,738
70
codeparrot/github-code
abc21d60a99a085f770e276ffed5c3de5ee0f3e0d53ad87b501c0b9b0dc2f872
/* * Copyright 2012-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/server/SslConfigurationValidatorTests.java
jxblum/spring-boot
apache-2.0
2,564
80
codeparrot/github-code
426d733ec2d0f2a6f6c243ac2e6bd9ab2ad17babd4fde95fbee0892501ccf871
// Copyright 2013 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_COMPILER_NODE_PROPERTIES_H_ #define V8_COMPILER_NODE_PROPERTIES_H_ #include "src/compiler/node.h" #include "src/types.h" namespace v8 { nam...
C
v8_4_5/src/compiler/node-properties.h
zero-rp/miniblink49
apache-2.0
4,957
139
codeparrot/github-code
4e3ad925e8c9ae82d46558bb2bbd4c451d90a2ecfa65fe45900de2989d778f7f
/** * 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
ru.vm.labs.mq/apache-activemq-5.12/examples/openwire/swissarmy/src/ProducerAndConsumerTool.java
vmoshkov/labs
apache-2.0
1,735
51
codeparrot/github-code
24671e5e414e6412e88b3f7a84a50ebb2637b31410e452bcb404b0d56af998a2
<?php final class PhabricatorMetaMTAConfigOptions extends PhabricatorApplicationConfigOptions { public function getName() { return pht('Mail'); } public function getDescription() { return pht('Configure Mail.'); } public function getIcon() { return 'fa-send'; } public function getGroup(...
PHP
src/applications/config/option/PhabricatorMetaMTAConfigOptions.php
phacility/phabricator
apache-2.0
12,918
310
codeparrot/github-code
b42f11aa63958b8bdfb4e9bd7788c2f33bf37ed302b7cc94ab0b6df763b7a9d1
/* Copyright 2014 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
GO
pkg/master/master.go
bradtopol/kubernetes
apache-2.0
20,470
492
codeparrot/github-code
bfd8c9c9b85724a5dd7ed71b1851f1bf6d06891b1e0f0a65654a5d78a94cbcb0
using System; using System.Runtime.InteropServices; using System.Diagnostics; namespace Microsoft.SPOT.Debugger { [Serializable] public enum LoggingLevelEnum { LTraceLevel0 = 0x0, LTraceLevel1 = 0x1, LTraceLevel2 = 0x2, LTraceLevel3 = 0x3, LTraceLevel4 = 0x4, LStatusLevel0 = 0x14, LStatusLevel1 = 0x15...
C#
Source/Xamarin Studio Microframework Add-in/Add-In Project/MonoDevelop.MicroFramework/Debug/ManagedCallbacks.cs
venkatarajasekhar/Monkey.Robotics
apache-2.0
14,032
493
codeparrot/github-code
ebed092fedcc12d7543407b5d71b3ed666c1d2926ca4a473d0c2e4d561941031
// 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 <sstream> #include "rocksdb/env.h" #include "...
C++
3rdParty/rocksdb/6.2/monitoring/thread_status_impl.cc
fceller/arangodb
apache-2.0
4,908
164
codeparrot/github-code
c373c7535266992d214e132ed12204c57be7ccb3c54c784e6b9c36bab4c8ca70
/* * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
C++
aws-cpp-sdk-elasticloadbalancing/source/model/CreateLoadBalancerPolicyRequest.cpp
bizzarri/aws-sdk-cpp
apache-2.0
1,879
59
codeparrot/github-code
74b3d07e1bae753692704a59e25716023c6b17e277d79515cc62954247a6c4a6
/** * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
Java
rice-middleware/kim/kim-ldap/src/main/java/org/kuali/rice/kim/ldap/EntityMapper.java
ricepanda/rice-git3
apache-2.0
7,356
192
codeparrot/github-code
f042c4cffdc5ee6ddf8a30900cfbabd68aea64a5689ffe6f5b31553f0eb6b647
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Java
presto-main/src/main/java/com/facebook/presto/operator/aggregation/state/DoubleHistogramStateSerializer.java
facebook/presto
apache-2.0
1,779
51
codeparrot/github-code
14dc614046c6f5d7063107ed5c18ade6f4cd29696d2ad09350a7c3c9aea6745d
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('v...
JavaScript
lib/undo_manager.js
greyhwndz/field-kit
apache-2.0
7,305
245
codeparrot/github-code
a7fd1262d1b0963abe2523721f6614ff0d49ad2b0e34bdf2d4ec14f322eac983
/* * 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
nifi-nar-bundles/nifi-kudu-bundle/nifi-kudu-processors/src/main/java/org/apache/nifi/processors/kudu/PutKudu.java
YolandaMDavis/nifi
apache-2.0
24,223
464
codeparrot/github-code
ba65eb9618561f8f9137b9d8581b2f9ea50534575727a97c37f9378d4810fdbe
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
Scala
frame/kafka-0.11.0/kafka-0.11.0.1-src/core/src/main/scala/kafka/api/GroupCoordinatorResponse.scala
wangcy6/storm_app
apache-2.0
1,980
59
codeparrot/github-code
3ea8f99a6dc5102db83c64336c30e972fa6a2b3e843ccc8a55b51ac379ca27bf
//===- LoopDependenceAnalysis.cpp - LDA Implementation ----------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
C++
src/llvm/lib/Analysis/LoopDependenceAnalysis.cpp
jeltz/rust-debian-package
apache-2.0
13,166
363
codeparrot/github-code
3a5b69d0ec46aab68b93cac735363113c4d0d734fab34f3ffd989de03d53dbf7
/* * Copyright (C) 2014 Collabora Ltd. * Author: Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> * * 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 th...
C
third_party/gst-plugins-good/sys/v4l2/v4l2-utils.c
google/aistreams
apache-2.0
4,936
203
codeparrot/github-code
c520af2800e90e7fcae68466274a8e37eb6f9313fd3c81eb3bd298fbb7f571fa
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../includes/main.css" type="text/css"> <l...
HTML
source/api/apidocs-4.6/root_admin/listRouters.html
pdion891/cloudstack-www
apache-2.0
14,252
320
codeparrot/github-code
16d3c63149a7b44c4bbcb8d9f02d9a7069f0ecd947f29eb634bc8ead9492982a
// baltzo_testloader.cpp -*-C++-*- #include <baltzo_testloader.h> #include <bsls_ident.h> BSLS_IDENT_RCSID(baltzo_testloader_cpp,"$Id$ $CSID$") #include <baltzo_errorcode.h> #include <baltzo_zoneinfo.h> #include <baltzo_zoneinfobinaryreader.h> #include <bdlsb_fixedmeminst...
C++
groups/bal/baltzo/baltzo_testloader.cpp
bowlofstew/bde
apache-2.0
3,676
121
codeparrot/github-code
53f0bc23bbfdd48df99368df8e27fe47a64e02ad52e5ad60ff42113507967fd7
<!doctype html PUBLIC "-//W3C//DTD html 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv='Content-Type' content='text/html; charset=utf-8'> <meta http-equiv='X-UA-Compatible' content='IE=emulateIE7' /> <title>Coverage for mtools.mloginfo.mloginfo: 88%</title> <...
HTML
mtools/test/cover/mtools_mloginfo_mloginfo.html
ces0712/mtools
apache-2.0
24,607
221
codeparrot/github-code
c7b3ce4cbffb9714c77fb7a6c6f0c8fcc09fffb4715d45a9d140a9bdf8abf6cc
package cluster import "github.com/docker/docker/api/types" // Volume is exported type Volume struct { types.Volume Engine *Engine } // Volumes represents an array of volumes type Volumes []*Volume // Get returns a volume using its ID or Name func (volumes Volumes) Get(name string) *Volume { // Abort immediatel...
GO
cluster/volume.go
fugr/swarm
apache-2.0
1,107
53
codeparrot/github-code
adf0a090c138a9ea1c3c975c83ef19c8978a8d89fb60517adc0a76019979c16f
/** * 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
tseenliu/FedHDFS-hadoop-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/api/TestContainerResourceIncreaseRequest.java
tseen/Federated-HDFS
apache-2.0
2,836
69
codeparrot/github-code
1ccc7c63ff0f630abc195570b69f00564455b5cf1f0dc7a34822f801aee88a62
// RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s #include "test.h" int Global; extern "C" void AnnotateIgnoreWritesBegin(const char *f, int l); extern "C" void AnnotateIgnoreWritesEnd(const char *f, int l); extern "C" void AnnotateIgnoreReadsBegin(const char *f, int l); extern "C" void AnnotateIgnoreRe...
C++
third_party/llvm-project/compiler-rt/test/tsan/ignore_race.cc
youtube/cobalt
bsd-3-clause
857
32
codeparrot/github-code
f8673c97d4d778c7df7079ae764e8d9d5cd729ca3830232f380cc0f25d25b663
/*========================================================================= Program: Visualization Toolkit Module: vtkSphereWidget.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is...
C
Interaction/Widgets/vtkSphereWidget.h
msmolens/VTK
bsd-3-clause
9,639
283
codeparrot/github-code
f6954a671c28c0a97a29d072f6d99356fc7c3e807821689007166e67a7962a11
/* D3.js Slider Inspired by jQuery UI Slider Copyright (c) 2013, Bjorn Sandvik - http://blog.thematicmapping.org BSD license: http://opensource.org/licenses/BSD-3-Clause */ d3.slider = function module() { "use strict"; // Public variables width default settings var min = 0, max...
JavaScript
d3.slider.js
kostasdizas/d3.slider
bsd-3-clause
10,278
363
codeparrot/github-code
091b1e54c13056cf19670b13e14f1d6ab8baf0b3e9b199c6192bb9810df72658
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions ...
C
gpu/kinfu_large_scale/include/pcl/gpu/kinfu_large_scale/tsdf_volume.h
jeppewalther/kinfu_segmentation
bsd-3-clause
11,791
289
codeparrot/github-code
42fcad4ee91a415adba7c5f73b640b1ac2030038ddb806dc3ac8e0719d6cdc02
// 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 "media/formats/mp4/box_definitions.h" #include "base/logging.h" #include "media/formats/mp4/es_descriptor.h" #include "media/formats/mp4/rcheck....
C++
media/formats/mp4/box_definitions.cc
TeamEOS/external_chromium_org
bsd-3-clause
29,659
960
codeparrot/github-code
c62a00b6cc69806698bc35903e08fd8dba975c82abd2a7c34dc731e7915bcd72
<HTML> <HEAD> <TITLE>JavaScript Performance Test - Build Table Script</TITLE> <script type="text/javascript"> <!-- var result = "-1"; function beginTest() { // get current time var sample = (new Date()).getTime(); var next_sample; // wait for time to change to begin test - this should reduce error due to poo...
HTML
core/standards/scripts/jstest-futhark/benchmarks/ibench-all/javascript/download_table.html
frivoal/presto-testo
bsd-3-clause
6,150
258
codeparrot/github-code
1292d2cd694e9bcf369334916ec35d6ccb8eb658442bc838fdec1fa5e6a2edff
// 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 "chrome/browser/sync_file_system/drive_backend/sync_worker.h" #include "base/files/scoped_temp_dir.h" #include "base/run_loop.h" #include "base/...
C++
chrome/browser/sync_file_system/drive_backend/sync_worker_unittest.cc
TeamEOS/external_chromium_org
bsd-3-clause
14,391
398
codeparrot/github-code
0b85929dbfd93e2a6e88c7ca673131c829641f53512e1a42b350acee27754e71
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non-commercial use as long as ...
C
third_party/boringssl/src/crypto/bn/exponentiation.c
sgraham/nope
bsd-3-clause
43,276
1,565
codeparrot/github-code
4e1c953e99af194337dc1afbfaa7940af0b084f679e9c23c95d041603c25b648
// Copyright 2019 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. package org.chromium.chrome.browser.preferences; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static o...
Java
chromium/chrome/browser/preferences/android/java/src/org/chromium/chrome/browser/preferences/KeyPrefixTest.java
ric2b/Vivaldi-browser
bsd-3-clause
2,072
64
codeparrot/github-code
faebadf099edbeb71ab43f330a8746105cc7733a8a81db3c7adb3469de5e3823
/** * This is the api to be used when handling the integration with the web page instead of using the default integration * (mermaid.js). * * The core of this api is the **render** function that given a graph definitionas text renders the graph/diagram and * returns a svg element for the graph. It is is then up to...
JavaScript
src/mermaidAPI.js
pnkfelix/mermaid
mit
11,698
366
codeparrot/github-code
1765fc68aa3afcac8495e3b6ffc2f96ee7aa5786e7fd2e4eb32362ea71bc2995
package.path = package.path .. "rfc2544/?.lua;../rfc2544/?.lua;" if master == nil then master = "dummy" end local dpdk = require "dpdk" local device = require "device" local arp = require "proto.arp" local throughput = require "benchmarks.throughput" local latency = require "be...
Lua
rfc2544/master.lua
NetronomeMoongen/MoonGen
mit
7,915
247
codeparrot/github-code
bf00dbc64a8accd88f406ed9c3b58929b7f4b69aa032fd375c63e36ca1768e9a
package net.glowstone.util.nbt; /** * Represents a single NBT tag. */ public abstract class Tag<T> { /** * The type of this tag. */ private final TagType type; /** * Creates the tag with the specified type. * @param type The type. */ protected Tag(TagType type) { th...
Java
src/main/java/net/glowstone/util/nbt/Tag.java
keke142/GlowstonePlusPlus
mit
1,396
65
codeparrot/github-code
8badcce9d7a0f9f6b380e11c1538277ea9504428fa22c43b74644cfd01d3c002
/**************************************************************************** Copyright (c) 2013 Zynga Inc. Copyright (c) 2013-2014 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation fi...
C++
frameworks/cocos2d-x/cocos/2d/CCLabelTextFormatter.cpp
martinmontane/cocos2dGame
mit
12,745
395
codeparrot/github-code
c60bbba4a3668923f79885af58b539f12b07d59f4f66cadba716b5432ad09f05
using System; using TrueCraft.API.Windows; using TrueCraft.Core.Windows; using TrueCraft.API; namespace TrueCraft.Core.Windows { public class ChestWindow : Window { public ChestWindow(InventoryWindow inventory, bool doubleChest = false) { DoubleChest = doubleChest; if (...
C#
TrueCraft.Core/Windows/ChestWindow.cs
illblew/TrueCraft
mit
3,803
127
codeparrot/github-code
b528a261d1b4f6942feb307de5b4807778c779814fdc1492c651e193e639228f
require File.join(File.dirname(__FILE__), "../_lib") module MoSQL class Test::Functional < MoSQL::Test attr_reader :sequel, :mongo def sql_test_uri ENV['MONGOSQL_TEST_SQL'] || 'postgres:///test' end def mongo_test_uri ENV['MONGOSQL_TEST_MONGO'] || 'mongodb://localhost' end def mo...
Ruby
test/functional/_lib.rb
jperichon/mosql
mit
1,777
68
codeparrot/github-code
e1326a8be23fb8808510d51352d83f2e3e71ae0642332c8a74d866e4fe2d86bb
package com.adobe.epubcheck.ctc; import com.adobe.epubcheck.api.Report; import com.adobe.epubcheck.ctc.epubpackage.EpubPackage; import com.adobe.epubcheck.ctc.epubpackage.ManifestItem; import com.adobe.epubcheck.opf.DocumentValidator; import com.adobe.epubcheck.util.FeatureEnum; import com.adobe.epubcheck.util.PathUti...
Java
src/main/java/com/adobe/epubcheck/ctc/EpubRenditionCheck.java
vengattech/epubcheck
mit
4,490
146
codeparrot/github-code
ae83afe3d714de1161f25fc976d35571252c289b33aabc65cda1eaac1b2a2090
/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman Copyright (c) 2011 Eric Niebler Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)...
C++
override/boost/fusion/view/single_view/detail/begin_impl.hpp
viennautils/viennautils-dev
mit
1,337
48
codeparrot/github-code
f93b367970feeac4de9e6e1e630b5ba04a56a276d08dd89a11a574575ee66854
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>DocStrap Classes</title> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/sunlight.default.css"> <link type="text/css" rel="stylesheet" ...
HTML
npminstall/ink-docstrap/themes/united/classes.list.html
guoguogis/ng-nice
mit
7,762
407
codeparrot/github-code
9b48ce32bfa9d88acf53beef480a4e3ae49f5775f7af8f35db243f79b3ff1521
#include <iostream> #include <sstream> #include <fstream> #include <vector> #include <cmath> #include "arsenal.h" #include "ParameterReader.h" #include "Table.h" using namespace std; int phi_col_idx; // indexed starting from 0 int calculate_vn_to_order; int total_number_of_columns; void operation(vector<double> *da...
C++
utilities/bin_utilities/bin_pT.cpp
chunshen1987/iSS
mit
2,882
87
codeparrot/github-code
0afea797fdc3cf4b9aefc0f8d758156fc125a13a825b5b2d43c8a57573cd0f02
<script type="text/javascript" src="/bbs/include/js/httpRequest.js"></script> <script type="text/javascript"> function comment_add() { var csrf_token = getCookie('csrf_cookie_name'); var name = "comment_contents="+encodeURIComponent(document.com_add.comment_contents.value)+"&csrf_test_name="+csrf_token+"&t...
PHP
prq/temp/application/views/board/view_v_backup.php
Taebu/prq
mit
4,982
164
codeparrot/github-code
b0a45670609e3a594502640afe314db090154156dd8fee1215cd729658e0203c
var tmp = require('tmp'), should = require('should'), Promise = require('bluebird'), configUtils = require('../../utils/configUtils'), extname = require('path').extname, // Stuff we are testing UploadAPI = require('../../../server/api/upload'), uploadimage = { ...
JavaScript
core/test/integration/api/api_upload_spec.js
NovaDevelopGroup/Academy
mit
5,147
163
codeparrot/github-code
3dc139b8c8a1e4656d6e4b1d4acc04efb7165f0c0bb5a6fee23279f139b04cbf
'use strict'; const Command = require('../models/command'); const Win = require('../utilities/windows-admin'); module.exports = Command.extend({ name: 'build', description: 'Builds your app and places it into the output path (dist/ by default).', aliases: ['b'], availableOptions: [ { name: 'environ...
JavaScript
lib/commands/build.js
ember-cli/ember-cli
mit
1,290
39
codeparrot/github-code
2a7d4be81f8282f1b9d2c7fa6b91563a9cbd712dc1f99ff4a27c54446ded6366
--- layout: base title: "Join!" lang: en --- <!-- About --> <div class="beneath-sections jumbotron fond__blue"> <div class="container text__black"> <div class="row"> <div class="col-lg-10 col-lg-offset-1"> <h3>Join us at Code for Germany!</h3> <p>Code for Germany is a broad network of softw...
HTML
en/mitmachen/index.html
metawops/codefor.de
mit
5,341
92
codeparrot/github-code
6c14827828c60b7e44e0ad5abe29b7e7917025d76acc5423b6eb68fac5e785fe
/* * Author: doixanh <doixanh at xda-developers> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * *...
C
drivers/uvbeni/beniuv.c
bebek15/samsung_kernel_msm7x27
gpl-2.0
2,575
93
codeparrot/github-code
7f3ab9188f8c20073d88e6153eb5329df69acf98368864166e1bb161dafed4e9
/* * Copyright (c) 2013 Johannes Berg <johannes@sipsolutions.net> * * This file is free software: you may copy, redistribute 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 ver...
C
drivers/net/ethernet/atheros/alx/main.c
jallen93/linux-vnic-dbg
gpl-2.0
48,858
2,046
codeparrot/github-code
3c806382579fffafe6bd1dd9fd54c4e35c0edae64fb2e076b14fbad7a1842b5e
/* * Virtio SCSI HBA * * Copyright IBM, Corp. 2010 * Copyright Red Hat, Inc. 2011 * * Authors: * Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> * Paolo Bonzini <pbonzini@redhat.com> * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-leve...
C
hw/scsi/virtio-scsi.c
amuaddib/qemu_scratch
gpl-2.0
20,677
702
codeparrot/github-code
3c93732a53e5ff71d96e2cc8b76e51cc30ca96fb13385b3329170f68813b36f3
/** * Test to make sure that pending calls succeed when given a default, * specific and infinite timeout. **/ #include <config.h> #include <dbus/dbus.h> #include <dbus/dbus-sysdeps.h> #include <stdio.h> #include <limits.h> #include <stdlib.h> static void _method_call (DBusConnection *conn, int time...
C
external/dbus/test/name-test/test-pending-call-timeout.c
shakalaca/ASUS_ZenFone_A450CG
gpl-2.0
2,731
104
codeparrot/github-code
660d7f3d4e2752470ca7d5283bb34f7aa02535cac8c6453839d5efb601873f77
/* * This file is part of the coreboot project. * * Copyright (C) 2009 One Laptop per Child, Association, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. ...
C
src/northbridge/via/vx800/clk_ctrl.c
latelee/coreboot
gpl-2.0
7,791
278
codeparrot/github-code
8b8ae560c3fd1c3ee70ed8a040f8c863ff92fde893c57b789836002cf52b0b8e
/* * Copyright (C) 2010, Samsung Electronics Co. Ltd. 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
drivers/input/touchscreen/mxt540e.c
jwchen1259/nevermore
gpl-2.0
74,597
2,918
codeparrot/github-code
66957fb0094a9947485cda38e1bd97211b56774a9223bcdcd2f4631d75e167d6
<?php function buildControlCommand( $monitor ) { $ctrlCommand = ZM_PATH_BIN."/zmcontrol.pl"; if ( isset($_REQUEST['xge']) || isset($_REQUEST['yge']) ) { $slow = 0.9; // Threshold for slow speed/timeouts $turbo = 0.9; // Threshold for turbo speed if ( preg_match( '/^([a-z]+)([A-Z][...
PHP
web/includes/control_functions.php
kylejohnson/branch
gpl-2.0
42,595
970
codeparrot/github-code
e9c79433f5f62f77d047c7bd9868f938f41c28b43b3460ee1e41b6ab972e1274
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Synthesize TLB refill handlers at runtime. * * Copyright (C) 2004, 2005, 2006, 2008 Thiemo Seufer * Copyright (C) 2005, 2007, 2008, 20...
C
arch/mips/mm/tlbex.c
Lprigara/KernelLinuxRaspberry
gpl-2.0
61,215
2,278
codeparrot/github-code
7c79abf9aaf1a282f137ef0f52890f840b81e479881d3f05977b054ed3f5e254
/* * LPCAnalysis.cpp * * Created by Nicholas Collins on 10/09/2009. * Copyright 2009 Nicholas M Collins. All rights reserved. * */ //numerical stability issues; need to use doubles for R in particular to avoid round-off and keep positive definite //can also test for stability by making sure all E greater tha...
C++
source/NCAnalysisUGens/LPCAnalysis.cpp
supercollider/sc3-plugins
gpl-2.0
4,151
244
codeparrot/github-code
f852660d2f4450df770f339cb4f10240b17b87d8cb5a93a723abf54d1fc910b3
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 1995 Linus Torvalds * Copyright (C) 2001, 2002 Andi Kleen, SuSE Labs. * Copyright (C) 2008-2009, Red Hat Inc., Ingo Molnar */ #include <linux/sched.h> /* test_thread_flag(), ... */ #include <linux/sched/task_stack.h> /* task_stack_*(), ... */ #include <li...
C
linux-4.19/arch/x86/mm/fault.c
BPI-SINOVOIP/BPI-Mainline-kernel
gpl-2.0
37,853
1,474
codeparrot/github-code
0749b687e2ab8cd859ac7fd6e4341660cfb68bae1b3c7300c143c3435a398b31
/* * IRC - Internet Relay Chat, src/modules/m_setident.c * (C) 1999-2001 Carsten Munk (Techie/Stskeeps) <stskeeps@tspre.org> * * See file AUTHORS in IRC package for additional names of * the programmers. * * This program is free software; you can redistribute it and/or modify * it under the terms o...
C
src/modules/m_setident.c
morria/Unreal
gpl-2.0
5,907
244
codeparrot/github-code
48ca0a34f76db69f827a4b1feaade0a35d8bd2948f99c36c4c617f58b57ce65a
/* * TUN - Universal TUN/TAP device driver. * Copyright (C) 1999-2002 Maxim Krasnyansky <maxk@qualcomm.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 L...
C
drivers/net/tun.c
mzueger/linux-phycore-mpc5200b
gpl-2.0
39,142
1,694
codeparrot/github-code
1f310f7cecc593c698570be30f1d91015420a8779f84bcb6b081d44342bb96c4
/* { dg-do compile { target lp64 } } */ /* { dg-require-effective-target powerpc_p9vector_ok } */ /* { dg-require-effective-target float128 } */ /* { dg-options "-mpower9-vector -O2" } */ /* Test the generation of the round to odd instructions. */ __float128 f128_add(__float128 a, __float128 b) { return __builtin_a...
C
gcc/testsuite/gcc.target/powerpc/float128-odd.c
Gurgel100/gcc
gpl-2.0
1,863
77
codeparrot/github-code
3a085116dff773b5da730936b1ac8b174b6d1d43f1da68202b11c12a47f51a9a
<?php // $Id require_once("common_methods.php"); switch (get_drupal_version()) { case 5: require_once("drupal5_theme_methods.php"); break; case 6: require_once("drupal6_theme_methods.php"); break; case 7: require_once("drupal7_theme_methods.php"); break; default: break; } /* Common metho...
PHP
sites/all/themes/theme5/template.php
discobots2587/2014-Website
gpl-2.0
5,532
235
codeparrot/github-code
a04e818db232995d40d8942292f907a193f9f155d0fb9df314098c99cd99053a
/* * Copyright (C) 2011-2013 ProFUSION embedded systems * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version...
C
testsuite/test-blacklist.c
trevd/android_external_kmod
gpl-2.0
2,762
110
codeparrot/github-code
370f79ebad02f95f71b39930ecba97dc6832696ee4fbfdf0274a54379832761a
/* Copyright (C) 1998-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 Foundation; either version 2.1 of the ...
C
uefi/userspace/glibc/libio/oldpclose.c
SanDisk-Open-Source/SSD_Dashboard
gpl-2.0
1,816
51
codeparrot/github-code
57513151dc3937ec21a4c0c56047de0fd38e9a737617a6197e17ea63f3143438
# Base folder support # Copyright (C) 2002 John Goerzen # <jgoerzen@complete.org> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your opt...
Python
offlineimap/folder/UIDMaps.py
avsm/perscon-imap
gpl-2.0
8,119
227
codeparrot/github-code
850b3e0ffa02ada2ba64b08470952d5c02c15297b53563fe2bc189647fcc8320
using System; using Server.Items; namespace Server.Mobiles { [CorpseName("Acid Elemental [Renowned] corpse")] public class AcidElementalRenowned : BaseRenowned { [Constructable] public AcidElementalRenowned() : base(AIType.AI_Mage) { this.Name = "Acid Element...
C#
Scripts/Mobiles/Monsters/Renowned/AcidElementalRenowned.cs
Ultima-Lokai/ServUO-Test
gpl-2.0
2,962
105
codeparrot/github-code
3a43c46bf4d43bf476a576a987320453a2b0b660a8b66b12bce86e2ea7cf60a3
// 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"); yo...
Java
examples/Math-issue-340/src/mantissa/src/org/spaceroots/mantissa/random/ScalarSampleStatistics.java
SpoonLabs/astor
gpl-2.0
3,841
162
codeparrot/github-code
a1e3bbbcb74e008f38cf9e64a66f03e927a9503904d8affb8ee347cdf1fccb1a
/* Copyright (C) 1991-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 Foundation; either version 2.1 of the ...
C
uefi/userspace/glibc/sysdeps/mach/hurd/umask.c
SanDisk-Open-Source/SSD_Dashboard
gpl-2.0
1,063
34
codeparrot/github-code
45c21c2584e087b847108727514aeb3c2a1caa0994d904b6646f1fb9cc69bfaa
/* * PC BIOS disk driver * * FIXME: make this use the block stuff and partitions * FIXME2: some crapware blows up if the buffer crosses a 64K boundary * so we need to check this for user (and do smaller I/O) and it probably * means we need to 512 byte align the buffer cache (ick). Whle user is * 4K aligned they ...
C
Kernel/platform-ibmpc/biosdisk.c
EtchedPixels/FUZIX
gpl-2.0
6,097
213
codeparrot/github-code
33071c8d1d9def6ac4a697c2e6f4e5654bf46cc95b2e87d8a3d065ac6ac6dbc8
/* * 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
src/main/java/com/caucho/config/j2ee/JndiValueGenerator.java
dwango/quercus
gpl-2.0
2,252
75
codeparrot/github-code
87445ca0c832d7789e30d2cd5bb2a1c057c7c740c7d8322da7d149e115f81066
-- -- Type: PROCEDURE; Owner: TM_CZ; Name: I2B2_PROCESS_RNA_SEQ_INC_DATA -- CREATE OR REPLACE PROCEDURE "TM_CZ"."I2B2_PROCESS_RNA_SEQ_INC_DATA" ( trial_id VARCHAR2 ,top_node varchar2 ,data_type varchar2 := 'R' -- R = raw data, do zscore calc, T = transformed data, load raw values as zscore, -- L = ...
SQL
ddl/oracle/tm_cz/procedures/i2b2_process_rna_seq_inc_data.sql
JanKanis/transmart-data
gpl-3.0
38,323
1,076
codeparrot/github-code
2feed06cbd8840358b5c8aef1623f1cebd79f40e9a1879cf55959a895b692ae9
/** ****************************************************************************** * @file stm32f4xx_hal_adc_ex.c * @author MCD Application Team * @version V1.4.0 * @date 14-August-2015 * @brief This file provides firmware functions to manage the following * functionalities of th...
C
vm/stm32/drivers/hal/src/stm32f4xx_hal_adc_ex.c
npic/rtvmc
gpl-3.0
31,270
873
codeparrot/github-code
80585e6ac611b7098d23a31c8012143e1e0487836047412f727c80b232095f19
/**************************************************************************** * MeshLab o o * * An extendible mesh processor o o * * _ O _ * * Copyri...
C
wrap/qt/gl_label.h
cnr-isti-vclab/vcglib
gpl-3.0
6,745
199
codeparrot/github-code
2292d76298df0100fd344e7197a7b891295e8dc084b1411e8e45ec63ca6d587d
/* -*-mode:c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #ifndef BINNED_LIVEGRAPH_HH #define BINNED_LIVEGRAPH_HH #include <vector> #include <string> #include <atomic> #include <thread> #include <exception> #include <mutex> #include <functional> #include "graph.hh" class BinnedLiveGraph { privat...
C++
src/graphing/binned_livegraph.hh
mehrdadkhani/mahimahi
gpl-3.0
1,356
54
codeparrot/github-code
e9c0ad04237e32bde5ca3231a4c11ad55963b686d6583535b72f206066a87695
/* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
frameworks/base/core/java/android/webkit/SslErrorHandler.java
mateor/PDroidHistory
gpl-3.0
8,576
274
codeparrot/github-code
9bdf62ecc2b15f2ffee24eed2d14ead96fa7813eb88e5a55f1f277c84b2ef365
<?php require( dirname( __FILE__ ) .'/../commandLine.inc' ); if ( count( $args ) < 1 ) { echo "Usage: php trackBlobs.php <cluster> [... <cluster>]\n"; echo "Adds blobs from a given ES cluster to the blob_tracking table\n"; echo "Automatically deletes the tracking table and starts from the start again when restart...
PHP
tools/mediawiki/maintenance/storage/trackBlobs.php
hendrysuwanda/101dev
gpl-3.0
8,974
333
codeparrot/github-code
f072e8a93a54188d40fa795832b5ea2c681340f4a4414b75a2f65f363825ad7e
/* Copyright 2015 the SumatraPDF project authors (see AUTHORS file). License: Simplified BSD (see COPYING.BSD) */ /* A regression test suite. The idea is to add tests for bugs we fix that are too time consuming to be part of unit tests. The tests can rely on presence of shared test files. Note: because it ...
C++
src/regress/Regress.cpp
alexmonro/sumatrapdf
gpl-3.0
5,355
202
codeparrot/github-code
1eeb277aea9e8c6514d2dfb505b1a291b846075a6e3c18a9799d0d20e02a3edd
/* * Author: Alex Gibson * https://github.com/alexgibson/notify.js * License: MIT license */ (function(global, factory) { 'use strict'; if (typeof define === 'function' && define.amd) { // AMD environment define(function() { return factory(global, global.document); }); ...
JavaScript
public/js/notify.js
azaghal/thebuggenie
mpl-2.0
6,486
212
codeparrot/github-code
526be925e177ba10478dee051ee64ff9d140760a1059008ee4468b666905a68b
/* * Copyright 2013 The Polymer Authors. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ (function() { var thisFile = 'lib/mocha-htmltest.js'; var base = ''; (function() { var s$ = document.querySelectorAll('script[src]'); ...
JavaScript
test/lib/mocha-htmltest.js
flukeout/component-dataview-localstorage
mpl-2.0
1,517
63
codeparrot/github-code
26c43068b315f9f0527bd8493bd8e734b79cce8c3e380caaac387fa8e9755c1a
_kiwi.view.MemberList = Backbone.View.extend({ tagName: "div", events: { "click .nick": "nickClick", "contextmenu .nick": "nickClick", "dblclick .nick": "nickClick", "click .channel_info": "channelInfoClick" }, initialize: function (options) { this.model.bind('al...
JavaScript
client/src/views/memberlist.js
Flauschbaellchen/KiwiIRC
agpl-3.0
3,997
125
codeparrot/github-code
c3fb9e80371ec3a947ece6aab68d1752d4dd9882876914a8237d60cf4ea75d7a
// wrapped by build app define("dojox/xmpp/bosh", ["dijit","dojo","dojox","dojo/require!dojo/io/script,dojo/io/iframe,dojox/xml/parser"], function(dijit,dojo,dojox){ dojo.provide("dojox.xmpp.bosh"); dojo.require("dojo.io.script"); dojo.require("dojo.io.iframe"); dojo.require("dojox.xml.parser"); /*===== dojo.declare(...
JavaScript
lib/dojox/xmpp/bosh.js.uncompressed.js
alexbuzzbee/CoffeeScript-OS
agpl-3.0
7,254
251
codeparrot/github-code
ae8e0ccbe44f9e77a3bcea7ded0af4dcfdaa163f9cc36393506a3933b1625b2a
/* * Copyright (c) 2000-2010 Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU * General Public License as published by the Free Software * Foundation; either version 2 of the License, or...
C++
iverilog-0.10.0/Attrib.cc
CModelGen/frontend
lgpl-2.1
2,303
102
codeparrot/github-code
9b01022312f3da0c651792ac7ea27770dfb3e05cb3aa440c1f8b5df2f40a80e7
/* * This file is part of Cockpit. * * Copyright (C) 2016 Red Hat, Inc. * * Cockpit is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any l...
JavaScript
pkg/selinux/setroubleshoot-client.js
petervo/cockpit
lgpl-2.1
8,632
218
codeparrot/github-code
6ca7721ae9c85ba4de16a17d2b65c25833f4a847cd452a2caa3b16217c86a5e3
/* * Copyright 2017, University Corporation for Atmospheric Research * See netcdf/COPYRIGHT file for copying and redistribution conditions. */ #include "config.h" #ifdef HAVE_STDLIB_H #include <stdlib.h> #endif #ifdef HAVE_STRING_H #include <string.h> #endif #include "netcdf.h" #include "ncutf8.h" #include "ut...
C
contrib/netcdf/netcdf-c-4.6.2/libdispatch/dutf8.c
capitalaslash/libmesh
lgpl-2.1
4,527
177
codeparrot/github-code
fc9085a4626cd6ed380b39c3cbadeb135c4d9034411ce4a2191768eaff103b3c
/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy Alliance, LLC ...
C++
framework/src/functions/LinearCombinationFunction.C
mellis13/moose
lgpl-2.1
2,448
63
codeparrot/github-code
51d1200a2939da263877fbef0cfd40e42c6ccfe62acf8d934a573825949b311d
<!DOCTYPE html> <html><head><!-- Copyright (C) 2007 Apple Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this lis...
HTML
categories/sunspider/static/math-cordic.html
t-artistik/browserscope
apache-2.0
4,361
142
codeparrot/github-code
62c19e985a71debc6ecd804b5d6fb1e748f18a0f81ad499b215a0dc7f2eea71c
/* * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
spring-boot-project/spring-boot-cli/src/test/java/org/springframework/boot/cli/command/CommandRunnerTests.java
tiarebalbi/spring-boot
apache-2.0
5,749
190
codeparrot/github-code
150e23eefda3a0f0dc817d4f8eeee6583fdb8c57b5be7739804c0e6351ab301c
/* * * 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"); y...
JavaScript
src/server/notify/ext/incubator-ripple/lib/client/ui/plugins/videoPlayer.js
sangjin3/webida-server
apache-2.0
2,006
52
codeparrot/github-code
8d2d0a868bc63e066ffb195e7a45a1eba6909e68494ce02a6ee99bf28ca2e581
// // Struct.cpp // // $Id: //poco/1.4/CppParser/src/Struct.cpp#1 $ // // Library: CppParser // Package: SymbolTable // Module: Struct // // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include "Poco/CppParser/Struct.h" #include "P...
C++
platform/CppParser/src/Struct.cpp
linuxvom/macchina.io
apache-2.0
5,121
258
codeparrot/github-code
df0d75e3143481d3644f5ac2066e12cf99f9c70c1ce24eea7d62c5480acd5d0e
package dockerclient import ( "bytes" "crypto/tls" "encoding/json" "errors" "fmt" "io" "io/ioutil" "net/http" "net/url" "strconv" "strings" "sync/atomic" "time" ) const ( APIVersion = "v1.15" ) var ( ErrNotFound = errors.New("Not found") defaultTimeout = 30 * time.Second ) type DockerClient struct ...
GO
dockerclient.go
turtlebender/dockerclient
apache-2.0
15,163
604
codeparrot/github-code
360016775422b3f3af47b1ac4895a5033819031f882f67bb2f1f834d684ab72c
/* 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
modules/flowable-engine/src/main/java/org/flowable/engine/impl/cfg/DefaultTaskVariableScopeResolver.java
lsmall/flowable-engine
apache-2.0
1,780
45
codeparrot/github-code