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 |
|---|---|---|---|---|---|---|---|---|
6ecdec84f37d59bca3e7b8ac0f22e0c7d604f02fbd87baf9581dfc63f86da125 | /*
Copyright 2012 - $Date $ by PeopleWare n.v.
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... | JavaScript | ui/horizontalPanesContainer/PersistentObjectDraggableEditPane.js | peopleware/js-ppwcode-vernacular-persistence | apache-2.0 | 7,345 | 188 | codeparrot/github-code |
cb8e1c63e2fd225675ac96bc8ef5c2dfee5c77c15d74244e2c01b4794989c9a1 | /*
* 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 | java/java-impl/src/com/intellij/codeInsight/completion/StaticMembersWeigher.java | jexp/idea2 | apache-2.0 | 2,152 | 62 | codeparrot/github-code |
58acad85e518439bd90a728ac4602161742b9d14132f5a256022d9eb82d50169 | /*
* 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/annotation/OptionOccurrenceTracker.java | google/intellij-protocol-buffer-editor | apache-2.0 | 19,115 | 526 | codeparrot/github-code |
301dd202cded92420ec1c66fcb06f586e6a830935b039bedd773087b000acfc7 | import '@polymer/iron-icon/iron-icon.js';
import '@polymer/iron-icons/iron-icons.js';
import '@polymer/paper-card/paper-card.js';
import '@polymer/paper-ripple/paper-ripple.js';
import '@polymer/paper-item/paper-icon-item.js';
import '@polymer/paper-icon-button/paper-icon-button.js';
import {html, PolymerElement} from... | JavaScript | components/centraldashboard/public/components/dashboard-view.js | kubeflow/kubeflow | apache-2.0 | 2,491 | 81 | codeparrot/github-code |
578d970869251313d3608cde2a4377e26349eb8477cf4aeb51c540d941e4d9d0 | //-----------------------------------------------------------------------
// <copyright file="LifecycleManager.cs" company="Google">
//
// Copyright 2017 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 Lice... | C# | Assets/GoogleARCore/SDK/Scripts/Managers/LifecycleManager.cs | googlesamples/arcore-lightboard | apache-2.0 | 1,903 | 63 | codeparrot/github-code |
63f652c3bb3507d14772bb38a4b517b2d10609b0e8a4346ff89e7c69033be14f | package models
type SurveyResult struct {
SurveyId int
Answers []Answer
DeviceInfo DeviceInfomation
}
type Question struct {
QuestionId int
Type int //0代表单选题,1代表多选题,2代表填空题
Title string
Content []string
// CreatedTime int64
}
type Survey struct {
SurveyId int
Title string
Descri... | GO | models/survey_data_define.go | sydbfhwj/survey_go | apache-2.0 | 615 | 39 | codeparrot/github-code |
56e54577c5d25f7d67689a588fb18b946276cb04bd2c914a1743147c0c7dc388 | /**
* Copyright 2014-present topoos
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | Java | src/topoos/APIAccess/Results/SocialRelationshipCounterResult.java | topoos/topoos_sdk_android | apache-2.0 | 3,213 | 132 | codeparrot/github-code |
5122ecffa276b125dca573a3f264fe2e34bcc83345e05f40bfae5c025373d503 | <?lsmb INCLUDE 'ui-header.html'
stylesheet = stylesheet
include_stylesheet = ["UI/asset/asset.css"]
include_script = ["UI/asset/asset.js"]
?>
<?lsmb PROCESS 'elements.html' ?>
<body onLoad="init()" class="lsmb <?lsmb dojo_theme ?>">
<div class="listtop"><?lsmb title ?></div>
<div class="info"><?lsm... | HTML | projects/CRM/LedgerSMB-master/UI/import_csv/import_csv.html | tridentcodesolution/tridentcodesolution.github.io | apache-2.0 | 2,009 | 80 | codeparrot/github-code |
2bd8e15a1307ac3674eaaa0cf80e4f73c77c81ec946b7daa3c3040bbc9dd407e | /*
* ====================================================================
* 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
... | Java | httpclient5-cache/src/main/java/org/apache/hc/client5/http/impl/cache/FileResource.java | ok2c/httpclient | apache-2.0 | 3,665 | 113 | codeparrot/github-code |
d98c41eb411bea138e9df5aae60f66ddeb51e6204c30e925f85a7bb5803e211c | // Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using System.Linq;
using System.Reflection;
namespace FileGenerator.Drawables
{
internal sealed class IDrawablesGenerator : DrawableCodeGenerator
{
private IDrawablesGenerator()
... | C# | tools/FileGenerators/Drawables/IDrawablesGenerator.cs | dlemstra/Magick.NET | apache-2.0 | 2,610 | 88 | codeparrot/github-code |
2bb3131aca856cd53bbd0f5b12cffb82b8bff711cf18c3b6bcf82f93876b1126 | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); yo... | Java | components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/model/complex/twoclassesandonelink/Client.java | everttigchelaar/camel-svn | apache-2.0 | 1,953 | 64 | codeparrot/github-code |
04e62b860300e6d16a2fd9c93f84c57e0bd756680dd103969a313c954e49e636 | // Copyright 2010-2014 Google
// 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 wri... | C | src/algorithms/knapsack_solver.h | ThatRfernand/or-tools | apache-2.0 | 26,122 | 600 | codeparrot/github-code |
67345a9c57068a5f090d5b013c056134d6b2ea6a38b0a296629ab14d17b96964 | #ifndef LOCATION_H_
#define LOCATION_H_
#include <ostream>
/*
struct for representing locations in the grid.
*/
struct Location
{
int row, col;
Location()
{
row = col = 0;
}
Location(int r, int c)
{
row = r;
col = c;
}
bool operator==(const Location & o) const {
return row == o.row && col == o.... | C | Location.h | nhaehnle/aiant | apache-2.0 | 543 | 35 | codeparrot/github-code |
a33900ec66c04925278ea9fc640bdf6b4ce679721803adc918f928c904826d4b | </div>
<script type="text/javascript">
require(['bootstrap']);
{if $_W['uid']}
function checknotice() {
$.post("{php echo url('utility/notice')}", {}, function(data){
var data = $.parseJSON(data);
$('#notice-container').html(data.notices);
$('#notice-total').html(data.total)... | HTML | web/themes/style01/common/footer-cms.html | shengkai86/yushungroup | apache-2.0 | 1,446 | 33 | codeparrot/github-code |
65d1f44e97332110581a703d23ab918cc2e33adae1790a7113b0dab9a539940b | /*
* Copyright (c) 2008-2011 Ivan Khalopik.
*
* 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 | labs/greatage-common/src/main/java/org/greatage/util/PathUtils.java | sody/greatage | apache-2.0 | 8,144 | 245 | codeparrot/github-code |
402cdef89a1cb4b66c3cfd237146b65c0152438ddf59f1394c23970d82516d29 | // © 2014 - 2017 Soverance Studios
// http://www.soverance.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... | C++ | Ethereal/Private/Gear/Weapons/Ranged/Ammo/IronArrow.cpp | Soverance/EtherealLegends | apache-2.0 | 2,938 | 68 | codeparrot/github-code |
b484057e6656bdf7c7f7df777ba8c2e082a44545318cdc6a37f62cfe938e66d3 | /*
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 applicable law or agreed to in ... | GO | src/github.com/GoogleCloudPlatform/kubernetes/plugin/cmd/scheduler/scheduler.go | CrunchyData/dnsbridge | apache-2.0 | 2,061 | 70 | codeparrot/github-code |
8602a63a6b44164f4ede61f4d74095097706212c84a6b453128db627942eccee | /*
* @Author: yw850
* @Date: 2017-07-24 18:13:22
* @Last Modified by: yw850
* @Last Modified time: 2017-07-24 18:41:42
*/
'use strict';
require('./index.css')
require('page/common/header/index.js');
require('page/common/nav/index.js');
var _mm = require('util/mm.js');
var _payment = require('service/payment-... | JavaScript | src/page/payment/index.js | Yongze/mmall-fe | apache-2.0 | 1,392 | 61 | codeparrot/github-code |
a684be4c2ae35b981e11831a48a105db4662553989e6ea268fc362e483cdb525 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="ru">
<head>
<title>Uses of Class org.apache.poi.xssf.usermodel.helpers.XSSFXmlColumnPr (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../../sty... | HTML | poi-3.10-FINAL/docs/apidocs/org/apache/poi/xssf/usermodel/helpers/class-use/XSSFXmlColumnPr.html | pedro93/ifarmaStudents | apache-2.0 | 6,707 | 158 | codeparrot/github-code |
767310a20d26b2f39603f123f17363fbc61fee06e6990a579f0d25fa6c179b23 | /*
* Copyright 2014-2019 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-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/FlushStageAuthorizersCacheRequest.java | jentfoo/aws-sdk-java | apache-2.0 | 5,089 | 178 | codeparrot/github-code |
3bd03a6ad2d63913aa212eebd176b654ad5b0edcdf0739cbc9df92fb8f50e8a4 | package de.mhu.com.morse.channel.sql;
import java.io.InputStream;
import java.io.OutputStream;
import java.lang.reflect.Method;
import java.util.Date;
import java.util.Hashtable;
import java.util.Iterator;
import de.mhu.lib.log.AL;
import de.mhu.com.morse.channel.AbstractSelectResult;
import de.mhu.com.mor... | Java | de.mhus.app.inka.morse.server/src/de/mhu/com/morse/channel/sql/FindResult.java | mhus/mhus-inka | apache-2.0 | 3,731 | 163 | codeparrot/github-code |
62cb4e2edd2116569783f269beb19858ce862619f68a7e0ed97f86e1bd623615 | // Copyright (C) 2011-2012 the original author or authors.
// See the LICENCE.txt 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 ... | Scala | test/services/UserFeedServiceSpec.scala | cjww-development/rest-api | apache-2.0 | 3,381 | 88 | codeparrot/github-code |
f9aa4db592e82beeeca5bb86f93d0f38accbdab0a5b413f9d65161c54b60652c | package org.reclipse.structure.specification.ui.utils;
import org.reclipse.math.functions.FunctionParameter;
import org.reclipse.math.functions.MathematicalFunction;
import org.reclipse.structure.specification.PSFunctionParameter;
import org.reclipse.structure.specification.PSFuzzyConstraint;
import org.reclip... | Java | plugins/org.reclipse.structure.specification.ui/src/org/reclipse/structure/specification/ui/utils/MathFunctionHelper.java | CloudScale-Project/StaticSpotter | apache-2.0 | 2,329 | 75 | codeparrot/github-code |
4173e9ef91e1e9df7417fd5d962c7443d8ade907682584dddbe381bd70a1877b | package com.bcnx.ui.acquirer.action;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JComboBox;
import javax.swing.JOptionPane;
import javax.swing.JTextField;
import org.springframework.context.ApplicationContext;
import com.bcnx.application.context.BcnxApplica... | Java | BCNXST/src/com/bcnx/ui/acquirer/action/BalMsgSaveAction.java | i0712326/bcnx | apache-2.0 | 3,913 | 110 | codeparrot/github-code |
55b62ad3677ddff4b505f7e6be4dd351eb73eacd25a9c082f5a7f271881e4fb4 | package io.github.lijunguan.imgselector.base;
import android.content.Context;
import android.support.v4.app.Fragment;
import java.lang.ref.WeakReference;
import io.github.lijunguan.imgselector.album.AlbumActivity;
/**
* Created by lijunguan on 2016/4/8
* email: lijunguan199210@gmail.com
* blog : https://lijungua... | Java | imageseletor/src/main/java/io/github/lijunguan/imgselector/base/BaseFragment.java | lijunguan/AlbumSelector | apache-2.0 | 883 | 31 | codeparrot/github-code |
4d42dc4359f767a51c28616e5a74075eefea5961c8e269c2a8cff3865e5dd98e | /*
* 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 | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/src/main/java/org/apache/hadoop/yarn/service/ServiceManager.java | dierobotsdie/hadoop | apache-2.0 | 14,352 | 389 | codeparrot/github-code |
be95cb0d457b7ba076e5fcb8abaa1e6439f0ff5bf847084768c66cb99344802d | /*******************************************************************************
* Copyright 2011
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.... | Java | dkpro-lab-core/src/main/java/org/dkpro/lab/engine/reporting/ReportingEngine.java | dkpro/dkpro-lab | apache-2.0 | 2,494 | 80 | codeparrot/github-code |
41e02a2aec73a4d58207f5a19b49f7b12da309077ba7e7ad0976050198f36237 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="generator" content="AsciiDoc 8.6.8" />
<title>git-remote-ex... | HTML | RailsInstaller_D/Git/doc/git/html/git-remote-ext.html | ArcherCraftStore/ArcherVMPeridot | apache-2.0 | 22,002 | 968 | codeparrot/github-code |
f884799247af289a1a31fa5635215429c8fd87e3f09647e1a0da12b75e77ed26 | /* Siconos is a program dedicated to modeling, simulation and control
* of non smooth dynamical systems.
*
* Copyright 2022 INRIA.
*
* 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++ | kernel/src/modelingTools/LagrangianLinearDiagonalDS.hpp | siconos/siconos | apache-2.0 | 5,336 | 177 | codeparrot/github-code |
da6bb3bed9a90aab9403cceeec48558ef01b898c783cc33721614af197884da3 | /*
* Copyright 2016 The Bazel 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 a... | Java | base/src/com/google/idea/blaze/base/ideinfo/CToolchainIdeInfo.java | bazelbuild/intellij | apache-2.0 | 6,032 | 187 | codeparrot/github-code |
7550452d5330b98b6a1e3746531a7dc9c48f9874bf7ce10d78ca99fb071a641e | /*
* Copyright 2014-2022 Web Firm Framework
*
* 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 | wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/DocType.java | webfirmframework/wff | apache-2.0 | 16,444 | 496 | codeparrot/github-code |
46b2acb5de64ab7ee1826df1b7e2641c357ddce4349d5c630c8eafd50231b388 | /**
* Exercise 4
*/
package com.ciaoshen.thinkinjava.chapter11;
import java.util.*;
public class Exercise4 {
public static interface Generator<T> {
public T next();
}
public static class FilmGenerator implements Generator<String> {
private static final String[] FILMNAME={"肖申克的救赎", "这个杀手不太... | Java | chapter11/Exercise4.java | helloShen/thinkinginjava | apache-2.0 | 2,393 | 70 | codeparrot/github-code |
fb3cb9ee944edeca30f7f1fbbebd6c64fa74f014ee78efe4887372ab953255fb | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. The ASF 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... | Java | eclipse/Roller/src/org/apache/roller/ui/authoring/struts/formbeans/YourWebsitesForm.java | paulnguyen/cmpe279 | apache-2.0 | 1,439 | 47 | codeparrot/github-code |
f82328b2bfd0e0a1f3020a73037af953df6c1f9936750d1914702e23774fcae7 | /*
* Copyright 2014-2020 Real Logic Limited.
*
* 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 applicable law or agr... | Java | aeron-samples/src/main/java/io/aeron/samples/raw/WriteReceiveUdpPing.java | real-logic/Aeron | apache-2.0 | 4,290 | 129 | codeparrot/github-code |
d9c0b4c6c67cdaf0ea5d5e62e9cbc9f5c6e9fd64b46a8185ce321858cb753582 | require_relative 'Data/Battler'
module SRPG
class Battler
#--------------------------------------
# + Attribute
#--------------------------------------
attr_reader :id # Index
attr_reader :troop_id # Troop's Index
attr_reader :data # Battler Data
attr_reader :equips ... | Ruby | Scripts/NewScripts/Battler.rb | ChillMagic/SRPG-System-on-RMVA | apache-2.0 | 1,500 | 50 | codeparrot/github-code |
e6b7776bd5ef6106eb542a57b87f57b30c2bafa3e94ba776e4fd66c5114e0939 | \section{controller/controller\_\-main.c File Reference}
\label{controller__main_8c}\index{controller/controller\_\-main.c@{controller/controller\_\-main.c}}
{\ttfamily \#include \char`\"{}controller.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}ctrl\_\-protocol.h\char`\"{}}\par
{\ttfamily \#include $<$stdio.h$>$}\pa... | TeX | docs/latex/controller__main_8c.tex | ytoolshed/upkeeper | apache-2.0 | 1,686 | 47 | codeparrot/github-code |
1b9ef580351c4a58e685582f32b5ae0a6a85911c45061a7b8ef0d108f684b4a9 | /*
* Copyright 2012-2013 inBloom, 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 appli... | Java | sli/domain/src/test/java/org/slc/sli/validation/schema/ApiNeutralSchemaValidatorTest.java | inbloom/secure-data-service | apache-2.0 | 4,440 | 125 | codeparrot/github-code |
d96053e33a059ff9240030a5467a94982b119c1431e0cac3c136957f7a113340 | /*
* 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 | java/org/apache/catalina/loader/WebappLoader.java | Nickname0806/Test_Q4 | apache-2.0 | 20,467 | 674 | codeparrot/github-code |
0c949c75bf0f19946851d1fe82815a2831428774043f9b34e2156bf434ec2ff7 | package org.javaq.chartfaces.render.tool.impl;
import java.util.List;
import java.util.Map;
import javax.faces.component.UIComponent;
import org.javaq.chartfaces.api.IChartPart;
import org.javaq.chartfaces.component.impl.UIChartBase;
import org.javaq.chartfaces.constants.EnumPart;
import org.javaq.chartfac... | Java | chartfaces/src/main/java/org/javaq/chartfaces/render/tool/impl/HeaderTool.java | hongyan99/chart-faces | apache-2.0 | 3,001 | 102 | codeparrot/github-code |
afe89fa7aa67d59e2bb59f05d143c1a7475ac0b8e2d7dca5b4a4abd822d0df0d | declare const System:any;
/*
System.config({
defaultJSExtensions: true,
packages: {
app: { format: 'register', defaultExtension: 'js' },
'@ngrx/store': { main: 'dist/index.js', defaultExtension: 'js' }
},
paths: {
'*': '*.js',
'angular2/*': '../node_modules/angular2/*',
... | TypeScript | source/node-monitor/client/ts/config.ts | dylanbaxter/GrowSite-OS | apache-2.0 | 2,272 | 63 | codeparrot/github-code |
48c7cbd665595b91dc1091e57c285a2e3e9958e956eb62f4e6d60af6b8aae28f | /*
* 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/test/java/io/prestosql/execution/TestSetSessionTask.java | hgschmie/presto | apache-2.0 | 7,701 | 194 | codeparrot/github-code |
6d46dd6cab250fec1b384ca099dbaad805380e9e68b93d4074fb8f996fe708b7 | /**
* Copyright 2014 Fernando Rincon Martin <frm.rincon@gmail.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 requ... | Java | modules/org.openeos.services.ui.vaadin/src/main/java/org/openeos/services/ui/vaadin/internal/abstractform/AbstractFormVaadinTabImpl.java | frincon/openeos | apache-2.0 | 4,961 | 140 | codeparrot/github-code |
6c117ad1aac464ffaf88a42cfa604a1b62e8400e0c7752b5285c420f25bae746 | package org.gradle.test.performance.mediummonolithicjavaproject.p490;
import org.junit.Test;
import static org.junit.Assert.*;
public class Test9813 {
Production9813 objectUnderTest = new Production9813();
@Test
public void testProperty0() {
String value = "value";
objectUnderTest.... | Java | my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p490/Test9813.java | oehme/analysing-gradle-performance | apache-2.0 | 2,111 | 79 | codeparrot/github-code |
fd7692a6a260da4b387b88fa59fc1c70ac6f838ca19a6a725920d14e83226584 | /*
* 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 | src/test/java/org/apache/commons/jexl2/ForEachTest.java | genome-vendor/libcommons-jexl2-java | apache-2.0 | 5,595 | 134 | codeparrot/github-code |
5aef228d217bcb616b4a9154e5715da2795ffcf1f22a96642ed8c15a9f843377 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>FST - Bethan Lewis</title>
<meta name="description" content="Keep track of the statistics from Bethan Lewis.... | HTML | surfers/wqs/blewi.html | chicofilho/fst | apache-2.0 | 11,256 | 285 | codeparrot/github-code |
0ac15b14ddf64367c2230822f4932014191369f48bd449f6a6a35e35e0476862 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>FST - Brittany Gomulka</title>
<meta name="description" content="Keep track of the statistics from Brittany ... | HTML | surfers/wqs/bgom.html | chicofilho/fst | apache-2.0 | 11,453 | 285 | codeparrot/github-code |
789e3b5b0e7196d93b62ed27237013f06d27f2cd9e30214cdc608e457779f1e0 | package org.infinispan.loaders.jpa;
import org.infinispan.loaders.CacheLoaderException;
/**
*
* @author <a href="mailto:rtsang@redhat.com">Ray Tsang</a>
*
*/
public class JpaCacheLoaderException extends CacheLoaderException {
private static final long serialVersionUID = -5941891649874210344L;
public JpaCache... | Java | src/main/java/org/infinispan/loaders/jpa/JpaCacheLoaderException.java | danberindei/infinispan-cachestore-jpa | apache-2.0 | 596 | 31 | codeparrot/github-code |
04ebbb9e6d192ce89d328db5d7111421e807acba7ae05e2cdcbb8bd6bf07c5e6 | #region License(Apache Version 2.0)
/******************************************
* Copyright ®2017-Now WangHuaiSheng.
* 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/l... | C# | Solutions/AppUtilities/UtilitiesWin/Extends/GridControlExtends.cs | wanghuaisheng/WitsWay | apache-2.0 | 6,515 | 163 | codeparrot/github-code |
3e8b917449466b5e6f126fd10f228424f3e68a95020dd33be98317d7ab83ffdd | package main
import (
"flag"
"fmt"
"github.com/rackspace/gophercloud"
)
var quiet = flag.Bool("quiet", false, "Quiet mode, for acceptance testing. $? still indicates errors though.")
func main() {
flag.Parse()
withIdentity(false, func(acc gophercloud.AccessProvider) {
withServerApi(acc, func(api gophercloud... | GO | acceptance/02-list-servers.go | mitchellh/gophercloud-fork-40444fb | apache-2.0 | 1,172 | 61 | codeparrot/github-code |
891b1d58e9e0b231b847ce0d74acabd6eb6cb6ca65965cb2f29ecd8a0d59bc0b | /*
* 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 | java/java-impl/src/com/intellij/psi/impl/java/stubs/JavaAnnotationElementType.java | joewalnes/idea-community | apache-2.0 | 3,405 | 94 | codeparrot/github-code |
f5d17ee9c2116c6310d5098022358e1165a0a962a02c0eadea054d494574075c | import Firebase from 'firebase/firebase';
export class AngularFire {
ref: Firebase;
constructor(ref: Firebase) {
this.ref = ref;
}
asArray() {
return new FirebaseArray(this.ref);
}
}
/*
FirebaseArray
*/
export class FirebaseArray {
ref: Firebase;
error: any;
list: Array;
constructor(ref: ... | JavaScript | deps/firebase/AngularFire.js | mainyaa/zapzapzap | apache-2.0 | 2,206 | 114 | codeparrot/github-code |
db00810f12873ae5e83237f9b47a950676d14a8b9b56c77dee3a64c0c62c3b03 | /*
* Copyright 2017, Yahoo! Inc. Licensed under the terms of the
* Apache License 2.0. See LICENSE file at the project root for terms.
*/
package com.yahoo.memory;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertNotNull;
import static... | Java | src/test/java/com/yahoo/memory/MemoryTest.java | ApacheInfra/incubator-datasketches-memory | apache-2.0 | 14,448 | 450 | codeparrot/github-code |
a378b2b773096b7d3763e6c74133d6b3a1b30235cced0fa14e09117c9f2637c9 | package com.ityang.leetcode;
public class Subject8 {
public static void main(String[] args) {
System.out.println(myAtoi("1"));
}
public static int myAtoi(String str) {
double result = 0;
int POrN = 1;
int count = 0;
char[] charArr = str.toCharArray();
for(char c:charArr){
... | Java | src/com/ityang/leetcode/Subject8.java | itYangJie/leetcode | apache-2.0 | 987 | 42 | codeparrot/github-code |
f37d07bfab901e801817c9907f83f9b287f55e3b2baae75cfed60b83b4bf6e39 | # 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
# distributed under the... | Python | swift/common/storage_policy.py | levythu/swift | apache-2.0 | 33,131 | 885 | codeparrot/github-code |
e38f3f649987bb15d55f4e64bc0ed0f3b768765c5a09fbdc468c1419b4191d66 | package net.alexyu.model;
import net.alexyu.common.pubsub.DataId;
import net.alexyu.common.pubsub.SubscriptionKey;
/**
* Created by alex on 3/23/17.
*/
public class InterestRateId implements DataId<InterestRate>, SubscriptionKey<InterestRate> {
public final String ccyId;
public InterestRateId(String ccyId... | Java | reporting-service/src/main/java/net/alexyu/model/InterestRateId.java | alexcwyu/real-time-risk | apache-2.0 | 1,628 | 70 | codeparrot/github-code |
9eebb2658312c71d4077252fc0dfe3a0fa48eaed2329b57de6e3445c62e96bc0 | package com.xjeffrose.xio.client.chicago;
import com.xjeffrose.xio.client.asyncretry.AsyncRetryLoop;
import com.xjeffrose.xio.client.asyncretry.AsyncRetryLoopFactory;
import io.netty.bootstrap.Bootstrap;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelHa... | Java | chicago-example/src/main/java/com/xjeffrose/xio/client/chicago/XioChicagoClient.java | xjdr/xio | apache-2.0 | 6,556 | 168 | codeparrot/github-code |
d8fa3b39f47a5f8259f272bb0eb586872bef57c30564025f3d18789ce8f4eb7c |
<p class="level0">
<p class="level0">
<p class="level0">
<p class="level0">
<p class="level0"><a name="NAME"></a><h2 class="nroffsh">NAME</h2>
<p class="level0">git-checkout-index - Copy files from the index to the working tree <a name="SYNOPSIS"></a><h2 class="nroffsh">SYNOPSIS</h2>
<p class="level0">
<p class="level... | HTML | Step2-Indexing/man_html/man1/git-checkout-index.1.html | loic-carbonne/Man-fulltext-search | apache-2.0 | 8,474 | 159 | codeparrot/github-code |
c35ef08e3dc2210747e1711a3dd80dc0c544d3361e1bcd906f90c08135e060bf | package stdata.rules;
import com.tinkerpop.blueprints.TransactionalGraph;
import com.tinkerpop.blueprints.util.wrappers.event.EventGraph;
import com.tinkerpop.blueprints.util.wrappers.event.listener.GraphChangedListener;
import com.tinkerpop.frames.FramedGraph;
public abstract class GraphChangedRule<G extends Transac... | Java | src/stdata/rules/GraphChangedRule.java | jonasrmichel/spatiotemporal-data | apache-2.0 | 908 | 32 | codeparrot/github-code |
d5383bcef5144ac13897eb1ac798dd57c13356dd646c012106f49146b72b7e56 | /*
* Copyright 2002-2019 Barcelona Supercomputing Center (www.bsc.es)
*
* 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
*
* Unl... | Java | compss/runtime/adaptors/nio/commons/src/main/java/es/bsc/compss/nio/commands/CommandExecutorShutdownACK.java | mF2C/COMPSs | apache-2.0 | 1,667 | 63 | codeparrot/github-code |
cb11111127fa9504aae82d0e3679fc46d83f276c500ee32bf2022885ece3d19c | package at.dafnik.ragemode.Shop.Pages;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.inventory.InventoryClickEvent;
import at.dafnik.ragemode.Main.Main;
import at.dafnik.ragemode.Main.Main.Status;
import at.dafnik.ragemode.Sho... | Java | RageMode/src/at/dafnik/ragemode/Shop/Pages/AdvancedShopPageBasic.java | Dafnik/RageMode | apache-2.0 | 1,713 | 72 | codeparrot/github-code |
bd56c0eefe91d59a89d260b00c9e7b639a7496189dd3066a59adb631ff4a350c | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>FST - Tom Boelsma</title>
<meta name="description" content="Keep track of the statistics from Tom Boelsma. A... | HTML | surfers/mqs/tboe.html | chicofilho/fst | apache-2.0 | 11,230 | 287 | codeparrot/github-code |
dcf55368facf8f15c615e6fb6958b0847fb83473033334bc8ed2d81c1b268533 | /*
* 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-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptFilterJsonUnmarshaller.java | aws/aws-sdk-java | apache-2.0 | 4,090 | 97 | codeparrot/github-code |
902cf680b5c2ebc2d43c6bc4a8fefd005fef9253d519fe95a6a200c5e52550ec | /*
* Copyright 2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java | core/src/test/java/com/google/spez/core/SpannerSchemaTest.java | GoogleCloudPlatform/retail-common-services | apache-2.0 | 3,756 | 115 | codeparrot/github-code |
7e614b8eb301ae51760cc44d849bf376165bf184ec270dbff3ea0b9a00013f8d | #
# Author:: Sander Botman <sbotman@schubergphilis.com>
# Cookbook:: nagios
# Recipe:: _load_databag_config
#
# Copyright:: 2014, Sander Botman
#
# 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... | Ruby | recipes/_load_databag_config.rb | schubergphilis/nagios | apache-2.0 | 4,709 | 154 | codeparrot/github-code |
d2059ae13f134ee9671b8e82c60a81ba1bf5c07da7453ae73131c418a5446389 | package com.blade.kit;
import com.blade.mvc.http.Request;
import lombok.experimental.UtilityClass;
/**
* Web kit
*
* @author biezhi
* 2017/6/2
*/
@UtilityClass
public class WebKit {
public static final String UNKNOWN_MAGIC = "unknown";
/**
* Get the client IP address by request
*
* @para... | Java | src/main/java/com/blade/kit/WebKit.java | biezhi/blade | apache-2.0 | 1,330 | 44 | codeparrot/github-code |
8ef394fec548cd63c6a5193dc6d520895954c694cc9a171e9f5421f4d6c9d823 |
#include <rxcpp/rx-lite.hpp>
#include <rxcpp/operators/rx-reduce.hpp>
#include <rxcpp/operators/rx-filter.hpp>
#include <rxcpp/operators/rx-map.hpp>
#include <rxcpp/operators/rx-tap.hpp>
#include <rxcpp/operators/rx-concat_map.hpp>
#include <rxcpp/operators/rx-flat_map.hpp>
#include <rxcpp/operators/rx-concat.hpp>
#in... | C++ | Rx/v2/examples/linesfrombytes/main.cpp | alexeymarkov/RxCpp | apache-2.0 | 3,246 | 110 | codeparrot/github-code |
cb5cc8bd73924a58fab3c26e827be7a9b3cf12f35e0bb606398f861f35ca6cdc | package ma.glasnost.orika.test.community;
import ma.glasnost.orika.MapperFactory;
import ma.glasnost.orika.NullFilter;
import ma.glasnost.orika.impl.DefaultMapperFactory;
import org.junit.Before;
import org.junit.Test;
import java.util.HashMap;
import java.util.Map;
import static org.junit.Assert.assertEquals;
impor... | Java | core/src/test/java/ma/glasnost/orika/test/community/Issue232Test.java | orika-mapper/orika | apache-2.0 | 1,736 | 65 | codeparrot/github-code |
af6e06667b04a8157cb615e0d01c9cb725d4ef93f6e057189773ebdfa1080601 | /*
* citygml4j - The Open Source Java API for CityGML
* https://github.com/citygml4j
*
* Copyright 2013-2022 Claus Nagel <claus.nagel@gmail.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 L... | Java | src/main/java/org/citygml4j/model/gml/geometry/complexes/CompositeSolid.java | citygml4j/citygml4j | apache-2.0 | 3,760 | 134 | codeparrot/github-code |
84c101fe17db4f36488f5fc0ad24c05cb649e9172700a853501bee25ceb5757c | package net.qiujuer.sample;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
import net.qiujuer.genius.Genius;
import net.qiujuer.genius.app.UiModel;
import net.qiujuer.genius.app.UiTool;
import net.qiujuer.genius.command.Command;
import net.qiujuer.genius.nettool.DnsResolve;
imp... | Java | sample/src/main/java/net/qiujuer/sample/TestCaseActivity.java | scudc/Genius-Android | apache-2.0 | 9,086 | 274 | codeparrot/github-code |
491f8276b4b0d71f034bc7351b1f0b3692f57e37876c9aafbdd4d8c1c7a04ba2 | // Copyright 2011 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 applicable law... | Java | aw-reporting-model/src/main/java/com/google/api/ads/adwords/awreporting/model/entities/ReportCampaign.java | tsib0/aw-reporting | apache-2.0 | 18,840 | 565 | codeparrot/github-code |
8d49d604c7641554cc2fd9b44e5f801ec556aad11392b0d077c3a5169aa2fb65 | /******************************************************************************
*
* Purpose: Translation from ILWIS coordinate system information.
* Author: Lichun Wang, lichun@itc.nl
*
******************************************************************************
* Copyright (c) 2004, ITC
* Copyright (c) 2008... | C++ | deps/libgdal/gdal/frmts/ilwis/ilwiscoordinatesystem.cpp | naturalatlas/node-gdal | apache-2.0 | 47,170 | 1,180 | codeparrot/github-code |
5457dfdb5bcfaa6bcb92a2296895e148cbf789c3ce71ca0ff2370069907b506d |
#
# Author:: Ranjib Dey (<dey.ranjib@gmail.com>)
# Copyright:: Copyright (c) 2013 Ranjib Dey.
# License:: Apache License, Version 2.0
#
# 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
#
# ... | Ruby | lib/chef/knife/elb_list.rb | ranjib/knife-elb | apache-2.0 | 2,164 | 72 | codeparrot/github-code |
49204fb67a274d6295613ed5be340cd3c9d38f5e49b7b58c04071b33d345c88e | # (c) Copyright 2014 Brocade Communications Systems Inc.
# All Rights Reserved.
#
# Copyright 2014 OpenStack Foundation
#
# 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
#
# ... | Python | cinder/zonemanager/drivers/brocade/brcd_fc_san_lookup_service.py | Akrog/cinder | apache-2.0 | 10,817 | 262 | codeparrot/github-code |
6c0b431dfa6149bb6d89feb0af065c7308aa530b017b657ff391c431092b27c5 | /**
* Copyright (c) 2015 by Open eGovPlatform (http://http://openegovplatform.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
... | Java | portlets/oep-core-datamgt-portlet/docroot/WEB-INF/src/org/oep/core/util/Constaints.java | thongdv/OEPv2 | apache-2.0 | 2,489 | 69 | codeparrot/github-code |
6bdbda86dc05fe40ea3354105418062686967ff0b15954560bf2d32dffcf7e47 | /*******************************************************************************
* Copyright 2011 See LIBGDX_AUTHORS file.
*
* 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:... | Java | libgdx-desktop-lwjgl2/src/main/java/com/badlogic/gdx/backends/lwjgl/audio/Mini2DxMp3.java | mini2Dx/mini2Dx | apache-2.0 | 4,746 | 145 | codeparrot/github-code |
dc35380ba6fd4a61b27cc32c9edcd7ff8b4a0834238c8179f501bdacac77ad45 | package com.zx.sms.common.util;
import java.util.ArrayList;
import java.util.List;
import org.marre.sms.SmsMessage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.zx.sms.BaseMessage;
import com.zx.sms.LongSMSMessage;
import com.zx.sms.codec.cmpp.wap.LongMessageFrame;
import com.zx.sm... | Java | src/main/java/com/zx/sms/common/util/ChannelUtil.java | Lihuanghe/CMPPGate | apache-2.0 | 4,879 | 146 | codeparrot/github-code |
95c419c7ce80582672b6f2661ff442623017f34bbbb2ac2b1ca32c411f161a74 | package de.dhbw.database;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import java.util.ArrayList;
import java.util.List;
public class DataBaseLinks implements DataBaseTable{
// table name
private static final... | Java | src/de/dhbw/database/DataBaseLinks.java | MAtzmueller/Kadconia | apache-2.0 | 3,465 | 104 | codeparrot/github-code |
8e8d58aa2f4ed48507361715d31ef8dc3caff25f9b7dd6195a8e6d803821c160 | package datapagedquery;
import org.apache.log4j.Logger;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.data.domain.Page;
import org.springframework.dat... | Java | DATAJPA-617/src/test/java/datapagedquery/ApplicationTests.java | thomasdarimont/spring-data-bugs | apache-2.0 | 1,718 | 69 | codeparrot/github-code |
8875419acabfcff3aeb2d252c4ad4af4dc09955369db43dbec4fb5c964c5e7d4 | #!/bin/bash
if [ "x$@" == "x" ] ; then
JAVASCRIPT_JSLINT="\
`find ./js/actions -name "*.js"` \
`find ./js/common/bootstrap -name "*.js"` \
`find ./js/client/bootstrap -name "*.js"` \
`find ./js/server/bootstrap -name "*.js"` \
\
`find ./js/common/modules/@arangodb -name "*.js"` \
`find ./... | Shell | utils/jslint.sh | m0ppers/arangodb | apache-2.0 | 1,899 | 61 | codeparrot/github-code |
44b5e0b1756bba5b1af732098bdc0b22ea7d47f8e037d43657999b0f42afc02b | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>executor_wrapper::first_argument_type</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" ti... | HTML | thirdparty/source/asio-1.11.0/doc/asio/reference/executor_wrapper/first_argument_type.html | letitvi/VideoGridPlayer | apache-2.0 | 4,828 | 76 | codeparrot/github-code |
903b05b2b1e7e75261f5324ac4cd33cc199a8988fae92ce0ba48b47e867047e0 | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | C | aws-cpp-sdk-s3/include/aws/s3/model/StorageClassAnalysis.h | JoyIfBam5/aws-sdk-cpp | apache-2.0 | 2,593 | 84 | codeparrot/github-code |
6ceb8694133427b54722a94ff3eb9544d6de1d3381c69a6e1a8072f3a1b27a56 | package com.twitter.finagle.thrift
import org.apache.thrift.TApplicationException
import org.apache.thrift.protocol.{TMessageType, TBinaryProtocol}
import org.jboss.netty.buffer.{ChannelBuffer, ChannelBuffers}
import org.jboss.netty.channel._
import org.jboss.netty.handler.codec.replay.{ReplayingDecoder, VoidEnum}
/... | Scala | finagle-thrift/src/main/scala/com/twitter/finagle/thrift/legacy/ThriftClientCodec.scala | enachb/finagle_2.9_durgh | apache-2.0 | 2,874 | 78 | codeparrot/github-code |
2b27df173a4da40af5897bd36bf09fdccfb87c9ba9bfcd8726d32fea5ecbf788 | /*
* 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-glue/src/main/java/com/amazonaws/services/glue/model/transform/GetCrawlerResultJsonUnmarshaller.java | aws/aws-sdk-java | apache-2.0 | 2,752 | 75 | codeparrot/github-code |
143af0fa5b0715186b3bfa68f7cd91eaf8daac52a07ade2fa4688b0d01adc1b6 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
* You may obtain a copy of the License at
*
* http://www.apache.... | Java | src/main/java/io/appium/java_client/ios/IOSDriver.java | rafael-chavez/java-client | apache-2.0 | 9,161 | 229 | codeparrot/github-code |
553c9cc78390b57275371785ff2651d83297c3af03590936bf422649d84ad156 | package com.github.dkellenb.formulaevaluator.term.function.doubletype;
import java.util.List;
import com.github.dkellenb.formulaevaluator.FormulaEvaluatorConfiguration;
import com.github.dkellenb.formulaevaluator.definition.Function;
import com.github.dkellenb.formulaevaluator.term.Term;
import com.github.dkellenb.fo... | Java | src/main/java/com/github/dkellenb/formulaevaluator/term/function/doubletype/DoubleTangentFunctionTerm.java | dkellenb/formula-evaluator | apache-2.0 | 1,096 | 44 | codeparrot/github-code |
07ca73acd9df482fb944f7afcd6cfad18523e03e0c065f2a86fa0ebded9761e0 | namespace Zu.ChromeDevTools.IndexedDB
{
using Newtonsoft.Json;
/// <summary>
/// Delete a range of entries from an object store
/// </summary>
public sealed class DeleteObjectStoreEntriesCommand : ICommand
{
private const string ChromeRemoteInterface_CommandName = "IndexedDB.deleteObjec... | C# | ChromeDevToolsClient/IndexedDB/DeleteObjectStoreEntriesCommand.cs | ToCSharp/AsyncChromeDriver | apache-2.0 | 1,488 | 59 | codeparrot/github-code |
9fea263196f72c9ee04ec4e14207fd63ac0b72290b81914a3aac58f9a15bc585 | #region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2017 Yang Chen (cy2000@gmail.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... | C# | Projects/Server/Sys/SF.Sys.Services.Management.Implements/Storages/EntityDbServiceSource.cs | etechi/ServiceFramework | apache-2.0 | 4,684 | 144 | codeparrot/github-code |
b752713a1edd05f4deea1d53bbaa868c68676f69d1bc4e25915b7314f18b1a83 | /*
* Copyright (c) "Neo4j"
* Neo4j Sweden AB [http://neo4j.com]
*
* This file is part of Neo4j.
*
* 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/license... | Java | driver/src/test/java/org/neo4j/driver/internal/value/FloatValueTest.java | neo4j/neo4j-java-driver | apache-2.0 | 3,734 | 135 | codeparrot/github-code |
054342545151d8a9d352776ce9feca97abe6a33d1a8601f1d7d047c16e4f7f2b | #!/usr/bin/perl
use subs;
use strict;
use warnings;
use IO::Handle;
use Time::HiRes qw(tv_interval gettimeofday);
# test.pl
#
# runs a test and check its output
sub run($$$) {
my ($input, $options, $output) = @_;
my $extraopts = $ENV{'ESBMC_TEST_EXTRA_ARGS'};
$extraopts = "" unless defined($extraopts);
my $c... | Perl | regression/cuda/gpu_verify/structs/test.pl | ssvlab/esbmc-gpu | apache-2.0 | 4,401 | 205 | codeparrot/github-code |
e6f66fbde6ad3132bb126512bc2127b12c80dfe7025126c7161b6c87fb85624a | #!/usr/bin/env python
# Copyright 2017, Major Hayden <major@mhtx.net>
#
# 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... | Python | monitorstack/cli.py | major/monitorstack | apache-2.0 | 3,975 | 145 | codeparrot/github-code |
bac7070dd96085ab1d586762f93b559740aebee55ac94305680c1fd6a13ee545 | package uriuti
import (
"bytes"
"crypto/tls"
"errors"
"io/ioutil"
"net/http"
"text/template"
"strings"
)
//Relaces parameters to values in SOAP/REST URLs
func BuildURL(urlTemplate string, data map[string]interface{}) (url string, err error) {
//Avoind Panic Crashing
defer func() {
if err := ... | GO | requires/san-lab/banketh-quorum/lib/bank/sangermany/lib/uriuti/partenonurlutils.go | hesusruiz/fabricaudit | apache-2.0 | 3,403 | 144 | codeparrot/github-code |
86ae3c342792d3e71c955fa96843032eec714f8ab49d3c32e9e5e63f4e36db24 | /*
* Copyright 2016 Finn Bock
*
* 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 i... | Java | vertx/src/main/java/io/github/bckfnn/taggersty/vertx/HandlerOutput.java | bckfnn/taggersty | apache-2.0 | 1,613 | 62 | codeparrot/github-code |
058a3cecb5f2a4a76fdee085dbf30f7d352384ab27083f7b191013e9fe02f155 | <?php
/**
* Copyright 2015-2018 Mathieu Piot.
*
* 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... | PHP | src/AppBundle/Form/Type/SpeciesType.php | mpiot/gryc | apache-2.0 | 3,019 | 79 | codeparrot/github-code |
df1f98aed173066fbfe7fbb125b33dd0db2925c5045fa908bc0303f34fb15f46 | /*
* 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 ma... | Java | modules/transport/http/test/org/apache/axis2/transport/http/HTTPClient4TransportSenderTest.java | apache/axis2-java | apache-2.0 | 1,861 | 47 | codeparrot/github-code |
68c8d6fbef1e255c823fe72db7bf52215d79bfeb06108516d85daa65f7fd22d8 | /* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Java | modules/flowable-task-service/src/main/java/org/flowable/task/service/TaskServiceConfiguration.java | paulstapleton/flowable-engine | apache-2.0 | 12,672 | 330 | codeparrot/github-code |
279d2478f331b41fc810b005c1dd50ae3b2365ef594dd416be38623b88c8ae7d | <?php
/**
* THE CODE IN THIS FILE WAS GENERATED FROM THE EBAY WSDL USING THE PROJECT:
*
* https://github.com/davidtsadler/ebay-api-sdk-php
*
* Copyright 2014 David T. Sadler
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* ... | PHP | src/DTS/eBaySDK/MerchantData/Types/ShippingPackageInfoType.php | emullaraj/ebay-sdk-php | apache-2.0 | 3,445 | 104 | codeparrot/github-code |
ed7257f50260489e68ddf53cade765f7d0d98feb77008cd4e86ec783488f6cc5 | package com.scwang.smartrefresh.layout.api;
import android.animation.ValueAnimator.AnimatorUpdateListener;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
/**
* 刷新内容组件
* Created by SCWANG on 2017/5/26.
*/
public interface RefreshContent {
void moveSpinner(int spinner)... | Java | Android_Basis_Demo/refresh-layout/src/main/java/com/scwang/smartrefresh/layout/api/RefreshContent.java | tinyvampirepudge/Android_Basis_Demo | apache-2.0 | 1,092 | 38 | codeparrot/github-code |
4ac9d545ca9b1a9d4fda6ebee5f5ce9695e4a6e2c8a29ee66d8b2b6664f7c05b | /*
* Copyright 2010 Blue Lotus Software, LLC.
* Copyright 2008-2010 John Yeary <jyeary@bluelotussoftware.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://ww... | Java | OCA/lesson03/src/main/java/arrays/ArrayTester.java | bluelotussoftware/java-bootcamp | apache-2.0 | 3,269 | 102 | codeparrot/github-code |
71b1bd041e372a9c85707b81357098d0a53eb95ee4780444b23f78589ea2ccfb | /*
* Copyright 2012 Samsung Electronics Co., Ltd
*
* Licensed under the Flora License, Version 1.1 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://floralicense.org/license/
*
* Unless required by applicable law or agree... | C | src/common/mp-util.c | minjinsong/tizen-music-player | apache-2.0 | 42,328 | 1,853 | codeparrot/github-code |
37fb2c3890725b34da9d17db187509f11bf36ef1f8f4f3fefe9801c4bf861c6d | /**
* 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 | hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/RowResourceBase.java | JingchengDu/hbase | apache-2.0 | 25,576 | 656 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.