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
3819bfc6a7368a7c014841370d528e4f6688c0a824b283eba49920ff0841ca2e
<!DOCTYPE html > <html> <head> <title>Suites - ScalaTest 3.0.2 - org.scalatest.Suites</title> <meta name="description" content="Suites - ScalaTest 3.0.2 - org.scalatest.Suites" /> <meta name="keywords" content="Suites ScalaTest 3.0.2 org.scalatest.Suites" /> <meta http-eq...
HTML
public/scaladoc/3.0.2/org/scalatest/Suites$.html
scalatest/scalatest-website
apache-2.0
27,444
530
codeparrot/github-code
6eb8be802dbbd665464320f1573d0b3c4ac676e9e932e470bbdda82d94639077
/* * Copyright 2017 - 2019 Roman Borris (pcfreak9000), Paul Hagedorn (Panzer1119) * * 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/...
Java
src/main/java/de/omnikryptec/old/util/OSUtil.java
OmniKryptec/OmniKryptec-Engine
apache-2.0
6,117
200
codeparrot/github-code
b58bf25715190a65edaf2a324acab81871b65c9d685036a12df610c93b3d4543
// Copyright (C) 2004, 2006 International Business Machines and others. // All Rights Reserved. // This code is published under the Common Public License. // // $Id: IpRestoMinC_1Nrm.cpp 759 2006-07-07 03:07:08Z andreasw $ // // Authors: Carl Laird, Andreas Waechter IBM 2004-08-13 #include "IpRestoMinC_1Nrm.hp...
C++
SimTKmath/Optimizers/src/IpOpt/IpRestoMinC_1Nrm.cpp
chrisdembia/simbody
apache-2.0
13,577
321
codeparrot/github-code
93fc4cc255ec2e95dde9e95bcb2c4aca2d544fbd47dba0126921a0eff695910d
/** * Copyright (C) 2015 Agro-Know, Deutsches Forschungszentrum für Künstliche Intelligenz, iMinds, * Institut für Angewandte Informatik e. V. an der Universität Leipzig, * Istituto Superiore Mario Boella, Tilde, Vistatec, WRIPL (http://freme-project.eu) * * Licensed under the Apache License, Version 2.0 (the "Lic...
Java
src/main/java/eu/freme/broker/eservices/Pipelines.java
freme-project/Broker
apache-2.0
19,525
390
codeparrot/github-code
71b49093060bb277f28c62fe53beb6667407a943db4ef0070a40adcad5885abe
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * @author Dennis A. Simpson * @copyright 2015 * @version 2.2 * @abstract This is the controller for handling the Extended Contact Map(ECM) Notes. */ class Ecmnote extends CI_Controller { function __construct() { parent::__constr...
PHP
application/controllers/Ecmnote.php
ModelAnnotation/model
apache-2.0
10,296
267
codeparrot/github-code
cc263d869a69122c64b6f49dc0b1a0336a18319de06fbca1feaba06fbab90b33
/** * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) 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...
Java
components/bpmn/org.wso2.carbon.bpmn/src/main/java/org/wso2/carbon/bpmn/core/internal/BPMNServiceComponent.java
maheshika/carbon-business-process
apache-2.0
3,411
81
codeparrot/github-code
40ade4062d8b20ff64fc33066e68dbc0798b9b916e718acc5ebd4a2ed528dd1c
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace Clarius.VisualStudio.Tasks { public class AssignIncludeTargetPaths : Task { [Required] public ITaskItem[] Files { get; set; } publ...
C#
Tasks/AssignIncludeTargetPaths.cs
modulexcite/VisualStudio-1
apache-2.0
923
36
codeparrot/github-code
cefb9d057c9153272ca16ed14cd11bee0e29777a47298373a98a460521f436cb
package com.xsing.demo; import android.graphics.Typeface; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.FragmentActivity; /** * Baseclass of all Activities of the Demo Application. * * @author Philipp Jahoda */ public abstract class DemoBase extends FragmentA...
Java
study-view/xs-MPAndroidChartDemo/demo/src/main/java/com/xsing/demo/DemoBase.java
xsingHu/xs-android-architecture
apache-2.0
1,322
42
codeparrot/github-code
3cd16c6c1b46705491655eee0b07ae6eb957626cbe7594b96ef30442ab17ced2
# -*- coding: utf-8 -*- { '!langcode!': 'bg', '!langname!': 'Български', '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN', '"User Exceptio...
Python
py2_web2py/web2py/applications/admin/languages/bg.py
xiang12835/python_web
apache-2.0
35,432
641
codeparrot/github-code
60e927224647dafd47edbb3e23c205faaf744a8b615c47b74aba2847577d77cd
package gui import ( "bytes" "crypto/tls" "fmt" "io/ioutil" "net" "net/http" "path/filepath" "strconv" "strings" "github.com/spolabs/spo/src/cipher" "github.com/spolabs/spo/src/daemon" "github.com/spolabs/spo/src/wallet" "github.com/spolabs/spo/src/util/file" wh "github.com/spolabs/spo/src/util/http" /...
GO
src/gui/http.go
spaco/spo
apache-2.0
8,205
336
codeparrot/github-code
8476bf734720c77b2130f5e0da8dc1c53c082d7d8c1b7f476b8893e9c84b4278
namespace Code.Library { using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; /// <summary> /// All IEnumerable extensions. /// </summary> public static class IEnumerableExtensions { /// <summary> /// Convert IEnumerable to...
C#
src/Code.Library/Extensions/IEnumerableExtensions.cs
Risvana/Code.Library
apache-2.0
1,295
42
codeparrot/github-code
47fad1fed218d15ba8ff2fa8fbd82e3005d6ed105d0a4d41498730c4ff45a398
package autorest import ( "fmt" "net/http" "time" ) const ( // The default delay between polling requests (only used if the http.Request lacks a well-formed // Retry-After header). DefaultPollingDelay = 60 * time.Second // The default total polling duration. DefaultPollingDuration = 10 * time.Minute ) // Po...
GO
autorest/client.go
oaastest/go-autorest
apache-2.0
5,327
152
codeparrot/github-code
c7412de60491c1b55c63f35d200578f74a2df2031f2d52fcec9bb04c3907ddea
# -*- coding: utf-8 -*- from flask import Flask, jsonify, request, abort, make_response from futu_server_api import * from db import save_update_token from db import delete_tokens from db import list_cards import logging import logging.config import json app = Flask(__name__) logging.config.fileConfig('./conf/log.ini...
Python
app/mainapp.py
zznn/futu-openAPI
apache-2.0
5,910
187
codeparrot/github-code
49504c0c3a59d9f81982238df41561a868682bc9e47d445643e2a7b3d0bca5d5
#!/usr/bin/env python # Copyright 2017 The Vitess 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 applic...
Python
test/backup_only.py
davygeek/vitess
apache-2.0
14,271
393
codeparrot/github-code
b9ec3d15a165efe4f952fb670ceaf40bd48004c58b2b3a1bed73def1b16e3471
import os from django.core.management.color import supports_color from django.utils import termcolors class VerboseCommandMixin(object): def __init__(self, *args, **kwargs): super(VerboseCommandMixin, self).__init__(*args, **kwargs) self.dry_run = False if supports_color(): o...
Python
uw/lib/python2.7/site-packages/generate_scaffold/management/verbosity.py
noslenfa/tdjangorest
apache-2.0
1,463
44
codeparrot/github-code
01325ac52acdf777d3ef93787f272873cdd2b37e639eb006049c7029a69cc9bc
/* * Copyright [2016-2020] [George Papadakis (gpapadis@yahoo.gr)] * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
Java
src/main/java/org/scify/jedai/textmodels/BagModel.java
scify/JedAIToolkit
apache-2.0
6,720
178
codeparrot/github-code
0465cd7b83fffe094767669c53a3a3e04589997205b3a2dbb6da40faac6a585f
#!/usr/bin/env python # # Copyright 2015 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 requir...
Python
examples/ad_manager/v201811/proposal_service/create_proposals.py
Aloomaio/googleads-python-lib
apache-2.0
2,591
78
codeparrot/github-code
6bb874c93178076d07ba02be2685d8d20a935880c518f7984f391116b1a9bca9
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("...
JavaScript
lib/Request.js
metasansana/arouca
apache-2.0
2,279
66
codeparrot/github-code
12e58b735c66d46e4ef1324c27f5276692777c03e5f22bdb39b1a6eab3cc1a9e
// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless r...
C#
Test/Support/Event.cs
fearthecowboy/Swidtag_deprecated
apache-2.0
1,398
38
codeparrot/github-code
471f74c0b99c9d0332e9e43f7004a1a49fc66d05116471821dd8ae8e5d9c2311
/******************************************************************************* * 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...
Java
web/src/main/java/uk/ac/ebi/phenotype/chart/PercentileComputation.java
mpi2/PhenotypeData
apache-2.0
2,685
81
codeparrot/github-code
317c8370f697ac130885fcefa8d27c104ded017553653c07c6415eef5003d71b
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
C
coders/json.c
Danack/ImageMagick
apache-2.0
61,414
1,736
codeparrot/github-code
b7b1f608a0ed53755a560e9dd9dda75c7cebf135c44cadf51d442745ce5cc15f
//===-- sanitizer_thread_registry.h -----------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
C
android/external/compiler-rt/lib/sanitizer_common/sanitizer_thread_registry.h
indashnet/InDashNet.Open.UN2000
apache-2.0
4,918
146
codeparrot/github-code
f1ec437b5f841f8dfc1834424f5cb73710c19210b1259ca74a507ce1a56553d5
/* * 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-kinesisanalyticsv2/src/main/java/com/amazonaws/services/kinesisanalyticsv2/model/transform/CheckpointConfigurationUpdateMarshaller.java
jentfoo/aws-sdk-java
apache-2.0
3,340
65
codeparrot/github-code
8ae2a71e9e342ffff432ca61ed0045461de3f69019956b801361e84915232a2d
<!DOCTYPE html> <html lang="en"> <head> <title>Heartysoft Solutions Limited</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta charset="utf-8"> <meta name="description" content="Twitter bootstrap theme"> <meta name="author" content="prettystrap"> <!-- Load bo...
HTML
docs/ashic/blog/2017/05/cross-aws-account-builds-part-1/index.html
heartysoft/heartysoft.com
apache-2.0
9,430
239
codeparrot/github-code
f0130ece2f2e2f1e00b56972133b49b1e4284850a5e094675fdea560f2d75e1b
package minerGCE; import org.xml.sax.SAXException; import ru.ispras.modis.NetBlox.parser.basicParsersAndUtils.Utils; import ru.ispras.modis.NetBlox.parser.basicParsersAndUtils.XMLIntegerRangeStringProcessor; import ru.ispras.modis.NetBlox.parser.xmlParser.CommonXMLParser; import ru.ispras.modis.NetBlox.parser.xmlPars...
Java
graphMiners/GCE/src/minerGCE/GCEDescriptionParser.java
ispras/NetBlox-plug-ins
apache-2.0
2,295
80
codeparrot/github-code
50bf0b0fe775f99d43303e16666b8847105b1e3228622b02dece8cb09418974d
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Canvas.v1.Managers; using Canvas.v1.Models; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Canvas.v1.Test.Managers { [TestClass] public class AccountsManagerTests : ResourceManagerTest { ...
C#
Canvas.v1.Test/Managers/AccountsManagerTests.cs
unizin/canvas-windows-sdk-v1
apache-2.0
3,703
74
codeparrot/github-code
f108845c651fc35c0b2e57b948aa8ecda51c4c61123fb7499c4daea2a3ba26b8
/* * Copyright 2011-2013, by Vladimir Kostyukov and Contributors. * * This file is part of la4j project (http://la4j.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 * * ...
Java
src/main/java/org/la4j/decomposition/EigenDecompositor.java
vkostyukov/la4j
apache-2.0
27,846
839
codeparrot/github-code
7ad7f8c9915cf7fa1466db2015e84bfaa3b88c9dc996bb2b45e1a17adc97919a
__author__ = 'Javier' class Project(object): def __init__(self, forks, stars, watchs): self._forks = int(forks) self._stars = int(stars) self._watchs = int(watchs) @property def forks(self): return self._forks @property def stars(self): return self._stars...
Python
Kata-RestConsumer/gindex.py
javierj/kobudo-katas
apache-2.0
1,259
53
codeparrot/github-code
9de1c48cbede64102b77f738efd51de3fbd99e89e70e91f951ad9e3982a59759
-- -- Table structure for table `querylog` -- CREATE TABLE `query_log` ( query_id int(10) unsigned NOT NULL auto_increment, ref_query_id int(10) unsigned, last_result_id int(10) unsigned, created datetime NOT NULL, raw varchar(1000) NOT NULL, sorted_terms varchar(1000) NOT NULL, sorted_terms_has...
SQL
ThumbService/ThumbService/lib/MindTouch_Core_10.0.1_Source/web/maintenance/archives/patch-search-analytics.sql
StackableRegiments/metl2011
apache-2.0
2,150
65
codeparrot/github-code
fffe5e0509cd1115e345afea74bac2c0cda4915e91bcb1f8989f7a420e508d96
/* * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
C#
AWSSDK/Amazon.SimpleWorkflow/Model/Internal/MarshallTransformations/ActivityTaskCanceledEventAttributesUnmarshaller.cs
emcvipr/dataservices-sdk-dotnet
apache-2.0
3,643
91
codeparrot/github-code
6e10bd065db405889d21a80a3cd4f5e931e2849bb6b5427c8f7b134d62fbe94f
<html> <head> <title>SPL evaluation engine for Java</title> </head> <body> <p>Evaluation engine of Performance Stochastic Logic for Java.</p> <h2>Introduction</h2> <p> Stochastice Performance Logic is a formalism for capturing performance assumptions. It is, for example, possible to capture assumption that newer vers...
HTML
src/java/overview.html
D-iii-S/spl-evaluation-java
apache-2.0
2,365
72
codeparrot/github-code
a524009f8381bf900269287a56cca650a454a9efd784626f122ec1fe82dcbd16
<!doctype html> <html lang="en"> <head> <title>Code coverage report for ./app/src/results/action-manager.js</title> <meta charset="utf-8"> <link rel="stylesheet" href="../../../prettify.css"> <link rel="stylesheet" href="../../../base.css"> <style type='text/css'> div.coverage-summary .sorte...
HTML
test/coverage/html-report/app/src/results/action-manager.js.html
scottlepp/navigo
apache-2.0
14,523
343
codeparrot/github-code
a0b1efb096b2d4f500ca8195fd53eeebc0eaaf20118b6f43342453d39add2ab2
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System; using Microsoft.CodeAnalysis.Editor.Tagging; using Microsoft.VisualStudio.Text.Edi...
C#
src/EditorFeatures/Core/Shared/Tagging/EventSources/TaggerEventSources.SelectionChangedEventSource.cs
brettfo/roslyn
apache-2.0
1,134
36
codeparrot/github-code
1c8e2641298452525f668f6fc32f06b879ced74a2d385c75f45c6670803b213a
using Fan.Extensibility; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Newtonsoft.Json; namespace Fan.Plugins { /// <summary> /// Plugin base class. /// </summary> public class Plugin : Extension { /// <summary...
C#
src/Core/Fan/Plugins/Plugin.cs
FanrayMedia/Fanray
apache-2.0
1,712
61
codeparrot/github-code
b872636992af5e211e9c6b129d43fc771648168774baf2dc979fe93bbb654ae3
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or ...
Rust
src/libcollections/vec.rs
jmesmon/rust
apache-2.0
88,448
3,084
codeparrot/github-code
0fe90083f0fcb8a06c0e943d63be96bff252a460e67d626961bfcf2a866dbfd5
/* * Copyright 2013 MovingBlocks * * 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 t...
Java
engine/src/main/java/org/terasology/utilities/procedural/SimplexNoise.java
Malanius/Terasology
apache-2.0
19,875
552
codeparrot/github-code
5c5ef0c53a93e8111fdf81c3e7243dc2b3ef9a4808b381aa2935549505e78b45
package com.blogspot.nhu313.tictactoe import org.scalatest.{FunSpec, BeforeAndAfter} import org.scalatest.matchers.MustMatchers import com.blogspot.nhu313.tictactoe.Marker._ class BoardSpec extends FunSpec with BeforeAndAfter with MustMatchers{ var board: Board = null val playerMarker = X val opponentMarker = ...
Scala
src/test/scala/BoardSpec.scala
nhu313/tic_tac_toe_scala
apache-2.0
4,570
179
codeparrot/github-code
6ba08db47ab75e5f24e64d17e2f0cba5e649522e1fc1cf820e09dc48acdca268
<?php // .----------------------------------------------------------------------------------- // | Software: [HDPHP framework] // | Version: 2013.01 // | Site: http://www.hdphp.com // |----------------------------------------------------------------------------------- // | Author: 向军 <houdunwangxj@gmail.com>...
PHP
hd/HDPHP/hdphp/Extend/Tool/Upload.class.php
13808796047/hdcms
apache-2.0
9,198
277
codeparrot/github-code
1d83f577605b602a1d3ad8f027ef7a99c6bc80dee32bd02d6ca129cd1073b8da
/** * Copyright 2009-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 * * Unle...
Java
src/test/java/org/apache/ibatis/submitted/cglib_lazy_error/CglibNPETest.java
qiuyesuifeng/mybatis-3
apache-2.0
6,189
162
codeparrot/github-code
cdd8a9a18a33cfa40e497cded1af05a1f6cc025ef576f25440927027a7f29a1b
/* * Copyright (c) 2002-2018 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundatio...
Java
community/kernel/src/test/java/org/neo4j/kernel/configuration/TestConfig.java
HuangLS/neo4j
apache-2.0
6,899
209
codeparrot/github-code
006c71f98a8a22d0992ab8160a4f8df5047de581192209ba96e31a0b0828c007
#!/usr/bin/env python """ .. py:currentmodule:: FileFormat.SimulationParameters .. moduleauthor:: Hendrix Demers <hendrix.demers@mail.mcgill.ca> MCXRay simulation parameters input file. """ # Script information for the file. __author__ = "Hendrix Demers (hendrix.demers@mail.mcgill.ca)" __version__ = "" __d...
Python
pymcxray/FileFormat/SimulationParameters.py
drix00/pymcxray
apache-2.0
15,335
335
codeparrot/github-code
e6645b50da6fa695e163f7c8e4ec1837c05ea172ca8ac09d23d479830a5d3c7e
package br.com.cmabreu.action; import java.io.IOException; import javax.servlet.http.HttpServletResponse; import org.apache.struts2.StrutsStatics; import org.apache.struts2.convention.annotation.Action; import org.apache.struts2.convention.annotation.InterceptorRef; import org.apache.struts2.convention.anno...
Java
src/main/java/br/com/cmabreu/action/GetUnitDetailAction.java
icemagno/mapview
apache-2.0
1,116
38
codeparrot/github-code
ff8d32927ad031e17b1678c4a25897865329bcead3d20cdeba04a9fe1baa01ec
package ru.job4j.chess.firuges.black; import ru.job4j.chess.ImpossibleMoveException; import ru.job4j.chess.firuges.Figure; import ru.job4j.chess.firuges.Cell; /** * Black Knight. * @author Natasha Panchina (panchinanata25@gmail.com) * @version 1 * @since 18.08.2018 */ public class KnightBlack extends Figure { ...
Java
chess/src/main/java/ru/job4j/chess/firuges/black/KnightBlack.java
NatashaPanchina/npanchina
apache-2.0
1,234
49
codeparrot/github-code
0af7cf526a656a2d35a59cbcfb39e8bd2097ed5c49f7b605392ade687c5c3fb5
/* ==================================================================== 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 Y...
Java
src/scratchpad/src/org/apache/poi/hemf/hemfplus/record/HemfPlusRecordType.java
lvweiwolf/poi-3.16
apache-2.0
5,033
98
codeparrot/github-code
3f77221d7d332cbfeac139e5a4ed7ec1ae43a5adc755358349825cd30453c6d9
package com.yakami.light.view.fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.yakami.light.BuildConfig; import com.yakami.light.R; import com.yakami.light.view.fragment.base.BaseFragment; impor...
Java
app/src/main/java/com/yakami/light/view/fragment/AboutFragment.java
hanFengSan/light
apache-2.0
948
33
codeparrot/github-code
b08be61b476449fad38c853d403a0bea024a22be78499f5786e705f4810317ae
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def rotateRight(self, head, k): """ :type head: ListNode :type k: int :rtype: ListNode """ if not head: return None p = head listLen = 0 # calculate ...
Python
src/61. Rotate List.py
xiaonanln/myleetcode-python
apache-2.0
732
43
codeparrot/github-code
97ad2494dd39fc73779d8dd928f9b195ffd6915a5cf783770df68042b9b295bb
/* * #%L * wcm.io * %% * Copyright (C) 2019 wcm.io * %% * 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
media/src/test/java/io/wcm/handler/mediasource/dam/impl/DamAutoCroppingTest.java
cnagel/wcm-io-handler
apache-2.0
2,026
58
codeparrot/github-code
058850cbc2dae68be287a4b80757483581abc95cfab95823b668caeca4b7c11d
package whelk.gui; import whelk.PortableScript; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.ObjectInputStream; public class SelectScriptPanel extends W...
Java
gui-whelktool/src/main/java/whelk/gui/SelectScriptPanel.java
libris/librisxl
apache-2.0
2,203
76
codeparrot/github-code
27827d115934ffa7c1305c6b6be071edb70ef99ac3874019203abc2304bf16b3
#undef DLIB_BROWSER_ABSTRACh_ #ifdef DLIB_BROWSER_ABSTRACh_ namespace dlib { // Function which is called when there is data available. // Return false to stop the download process... typedef bool (*fnOnDownload)(long already_downloaded, long total_to_download, void * userInfo); // -----...
C
dlib-18.18/dlib/http_client/http_client_abstract.h
Nekel-Seyew/Complex-3D-Vector-Fields
apache-2.0
5,635
219
codeparrot/github-code
a7c7039b0a3c729dff39dfc030ac7b0cd2a146895d1fc38c113eabe74173db19
/** * Copyright (C) 2013 metrics-statsd contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
Java
metrics3-statsd/src/main/java/com/readytalk/metrics/StatsDReporter.java
researchgate/metrics-statsd
apache-2.0
11,572
321
codeparrot/github-code
9bed48572e8c6e45f3d8e91f9ba0f1437bf7f62f3a241cce6971ca826d4c9785
/* * 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
samza-core/src/main/java/org/apache/samza/coordinator/metadatastore/CoordinatorStreamStore.java
abhishekshivanna/samza
apache-2.0
11,941
274
codeparrot/github-code
8cdf1060ac66ed8f94098d2db5b25cc1ecc10e0a6bd1c13588bce483e305f2be
/* * Copyright (c) 2017 Xavier Defago (Tokyo Institute of Technology) * * 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 re...
Scala
src/main/scala/ocelot/util/SequentialPrintStream.scala
xdefago/ocelot
apache-2.0
3,891
74
codeparrot/github-code
299fb1811102b03df9e1645e73db9168a9cd104db92972ccad8f44ba9287b60b
/* * 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-alexaforbusiness/src/main/java/com/amazonaws/services/alexaforbusiness/model/transform/GetNetworkProfileRequestMarshaller.java
aws/aws-sdk-java
apache-2.0
2,087
56
codeparrot/github-code
5ed160d2faaaa9e36575b8b71d4502d79ff662ce885491f808eeae777402c1f0
import time, logging from artnet import dmx, fixtures, rig from artnet.dmx import fades log = logging.getLogger(__name__) # set up test fixtures r = rig.get_default_rig() g = r.groups['all'] def all_red(): """ Create an all-red frame. """ g.setColor('#ff0000') g.setIntensity(255) return g.getFrame() def all_...
Python
backend/artnet-bridge/artnet/scripts/alternating_color_fades.py
ScienceWorldCA/domelights
apache-2.0
776
42
codeparrot/github-code
7d312e6e0432b3e546f02dcdfce83cf27613af6190209b458d72e56f4b153e89
package org.gradle.test.performance.mediummonolithicjavaproject.p282; public class Production5650 { private String property0; public String getProperty0() { return property0; } public void setProperty0(String value) { property0 = value; } private String property1; ...
Java
my-app/src/main/java/org/gradle/test/performance/mediummonolithicjavaproject/p282/Production5650.java
oehme/analysing-gradle-performance
apache-2.0
1,891
105
codeparrot/github-code
12cee42618e54e61b15c2ffcf4ca60c6653655553c85cbb58665ccec023853ae
package com.gaojice.diskviewer.processor; import java.io.File; import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor; import com.gaojice.diskviewer.dao.DiskFileDao; import com.gaojice.diskviewer.entity.DiskFile; public class FileProcessor implements Runnable { private DiskFileDao diskFileDao; pr...
Java
src/main/java/com/gaojice/diskviewer/processor/FileProcessor.java
gaojice/diskviewer
apache-2.0
1,628
64
codeparrot/github-code
fef6645706b83f420e30e54b79972d51134319ddfefaf0870edd57ddc579a86c
<?php namespace Admin\Controller; use Admin\Controller\BaseController; class FlagController extends BaseController { /** * 开启和关闭标识 * @method is_enable */ public function is_enable() { $is_enable = I('is_enable', 1); $id = I('id', ''); if (empty($id)) { $...
PHP
App/Admin/Controller/FlagController.class.php
a3147972/blog
apache-2.0
922
49
codeparrot/github-code
d5c88cfc99d5428d6301b99f55d3e846d26cf735b0901075660bc05ca0b9f896
// jQuery List DragSort v0.4 // Website: http://dragsort.codeplex.com/ // License: http://dragsort.codeplex.com/license (function($) { $.fn.dragsort = function(options) { var opts = $.extend({}, $.fn.dragsort.defaults, options); var lists = []; var list = null, lastPos = null; if (this.selector) $("head")...
JavaScript
static/javascript/jquery.plugin/jquery.dragsort.js
coraldane/ops-meta
apache-2.0
11,046
290
codeparrot/github-code
e653b2381bb4c2972ca64be5751d283657af936f4c848476cca5e76ddfceb7cf
/** * Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.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 * * Unle...
Java
pinot-common/src/main/java/com/linkedin/pinot/common/config/TableCustomConfig.java
tkao1000/pinot
apache-2.0
2,332
73
codeparrot/github-code
c60344b24d8e57e51e0fac32e97d11d0465bf0245b5d677b7e4c8789efe91204
/* 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...
Java
modules/flowable-ui-idm/flowable-ui-idm-conf/src/main/java/org/flowable/app/servlet/ApiDispatcherServletConfiguration.java
motorina0/flowable-engine
apache-2.0
2,846
68
codeparrot/github-code
e930d7c6a02e59adc5cdac45ddda3c2f4e4348eec43cc0c43dfcf804bbd13229
#!/usr/bin/python2.7 # Copyright 2010 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 requi...
Python
generator/src/googleapis/codegen/api.py
bshaffer/google-api-php-client-services
apache-2.0
37,026
935
codeparrot/github-code
30a43adf808e5e76e3b3975715629a7eb1b5f2869c6c884a478ada97d14d5ca9
package com.vaguehope.onosendai.payload; import android.content.Context; import android.content.Intent; import com.vaguehope.onosendai.config.Account; import com.vaguehope.onosendai.model.Meta; import com.vaguehope.onosendai.model.MetaType; import com.vaguehope.onosendai.model.Tweet; import com.vaguehope.onosendai.ui...
Java
src/main/java/com/vaguehope/onosendai/payload/AddCommentPayload.java
haku/Onosendai
apache-2.0
1,811
60
codeparrot/github-code
db3da0fdbaf63f563ac355e17d57f836530ae93fe909af714b797a54b9034ea6
// // Copyright 2011-2015 Jeff Bush // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
C
software/libs/librender/RenderBuffer.h
hoangt/NyuziProcessor
apache-2.0
2,754
117
codeparrot/github-code
cc54f6409b9c164560d259406ba15a1d055f0562bdeafb80332556945dae98c3
/******************************************************************************* * PathVisio, a tool for data visualization and analysis using biological pathways * Copyright 2006-2019 BiGCaT Bioinformatics * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in c...
Java
modules/org.pathvisio.core/src/org/pathvisio/core/view/DefaultLinkAnchorDelegate.java
PathVisio/pathvisio
apache-2.0
2,844
83
codeparrot/github-code
b90b225ef6934d5fbab28ae65719f8c121837c0f230e061728eb8e3fc36289ff
/* * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl1.php * * Unless required by...
Java
coeus-it/src/test/java/org/kuali/kra/questionnaire/question/QuestionAuthorizationServiceTest.java
blackcathacker/kc.preclean
apache-2.0
2,180
50
codeparrot/github-code
422ef6552f3ed1e517054f10ddeef5658dedd95046eb6977cb38ef00730d4346
/* * Copyright (c) 2013-2015 Josef Hardi <josef.hardi@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 requir...
Java
src/main/java/com/obidea/semantika/database/datatype/SqlTypeToXmlType.java
obidea/semantika
apache-2.0
2,978
77
codeparrot/github-code
9201c62835ad67b11d40ab7c0bafdb9ef9841ccf6b27f7456bc5491905742724
/* * Copyright (C) 2017 the original author or authors. * * This file is part of jBB Application Project. * * Licensed under the Apache License, Version 2.0 (the "License"); * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 */ package org.jbb.system.impl.database.p...
Java
domain-services/jbb-system/src/main/java/org/jbb/system/impl/database/provider/H2InMemoryManager.java
jbb-project/jbb
apache-2.0
1,603
51
codeparrot/github-code
d313a7a7da383e45e993d47998668cb45d8176aed86ee9bf59c50a365a5559a5
setTimeout(function() { $('.color-box').colpick({ layout:'hex', submit:0, colorScheme:'dark', onChange:function(hsb,hex,rgb,el,bySetColor) { $(el).css('background','#'+hex); // Fill the text box just if the color was set using the picker, and not the colpickSe...
JavaScript
development/de-app/script/popup.js
emksaz/choicefrom
apache-2.0
1,411
45
codeparrot/github-code
352f1f7cd478bb5bebc1b1330a5072797790477a093a56584046488d5321020b
/* * 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 n...
Java
streams/src/test/java/org/apache/kafka/streams/integration/StoreQueryIntegrationTest.java
Chasego/kafka
apache-2.0
23,416
469
codeparrot/github-code
65e1bf893b8fd28324a32cca5d8040d9db4ec1a0e8fee7ffe7b42e85eef24c29
/* Copyright 2014-2016 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, s...
Java
moe.apple/moe.platform.ios/src/main/java/apple/safariservices/SFContentBlockerManager.java
multi-os-engine/moe-core
apache-2.0
6,153
181
codeparrot/github-code
cf5d19ecf654db7c55aa526b465ff2ba51307cb5c8d15b324a9e4d312ca3afa2
# Copyright 2018 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 in writing, ...
Python
cognitive/train_utils.py
google/cog
apache-2.0
9,504
290
codeparrot/github-code
341874670a38781e67ee9654e578073540e3ec5182f8ffb01ff0a7dee4b89383
package it.unimi.di.law.bubing.sieve; /* * Copyright (C) 2010-2017 Paolo Boldi, Massimo Santini, and Sebastiano Vigna * * 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
src/it/unimi/di/law/bubing/sieve/IdentitySieve.java
LAW-Unimi/BUbiNG
apache-2.0
2,029
52
codeparrot/github-code
93243fbbb5e95fb83c91ea907e36c06e1ad39d233af61b6cedac33c7031ac381
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Course Brief</title> <meta name="viewport" content="width=device-width"> <meta name="description" content="Dawn Mercurio is a Designer in the Mid-Atlantic era specializing in educatio...
HTML
_site/2015/06/20/prepress-6/index.html
dawnmercurio/dawnmercurio.github.io
apache-2.0
26,642
596
codeparrot/github-code
8a4bd02d4f06d0c48e0e658dd8fccf13610f89504dc89164d09618edc794bcfe
# Copyright 2021 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 in writing, ...
Python
pyreach/gyms/oracle_element.py
google-research/pyreach
apache-2.0
1,448
42
codeparrot/github-code
eebdcacfe04c4b9a0f51db744a3e1aadd87b566d45b5ea0cdb2d09c173e7a2d4
/* * 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-elasticbeanstalk/src/main/java/com/amazonaws/services/elasticbeanstalk/model/DisassociateEnvironmentOperationsRoleRequest.java
aws/aws-sdk-java
apache-2.0
4,243
129
codeparrot/github-code
d11a58b6057244752117c6138d3730c6c874ed723ea4f294bf8acc28421bc61d
/* * 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-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/transform/DocumentDescriptionJsonUnmarshaller.java
aws/aws-sdk-java
apache-2.0
10,561
208
codeparrot/github-code
560411ae545d168e622007fd3f4fcf1b987faa54a78a94db69e137af82feda01
package com.pluralsight.orderfulfillment.customer; /** * Domain object for a Customer * * @author Michael Hoffman, Pluralsight * */ public class Customer { private long id; private String firstName; private String lastName; private String email; public Customer() { } public Customer(long...
Java
src/main/java/com/pluralsight/orderfulfillment/customer/Customer.java
mikevoxcap/spring4-sample
apache-2.0
2,192
117
codeparrot/github-code
55584b072c2cfb15aac12c5accf73834e4c54306b8f104d31cd5903b13546b3c
# Copyright 2021 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 in writing, ...
Python
megalista_dataflow/uploaders/google_ads/customer_match/mobile_uploader.py
google/megalista
apache-2.0
1,938
52
codeparrot/github-code
e2396aa2d2d566a8ab1d1b673edea4091515c610a3f1d97a318c919448ff3642
// Copyright 2018 The Oppia 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 ap...
TypeScript
core/templates/domain/topic_viewer/topic-viewer-backend-api.service.spec.ts
oppia/oppia
apache-2.0
5,477
159
codeparrot/github-code
ad7a6d6c5e2d894699a51f924d74b67d26be7eb1e4a9873337de22807385e75c
// Copyright 2015 Patrick Putnam // // 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...
C++
examples/QTLSim/engine_batched_task.hpp
putnampp/clotho
apache-2.0
16,287
418
codeparrot/github-code
459ded89c45dd9624d2ce0cc221cd29cf04c105cd02a2a70d8a4cd25b9c29f9a
package conf import ( "errors" "flag" "time" "go-common/library/cache/redis" "go-common/library/conf" ecode "go-common/library/ecode/tip" "go-common/library/log" bm "go-common/library/net/http/blademaster" "go-common/library/net/http/blademaster/middleware/auth" "go-common/library/net/http/blademaster/middl...
GO
126-go-common-master/app/interface/main/tag/conf/conf.go
LQJJ/demo
apache-2.0
3,257
170
codeparrot/github-code
ae1abd7ad786c47bc6c7188e1be84af046752d79756700b52001dc69268a35fa
package com.transcend.monitor.transform; import java.util.Date; import java.util.Map; import java.util.TimeZone; import org.slf4j.Logger; import com.msi.tough.core.Appctx; import com.msi.tough.core.DateHelper; import com.msi.tough.monitor.common.MonitorConstants; import com.msi.tough.query.ErrorResponse; import com....
Java
src/com/transcend/monitor/transform/GetMetricStatisticsRequestUnmarshaller.java
TranscendComputing/TopStackMetricSearch
apache-2.0
3,650
102
codeparrot/github-code
bf8e7b757dcd97092e1938a56a6ea7aec1c3602e909f5fa78b343ed6148f38b5
/** * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not us...
Java
clients/src/main/java/org/apache/kafka/clients/ClientUtils.java
eribeiro/kafka
apache-2.0
4,919
102
codeparrot/github-code
9ed593d224111d5a57f881515ddc85fd453c430a16af2f348146b7003a1e68bb
/* * Copyright (C) 2010 ZXing 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 agr...
Java
android/src/com/google/zxing/client/android/result/supplement/SupplementalInfoRetriever.java
bestdpf/2dbarcode
apache-2.0
6,505
179
codeparrot/github-code
47395acaff005c052acf472df55f11fb13ba17c963b6f0adc2754f2e744b8571
package org.rex.text import scala.language.implicitConversions object SentenceChunker { type Index = Int type Fn = Sentence => (Sentence, Seq[Seq[Index]]) } case object IdentitySentChunker extends SentenceChunker.Fn { override def apply(s: Sentence): (Sentence, Seq[Seq[Int]]) = (s, Seq.empty[Seq[Int]]) }...
Scala
src/main/scala/org/rex/text/SentenceChunker.scala
malcolmgreaves/rex
apache-2.0
3,133
110
codeparrot/github-code
420ea8b516b0899fda9d6438566af08a98b6f5a9e44f0558f38d1516130e3b8f
package com.blossomproject.autoconfigure.core; import com.blossomproject.core.common.actuator.ElasticsearchTraceRepository; import com.blossomproject.core.common.actuator.ElasticsearchTraceRepositoryImpl; import com.blossomproject.core.common.actuator.TraceStatisticsMvcEndpoint; import com.fasterxml.jackson.databind.O...
Java
blossom-autoconfigure/src/main/java/com/blossomproject/autoconfigure/core/ActuatorAutoConfiguration.java
mgargadennec/blossom
apache-2.0
2,929
75
codeparrot/github-code
c3e2e699ff2e780688d744bbb94b92dc1b4b68f7804d62ebe614f283a9097f6b
/* * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html...
Java
dependencies/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/spi/common/id/AbstractCDOIDByteArray.java
IHTSDO/snow-owl
apache-2.0
2,099
95
codeparrot/github-code
02b6e3bf91a59cc88dfbe80fd19798f6f896a681dd35887ae7ff6d81f0b88ef0
package com.errorplayer.lala_weather.db; import org.litepal.crud.DataSupport; /** * Created by linze on 2017/7/7. */ public class City extends DataSupport { private int id; private String cityName; private int cityCode; private int provinceId; public int getId() { return id; } ...
Java
app/src/main/java/com/errorplayer/lala_weather/db/City.java
errorplayer/LaLa-Weather
apache-2.0
845
51
codeparrot/github-code
e2083e7ff94ffef3afa49fa731fa77a33af78e3cd5564de5a20a83a3370094cd
/* * www.yiji.com Inc. * Copyright (c) 2016 All Rights Reserved */ package com.falcon.suitagent.web; /* * 修订记录: * guqiu@yiji.com 2016-07-26 13:54 创建 */ import com.falcon.suitagent.config.AgentConfiguration; import com.falcon.suitagent.plugins.metrics.MetricsCommon; import lombok.extern.slf4j.Slf4j; import java....
Java
src/main/java/com/falcon/suitagent/web/Response.java
DevopsJK/SuitAgent
apache-2.0
2,751
89
codeparrot/github-code
32dbd2fab09d205ed71ca3cd6e8ad5a3fb5b94fe03bf1e61421f90a8cb5d07c5
// 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...
Java
src/com/google/android/apps/body/tdl/TdlMath.java
frydsh/GoogleBody
apache-2.0
2,574
95
codeparrot/github-code
be22e78a098088a5b975d5bea60ef8c412e5a3786648a96cdb450a047b8e540e
/** * #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# * This file is part of the Smart Developer Hub Project: * http://www.smartdeveloperhub.org/ * * Center for Open Middleware * http://www.centeropenmiddleware.com/ * #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=...
Java
src/test/java/org/smartdeveloperhub/curator/connector/io/DeliveryChannelParserTest.java
SmartDeveloperHub/sdh-curator-connector
apache-2.0
2,998
73
codeparrot/github-code
552165fc6bb7cacdb76ed15f33a2954d360ad79c125723623c7e0f0ca226e1ca
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <!-- Copyright (C) 1988-2017 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later...
HTML
buildtools/gcc-arm-none-eabi-6-2017-q2/share/doc/gcc-arm-none-eabi/html/gdb/Bootstrapping.html
ATM-HSW/mbed_target
apache-2.0
8,465
175
codeparrot/github-code
3267dea98aed1e865e4340421b8697a187f5c15ad926b42bdb06a609f0209fc5
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>{$cur_title}</title> <meta name="author" content="OEdev"> <script src=...
HTML
Admin/Tpl/Activity/activity_get.html
lz1988/ddglass
apache-2.0
9,778
274
codeparrot/github-code
d4ffe793df2a5ac2f3582257a290374e93d5e536412f68ddbe2daedeaa6b8fd5
package org.opentosca.planbuilder.type.plugin.connectsto.core; import java.util.List; import java.util.Objects; import org.eclipse.winery.model.tosca.TInterface; import org.eclipse.winery.model.tosca.TNodeTemplate; import org.eclipse.winery.model.tosca.TRelationshipTemplate; import org.eclipse.winery.model.tosca.TRel...
Java
org.opentosca.planbuilder/org.opentosca.planbuilder.type.plugin.connectsto/src/main/java/org/opentosca/planbuilder/type/plugin/connectsto/core/ConfigureRelationsPlugin.java
OpenTOSCA/container
apache-2.0
2,350
62
codeparrot/github-code
967726e91aa5b215d0acd5c1419e64d7f621f7f63368e61f654e27a7628ae433
/* * Licensed to Indoqa Software Design und Beratung GmbH (Indoqa) * under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information * regarding copyright ownership. Indoqa licenses this file * to you under the Apache License, Version 2.0 (the "Licens...
Java
src/test/java/com/indoqa/maven/wadldoc/transformation/Wadl2HtmlPipelineTest.java
reinhard/indoqa-wadldoc-maven-plugin
apache-2.0
2,549
68
codeparrot/github-code
2b68f6aa0e7b361eb858e5048c21522ea52595ba2cdf24486378c2f2f46b0979
//: net/mindview/util/MapData.java // A Map filled with data using a generator object. package com.example.doun.chapter21concurrency.ReaderWriterMapPack; //package net.mindview.util; import java.util.*; public class MapData<K, V> extends LinkedHashMap<K, V> { // A single Pair Generator: public MapData(Generat...
Java
Chapter21Concurrency/app/src/main/java/com/example/doun/chapter21concurrency/ReaderWriterMapPack/MapData.java
Doun2017/StudyJavaCode
apache-2.0
2,044
72
codeparrot/github-code
7d0bb732bdf21eddbd99b50eb37614e5e0bc33a8363267fd3012403a184b281c
# # Author:: Bryan McLellan (btm@loftninjas.org) # Author:: Tyler Cloke (<tyler@chef.io>) # Copyright:: Copyright 2009-2016, Bryan McLellan # 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...
Ruby
lib/chef/resource/cron.rb
jaymzh/chef
apache-2.0
6,133
158
codeparrot/github-code
647d5c2bf1177469f5d719f390167a2ceffaad4b7253c61bd89266b0c365ba6c
/** * JBoss, Home of Professional Open Source. * Copyright 2014-2020 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the...
Java
indy-repository-manager/src/test/java/org/jboss/pnc/indyrepositorymanager/AllSessionUrlsForBuildAreAlikeTest.java
thescouser89/pnc
apache-2.0
2,572
63
codeparrot/github-code
1e59d430830169d291506801d2d83eb53ea07242eb831bac861f685034164de1
/* * 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
client/src/main/java/org/syncope/types/CipherAlgorithm.java
ilgrosso/oldSyncopeIdM
apache-2.0
1,137
38
codeparrot/github-code
10feb3813f70968107566f915d0f7758b850b638e1c6e2d2603a9200d78e7231
/* * 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
enhanced/archive/classlib/java6/modules/awt/src/main/java/common/java/awt/font/ShapeGraphicAttribute.java
freeVM/freeVM
apache-2.0
3,798
145
codeparrot/github-code