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
a67a2a778a4a193f06d2233ef38beafcd324cff31559840ef5c337f9e9946bd3
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
Java
qa/jtreg/net/jini/security/ProxyPreparer/LocalClassLoaderVerifyProxyPreparer.java
pfirmstone/JGDMS
apache-2.0
1,930
56
codeparrot/github-code
70704a4b20cc4ae59dcc6992cfbb079fe9f55408b66e455107885f2fe132ebd9
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
Java
api/src/test/java/io/druid/data/input/impl/RegexParseSpecTest.java
potto007/druid-avro
apache-2.0
1,963
58
codeparrot/github-code
254db786c9672763302e319228297b659ea0947198cd254a9e10e231d2cdbe0b
/* * Copyright 2005-2007 WSO2, Inc. (http://wso2.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
Java
components/sso-saml/org.wso2.carbon.identity.sso.saml/src/main/java/org/wso2/carbon/identity/sso/saml/admin/SAMLSSOConfigAdmin.java
rswijesena/carbon-identity
apache-2.0
11,010
214
codeparrot/github-code
4b683a92564421bcdc22b02c496f6b81461fce06c79a8cc26d7dc9953f2183b5
#!/bin/bash # ======================================================================== # Copyright (c) 2006-2010 Intalio Inc # ------------------------------------------------------------------------ # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse P...
Shell
jetty-feature/jettyhome/start.sh
intalio/cloud.core.jetty
apache-2.0
8,286
225
codeparrot/github-code
264112e28b746194387b0288ed22f61f48db9cc9ccc888dd85731463378ae60e
/* * 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-registry/nifi-registry-core/nifi-registry-client/src/test/java/org/apache/nifi/registry/client/impl/request/TestBearerTokenRequestConfig.java
MikeThomsen/nifi
apache-2.0
1,642
44
codeparrot/github-code
8936255978a590a15a9f5556d5a22ad09372f0386bba2017cb96a28978fca1ab
package io.cattle.platform.docker.machine.api.filter; import static io.cattle.platform.core.constants.MachineConstants.*; import io.cattle.platform.core.constants.AccountConstants; import io.cattle.platform.core.constants.HostConstants; import io.cattle.platform.core.model.Host; import io.cattle.platform.iaas.api.fil...
Java
code/implementation/docker/machine/src/main/java/io/cattle/platform/docker/machine/api/filter/MachineValidationFilter.java
jimengliu/cattle
apache-2.0
2,296
59
codeparrot/github-code
a24d99ae39b5b682aaa0af6537bf5e4410d8f433139297e2c1e9884d46c91cf7
/* * Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ /* * Copyright 1999-2002,2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file ex...
Java
src_en/com/sun/org/apache/xerces/internal/impl/dv/util/HexBin.java
shun634501730/java_source_cn
apache-2.0
3,681
116
codeparrot/github-code
7e9d29c0b109752bbfdc6d403dcd060ff38dd5da558d5646430e306e4dac73bc
/* * 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
storage-api/src/java/org/apache/hadoop/hive/common/io/FileMetadataCache.java
vineetgarg02/hive
apache-2.0
2,471
69
codeparrot/github-code
2097b25f310abd0c508291c1eef88b6aee38587fc3fa55317dd357a9b1db790e
/* * 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
server/src/test/java/org/apache/druid/server/initialization/JettyTest.java
pjain1/druid
apache-2.0
18,632
524
codeparrot/github-code
3a4ff8159a143a0f4a6389f1f8be9d7844a2145391a90cbac33c1e4c019479db
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
Java
serial/src/main/java/org/jboss/marshalling/serial/ExternalizedObject.java
kohsuke/jboss-marshalling
apache-2.0
3,023
93
codeparrot/github-code
d0d614f5dee7eabc5f6fd661f62f3d5f9451f9a18f9156484b2150980d8d796d
/* * Copyright 2014-2016 CyberVision, 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 o...
Java
server/common/verifier-shared/src/main/java/org/kaaproject/kaa/server/common/verifier/AbstractKaaUserVerifier.java
forGGe/kaa
apache-2.0
2,194
57
codeparrot/github-code
32557a6bf97f042f2508c6ca94725f7c3ff3165c5e20ea7e4a4e233dee063447
/* * Copyright (c) Facebook, Inc. and 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 applic...
Java
src/com/facebook/buck/cxx/OmnibusRoots.java
facebook/buck
apache-2.0
6,108
151
codeparrot/github-code
f0650880b9bfe98a82e55acf5e301ccaedca861d9f6720c3e4dac8b14ed7ecaa
/** * Copyright 2012 International Business Machines Corp. * * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. Licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except in compliance * with the License. You m...
Java
com.ibm.jbatch.container/src/main/java/com/ibm/jbatch/container/util/TCCLObjectInputStream.java
sidgoyal/standards.jsr352.jbatch
apache-2.0
1,450
47
codeparrot/github-code
0f5bcb3bbc7f2e65d6ee48373b59e13ec1247ce54e22d3ca5d5c17b9d89d3d2e
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
JavaScript
modules/setup-scripts/conf/wso2das-3.0.1/repository/deployment/server/jaggeryapps/monitoring/gadgets/data-table/js/data-table.js
pirinthapan/app-cloud
apache-2.0
5,363
191
codeparrot/github-code
fdcb10ba71273d227a965ad54bfce2d1e7683fd4c6e8ccefcc3a6e3fea8911fa
/* * 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/PageBufferClient.java
facebook/presto
apache-2.0
20,089
553
codeparrot/github-code
5d8d770d446c36d4536114a4803ac5b6a940e0dd960fdb6c094c717d0271cb5d
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>rtree(Range const &amp;)</title> <link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../../../i...
HTML
src/boost_1_57_0/libs/geometry/doc/html/geometry/reference/spatial_indexes/boost__geometry__index__rtree/rtree_range_const___.html
biospi/seamass-windeps
apache-2.0
13,697
212
codeparrot/github-code
ab1f8358d9d267b4d55f2defa557918abbe2a9dc73c510cbb6b9c4f72bc4cf34
package io.dropwizard.jersey.errors; import io.dropwizard.jersey.AbstractJerseyTest; import io.dropwizard.jersey.DropwizardResourceConfig; import org.glassfish.jersey.server.ResourceConfig; import org.glassfish.jersey.servlet.ServletProperties; import org.glassfish.jersey.test.DeploymentContext; import org.glassfish.j...
Java
dropwizard-jersey/src/test/java/io/dropwizard/jersey/errors/ErrorEntityWriterTest.java
Alexey1Gavrilov/dropwizard
apache-2.0
2,886
73
codeparrot/github-code
b0bc5016a406a55585524b3eaaab2e419981dee2eb168355311939c90de7d5ec
# ---------------------------------------------------------------- # Copyright 2016 Cisco Systems # # 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/LICENS...
Python
core/ydk/providers/_importer.py
111pontes/ydk-py
apache-2.0
1,938
54
codeparrot/github-code
7ae0cc45482b9b3ed6ffdd80cfe0fc9bf44779ab66778203b03e8a12a47c31ce
/* * 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 "l...
Java
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/transform/DeleteNetworkAclEntryRequestMarshaller.java
sdole/aws-sdk-java
apache-2.0
2,365
57
codeparrot/github-code
15443751c10399b9433aa6cc636dc38586f8b19119e8c95a5617e0d39b4bcff7
/** ****************************************************************************** * @file stm32f1xx_hal_flash.c * @author MCD Application Team * @brief FLASH HAL module driver. * This file provides firmware functions to manage the following * functionalities of the internal FLASH me...
C
ext/hal/st/stm32cube/stm32f1xx/drivers/src/stm32f1xx_hal_flash.c
ldts/zephyr
apache-2.0
30,212
984
codeparrot/github-code
f80674af0146712bf187dd5959ddd9bd3e78cee9ae09163bdc7619d7f85b47fb
/******************************************************************************* * 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...
Java
src/test/resources/apache-ofbiz-16.11.03/framework/base/src/main/java/org/apache/ofbiz/base/util/collections/MapStack.java
yuri0x7c1/ofbiz-explorer
apache-2.0
4,203
126
codeparrot/github-code
87a25dae70250ba1de9af8ba26e3b73de6de6b69417e4bf1c9544991f2aae87c
/* Copyright 2015 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C++
tensorflow/core/kernels/mkl_concat_op.cc
SnakeJenny/TensorFlow
apache-2.0
18,576
458
codeparrot/github-code
0339b09bbacf6cce68b72c67f14bbac9a4b5070407317d6af4d0499b0ea89007
/** ****************************************************************************** * @file stm32f4xx_fsmc.c * @author MCD Application Team * @version V1.2.1 * @date 19-September-2013 * @brief This file provides firmware functions to manage the following * functionalities of the F...
C
STM32F4xx_DSP_StdPeriph_Lib_V1.2.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fsmc.c
CristianKrieger/InterfazAdquisicionNTSC
apache-2.0
42,000
990
codeparrot/github-code
526fe1f2f77b5c72caaca6c61432a38bab5edd7c4019d414565e71ffef98313c
/* * $Id: Login.java 471756 2006-11-06 15:01:43Z husted $ * * 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 und...
Java
src/apps/mailreader/src/main/java/mailreader2/Login.java
WillJiang/WillJiang
apache-2.0
1,397
49
codeparrot/github-code
c30513c44638d1af585d26d07cf3206ad1971e5efaf422d32896802e38566eec
/* TUIO C++ Library Copyright (c) 2005-2014 Martin Kaltenbrunner <martin@tuio.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3.0 of the License, or (at your option)...
C++
robot_localization/TUIO/OscReceiver.cpp
portaloffreedom/robot-baby
apache-2.0
1,990
61
codeparrot/github-code
de6519ca83d2ce8edf3b2a5214d542100ea81e45960be7443378bca4e6847e72
#!/bin/bash # slim-svn-export.sh will source the slim.cfg file to understand what # it needs to work on. # # then is does an svn export and monitors disc space through a second # script that is generated below. # # Example of structure: # ~sysutil/svn.forge.mil/slim/base/dev/rhel4/rpm/trunk/channels/i386/utils PROGNAM...
Shell
packages/aqueduct/aqueduct/compliance/Puppet/STIG/rhel5/Unix-Checklist/base/dev/rhel5/scripts/trunk/scripts/slim-channels-svn-to-sat.sh
quark-pat/CLIP
apache-2.0
3,153
74
codeparrot/github-code
b5a04de8fab3539609baa71184c42243d73d7f2e29b486cecf2d4df9850c8d99
/* * Copyright 2000-2014 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
xml/xml-psi-impl/src/com/intellij/psi/impl/source/xml/TagNameReference.java
goodwinnk/intellij-community
apache-2.0
6,957
198
codeparrot/github-code
1a7cb9ec76ba3a106053c6602c585b592cfc930671e9e407318f5305b1a87391
/* * Copyright 2015 The Closure Compiler Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
Java
test/com/google/javascript/jscomp/NewTypeInferenceWithTypeSyntaxTranspilationTest.java
anomaly/closure-compiler
apache-2.0
6,823
225
codeparrot/github-code
35adc8bd4d7f588a05d177e4b47f32009cd7af551db2bb52ebff38500bc6b593
"""Update a task in maniphest. you can use the 'task id' output from the 'arcyon task-create' command as input to this command. usage examples: update task '99' with a new title, only show id: $ arcyon task-update 99 -t 'title' --format-id 99 """ # ========================================================...
Python
py/aon/aoncmd_taskupdate.py
kjedruczyk/phabricator-tools
apache-2.0
5,958
204
codeparrot/github-code
0539a068338c358dfa3299e4f06d0e9e458bb790275ccf9d7abd38b15a80fd50
import logging import terminal INFO = logging.INFO # between info and debug VERBOSE = (logging.INFO + logging.DEBUG) / 2 DEBUG = logging.DEBUG log = logging.getLogger('rdopkg') log.setLevel(logging.INFO) if len(log.handlers) < 1: formatter = logging.Formatter(fmt='%(message)s') handler = logging.StreamHandl...
Python
rdopkg/utils/log.py
ktdreyer/rdopkg
apache-2.0
1,968
101
codeparrot/github-code
cfcd865c0d15a90ec2c6d555d51a2b10725af3135d8cf6e3e1aa242a0eac1b54
# Copyright 2015 Internap. # # 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, so...
Python
fake_switches/cisco/command_processor/config_vlan.py
internap/fake-switches
apache-2.0
1,182
31
codeparrot/github-code
d219ed15f78866890a78729dd64aa5dfd12b20fb6cede4f0082893c5c113fc6e
package mousio.etcd4j.responses; import io.netty.buffer.Unpooled; import io.netty.handler.codec.http.DefaultHttpHeaders; import io.netty.handler.codec.http.HttpHeaders; import org.junit.Before; import org.junit.Test; import static mousio.etcd4j.EtcdUtil.convertDate; import static mousio.etcd4j.responses.EtcdResponseD...
Java
src/test/java/mousio/etcd4j/responses/EtcdKeysResponseParserTest.java
armstrongli/etcd4j
apache-2.0
16,035
413
codeparrot/github-code
c1057ed5cffc54522b63d99be128448327606dfb480c97c31245604d9bef2617
package org.jetbrains.plugins.scala package codeInspection.imports import com.intellij.codeInspection.{LocalInspectionTool, ProblemHighlightType, ProblemsHolder} import com.intellij.psi.PsiElementVisitor import org.jetbrains.plugins.scala.codeInspection.InspectionBundle import org.jetbrains.plugins.scala.lang.psi.api....
Scala
src/org/jetbrains/plugins/scala/codeInspection/imports/SingleImportInspection.scala
loskutov/intellij-scala
apache-2.0
1,353
35
codeparrot/github-code
9112b472a22f3cdbfdc28c5d0ac33a7b0017604ad50069e1ebc3774308efde64
using System; using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace ZendeskApi_v2.Serialization { /// <summary> /// found example here https://dotnetfiddle.net/XG3eRy /// </summary> /// <typeparam name="T"></typeparam> class SingleOrArrayConverter<T> : Jso...
C#
src/ZendeskApi_v2/Serialization/SingleOrArrayConverter.cs
CKCobra/ZendeskApi_v2
apache-2.0
1,156
40
codeparrot/github-code
497fc1732582370063d9caaf4483f6e6b7e9354891bfbf2ac53a7404b98ac827
# -------------------------------------------------------------------------- # # Copyright 2002-2015, OpenNebula Project (OpenNebula.org), C12G Labs # # # # Licensed under the Apache License, Version 2.0 (the "License"); you may # # no...
Ruby
src/authm_mad/remotes/server_cipher/server_cipher_auth.rb
spirit03/one
apache-2.0
4,910
149
codeparrot/github-code
86bbc5cf4b4bdf5eb63930f2603fca0d77d6a5dc55a6232515d9a3403decbe2f
#!/bin/sh # Checks if a given cert on disk will expire soon # Copyright 2009 Peter Palfrader # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limit...
Shell
files/usr/local/lib/nagios/plugins/check_cert.sh
KyleJHarper/puppet-icinga
apache-2.0
1,723
57
codeparrot/github-code
7ce08618b41c08b5a2812d6bd3c8ed9d990ca2cfc0b50edbce2fdc9aabdef16d
package org.maltparserx.core.syntaxgraph.reader; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.net.URL; imp...
Java
src/main/java/org/maltparserx/core/syntaxgraph/reader/NegraReader.java
michaelcapizzi/processors
apache-2.0
16,507
459
codeparrot/github-code
4ddd47e399009c1f8005f2b5633fe81310aed343de6714eacfc5ef6a1b9a702b
using EPiServer.Cms.UI.AspNetIdentity; using EPiServer.Commerce.Order; using Mediachase.Commerce.Customers; using Microsoft.AspNet.Identity; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Security.Claims; using System.Threading.Tasks;...
C#
Sources/EPiServer.Reference.Commerce.Shared/Identity/SiteUser.cs
simerc/QuicksilverPlus
apache-2.0
4,042
111
codeparrot/github-code
dc22df5b1a68e433c79493b69acc4069ec549c78880b784173f4b9b62ea1f32f
/* * 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
examples/camel-example-transformer-cdi/src/main/java/org/apache/camel/example/transformer/cdi/MyRoutes.java
objectiser/camel
apache-2.0
1,699
48
codeparrot/github-code
417776d714341397267c55ec04f255fd1dde8fb363323dc4d0e6f54224fefe7b
//===-- CommandObjectStats.cpp ----------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
C++
source/Commands/CommandObjectStats.cpp
apple/swift-lldb
apache-2.0
3,669
107
codeparrot/github-code
dfafcc3a948242fa6fe05a5fcc61841bb6f23da83993d7f46cf6ed047dbd812a
/****************************************************************************** * * Copyright (C) 1999-2012 Broadcom Corporation * * 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: * ...
C
components/bt/bluedroid/external/sbc/encoder/srce/sbc_packing.c
krzychb/rtd-test-bed
apache-2.0
10,878
257
codeparrot/github-code
517c2f4c974b3ddfee9b42fca7c0809d5a47171c577258acf51d66fb9e981785
/** * Copyright 2005-2016 Red Hat, Inc. * * Red Hat licenses this file to you under the Apache License, version * 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
Java
fabric/fabric-zookeeper-commands/src/main/java/io/fabric8/zookeeper/commands/Create.java
jludvice/fabric8
apache-2.0
2,701
76
codeparrot/github-code
233949d41217aee13b11aa2feafcfafac918134883f415bf6c1b857c33bb5bba
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; using SuperSocket.Common; using SuperSocket.SocketBase; using SuperSocket.SocketBase.Config; using SuperSocket.SocketBase.Logging; using SuperSocket.SocketBase.Provider; using SuperSocket.SocketEngine.Conf...
C#
SocketEngine/AppDomainBootstrap.cs
jmptrader/SuperSocket
apache-2.0
8,405
252
codeparrot/github-code
d1855f4e3556a8e5bbf1a28368d6d4db7e393ddac859fa52b02149d8863b3514
#include "drape/utils/gpu_mem_tracker.hpp" #include <iomanip> #include <sstream> namespace dp { std::string GPUMemTracker::GPUMemorySnapshot::ToString() const { std::ostringstream ss; ss << " Summary Allocated = " << m_summaryAllocatedInMb << "Mb\n"; ss << " Summary Used = " << m_summaryUsedInMb << "Mb\n"; ss...
C++
drape/utils/gpu_mem_tracker.cpp
darina/omim
apache-2.0
2,815
100
codeparrot/github-code
d4fce83b9a99f787770324c8fdb822d08d45f9378488d84dcc91b6221720e238
package io.airlift.http.client.spnego; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import io.airlift.units.Duration; import org.eclipse.jetty.client.api.Authentication; import org.eclipse.jetty.client.api.AuthenticationStore; import java.net.URI; import java.util.concurrent.Time...
Java
http-client/src/main/java/io/airlift/http/client/spnego/SpnegoAuthenticationStore.java
zhenyuy-fb/airlift
apache-2.0
2,775
90
codeparrot/github-code
3391c46520968ae5fa3a0c64b8c72a76de57261a498b047a7d4853c957d9d2bd
package fr.castorflex.android.circularprogressbar; import android.graphics.Canvas; import android.graphics.Paint; import android.os.SystemClock; import android.support.annotation.NonNull; import java.util.concurrent.TimeUnit; /** * Created by castorflex on 9/12/15. */ public class PowerSaveModeDelegate implements ...
Java
library-circular/src/main/java/fr.castorflex.android.circularprogressbar/PowerSaveModeDelegate.java
ifunny/SmoothProgressBar
apache-2.0
1,396
58
codeparrot/github-code
6205fa6d20a54028c16559672bd05b4a010c205363a9af6404978c9075a2ad66
package org.wso2.developerstudio.datamapper.diagram.providers.assistants; import java.util.ArrayList; import java.util.List; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.gmf.runtime.emf.type.core.IElementType; import org.wso2.developerstudio.datamapper.diagram.providers.DataMapperElementTypes; impor...
Java
plugins/org.wso2.developerstudio.visualdatamapper.diagram/src/org/wso2/developerstudio/datamapper/diagram/providers/assistants/DataMapperModelingAssistantProviderOfDataMapperRootEditPart.java
prabushi/devstudio-tooling-esb
apache-2.0
2,706
65
codeparrot/github-code
212d5a1d83817ff85a4258c65f47a8de6a5cdd193538d1db6e2a46f8c3cea32f
/* * Copyright (c) 2009 SpringSource, Inc. * Copyright (c) 2009 VMware, 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 * * U...
C++
ext/sigar/src/os/win32/wmi.cpp
sarbi127/inviwo
bsd-2-clause
6,445
244
codeparrot/github-code
e23b0ad8314e0c7a6041caa1aef14d493b2da6ba7c4cdddfb95299bca2e90081
// This file was procedurally generated from the following sources: // - src/dstr-binding/obj-ptrn-prop-id-get-value-err.case // - src/dstr-binding/error/async-gen-func-named-expr-dflt.template /*--- description: Error thrown when accessing the corresponding property of the value object (async generator named function ...
JavaScript
Jint.Tests.Test262/test/language/expressions/async-generator/dstr-named-dflt-obj-ptrn-prop-id-get-value-err.js
sebastienros/jint
bsd-2-clause
1,274
43
codeparrot/github-code
019c56da3b9d8b997139ba72017543583830f018600d4ec36a7000c6931b4635
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head><meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>Glossary of Terms</title></head> <body><h2>Glossary of Technical Terms</h2><br>Although PHD2 strives for ease-of-use, the underlying task ...
HTML
help/Glossary.html
olegkutkov/phd2guiding_crao
bsd-3-clause
9,450
140
codeparrot/github-code
a31384290743ad48001c6754738dc84ab63377c94a7cfd65bf7b2acb96eb9063
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2012, Ajax.org B.V. * 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 sou...
JavaScript
lib/ace/ext/language_tools.js
nagyist/ajaxorg-ace-editor
bsd-3-clause
8,100
218
codeparrot/github-code
3b2a74c48f56e9bd7187b5d4ed2a8a92abe3f586c39bcbd1ad5c7b4296eb1335
/* * Copyright (c) 2016, The OpenThread Authors. * 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 ...
C++
src/core/net/udp6.cpp
GiedriusM/openthread
bsd-3-clause
7,683
270
codeparrot/github-code
73dc5ed806a63e7c9ff2bd7054e180c08ecd3564097ac30f57bcea1a86ade584
angular.module('piwikApp').factory('http404CheckInterceptor', function($q) { function isClientError(rejection) { if (rejection.status === 500) { return true; } return rejection.status >= 400 && rejection.status < 408; } return { 'responseError': function(r...
JavaScript
stats/plugins/CoreHome/angularjs/http404check.js
KingNoosh/Teknik
bsd-3-clause
1,555
45
codeparrot/github-code
4dc3216dd896909e21ae26abc581a3966766da4a4982f45e0db8747c1bb759f7
using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace OrchardCore.DisplayManagement.Descriptors.ShapePlacementStrategy { public class PlacementFile : Dictionary<string, PlacementNode[]> { } public class PlacementNode { [JsonProperty(PropertyName = "...
C#
src/OrchardCore/OrchardCore.DisplayManagement/Descriptors/ShapePlacementStrategy/PlacementFile.cs
OrchardCMS/Brochard
bsd-3-clause
1,016
35
codeparrot/github-code
ee1b134ec8eefc7e7fe6a08d7d26a1b30b8ba589f951ee0e476e4f361e90ca87
package com.sforce.android.sample; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import com.sforce.android.soap.partner.BaseResponseListener; import com.sforce.android.soap.partne...
Java
SampleApp/src/com/sforce/android/sample/SforceOAuthLogin.java
reactualize/Force.com-Toolkit-for-Android
bsd-3-clause
2,252
71
codeparrot/github-code
c9cae1b3436ce2da4a2002e24cfac76076e24970a4fb2e6b2d3540ba3a4f2bb9
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #ifndef STORAGE_LEVELDB_DB_MEMTABLE_H_ #define STORAGE_LEVELDB_DB_MEMTABLE_H_ #include <string> #inclu...
C
db/memtable.h
yuwolf/leveldb
bsd-3-clause
2,669
88
codeparrot/github-code
b1607b04c94260a0edbe8baef4cc4bbdcf066884593159f86b30b65b7c8fff72
/*************************************************************************** * Copyright 2013 CertiVox UK Ltd. * * This file is...
C
src/C++/MIRACL/MIRACL-4.0/include/big.h
GaloisInc/hacrypto
bsd-3-clause
15,058
429
codeparrot/github-code
654b4a0b1bcde1ecfd7f34cf29a14b61605d5f183c17a0cdf884ca1f95083f52
#ifndef APPEARANCEPAGE_H #define APPEARANCEPAGE_H #include "tabpage.h" namespace Ui { class AppearancePage; class PreviewForm; } class QStyle; class QAction; class AppearancePage : public TabPage{ Q_OBJECT public: explicit AppearancePage(QWidget *parent = 0); ~AppearancePage(); void writeSettings()...
C
src-qt5/core/lumina-theme-engine/src/lthemeengine/appearancepage.h
cpforbes/lumina
bsd-3-clause
1,278
50
codeparrot/github-code
2643e38bb490e23972e0c856fe0b60e2f805f1a796af23b8c28c3d665445df73
// Copyright 2012, Google Inc. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package zk // contains the structures used for RPC calls to zkocc. import ( "time" ) type ZkStat struct { czxid int64 mzxid int64 cTime ...
GO
go/zk/zkocc_structs.go
fanngyuan/vitess
bsd-3-clause
2,090
107
codeparrot/github-code
4a7bc27e8f78bc1102af6129d5c4a55716b7b62ee858b7ca1410c5d80ee5f73a
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ ``fitsinfo`` is a command-line script based on astropy.io.fits for printing a summary of the HDUs in one or more FITS files(s) to the standard output. Example usage of ``fitsinfo``: 1. Print a summary of the HDUs in a FITS file:: $ fitsinfo file...
Python
astropy/io/fits/scripts/fitsinfo.py
joergdietrich/astropy
bsd-3-clause
1,784
63
codeparrot/github-code
90e011dc11895400f63374a86cae92dfce2feba02062deec506ece7ceb7e796e
// bin/sum-mllt.cc // Copyright 2014 LINSE/UFSC; Augusto Henrique Hentz // See ../../COPYING for clarification regarding multiple 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...
C++
tonic-suite/asr/src/bin/sum-mllt-accs.cc
ypkang/djinn
bsd-3-clause
1,758
60
codeparrot/github-code
7a26d7f4fd2416361c3766eb7676253fa20f42d3f9dd30b8cab3480ffa138ccd
// Copyright (c) 2005-2009 INRIA Sophia-Antipolis (France). // All rights reserved. // // This file is part of CGAL (www.cgal.org); you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public License as // published by the Free Software Foundation; either version 3 of the License, // o...
C++
graphics/cgal/CGAL_ipelets/demo/CGAL_ipelets/multi_regular.cpp
hlzz/dotfiles
bsd-3-clause
3,617
118
codeparrot/github-code
fd038e7262b0d4fcbb870d85bc64d9a20ba682571761236f4c3419f52ab542a1
// gst-plugin/gst-online-decode-faster.h // Copyright 2013 Tanel Alumae, Tallinn University of Technology // See ../../COPYING for clarification regarding multiple authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You ...
C
tonic-suite/asr/src/gst-plugin/gst-online-gmm-decode-faster.h
ypkang/djinn
bsd-3-clause
3,287
102
codeparrot/github-code
3eceba38c851e49f3acdf479de82f52bb1adfba7b14b62f9c1fbcafcbaad4055
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_EVENT_ROUTER_H_ #define CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_...
C
chrome/browser/extensions/api/automation_internal/automation_event_router.h
Workday/OpenFrame
bsd-3-clause
3,874
111
codeparrot/github-code
f4db103b43beca0e2172923af9c2d1d037a245b43c44560e6a7aea798e744e40
<!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
public/extjs/docs/source/Labelable.html
cassioozarias/zfextjs
bsd-3-clause
39,513
876
codeparrot/github-code
4c35ace718cc6f4995dcedb0cd1b07370b1a8a5423325dfa46687766e32fca34
/* * Copyright © 2013-2014 Collabora, Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, ...
C
third_party/wayland-protocols/include/protocol/scaler-client-protocol.h
axinging/chromium-crosswalk
bsd-3-clause
4,776
166
codeparrot/github-code
b36c55b03bee90fb32ab2a51fbee7b422d90deda2635026507bf54cc8830782d
""" Sphinx plugin to run example scripts and create a gallery page. Lightly modified from the mpld3 project. """ from __future__ import division import os import os.path as op import re import glob import token import tokenize import shutil from seaborn.external import six import matplotlib matplotlib.use('Agg') im...
Python
doc/sphinxext/gallery_generator.py
phobson/seaborn
bsd-3-clause
10,385
386
codeparrot/github-code
a244513715bbb94ea5f047bd648a3763bc501f400c042e6bf695e95f3dea23be
/* * Copyright (c) 2016 Goldman Sachs. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Distribution License v. 1.0 which accompany this distribution. * The Eclipse Public License is available at http://www.ecli...
Java
eclipse-collections/src/main/java/org/eclipse/collections/impl/lazy/parallel/set/AbstractParallelUnsortedSetIterable.java
bhav0904/eclipse-collections
bsd-3-clause
4,263
121
codeparrot/github-code
927f7e541e5574a8bd8cddcda63e16b86d2e0a0fee72a5809a591058edf7c70c
//= require_self //= require spree/backend/handlebars_extensions //= require spree/backend/variant_autocomplete //= require spree/backend/taxon_autocomplete //= require spree/backend/option_type_autocomplete //= require spree/backend/user_picker //= require spree/backend/product_picker //= require spree/backend/option_...
JavaScript
backend/app/assets/javascripts/spree/backend/admin.js
pervino/solidus
bsd-3-clause
4,270
140
codeparrot/github-code
c023925ec605a1c4daa9f69ff0c4bbff0ec512bc70d50a84dbec6f88e91512a0
/***************************************************************************** Copyright (c) 2014, Intel Corp. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source cod...
C
lapack-netlib/LAPACKE/src/lapacke_cppcon.c
kortschak/OpenBLAS
bsd-3-clause
3,471
83
codeparrot/github-code
23146e32ba839c6afe9d39535f1d5d7beba114112c5e48e705a1745864e08258
from functools import update_wrapper from django.http import Http404, HttpResponseRedirect from django.contrib.admin import ModelAdmin, actions from django.contrib.admin.forms import AdminAuthenticationForm from django.contrib.auth import logout as auth_logout, REDIRECT_FIELD_NAME from django.contrib.contenttypes impor...
Python
django/contrib/admin/sites.py
postrational/django
bsd-3-clause
18,932
459
codeparrot/github-code
48998c59fb148e761681a5b1cfb05c0403cf92b4bf5ceeacaf1bd0224b2c1f4f
#ifndef CRYPTO_H #define CRYPTO_H #include <string.h> #include <stdio.h> #include <stdlib.h> #include <ntp_fp.h> #include <ntp.h> #include <ntp_stdlib.h> #include <ntp_md5.h> /* provides OpenSSL digest API */ #include "utilities.h" #include "sntp-opts.h" #define LEN_PKT_MAC LEN_PKT_NOMAC + sizeof(u_int32) /* #inclu...
C
contrib/ntp/sntp/crypto.h
jrobhoward/SCADAbase
bsd-3-clause
785
35
codeparrot/github-code
5cdbd7ad5dc5b259ffca827c6b53828b48a9fb77d8245f70a20be4d9e70099f3
# Copyright (C) 2010 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the f...
Python
third_party/WebKit/Tools/Scripts/webkitpy/tool/bot/sheriff_unittest.py
leighpauls/k2cro4
bsd-3-clause
3,776
90
codeparrot/github-code
a2b2726a7e375e7774218b0c75824102f20f135f69d06dd85f119e12da6cc924
#include "time-watch.h" #include <taiju/trie-factory.h> #include <taiju/trie-converter-factory.h> #include <cstring> #include <exception> #include <fstream> #include <memory> #include <iostream> int main(int argc, char *argv[]) { taiju::BuilderConfig config; try { config.parse(argc, argv, &argc); } catch (......
C++
tool/taiju-convert.cc
pombredanne/taiju
bsd-3-clause
1,885
80
codeparrot/github-code
ad88c6058163f754230fcaf663cae2ad2c0d5ad350eab1784c3a3fd0aac20d8d
#!/usr/bin/env python # Copyright (C) 2011 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list ...
Python
third_party/WebKit/Tools/Scripts/webkitpy/common/lru_cache_unittest.py
leighpauls/k2cro4
bsd-3-clause
3,651
99
codeparrot/github-code
a02ce1a5d40d74e6d955bbfb1b6695480acef27e263eb1369de30b906d812022
/* * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
C++
third_party/webrtc/modules/pacing/bitrate_prober.cc
sgraham/nope
bsd-3-clause
4,240
123
codeparrot/github-code
78ddfb024c9ea7c487e6d581b021525248d931f007a4deb9834dd2f64dbcd9a3
/* * 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/Region/CoreModules/ServiceConnectorsOut/Inventory/InventoryCache.cs
OpenSimian/opensimulator
bsd-3-clause
5,585
139
codeparrot/github-code
11a345e728f00670f64bff729b602dbe131702d1315fc4698c9761113262f187
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace yii\rest; use Yii; use yii\base\Arrayable; use yii\base\Component; use yii\base\Model; use yii\data\DataProviderInterface; use yii\data\Pagination; use yii\h...
PHP
framework/rest/Serializer.php
lubosdz/yii2
bsd-3-clause
11,112
309
codeparrot/github-code
7cd0cf74af6b83624d883d354da358498b197af511f903398165d70d8d9eb419
import re import sublime import sublime_plugin class IndentListItemCommand(sublime_plugin.TextCommand): bullet_pattern = r'([-+*]|([(]?(\d+|#|[a-y]|[A-Y]|[MDCLXVImdclxvi]+))([).]))' bullet_pattern_re = re.compile(bullet_pattern) line_pattern_re = re.compile(r'^\s*' + bullet_pattern) spaces_re = re.co...
Python
indent_list_item.py
Kronuz/sublime-rst-completion
bsd-3-clause
3,382
86
codeparrot/github-code
829bf2c5dab780e9e38af66fc64c52474016ba6fe3131cff6cb6715907f9ae77
"""Tools for working with virtualenv environments""" import os import sys import subprocess from pip.exceptions import BadCommand from pip.log import logger def restart_in_venv(venv, base, site_packages, args): """ Restart this script using the interpreter in the given virtual environment """ if base ...
Python
web/env/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/venv.py
BadDNA/anolis
bsd-3-clause
1,972
53
codeparrot/github-code
83de212a8512f63a18d2b7d9d56a7dc015af8a6819a5792b9c40728a387ffc0e
/***************************************************************************** * Copyright (c) 2009, OpenJAUS.com * All rights reserved. * * This file is part of OpenJAUS. OpenJAUS is distributed under the BSD * license. See the LICENSE file for details. * * Redistribution and use in source and binary...
C
libjaus/src/message/command/core/resumeMessage.c
tectronics/openjaus.trial33c
bsd-3-clause
15,466
510
codeparrot/github-code
dea7ba99d7f0410461dd05ee79362a7a376002fe4ab608f7d14cd07230b706c8
// Copyright 2011 Google Inc. All Rights Reserved. // // This code is licensed under the same terms as WebM: // Software License Agreement: http://www.webmproject.org/license/software/ // Additional IP Rights Grant: http://www.webmproject.org/license/additional/ // --------------------------------------------------...
C
src/dec/alpha.c
CyanogenMod/android_external_webp
bsd-3-clause
4,679
142
codeparrot/github-code
0a7c8d879d94fb067afdbc6c0171ad3997ba761064c7b5ec8b20c9d7ead903c4
/* * Copyright (c) 2006-2008 Chelsio, Inc. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory of this source ...
C
openplatform/sdk/os/kernel-2.6.32/drivers/net/cxgb3/cxgb3_offload.h
go2ev-devteam/Gplus_2159_0801
gpl-2.0
6,310
207
codeparrot/github-code
1a54c1f98a4e4fe22c2ee8d652827024fcda1efaf77e427d49b1920b8265c3ae
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System; using System.Composition; using System.Threading; using System.Threading.Tasks; us...
C#
src/VisualStudio/Xaml/Impl/Features/OrganizeImports/XamlOrganizeImportsService.cs
CyrusNajmabadi/roslyn
mit
1,885
53
codeparrot/github-code
589a5aa24f4afdfb896281f286742942bd119198e61ca80818d2a38b0699078f
# -*- coding: utf-8 -*- from uuid import uuid4 from gluon import current def rlpcm_person_anonymize(): """ Rules to anonymize a case file """ auth = current.auth s3db = current.s3db ANONYMOUS = "-" # Standard anonymizers from s3db.pr import pr_address_anonymise as anonymous_address, \ ...
Python
modules/templates/BRCMS/RLP/anonymize.py
flavour/eden
mit
7,359
184
codeparrot/github-code
f85797ce7be83d53a12d6c94774765bb07114b2d347243f46fbb398002470033
######################################################################## # Bio::KBase::ObjectAPI::KBaseExpression::DB::ExpressionOntologyTerm - This is the moose object corresponding to the KBaseExpression.ExpressionOntologyTerm object # Authors: Christopher Henry, Scott Devoid, Paul Frybarger # Contact email: chenry@m...
Perl
lib/Bio/KBase/ObjectAPI/KBaseExpression/DB/ExpressionOntologyTerm.pm
kbase/KBaseFBAModeling
mit
3,217
110
codeparrot/github-code
967c7e2d280a08dd93a39a549588830954ca21a980bae436025a886fe4e7e611
package unfiltered.netty.cycle import io.netty.handler.codec.http.{ FullHttpRequest, HttpContent, HttpRequest => NettyHttpRequest, HttpResponse } import io.netty.handler.codec.http.websocketx.WebSocketFrame import io.netty.channel.{ ChannelHandlerContext, ChannelInboundHandlerAdapter } import io.netty.channel...
Scala
netty/src/main/scala/cycle/plans.scala
beni55/unfiltered
mit
2,757
93
codeparrot/github-code
522a5e5373dae6f3a14798734089ef6a95f697b0a50f4d1de5d3bda58b6c4d44
/******************************************************************************* * Copyright (c) 2000, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
Java
org.eclipse.jdt.ui_3.7.1.r371_v20110824-0800/src/org/eclipse/jdt/ui/actions/NavigateActionGroup.java
brunyuriy/quick-fix-scout
mit
4,070
131
codeparrot/github-code
ac4b703007f2ee2537c316ccefc8d7a0f4a819dc06b4e3ff9f4a28274bba83e3
var global = require('../../global'); module.exports = function (packing, offset) { var items = [].concat.apply([], packing.items); var iso = "FM.FP-GJ-15-003"; // var number = packing.code; // var colorName = packing.colorName; var orderType = (packing.orderType || "").toString().toLowerCase() ...
JavaScript
src/pdf/definitions/packing.js
indriHutabalian/dl-module
mit
8,749
340
codeparrot/github-code
d1ebf6594bea8d961d555104e0632085a58e954ae8478ad6a302356cb55b1f27
/* bam2depth.c -- depth subcommand. Copyright (C) 2011, 2012 Broad Institute. Copyright (C) 2012-2014 Genome Research Ltd. Author: Heng Li <lh3@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),...
C
src/utils/samtools/bam2depth.c
gatoravi/regtools
mit
12,714
302
codeparrot/github-code
1c81b4f52b74df9137dddb81a098acbb1332e55608e695f8f3d8569e70626c9d
/* * jQuery File Upload Plugin 5.32.0 * https://github.com/blueimp/jQuery-File-Upload * * Copyright 2010, Sebastian Tschan * https://blueimp.net * * Licensed under the MIT license: * http://www.opensource.org/licenses/MIT */ /*jslint nomen: true, unparam: true, regexp: true */ /*global define, window, documen...
JavaScript
www/admin/assets/js/jquery/jquery.fileupload.js
gregmoser/muracon2016
mit
57,130
1,329
codeparrot/github-code
c21022a166cc2cdd9d6abbad214e2e9b6d9f8a449f0bdb15d141c7acea904de1
/* * Copyright (c) 2012 Dmitri Melikyan * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, ...
JavaScript
lib/filter.js
umaar/nodetime
mit
4,266
200
codeparrot/github-code
7e2dcf0d41f50970d2b163799191e28455211094391538af2336ab7420c42aad
/* * Version 0.1.14 * Made By Robin Kuiper * Skype: RobinKuiper.eu * Discord: Atheos#1095 * My Discord Server: https://discord.gg/AcC9VME * Roll20: https://app.roll20.net/users/1226016/robin * Roll20 Wiki: https://wiki.roll20.net/Script:Concentration * Roll20 Thread: https://app.roll20.net/forum/post/6364317/sc...
JavaScript
Concentration/Concentration.js
NathaTerrien/Natha-roll20-api-scripts
mit
23,944
510
codeparrot/github-code
d1e1c25ff8c20411afa4ad4c28cb782b642af8831b1dfa5948e4671fe5bdc25a
""" Strictly internal utilities. """ from __future__ import absolute_import, division, print_function from twisted.web.client import HTTPConnectionPool def default_reactor(reactor): """ Return the specified reactor or the default. """ if reactor is None: from twisted.internet import reactor ...
Python
treq/_utils.py
glyph/treq
mit
940
48
codeparrot/github-code
82441bed679b5881fe3e6203469278e1719c03e4d1de179e72296c955795b8eb
<?php if(!class_exists('Aws\S3\S3Client')) { $autoloader = __DIR__ . '/vendor/aws-autoloader.php'; if(file_exists($autoloader)) { require_once($autoloader); } else { throw new Exception("AWS autoloader not found."); } } use Aws\S3\S3Client; use GuzzleHttp\Psr7; use Psr\Http\Message\Str...
PHP
public/plugins/ckeditor/plugins/RichFilemanager-master/connectors/php/plugins/s3/S3StorageHelper.php
dflm25/codeigniteres.club
mit
8,771
370
codeparrot/github-code
d39858ea3a5a03843edbac98d73c3ac3b0b24b98a90a66f65f761d6d1fdd5400
from __future__ import absolute_import from django.core.exceptions import PermissionDenied from django.db import models from django.contrib.auth import authenticate from django.contrib.sites.models import Site from django.utils.encoding import python_2_unicode_compatible from django.utils.crypto import get_random_stri...
Python
zubio/allauth/socialaccount/models.py
tejesh95/Zubio.in
mit
11,718
311
codeparrot/github-code
fb47797b1ca38696b8f417196f00fd360d816a3a5e776dd830c1d3744db8036a
if (($args.Count -eq 0) -or ($args[0] -match 'Nightly')) { $TestType = 'Nightly' $CONFIGURATION = 'Release' } elseif ($args[0] -match 'Rolling') { $TestType = "Rolling" $CONFIGURATION = 'Debug' } else { Write-Host 'Please choose Nightly Test or Rolling Test!' -ForegroundColor Red ...
PowerShell
build.ps1
pysco68/odata.net
mit
13,389
349
codeparrot/github-code
be2a5f80f173956c18dd15489f4e1de1e04d281eabd5b811f0422a3b83fd7bcb
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <TITLE> HwmfFill.WmfFillRegion (POI API Documentation) </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text...
HTML
poi-3.14/docs/apidocs/org/apache/poi/hwmf/record/HwmfFill.WmfFillRegion.html
Sebaxtian/KDD
mit
14,948
325
codeparrot/github-code
df8133b4c221dafa9f29d9474865cd5ca9950da3cf3bc8609b66d12bf71dd671
/** * Browser platform description */ SB.createPlatform('browser', { keys: { RIGHT: 39, LEFT: 37, DOWN: 40, UP: 38, RETURN: 27,//esc EXIT: 46,//delete TOOLS: 32,//space FF: 33,//page up RW: 34,//page down NEXT: 107,//num+ PREV...
JavaScript
src/platforms/_browser/sb.platform.browser.js
Shadealex/smartbox
mit
1,192
58
codeparrot/github-code
097da7fb91ab244b7d3c2e144f878d07b207ea3c04ade890541e7809ac96ffd9
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace Breeze.Core { /** * @author IdeaBlade * */ public class AndOrPredicate : BasePredicate { private List<BasePredicate> _predicates; pu...
C#
Old/AspNetCore/Breeze.Core/Query/AndOrPredicate.cs
lnu/breeze.server.net
mit
1,414
50
codeparrot/github-code