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 |
|---|---|---|---|---|---|---|---|---|
341ba746831de7ee32424ae10a027826fee019673cea62efdb49092d3b70b7d6 | /*
*
* Copyright 2015 Andrey Yakovlev
*
* 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... | Java | src/main/java/jodtemplate/pptx/preprocessor/FormatTagsPreprocessor.java | ayakovlevgh/jodtemplate | apache-2.0 | 3,759 | 91 | codeparrot/github-code |
5e9f1e5982cdacac263ff3f25ddc247718e7e816224b3a160049e8e6d080c503 | /*
Author: Wong, Matthew Lun
Date: 16th, June 2016
Occupation: Chinese University of Hong Kong,
Department of Imaging and Inteventional Radiology,
Junior Research Assistant
This class is based on vtkInteractorStyleSwitch, written to allow easy
switching between 2D interactors.
Wong Matthew Lun
Copyright (C) 2016
*/
... | C | codes/Controller/InteractorStyles/InteractorStyleSwitch.h | wuzhuobin/IADE_Analyzer | apache-2.0 | 2,816 | 106 | codeparrot/github-code |
49d68a69bf9c008804946b7d5d20ceaf84a3162f47c97cf3a09fe47b67641930 | package multipart;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import com.bzu.softwareconstruction.segments.SegmentPartUrl;
import com.bzu.softwareconstruction.services.Services;
/**
* Static class for reading from a multipart stream.
*/
public class Multipart {
/**
* Returns ... | Java | src/multipart/Multipart.java | mtomaizy/BzuDownloader | apache-2.0 | 983 | 32 | codeparrot/github-code |
3b55aaf86c62d5df3c885bfdee0667fbde391c55094750528651b19076c291e5 | /*
* Copyright 2012-2017 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Java | spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CouchbaseCacheConfiguration.java | ihoneymon/spring-boot | apache-2.0 | 2,785 | 75 | codeparrot/github-code |
e240a70ae4b0e240b53b5041fa5ed11958d3d0bb14deee7dbfb13f51c29d16bf | <head>
<meta charset="utf-8">
{% seo %}
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap Core CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css">
<!-- Custom Fonts -->
<link href='http://fonts.googleapis.com/css?family=Open+Sans:... | HTML | _includes/head.html | firmhouse/leanstartupnl-website | apache-2.0 | 2,100 | 45 | codeparrot/github-code |
1ecb41d2b05f007f26c2986445800c8a4714ee14a8c282703614210980ceab6d | // We don't use the platform bootstrapper, so fake this stuff.
window.Platform = {};
var logFlags = {};
// DOMTokenList polyfill for IE9
(function () {
if (typeof window.Element === "undefined" || "classList" in document.documentElement) return;
var prototype = Array.prototype,
indexOf = prototype.indexOf,
... | JavaScript | demo/x-tag-components.js | Swissnetizen/sam-box | apache-2.0 | 78,982 | 2,541 | codeparrot/github-code |
aea8d015344fed689f8daaa2f514e438d2d1f6dfa939bd964cd04bff196c26a8 | /*
* Copyright 2013 The Netty Project
*
* The Netty Project 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 ... | Java | buffer/src/main/java/io/netty/buffer/AbstractReferenceCountedByteBuf.java | menacher/netty | apache-2.0 | 4,642 | 154 | codeparrot/github-code |
c56bb4bf854d6f1792969bd76620390762a49945a4cf4c1e2941aa2760a993d6 | /* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/usr/hwpf/hwp/slave_sbe/proc_check_slave_sbe_seeprom_complete/proc_check_s... | C++ | src/usr/hwpf/hwp/slave_sbe/proc_check_slave_sbe_seeprom_complete/proc_check_slave_sbe_seeprom_complete.C | shenki/hostboot | apache-2.0 | 16,260 | 415 | codeparrot/github-code |
083ecf03a06070af37bd3ce88ab600b3ec0a01f8704fccb129774f4793277bb2 | /**
* 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 | examples/transform/src/main/java/org/apache/apex/examples/transform/DynamicTransformApplication.java | prasannapramod/apex-malhar | apache-2.0 | 2,207 | 54 | codeparrot/github-code |
9ca56d113f2e99c00507f7eb0acf2f145f0987ab5f13913b574edc122aa68f24 | package com.latitude.seventimer.ui.weather;
import android.app.Activity;
import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import android.content.Context;
import android.os.Build;
import andro... | Java | app/src/main/java/com/latitude/seventimer/ui/weather/Main2Activity.java | houtengzhi/seventimer | apache-2.0 | 4,022 | 126 | codeparrot/github-code |
83a32e21fccc204322f1e2f2b018478a39988b4af66446fb2c7b02d324e9d42c | /*******************************************************************************
* Copyright (c) 2005 - 2013 Nos Doughty
*
* 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
*
* ... | Java | toolkit-core/src/main/java/org/llaith/toolkit/core/memo/impl/StringMemoRenderer.java | llaith/toolkit | apache-2.0 | 13,474 | 294 | codeparrot/github-code |
bdf69acc4ba70fc7a1e390fd4f366533f6650fb035a2f934777c74c82eceee43 | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | platform/lang-impl/src/com/intellij/ide/projectView/impl/nodes/ModuleListNode.java | ernestp/consulo | apache-2.0 | 2,551 | 85 | codeparrot/github-code |
d892b216f81797e26083d85ab67c3fec7ceb02de4fb5e7ee89172b6b7d947d44 | /*
* Copyright 2002-2018 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 | oauth2/oauth2-client/src/test/java/org/springframework/security/oauth2/client/web/OAuth2AuthorizationRequestRedirectFilterTests.java | eddumelendez/spring-security | apache-2.0 | 17,648 | 365 | codeparrot/github-code |
c7dfbcaeb75c665cabb393235a4a64d46aabb4b17da2fd1a9c4c7a45395a6064 | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesTreeList.java | hurricup/intellij-community | apache-2.0 | 24,707 | 727 | codeparrot/github-code |
060f3f48a452856e54586beaded2b4865d07b5d534598a90c9161096f50a01f5 | #!/usr/bin/env python
# Copyright 2016 Google, Inc
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | Python | samples/snippets/api/analyze.py | googleapis/python-language | apache-2.0 | 2,631 | 93 | codeparrot/github-code |
70ed2dd548ee1406dbee3616d35b75388dbd19fbc59cb9be7a310cd2d13bac79 | /*
* 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 | protonj2-test-driver/src/test/java/org/apache/qpid/protonj2/test/driver/legacy/LegacyFrmaeDataGenerator.java | tabish121/proton4j | apache-2.0 | 2,994 | 80 | codeparrot/github-code |
603118672fb5845b632bc89244d3c37b41b2db8bcfdaabd163ca56a174373ee4 | package org.apache.maven.lifecycle;
/*
* 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... | Java | maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java | Tibor17/maven | apache-2.0 | 26,317 | 549 | codeparrot/github-code |
8d99ee8e3fa1224d8e10c032dfad83d10bbd3d958f277402bb30dd983016a454 | package HandlerSocket.Protocol
import java.util.ArrayList
import java.util
sealed abstract class Op(){def symbol():String}
case class Eq(symbol:String="=") extends Op
case class Gt(symbol:String=">") extends Op
case class Lt(symbol:String="<") extends Op
case class GE(symbol:String=">=") extends Op
case class LE(symb... | Scala | Utils/src/main/scala/HandlerSocket/Protocol/ProtocolElements.scala | Mevolutrix/MevoFramework | apache-2.0 | 4,507 | 108 | codeparrot/github-code |
2afeeefbaa429c4e68eab550e7f279b057ab9b5f476c3a273131b0e9f13a981d | package se.media4u101.lib
import dispatch._ , Defaults._
import net.liftweb.common._
import net.liftweb.json.JsonAST._
trait BTCDispatchInterface extends Loggable{
protected def doFetchAccProfileData(poolAccountProfile:Box[String]):JValue = {
import net.liftweb.json.JsonParser._
val start: Long = System.... | Scala | src/main/scala/se/media4u101/lib/BTCDispatchInterface.scala | karma4u101/BTC-Stat | apache-2.0 | 6,031 | 142 | codeparrot/github-code |
8345a585ed8c8cf4e4817f87881133d3647cfa9372d9b7398f88de46a5ab392e | /*
* Copyright 2002-2016 The Jamocha 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.jamocha.org/
*
* Unless required by applicable law or agreed to in writing, s... | Java | src/main/java/org/jamocha/filter/PathFilterListSetFlattener.java | RWTH-i5-IDSG/jamocha | apache-2.0 | 1,716 | 51 | codeparrot/github-code |
dea5b46737af5ba763ce89a84ef4a0ae4e29a105c6fc157dae6ca43911c44cb8 | // jquery plugin for Zuul status page
//
// Copyright 2012 OpenStack Foundation
// Copyright 2013 Timo Tijhof
// Copyright 2013 Wikimedia Foundation
// Copyright 2014 Rackspace Australia
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the Lice... | JavaScript | etc/status/public_html/jquery.zuul.js | wikimedia/integration-zuul | apache-2.0 | 36,076 | 911 | codeparrot/github-code |
d70801a773c61628ac567777e1fd7437e8d33b852d75c04e05eaa6d6a51794e6 | package org.ranji.activiti.service.system;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.ranji.activiti.model.pager.PagerModel;
import org.ranji.activiti.model.system.User;
import org.ranji... | Java | service/src/test/java/org/ranji/activiti/service/system/UserServiceTest.java | ranji1221/activiti-app | apache-2.0 | 2,605 | 95 | codeparrot/github-code |
79f73a554638d78bb8296fe32df4705666732a4174e9d24bc0a4549ab4f8cdba | /*
* Copyright 2017-2022 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 "licen... | Java | aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/City.java | aws/aws-sdk-java | apache-2.0 | 3,985 | 137 | codeparrot/github-code |
8afb437a7f9727549a6247c878c029912f1a019bb4d2009b9a08ad92a6a22e57 | /*******************************************************************************
* Copyright 2015 EMBL - European Bioinformatics Institute
*
* 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... | JavaScript | web/src/main/webapp/resources/js/charts/parallel/filter.js | mpi2/PhenotypeData | apache-2.0 | 3,512 | 128 | codeparrot/github-code |
5a38994e65bb92fee0611446f69a4640eae03c2273d441fef2dc67bcdf73227b | <?php
class mysql{
private $dbhost;
private $dbuser;
private $dbpass;
private $dbname;
private $conn;
//En el constructor de la clase establecemos los parámetros de conexión con la base de datos
function __construct($dbuser = 'adminDev', $dbpass = '123456', $dbname = 'biblioteca', $dbhost = 'localhost')... | PHP | mysql.php | joseyanez91/biblioteca | apache-2.0 | 2,053 | 76 | codeparrot/github-code |
422b2a025a1d2f238a71df0865429138b5b3c317d1400b26238850d6199a622c | #
# MLDB-2126-export-structured.py
# Mathieu Marquis Bolduc, 2017-01-25
# This file is part of MLDB. Copyright 2017 mldb.ai inc. All rights reserved.
#
import tempfile
import codecs
import os
from mldb import mldb, MldbUnitTest, ResponseException
tmp_dir = os.getenv('TMP')
class MLDB2126exportstructuredTest(MldbUni... | Python | testing/MLDB-2126-export-structured.py | mldbai/mldb | apache-2.0 | 1,480 | 56 | codeparrot/github-code |
530a985a6975021e493347fd919ec7b3de84ff74eb0eebdb0e40c9e5634b40c0 | package com.eclecticlogic.stepper.visitor;
import com.eclecticlogic.stepper.antlr.StepperBaseVisitor;
import com.eclecticlogic.stepper.antlr.StepperParser;
import com.eclecticlogic.stepper.etc.Etc;
import com.eclecticlogic.stepper.state.AttributableState;
import org.antlr.v4.runtime.tree.TerminalNode;
import java.uti... | Java | src/main/java/com/eclecticlogic/stepper/visitor/RetryVisitor.java | eclecticlogic/ezra | apache-2.0 | 1,732 | 54 | codeparrot/github-code |
67b9149911bc5721ae6a540f132eb3f4418a9c8d45cfaad727134bcb13021f9b | /*
* Copyright (c) 2001-2007 Sun Microsystems, Inc. All rights reserved.
*
* The Sun Project JXTA(TM) Software License
*
* 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 ... | Java | src/main/java/net/jxta/impl/resolver/resolverMeter/QueryDestinationMetric.java | johnjianfang/jxse | apache-2.0 | 10,614 | 256 | codeparrot/github-code |
64c0ee63088f68bb2debee6b1b64cff1ff81cedd92653fa0c7118d09cad43fb5 | //
// QMUIPopupContainerView.h
// qmui
//
// Created by MoLice on 15/12/17.
// Copyright © 2015年 QMUI Team. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "UIControl+QMUI.h"
typedef enum {
QMUIPopupContainerViewLayoutDirectionAbove,
QMUIPopupContainerViewLayoutDirectionBelow
} QMUIPopupContainerV... | C | Demo/Pods/QMUIKit/QMUIKit/UIComponents/QMUIPopupContainerView.h | guxiuhu/UUChatTableView | apache-2.0 | 5,693 | 146 | codeparrot/github-code |
96ee8bf18c25c55af0c51d1ad6a6ab02cbea1dc974fd34dbfd7ec0e4f06bf2c1 | using System;
using System.Text;
namespace DocaLabs.Http.Client.Utils
{
/// <summary>
/// String type extension methods.
/// </summary>
public static class StringExtensions
{
/// <summary>
/// Returns a new string in which all occurrences of a specified string in the current instan... | C# | src/DocaLabs.Http.Client/Utils/StringExtensions.cs | alexey-kadyrov/DocaLabs.Http.Client | apache-2.0 | 1,829 | 47 | codeparrot/github-code |
cd6fa01e9ecf4542a230e6ea5465a40db546cf468238173445b5c89c3a501412 | package com.github.satoshun.truth.android.api.view;
import android.annotation.TargetApi;
import android.view.KeyCharacterMap;
import com.github.satoshun.truth.android.api.BaseSubject;
import com.google.common.truth.FailureStrategy;
import com.google.common.truth.SubjectFactory;
import static android.os.Build.VERSION... | Java | truth-android/src/main/java/com/github/satoshun/truth/android/api/view/KeyCharacterMapSubject.java | satoshun/truth-android | apache-2.0 | 1,429 | 45 | codeparrot/github-code |
757c81912d2e5b4de85c508800173a140a5f280f5dd5d75e051932ef924430b2 | /*
* Copyright 2000-2013 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 | java-psi-impl/src/main/java/com/intellij/lang/java/lexer/JavaDocLexer.java | consulo/consulo-java | apache-2.0 | 5,215 | 210 | codeparrot/github-code |
37a16ad071fe615f7bd543317ed9d15d519f04f09c96975efe927c84ad7abd87 | import sys
from avatar2.targets import Target, TargetStates
from avatar2.protocols.jlink import JLinkProtocol
from avatar2.watchmen import watch
if sys.version_info < (3, 0):
from Queue import PriorityQueue
else:
from queue import PriorityQueue
class JLinkTarget(Target):
def __init__(self, avatar, serial... | Python | avatar2/targets/jlink_target.py | avatartwo/avatar2 | apache-2.0 | 1,183 | 37 | codeparrot/github-code |
a9849a71941d1abe89270c4e3379c10c1d7cd41b8c1491a32aa5126ef2206c70 | package com.t3coode.ui;
import java.lang.reflect.ParameterizedType;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import android.content.Context;
import android.database.DataSetObserver;
import android.os.AsyncTask;
import android.util.SparseIntArray;
im... | Java | app/src/main/java/com/t3coode/ui/StickyHeaderListViewArrayAdapterBase.java | darrillaga/togg | apache-2.0 | 9,274 | 295 | codeparrot/github-code |
2f36f731699c75e34cabbee0990b706c2d02f84e155b72613db4289974c7111b | /*jslint browser:true,sloppy:true,nomen:true,unparam:true,plusplus:true,indent:4 */
/*
| Copyright 2014 Esri
|
| 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... | JavaScript | js/config/config.js | Esri/campus-place-locator | apache-2.0 | 14,150 | 273 | codeparrot/github-code |
f678f6d44cab82435ac41e9946417c9c470098fcc4feb4a4d8826aac4e83c305 | /*
Copyright 2015 The Kubernetes 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 ag... | GO | Godeps/_workspace/src/k8s.io/kubernetes/pkg/util/wsstream/conn.go | CAP-ALL/kube2consul | apache-2.0 | 9,832 | 321 | codeparrot/github-code |
13244c8eddbb8d2caef40244c01b1f153e1b4d882c6c5923ccec73622a38d0c0 | package securitygroup
import (
"strings"
"github.com/codegangsta/cli"
"github.com/nttlabs/cli/cf/api/security_groups"
"github.com/nttlabs/cli/cf/api/security_groups/defaults/running"
"github.com/nttlabs/cli/cf/command"
"github.com/nttlabs/cli/cf/command_metadata"
"github.com/nttlabs/cli/cf/configuration/core_c... | GO | cf/commands/securitygroup/bind_running_security_group.go | nttlabs/cli | apache-2.0 | 2,587 | 76 | codeparrot/github-code |
46bc4e2598c8c1b6d945cf08f368c5cab7403a25ebff631ef4c9fed2dd561b35 | #region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your acceptance of the license
agreement found at https://github.com/St... | C# | Samples/Options/SampleOptionQuoting/MainWindow.xaml.cs | risty/StockSharp | apache-2.0 | 8,434 | 307 | codeparrot/github-code |
e78ea2269da205d0ba09d542a3409769a82c10fc8bdd02dc3e46b89293c54144 | package com.zaita.aliyounes.gsbvc2017.network.apis;
import android.util.Log;
import com.google.gson.JsonElement;
import com.zaita.aliyounes.gsbvc2017.helpers.JsonHelper;
import com.zaita.aliyounes.gsbvc2017.network.ServiceGenerator;
import com.zaita.aliyounes.gsbvc2017.network.UrlManager;
import com.zaita.aliyounes.g... | Java | app/src/main/java/com/zaita/aliyounes/gsbvc2017/network/apis/BrandsNetworkCalls.java | ayounes3333/GSB-2017-Android | apache-2.0 | 3,469 | 75 | codeparrot/github-code |
68a726aecb87fb9d798a93070f7f960dfcf88b1a5c27d31a02e1ea18ac34ca22 | package com.github.florent37.viewanimator;
import android.animation.Animator;
import android.animation.ArgbEvaluator;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.graphics.Path;
import android.graphics.PathMeasure;
import android.support.annotation.IntRange;
import an... | Java | github/src/main/java/com/github/florent37/viewanimator/AnimationBuilder.java | angcyo/RLibrary | apache-2.0 | 19,135 | 734 | codeparrot/github-code |
942dd0fe64acc432cd768c32b39c0f057e32a47e98e5caf47247c0eaaaa84c55 | /**
--| ADAPTIVE RUNTIME PLATFORM |----------------------------------------------------------------------------------------
(C) Copyright 2013-2015 Carlos Lozano Diez t/a Adaptive.me <http://adaptive.me>.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance wi... | C# | adaptive-arp-api/Sources/Adaptive.Arp.Api/ContactPersonalInfo.cs | AdaptiveMe/adaptive-arp-api-lib-dotnet | apache-2.0 | 4,803 | 177 | codeparrot/github-code |
081d9330ed7ce7e62ad35ce069c6b290ce65fcd25b72d60b1d0d838b6bee5d6e | from ..remote import RemoteModel
from infoblox_netmri.utils.utils import check_api_availability
class VlanMemberRemote(RemoteModel):
"""
Device memberships in VLANs, along with their STP configurations. This includes switch members (BridgeMemberInd = 1) and devices attached to access ports (BridgeMemberInd =... | Python | infoblox_netmri/api/remote/models/vlan_member_remote.py | infobloxopen/infoblox-netmri | apache-2.0 | 8,769 | 191 | codeparrot/github-code |
d3db9c6d31da1349a61357dc42c3a756cf11bc315d91969e773baba25bed66c2 | /*
* Copyright 2015-2016 Valentin Milea
*
* 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 ... | C | Examples/ex_futureAsTask.h | vmilea/CppAsync | apache-2.0 | 2,798 | 101 | codeparrot/github-code |
811297d4b81e218741360311d63b4a25359cae83a0819587d87e1c1061732102 | /**
*
Package: MAG - VistA Imaging
WARNING: Per VHA Directive 2004-038, this routine should not be modified.
Date Created: Jun 17, 2011
Site Name: Washington OI Field Office, Silver Spring, MD
Developer: VHAISWWERFEJ
Description:
;; +------------------------------------------------------------... | Java | Source/Java/VixCommon/main/test/java/gov/va/med/imaging/ImageAnnotationURNTest.java | VHAINNOVATIONS/Telepathology | apache-2.0 | 3,605 | 99 | codeparrot/github-code |
f86b9ea24ff67a2b9498a54675fc9c4a6c3b51322af5ce9ab1d95eb6adf39d20 | /*
* Copyright 2016 Acosix GmbH
*
* 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 w... | Java | repository/src/main/java/de/acosix/alfresco/mtsupport/repo/beans/TenantLDAPAttributeMappingPostProcessor.java | Acosix/alfresco-mt-support | apache-2.0 | 10,340 | 271 | codeparrot/github-code |
248e54de8802576182f5bebf1a4b53f534620b7c72899a80083f2e3d91c83966 | ## Copyright 2016 Sayak Brahmachari
##
## 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 la... | Python | struixLexer.py | sayak-brm/struixLang | apache-2.0 | 1,868 | 57 | codeparrot/github-code |
49a31476249f0fbf50ada327844fe0f7e0e52c403f9a4355dbf12f56e2a86db5 | /*
* Copyright 2016 The Depan Project 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... | Java | DepanGraphDoc/prod/src/com/google/devtools/depan/graph_doc/model/DependencyModel.java | google/depan | apache-2.0 | 2,828 | 95 | codeparrot/github-code |
f0b5be7ae3624cc226b34df528c5387bb1403a1f2a5d1d8a5ef98ec3b66aa8fa | <?php
/**
* This file is part of the CarteBlanche PHP framework.
*
* (c) Pierre Cassat <me@e-piwi.fr> and contributors
*
* License Apache-2.0 <http://github.com/php-carteblanche/carteblanche/blob/master/LICENSE>
* For the full copyright and license information, please view the LICENSE
* file that was distributed... | PHP | src/CarteBlanche/Model/ImageModel.php | php-carteblanche/core | apache-2.0 | 7,874 | 295 | codeparrot/github-code |
444c6e70030d318b78618f0402157987b73ebce7b55f5b284e5cd5e62b72ca3e | <?php
include '../../../Modelo/conexion.php';
//header('Location: ../../CrearModalidadEvaluacion.php');
$textDescripcionD=$_POST["descripcionDocumento"];
$Agregar=$_POST["btnCrearModalidad"];
$co=new conexion();
$idCrit=1;
$idReg=1;
$fechaAhora="";
$horaAhora="";
$existeCampo="vacio";
$usuarioActivo="leticia... | PHP | Librerias/forms/actions/agregarModalidadEvaluacionCO.php | slowcodetis/saetis | apache-2.0 | 3,327 | 85 | codeparrot/github-code |
9338865352c483aec80ed930cc5479e4eb53bdf6e8fd581c8d7037407369de72 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_BASE_SAMPLE_FORMAT_H
#define MEDIA_BASE_SAMPLE_FORMAT_H
#include "mp4/media_export.h"
namespace media {
enum SampleFormat {
// These va... | C | third_party/chromium/mp4/src/mp4/sample_format.h | google/ndash | apache-2.0 | 1,708 | 47 | codeparrot/github-code |
3c626e7463e05123cdd223b668d675da5252d5fc4e9d161f981391a75730cce3 | package com.daniel.weixin.mp.bean.result;
import java.util.ArrayList;
import java.util.List;
/**
* 关注者列表
* @author chanjarster/danielyang
*
*/
public class WxMpUserList {
protected int total = -1;
protected int count = -1;
protected List<String> openIds = new ArrayList<String>();
protected String nextOpe... | Java | weixin-java-mp/src/main/java/com/daniel/weixin/mp/bean/result/WxMpUserList.java | danileyang/mmp | apache-2.0 | 1,013 | 46 | codeparrot/github-code |
59956f3025fce1d52601192cb75d8714a028e238716fe0c62919fd9820a67e57 | =head1 LICENSE
Copyright (c) 1999-2011 The European Bioinformatics Institute and
Genome Research Limited. All rights reserved.
This software is distributed under a modified Apache license.
For license details, please see
http://www.ensembl.org/info/about/code_licence.html
=head1 CONTACT
Please email... | Perl | EnsemblAPI/ensembl/modules/Bio/EnsEMBL/DBSQL/TranscriptAdaptor.pm | adamsardar/perl-libs-custom | apache-2.0 | 57,545 | 1,851 | codeparrot/github-code |
eeff12b63555250a09365a2b7336b24b36280c438de774436862481e837f0b30 | // Copyright 2012 Cloudera Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wr... | C++ | be/src/exprs/scalar-fn-call.cc | cloudera/recordservice | apache-2.0 | 33,956 | 755 | codeparrot/github-code |
4169c2da152924bbe9aab88b27abec604b5c1454de0946d034fa8a5f0e81ae78 | /*
* Copyright (C) 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java | gson/src/test/java/com/google/gson/JsonArrayTest.java | google/gson | apache-2.0 | 5,086 | 166 | codeparrot/github-code |
a87ca0c6042d610d1455b4c041acd63156b490dad9a9ef5c80d9149c0ae8b3cd | package es.npatarino.android.gotchallenge.common.view.activities;
import android.support.test.rule.ActivityTestRule;
import android.support.test.runner.AndroidJUnit4;
import com.squareup.spoon.Spoon;
import es.npatarino.android.gotchallenge.GotChallengeApplication;
import es.npatarino.android.gotchallenge.R;
import es... | Java | app/src/androidTest/java/es/npatarino/android/gotchallenge/common/view/activities/HomeActivityTest.java | tonilopezmr/Game-of-Thrones | apache-2.0 | 2,783 | 74 | codeparrot/github-code |
029c8befc9d73b66d4aec8d3ec76ac8d012eb98c37f28becdc7da1dd6ef37d3b | /*
* Copyright 2014 Google Inc. 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 appli... | Java | bigtable-hbase/src/test/java/com/google/cloud/bigtable/hbase/adapters/TestColumnDescriptorAdapter.java | dmmcerlean/cloud-bigtable-client | apache-2.0 | 6,939 | 199 | codeparrot/github-code |
845e1ba024abd71d026339ae89f3592f15c2aee52bc5e19fdb58b859af74c11b | package steps
import (
"github.com/cayleygraph/cayley/graph"
"github.com/cayleygraph/cayley/query/linkedql"
"github.com/cayleygraph/cayley/query/path"
"github.com/cayleygraph/quad"
"github.com/cayleygraph/quad/voc"
)
func init() {
linkedql.Register(&Vertex{})
}
var _ linkedql.PathStep = (*Vertex)(nil)
// Vert... | GO | query/linkedql/steps/vertex.go | cayleygraph/cayley | apache-2.0 | 873 | 31 | codeparrot/github-code |
4026fb167691cd21447e726150bbba31940680698a0afd7f956e1b0b953fea65 | /*
* Copyright 2015-2016 DevCon5 GmbH, info@devcon5.ch
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | Java | tourniquet-inject/src/test/java/io/tourniquet/junit/inject/TypeUtilTest.java | tourniquet-io/tourniquet-junit | apache-2.0 | 7,369 | 283 | codeparrot/github-code |
0053d2dddb87d3cac4c2b89779992d3a907686ec8991434213afb7d63e8f7208 | #!/usr/bin/env python
#
# Copyright 2007 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | Python | appengine-compat/exported_appengine_sdk/google/net/proto2/python/public/descriptor.py | GoogleCloudPlatform/python-compat-runtime | apache-2.0 | 31,685 | 922 | codeparrot/github-code |
fdd48321c34f250405d92bde3ea61c1646661e8dea0e64ca5d330cc3cf2895b2 | /**
Copyright 2017 Andrea "Stock" Stocchero
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 applicab... | Java | src/org/pepstock/charba/client/annotation/BoxAnnotation.java | pepstock-org/Charba | apache-2.0 | 9,320 | 253 | codeparrot/github-code |
9c971a7ff1fefc9fa24c6fa5d986058810b7be786e5a674be70472e0a7b3bc27 | var fs = require('fs');
var path = require('path');
var storage = require('node-persist');
var uuid = require('./').uuid;
var Bridge = require('./').Bridge;
var Accessory = require('./').Accessory;
var accessoryLoader = require('./lib/AccessoryLoader');
console.log("HAP-NodeJS starting...");
// Initialize our storage... | JavaScript | BridgedCore.js | peterlee0127/HAP-YeeLight | apache-2.0 | 1,356 | 49 | codeparrot/github-code |
6dfedad50e966757ccc6c4ba1f245966c362c9f711fb79c153e2b088fd32056d | using System.Collections.Generic;
namespace RUAddress.Storage
{
internal class IndexWriteRamStorage
{
private readonly Dictionary<int, Dictionary<string, AddressPartIndexWrite>> _index_addobj_sort;
private readonly Dictionary<string, AddressPartIndexWrite> _index_addobj_id;
public Ind... | C# | src/AddressParser/Storage/IndexWriteRamStorage.cs | iEmiya/ruaddress | apache-2.0 | 1,341 | 41 | codeparrot/github-code |
605d5fdd97894bd8a52ed8fcbbd3e1f0bbdac22d09f1ecf6dae8cf73a29b2fe2 | // Copyright Eagle Legacy Modernization LLC, 2010-date
// Original author: Steven A. O'Hara, Aug 3, 2011
package com.eagle.programmar.PLI;
import com.eagle.programmar.PLI.Terminals.PLI_KeywordChoice;
import com.eagle.tokens.TokenList;
import com.eagle.tokens.TokenSequence;
import com.eagle.tokens.punctuation.Punctuat... | Java | src/com/eagle/programmar/PLI/PLI_Signals.java | oharasteve/eagle | apache-2.0 | 1,244 | 45 | codeparrot/github-code |
e6492611bbe3950b4021bbe96a6322d7636ea419c1b76fdc494c4a09e2d1e7d7 | /*
* 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-impl/src/main/java/com/intellij/lang/html/structureView/HtmlStructureViewBuilderProvider.java | consulo/consulo-xml | apache-2.0 | 1,727 | 56 | codeparrot/github-code |
0643322836ccc2938f66b6f1019608b335bfbd692fd6cf3c682dd34e10d42de9 | /**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ ... | C | Hardware/Verilog/isim/Search_4Comparators_tf_isim_beh.exe.sim/work/m_00000000001733834982_3846110240.c | ByronPhung/hardware-accelerated-dna-matching-and-variation-detection | apache-2.0 | 22,107 | 890 | codeparrot/github-code |
3e66bcf75a1dc1e6818043eeef021c6546f971b84938ed27d22d436755c1573b | package application.miscalleneous;
public class Result {
public static final String RESULT_OK = "OK";
public static final String RESULT_FAILED = "FAILURE";
private String result;
private String resultMessage;
public Result(){}
public Result(String result, String resultMessage){
this.... | Java | Backend/src/main/java/application/miscalleneous/Result.java | andactan/test-hello | apache-2.0 | 715 | 33 | codeparrot/github-code |
6355dd694c3cd3fd9f80e168d100aa516d08773010b4d4e11011fa8441632b3a | package com.netease.seckill.enums;
/**
* Created by Jo on 10/18/16.
*/
public enum SeckillStatusEnum {
SUCCESS(1,"successkill"),
END(0,"endkill"),
REPEAT_KILL(-1,"repeatKill"),
INNER_ERROR(-2,"inner error"),
DATA_REWRITE(-3,"data rewrite");
private int status;
private String statusInfo;
public static Secki... | Java | secoundKill/src/main/java/com/netease/seckill/enums/SeckillStatusEnum.java | asdgh1000/demo | apache-2.0 | 850 | 46 | codeparrot/github-code |
6432e5a54dc611a923c64e0dd050a3b0633c25dd4d240eb3a2ae242ab59330c9 | package com.nwalsh.saxon;
import java.io.*;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;
import java.text.DateFormat;
import java.text.ParseException;
/**
* <p>Saxon extension to convert CVS date strings into local time</p>
... | Java | doc/translations/spanish/tools/xsl/extensions/saxon643/com/nwalsh/saxon/CVS.java | jmckaskill/subversion | apache-2.0 | 2,283 | 91 | codeparrot/github-code |
ab8164066ba66a8b1f9ccad0bffad677ac6d045484c90d0beee8f394d9a7e327 | package com.yatatsu.powerwebview.rx;
import android.graphics.Bitmap;
import android.os.Looper;
import android.webkit.WebView;
import com.yatatsu.powerwebview.LoadStateWatcher;
import com.yatatsu.powerwebview.PowerWebView;
import rx.Observable;
import rx.Subscriber;
import rx.functions.Action0;
final class PowerWeb... | Java | powerwebview-rx/src/main/java/com/yatatsu/powerwebview/rx/PowerWebViewStateChangeEventOnSubscribe.java | yatatsu/PowerWebView | apache-2.0 | 2,924 | 83 | codeparrot/github-code |
8feca2b00bcd3a15e8aa75ea5fdcbbfcd42500a2f88cdce776514e77debcdec3 | /*
* Copyright (c) 2010-2012 Sonatype, Inc. All rights reserved.
*
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License Version 2.0.
* You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/lic... | Java | api/src/main/java/org/asynchttpclient/AsyncHttpClientConfigBean.java | afelisatti/async-http-client | apache-2.0 | 8,761 | 239 | codeparrot/github-code |
cc7d7a5798ef75e67e327a218bd86fbd38d0a3083039eb0bc0e138e7acbfbfb6 | /*
* Copyright 2015-2016 Red Hat, Inc, and individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | Java | ballroom/src/main/java/org/jboss/hal/ballroom/Accordion.java | hpehl/hal.next | apache-2.0 | 4,212 | 118 | codeparrot/github-code |
16ef8707f36d88e03f3cf8818dfe97be49c63efee6b45df6dde217e892df9a83 | <?php
class Archive {
private static $SEGMENT_SIZE = 16777216; // 1024 * 1024 * 16 = 16MiB
private static $TAR_PASSTHRU_CMD = "cd [ROOTDIR] && tar --no-recursion -c -- [DIRS] [FILES]";
private static $ZIP_PASSTHRU_CMD = "cd [ROOTDIR] && zip - -- [FILES]";
private $app, $dirs, $files;
public fu... | PHP | _h5ai/server/php/inc/class-archive.php | PaulFl/www | apache-2.0 | 5,921 | 202 | codeparrot/github-code |
60aa2af146c1710851ecbfcf29931ee329774a309b74fd8817644835442cbc9b | # Copyright The Cloud Custodian Authors.
# SPDX-License-Identifier: Apache-2.0
from collections import Counter
import logging
import itertools
import json
import time
from botocore.exceptions import ClientError
from concurrent.futures import as_completed
from dateutil.parser import parse as parse_date
from c7n.action... | Python | c7n/resources/ebs.py | thisisshi/cloud-custodian | apache-2.0 | 57,596 | 1,635 | codeparrot/github-code |
e8b025f4e0ffdd075e59f6affe1bd00936d6ddb278a8a6c59e3eb1b16c41a5ab | package com.planet_ink.coffee_mud.Commands;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_ink.coffee_mud.Behaviors.interfaces.*;
import com... | Java | com/planet_ink/coffee_mud/Commands/Take.java | welterde/ewok | apache-2.0 | 6,485 | 180 | codeparrot/github-code |
66e4a3a066d5e94328537e336dad0650aa324ce52f83107c30e3a3bd7b0e09c4 | package com.hendrix.zorn.managers;
/**
* worker manager errors
*
* @author Tomer Shalev
*/
@SuppressWarnings("UnusedDeclaration")
public class WorkerManagerErrorInfo
{
public enum ErrorCode {
/**
* <code>ERROR_FAILED_PROCESS</code> - represents a process that has failed.
*/
E... | Java | src/main/java/com/hendrix/zorn/managers/WorkerManagerErrorInfo.java | HKMOpen/Android-Zorn | apache-2.0 | 1,632 | 66 | codeparrot/github-code |
10b3f9caac0060603892e31f151cd102a149c812656f001acc274c1ec0c7ebf2 | /*
* Copyright 2013 Cloudera Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | Java | search-crunch/src/main/java/org/apache/solr/crunch/CrunchIndexerTool.java | cloudera/search | apache-2.0 | 20,146 | 514 | codeparrot/github-code |
a4a5604e8f1837f3c10b5aafa088910051c27fe5461fe2b3d9e514cdffda4a1d | <!DOCTYPE html>
<html class="theme-next gemini use-motion" lang="zh-Hans">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="theme-color" content="#222">
<meta http-... | HTML | 2014/12/09/win7下安装ubuntu14-04双系统/index.html | hyhcoder/hyhcoder.github.io | apache-2.0 | 31,332 | 1,174 | codeparrot/github-code |
0bcf3967c642625a884c5226650490dee5dc31e3f91aa37e7d2cc1fee1c130b9 | /*
* Copyright 2015 Mariusz.
*
* 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... | Java | scanner-supervisor/src/main/java/com/watchrabbit/scanner/supervisor/model/Form.java | watchrabbit/rabbit-scanner | apache-2.0 | 2,008 | 87 | codeparrot/github-code |
1ffc245bc0286790177dff1c60e1174b72d43f5ebe091b876cd0e068a91253d2 | #include <algorithm>
#include <numeric>
#include <vector>
template <class InputIterator, class ValueIterator>
std::vector<InputIterator>
find_tuple(InputIterator first,
InputIterator last,
ValueIterator valFirst,
ValueIterator valLast) {
std::vector<InputIterator> inputs(std::distance... | C++ | find_tuple/src/main.cpp | Mizux/snippets | apache-2.0 | 2,365 | 98 | codeparrot/github-code |
77782eea4ebf96c2ef1c8ee81cae51057cddba96a7ffbb9b273bb76d17d4c273 | # Copyright 2011 the Melange 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 wr... | Python | app/soc/mapreduce/convert_student_info.py | rhyolight/nupic.son | apache-2.0 | 1,918 | 51 | codeparrot/github-code |
29f1c13bce2f845e7b1db6f6ab28737a6991cb8bd41b22e77451661e34513301 | package model;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
/**
* Created by yegor on 11/15/16.
*/
@Entity
@Table(name = "company")
public class CompanyEntity {
private long id;
private String name;
public CompanyEntity(String name) {
this.name = name;
}
... | Java | persistence/src/main/java/model/CompanyEntity.java | yegor-novinsky/computer-database | apache-2.0 | 1,329 | 66 | codeparrot/github-code |
820b10953d7c0841fbb1c8ad5c64e2aabe0544f9d45f7f4c058a4617be65e52a | <?php
namespace DCarbone\PHPFHIRGenerated\STU3\FHIRElement;
/*!
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
*
* Class creation date: December 26th, 2019 15:43+0000
*
* PHPFHIR Copyright:
*
* C... | PHP | src/DCarbone/PHPFHIRGenerated/STU3/FHIRElement/FHIRMarkdown.php | dcarbone/php-fhir-generated | apache-2.0 | 12,318 | 336 | codeparrot/github-code |
0ad4ac26cbd4b35fd6cb12fb7dce349d2de5397b56b1361d208b5ddbf9e6331c | /*
* Copyright (c) 2008-2017, Hazelcast, Inc. 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 ... | Java | hazelcast/src/test/java/com/hazelcast/internal/networking/nonblocking/iobalancer/IOBalancerMemoryLeakTest.java | emrahkocaman/hazelcast | apache-2.0 | 5,745 | 134 | codeparrot/github-code |
a29ba08193daaaff4e7a429f2b589aaf92cb86c157c6f0488fcbd9a7e51cb93c | package fr.xephi.authme.process.register;
import org.bukkit.Bukkit;
import org.bukkit.GameMode;
import org.bukkit.Location;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.scheduler.BukkitScheduler;
import org.bukkit.scheduler.BukkitTask;
import fr.xephi.authme.AuthMe;
im... | Java | src/main/java/fr/xephi/authme/process/register/ProcessSyncronousPasswordRegister.java | hexosse/AuthMeReloaded | apache-2.0 | 6,752 | 158 | codeparrot/github-code |
fe71bbf65280fc19d2ee6ea9a1f921fa0a62bab6c56e156a46d1e9f4cff67ff2 | package com.huihuan.jerrys.shiro.server.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.BeanPropertyRowMapper;
import org.springframework.jdbc.co... | Java | spms-server/src/main/java/com/huihuan/jerrys/shiro/server/dao/AuthorizationDaoImpl.java | cmjjsnt/spms | apache-2.0 | 3,272 | 95 | codeparrot/github-code |
eaa3baf81431d817e32a07c31ebb151eb4513069b234e985bebb37bdd8e11d43 | import {
findNestedPropertyInObject
} from "../../../../../../src/js/utils/Util";
import {
ADD_ITEM,
SET
} from "../../../../../../src/js/constants/TransactionTypes";
import Transaction from "../../../../../../src/js/structs/Transaction";
import { PROTOCOLS } from "../../constants/PortDefinitionConstants";
modul... | JavaScript | plugins/services/src/js/reducers/serviceForm/PortMappings.js | jcloud-shengtai/dcos-ui_CN | apache-2.0 | 4,763 | 169 | codeparrot/github-code |
ec1c5f7c1fd6ca6f3922aa0bb9fc8affd805c38ad462752f1ef91776429997dd | package org.openkilda.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import java.io.Serializable;
/**
* The Class Switchrelation... | Java | services/src/openkilda-gui/src/main/java/org/openkilda/model/IslLinkInfo.java | nikitamarchenko/open-kilda | apache-2.0 | 3,885 | 207 | codeparrot/github-code |
0d9630a1dbb0338125ca55c9eb576eb697b0621722f1fc87e0159e88a9da7812 | /*
* Copyright (C) 2015 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 | app/src/main/java/com/example/android/sunshine/app/SettingsActivity.java | joaobiriba/Advanced_Android_Development | apache-2.0 | 7,141 | 161 | codeparrot/github-code |
46abde555ae7c77e944d123a17f628ecd9c6a03ad449bb709abe5fc99cccaed4 | //g++ -std=c++11 newdel.cpp
#include <iostream>
using namespace std;
void* operator new(size_t size)
{
cout<<"new("<<size<<") invoked"<<endl;
return malloc(size);
}
void* operator new[](size_t size)
{
cout<<"new[]("<<size<<") invoked"<<endl;
return malloc(size);
}
//在C++11中如果noexcept修饰的函数抛出了... | C++ | CPP/OperatorOverloading/newdel.cpp | wangxiaoxiang/Practice | apache-2.0 | 1,705 | 99 | codeparrot/github-code |
3d64f7c4d1c7bee24e51854b065b4ad5bc97e74f9856fb531475a997b5a39762 | /* Copyright 2017-2018 Esteve Fernandez <esteve@apache.org>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Java | rcljava/src/main/java/org/ros2/rcljava/timer/WallTimerImpl.java | esteve/ros2_java | apache-2.0 | 3,427 | 130 | codeparrot/github-code |
b052e741d786a0936054fae3991fb52816dc6c69b1938cef4ee8ffecd1339a8b | package com.dianping.cat.report.task.spi;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import org.codehaus.plexus.logging.LogEnabled;
import org.codehaus.plexus.logging.Logger;
import org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable;
import org.codehaus.plexus.pe... | Java | cat-home/src/main/java/com/dianping/cat/report/task/spi/ReportFacade.java | ServerStarted/cat | apache-2.0 | 2,463 | 78 | codeparrot/github-code |
694fc45e5d5f144ad0440151d820b8be942fd0d5a3f239f1b0073461410391ae | package com.hanuor.pearl;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
import android.widget.ImageView;
import com.hanuor.pearl.handler.VolleyHelper;
import com.hanuor.pearl.toolbox.ImageLoader;
import java.io.FileInputStream;
import java.io.FileNot... | Java | pearl/src/main/java/com/hanuor/pearl/Pearl.java | hanuor/pearl | apache-2.0 | 2,700 | 86 | codeparrot/github-code |
a20fd215199b09c78aab6f91de0bd2dea2e894e0811f676c3b09c8d85c433815 | <!DOCTYPE html>
<html lang="en">
<head>
<title>关于我</title>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1.... | HTML | aboutme/aboutme.html | yaoshengli/yaoshengli.github.io | apache-2.0 | 2,129 | 67 | codeparrot/github-code |
68515c58daf42db2cd1d935e00145e0b83b4fc9b15bd3cf0298a1f2deec2ef0b | package stsc.general.statistic.cost.function;
import java.util.HashMap;
import java.util.Map;
import stsc.general.statistic.MetricType;
import stsc.general.statistic.Metrics;
/**
* CostWeightedProductFunction is a cost function for {@link Metrics}. <br/>
* Store amount of parameters and double weights for each: <b... | Java | src/main/java/stsc/general/statistic/cost/function/CostWeightedProductFunction.java | sidorovis/stsc.general | apache-2.0 | 1,463 | 50 | codeparrot/github-code |
6b7eb8451d18393f854f3cc9675335e5cb5c1de0e068f3377625b1574ca4400a | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using Xunit;
using Xunit.Extensions;
namespace NuGet.Test
{
public class SemanticVersionTest
{
[Theory]
[PropertyData("ConstructorData")]
public void StringConstructorP... | C# | test/Core.Test/SemanticVersionTest.cs | themotleyfool/NuGet | apache-2.0 | 12,425 | 329 | codeparrot/github-code |
b14d4e1242bb46286dbb5cb5a28cfb9e7f7cfdfc48061fa34ccf125806e09151 | /*
* Copyright 2015 Open Networking Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | Java | core/api/src/test/java/org/onosproject/core/DefaultApplicationTest.java | sonu283304/onos | apache-2.0 | 9,100 | 216 | codeparrot/github-code |
ad48a27ca0da08c8d18920e9c13fd4bee06dea5ec6f79e74ee5e187688d3ea77 | /*
* Copyright 2014-2015 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Java | src/main/java/com/rockagen/gnext/enums/ErrorType.java | rockagen/security-stateless-samples | apache-2.0 | 1,761 | 71 | codeparrot/github-code |
f94836b8f37731d5a84d43acc18572662bcbc2995c0692a6416f436b623588e1 | <HTML>
<HEAD>
<TITLE>not2()</TITLE>
<LINK REL=StyleSheet HREF="../rw.css" TYPE="text/css" TITLE="Rogue Wave Standard Stylesheet"></HEAD>
<BODY BGCOLOR=#FFFFFF>
<A HREF="not1.html"><IMG SRC="images/bprev.gif" WIDTH=20 HEIGHT=21 ALT="Previous file" BORDER=O></A><A HREF="noframes.html"><IMG SRC="images/btop.gif" WIDT... | HTML | doc/stdlibref/not2.html | apache/stdcxx | apache-2.0 | 3,329 | 45 | codeparrot/github-code |
dfe3b174b260a832460dca733b1c596f9d3905909ddd2cfe5577b05f82eae1a6 | /*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java | core/src/main/java/com/google/devtools/intellij/protoeditor/lang/stub/PbGroupDefinitionStub.java | google/intellij-protocol-buffer-editor | apache-2.0 | 1,758 | 57 | codeparrot/github-code |
0a2d169625f3d29ef10f4860faddb6b834c6e7cb4f0d23ea941af9b5671235a3 | package org.jrivets.connector.saltedge.v2;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.apache.log4j.Logger;
public enum Error {
//An account with the sent account_id could not be found
AccountNotFound,
//APP_ID was not provided in the reque... | Java | src/main/java/org/jrivets/connector/saltedge/v2/Error.java | jrivets/saltedge-connector | apache-2.0 | 5,247 | 178 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.