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
b1392c9e4f3b1e8a02f5814a2692714d194328b02885dafc86898ca9d6e2fbf8
#include "TextureManager.hpp" _L_BEGIN TextureManagerImpl::TextureManagerImpl() { } TextureManagerImpl::~TextureManagerImpl() { for (auto &texture : refs) { if (texture) { delete texture.get(); texture.reset(); } } } TextureRef TextureManagerImpl::NewTexture() { TextureStrongRef ref(new Texture(), [](...
C++
GaLiong/TextureManager.cpp
PENGUINLIONG/GaLiong
apache-2.0
694
32
codeparrot/github-code
326567a24ebee15ab91cf44e101915d0dd59d9da0f735f060233211d5968135b
package org.apereo.cas.configuration.model.core.audit; import org.apereo.cas.configuration.model.support.jpa.AbstractJpaProperties; import org.apereo.inspektr.audit.support.AbstractStringAuditTrailManager; /** * This is {@link AuditProperties}. * * @author Misagh Moayyed * @since 5.0.0 */ public class AuditPrope...
Java
core/cas-server-core-configuration/src/main/java/org/apereo/cas/configuration/model/core/audit/AuditProperties.java
doodelicious/cas
apache-2.0
3,841
134
codeparrot/github-code
dd9c375f1588423f85b38ab74fbeed9103d5ec0ebffc8820e07de324200713c2
import React from 'react'; import { BannerRow, H2, Button } from '@appbaseio/designkit'; import PropTypes from 'prop-types'; import { css } from 'react-emotion'; import { SecondaryLink } from '../styles'; const style = css` p { color: #ffffff; font-weight: 300; } `; const button = { fontSize: '14px', lineHeigh...
JavaScript
site/src/components/BannerRow.js
appbaseio/reactivesearch
apache-2.0
1,642
77
codeparrot/github-code
170b523582070dc7e99ce527a477ab25e94b4b4495f1ca6d6a1578eddd32d27a
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
core/src/test/java/org/elasticsearch/action/admin/cluster/node/tasks/TransportTasksActionTests.java
zkidkid/elasticsearch
apache-2.0
36,391
776
codeparrot/github-code
cd11ae0c04625fb1ee141f2ef44a060f4e5bf74d344a7f8c43d414801502b403
######################################################################################################################## # # cookie_reader.py # # Purpose: read cookies from the web browser (currently only Chrome supported) and make them into Python objects # # Author: Braxton J. Schafer (bjschafer) [bjs] # # Creation d...
Python
cookie_reader.py
bjschafer/showdown-sync
apache-2.0
2,178
72
codeparrot/github-code
f41628017a6da0efcaf6a16e3138c0eacb37088de3ff15be480e7b9e61de37c6
/* * Copyright (C) 2013 salesforce.com, inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
Java
aura-impl/src/main/java/org/auraframework/impl/javascript/controller/JavascriptControllerDef.java
igor-sfdc/aura
apache-2.0
4,470
126
codeparrot/github-code
fb2188a5fac8690c39af214ad6b51c387b84434b907cd3f152b3aaf378b1d2c8
# Copyright 2012 Trustees of FreeBMD # # 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 writi...
Ruby
app/models/freecen_csv_file.rb
FreeUKGen/MyopicVicar
apache-2.0
47,517
1,321
codeparrot/github-code
d1f0cc873c50bbe06f58d576820b47e3b7d183d5b1f44f6520b0b81f6a6825d3
/* * Java port of Bullet (c) 2008 Martin Dvorak <jezek2@advel.cz> * * Bullet Continuous Collision Detection and Physics Library * Copyright (c) 2003-2008 Erwin Coumans http://www.bulletphysics.com/ * * This software is provided 'as-is', without any express or implied warranty. * In no event will the authors be ...
Java
src/com/bulletphysics/collision/shapes/StaticPlaneShape.java
vbousquet/libgdx-jbullet
apache-2.0
4,957
158
codeparrot/github-code
53b56fce0f093bad6ba76435cfa37391621fed75421ec86dc7ee4c73980d8c15
package ru.redenergy.bs.screen; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Screen; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.scenes.scene2d.InputEvent; import com.badlogic.gdx.scenes.scene2d.Stage; i...
Java
core/src/ru/redenergy/bs/screen/FinishScreen.java
FRedEnergy/bright-sunset
apache-2.0
2,457
89
codeparrot/github-code
e7fe885698b72f2826466228d718977b9aa22db2d14bd5bfa306e45ea3e031f8
/* * Copyright 2015 Red Hat Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
JavaScript
examples/send_raw.js
grs/rhea
apache-2.0
2,096
52
codeparrot/github-code
0064da12c878611221ec54f2784c851aeddfcaac0f67eea315242ec6e6819f57
package com.comcast.oscar.cablelabsdefinitions; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * @bannerLicense Copyright 2015 Comcast Cable Communications Management, LLC<br> ___________________________________________________________________<br> Licensed under the Apache License...
Java
src/com/comcast/oscar/cablelabsdefinitions/Constants.java
Comcast/Oscar
apache-2.0
13,139
222
codeparrot/github-code
2cbdeac558a9a6380585f8226d04ec2d9d748fc460a25ea11ec036b904c66495
function appointment(input) { Ti.include('/ui/common/helpers/dateTime.js'); Ti.include('/ui/common/database/users_db.js'); Ti.include('/ui/common/database/children_db.js'); Ti.include('/ui/common/database/relationships_db.js'); Ti.include('/ui/common/database/records_db.js'); Ti.include('/ui/common/database/in...
JavaScript
Resources/ui/common/forms/appointment_form.js
leokenner/SE-Android
apache-2.0
11,099
257
codeparrot/github-code
80869ad535623dd8ee75f921cb92874aa114024b6be605ba09c8a6624c97b020
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2014 The Plaso Project Authors. # Please see the AUTHORS file for details on individual 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 L...
Python
plaso/parsers/olecf_plugins/summary.py
iwm911/plaso
apache-2.0
14,885
409
codeparrot/github-code
0a89bab2ecab4469a617bf364c8eef5079488ef681b1757dff5271c5e5d5ab27
<table class="table table-bordered"> <thead> <tr> <th class="text-left" style="width: 20%">Key</th> <th class="text-left" style="width: 15%">Default</th> <th class="text-left" style="width: 65%">Description</th> </tr> </thead> <tbody> <tr> ...
HTML
docs/_includes/generated/akka_configuration.html
mbode/flink
apache-2.0
7,388
127
codeparrot/github-code
b19b199456f872a441909f55652cfe05eef1dc55ec45732ac9316d89b646b7c5
/* * Artifactory is a binaries repository manager. * Copyright (C) 2012 JFrog Ltd. * * Artifactory is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your o...
Java
base/config/src/main/java/org/artifactory/logging/version/v1/LogbackConfigSwapper.java
alancnet/artifactory
apache-2.0
2,072
58
codeparrot/github-code
1734ab4db2aee4ae92e84d07a0c198f8c95b8d21dd395c23fd7ef43d4ac3608e
<!doctype html> <html class="default no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Readme | Relution-CLI</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../assets/css...
HTML
public/docs/classes/_gii_templates_new_readme_.readme.html
relution-io/relution-cli
apache-2.0
13,706
271
codeparrot/github-code
56570bd89cd2cb6083a401f0929abf641e85c2f5c9b72fd0ae91a965ae16f51c
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
C++
arangod/Aql/ShortStringStorage.cpp
m0ppers/arangodb
apache-2.0
2,377
79
codeparrot/github-code
cf8bbe7f846f7e88a711d6d98b40a3b2b2e3e73bbbb007d25fd4515bfdace124
#!/usr/bin/ruby # # Author:: api.sgomes@gmail.com (Sérgio Gomes) # # Copyright:: Copyright 2011, Google Inc. All Rights Reserved. # # License:: 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 o...
Ruby
examples/v201101/update_ad_group_criterion.rb
sylow/google-adwords-api
apache-2.0
3,499
109
codeparrot/github-code
6871410345a615bfd85a7db1a057ea2b5edb6f26fec5c83a87deeb77b5dbaaae
package com.atlassian.plugins.codegen.modules.common.web; import java.io.File; import java.util.regex.Matcher; import com.atlassian.plugins.codegen.AbstractCodegenTestCase; import com.atlassian.plugins.codegen.modules.PluginModuleLocation; import org.dom4j.Document; import org.junit.Before; import org.junit.Test; i...
Java
plugin-module-codegen-engine/src/test/java/com/atlassian/plugins/codegen/modules/common/web/WebPanelRendererTest.java
mrdon/AMPS
apache-2.0
2,219
63
codeparrot/github-code
f5be0a7cc492f340c0b8f92391355e3d4a8a1e3263a250831e89a6786c8edf54
using System.Linq; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using AH.DUtility; using AH.ModuleController.HRSR; using System.Drawing.Drawing2D; using System.IO; using System.Drawing.Imaging; using...
C#
Hospital_ERP_VS13-WCF_WF/AH.ModuleController/UI/HR/Reports/ParameterForms/frmEmployeeOthersReport.cs
atiq-shumon/DotNetProjects
apache-2.0
13,594
342
codeparrot/github-code
e6d6709fbac0f1bcd4cebeb456514f2698ae4c9e4b55e67694b26cab71e752e2
#region License and Terms // // NCrontab - Crontab for .NET // Copyright (c) 2008 Atif Aziz. All rights reserved. // Portions Copyright (c) 2001 The OpenSymphony Group. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the L...
C#
NCrontab/CrontabField.cs
atifaziz/NCrontab
apache-2.0
9,666
293
codeparrot/github-code
6c16f59ec7c34a6a3ef6d0f86b259337c51278be24594eab561204c323a3d4e8
#pragma once #include "SceneNode.h" #include "D3dShader.h" #include "Geometry.h" namespace engiX { class D3dGeneratedMeshNode : public SceneNode { public: typedef std::vector<D3D11Vertex_PositionColored> VertexList; typedef std::vector<UINT> IndexList; D3dGeneratedMeshNode(_In_ Ac...
C
src/engiX/view/D3dGeneratedMeshNode.h
MHesham/engiX
apache-2.0
1,279
37
codeparrot/github-code
701c745804a8a0dba22707c35603876e8d8c87d2501d783fe32877960c34be76
package relation import ( // "fmt" "github.com/vetinari/osm/bbox" "github.com/vetinari/osm/item" "github.com/vetinari/osm/node" "github.com/vetinari/osm/tags" "github.com/vetinari/osm/user" "github.com/vetinari/osm/way" "time" ) func (self *Relation) Type() item.ItemType { return item.TypeRelation } func (se...
GO
relation/relation.go
vetinari/osm
apache-2.0
6,034
253
codeparrot/github-code
83467b5f57140fab7d44edf249a3248bcccd154bb3d6c72048b0df31d2b2cad7
/* * Copyright 2014 The Guardian * * 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...
Scala
app/lib/OrgUserProblems.scala
jamesoram/gu-who
apache-2.0
4,028
115
codeparrot/github-code
3f34943d7ddef9bda83f562fb5d37e568bde17d3a7a0852a3a1ea94ea9204601
/* * 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
flink-contrib/flink-statebackend-rocksdb/src/test/java/org/apache/flink/contrib/streaming/state/RocksDBAsyncSnapshotTest.java
zimmermatt/flink
apache-2.0
16,165
441
codeparrot/github-code
e639c357ada10cf30023cefecbfbf5f895349d680769c13553da4de76c1e3c2c
# The script is based on tutorial written by Antonis Tsakiridis published at: # https://medium.com/@atsakiridis/continuous-deployment-for-ios-using-travis-ci-55dcea342d9 # # APPLE_CERT_URL - the URL pointing to Apple certificate (set to # http://developer.apple.com/certificationauthority/AppleWWDRCA.cer by default) # D...
Shell
ios/ci/setup-certificates.sh
bgrozev/jitsi-meet
apache-2.0
4,386
101
codeparrot/github-code
cfa4e6fe3618162237b867044401f3a1de6f7f9fe3e51172fa50fd94a41c48d3
/* * Copyright 2006-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
vintage/citrus-java-dsl/src/test/java/com/consol/citrus/integration/runner/SendSoapAttachmentTestRunnerIT.java
christophd/citrus
apache-2.0
6,070
103
codeparrot/github-code
a3d864a880c9f2b31abe24f85ef8acb36f6acae04d761a4be071fd6600bd00a4
/* * Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. */ package com.intellij.execution.configuration; import com.intellij.execution.ExecutionException; import com.intellij.execution.Location; import com.intellij.execution.confi...
Java
platform/lang-api/src/com/intellij/execution/configuration/RunConfigurationExtensionsManager.java
ThiagoGarciaAlves/intellij-community
apache-2.0
6,878
181
codeparrot/github-code
adf77787e468c5c8782cc82a1806dc37bce5c53b005c01f61581abc85058dbc7
# vim: tabstop=4 shiftwidth=4 softtabstop=4 '''------------------------------------------------------------------------- Copyright IBM Corp. 2015, 2015 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 obta...
Python
dragon/workload_policy/actions/plugins/instance_image_action.py
os-cloud-storage/openstack-workload-disaster-recovery
apache-2.0
6,714
166
codeparrot/github-code
e82be76944ba05d7d0039c1d9e04a304becf6ca61a098968acf2a6c91df5f4b2
import org.junit.Test; import java.util.Arrays; /** * @author yanfa * @version 1.0 2016-05-02 */ public class LeetCode_033_SearchInRotated { public int search(int[] nums, int target) { int pivot = 0; while(pivot < nums.length - 1 && nums[pivot] < nums[pivot + 1]) pivot++; ...
Java
src/leetcode033_SearchInRotatedSortedArray/LeetCode_033_SearchInRotated.java
jnuyanfa/YanFa-LeetCode-with-JAVA
apache-2.0
657
31
codeparrot/github-code
b2058db33f6c05aa7056cba468bbc5ff144fd5919b0fdf6de0741d09bdecf0eb
package com.xiaoshangxing.Private.QCW.tongxuededian; import android.app.AlertDialog; import android.content.Context; import android.content.Intent; import android.graphics.drawable.BitmapDrawable; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; impor...
Java
app/src/main/java/com/xiaoshangxing/Private/QCW/tongxuededian/AKyifudianActivity.java
JNDX25219/XiaoShangXing-old
apache-2.0
10,515
274
codeparrot/github-code
65189a72c4b33dce39bb231688a919f7a80e52eef5b09f2b7a3803cafd0bcf45
/* * 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-elasticloadbalancingv2/src/main/java/com/amazonaws/services/elasticloadbalancingv2/model/DescribeSSLPoliciesRequest.java
jentfoo/aws-sdk-java
apache-2.0
7,666
261
codeparrot/github-code
9cee7c7f306f3d3b1883a67cd5c7579e867cd06176ae161e4bea70b8dbab5851
package avatica import ( "database/sql/driver" "errors" "math" "time" "github.com/Boostport/avatica/message" "golang.org/x/net/context" ) type stmt struct { statementID uint32 conn *conn parameters []*message.AvaticaParameter handle message.StatementHandle } // Close closes a statement func (...
GO
statement.go
Boostport/avatica
apache-2.0
5,491
207
codeparrot/github-code
2794ceec8d155395247527bc69fa7a81172efe061c73d927404b2b10e55f0be2
<?php namespace Fr; /** .---------------------------------------------------------------------------. | The Francium Project | | ------------------------------------------------------------------------- | | This software 'Process' is a part of the Francium (Fr) proj...
PHP
src/Process.php
subins2000/Francium-Process
apache-2.0
7,539
235
codeparrot/github-code
7be94885709b1e11e3b129d3ca785c8853d6a56ec219d3677c9e1a3032e49dec
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
C++
libnd4j/include/graph/impl/InferenceRequest.cpp
RobAltena/deeplearning4j
apache-2.0
2,869
79
codeparrot/github-code
c91d3ca719d349960f76253718d5ee5321efddd5e6f24bf6ee8014dc2519eeb6
# Copyright (c) 2014 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
Python
murano/dsl/exceptions.py
sajuptpm/murano
apache-2.0
3,632
132
codeparrot/github-code
d950a5fc3c8e008812c05b8ad4d2b14edf57c74b63cdbdfb50409ea782ef4a43
package generic import ( "text/template" "sync" "bytes" "errors" "github.com/v2pro/quokka/docstore/compiler" "github.com/v2pro/plz/countlog" ) var expandLock = &sync.Mutex{} var templates = map[string]*template.Template{} var state = struct { pkgPath string out *bytes.Buffer importPac...
GO
generic/func_expand.go
v2pro/wombat
apache-2.0
4,533
157
codeparrot/github-code
98c7f9972020fcd1a580dabcfec5b814513476fd4cd73919736df4ba309f01ca
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Licen...
Java
core/src/main/java/io/undertow/util/QValueParser.java
emag/codereading-undertow
apache-2.0
7,813
213
codeparrot/github-code
182c800ec20d9be00ce42a0a5a3114a3f693e6b88a69129049f9cf787b456a84
/* * Copyright 2011-2016 B2i Healthcare Pte Ltd, http://b2i.sg * * 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
snomed/com.b2international.snowowl.snomed.datastore/src/com/b2international/snowowl/snomed/datastore/index/change/RelationshipChangeProcessor.java
IHTSDO/snow-owl
apache-2.0
5,246
113
codeparrot/github-code
4be0e92fe7677f8fd7b68b12e2f4d55c05bb1302b86b7e0fd19823d56f9bd492
/* * * 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 * "Licens...
Java
metron-analytics/metron-profiler/src/main/java/org/apache/metron/profiler/bolt/ProfileBuilderBolt.java
iraghumitra/incubator-metron
apache-2.0
17,502
508
codeparrot/github-code
ca3eae1f00d64c045f329d53082c4f2fe0a81c58479815c469a92743d1c68995
<?php namespace Handlers\Session\Classes; /** * SOLID Frameword 2014 */ /** * Description of Cookie * @package SOLID 0.1 * @author <alramadan.mamdouh@gmail.com> */ class Cookie { static $locked; public function __construct() { if(empty($_COOKIE['data'])){ $_COOKIE['data'] ...
PHP
System/Handlers/Session/Classes/Cookie.php
mamdouhweb/SOLID
apache-2.0
830
42
codeparrot/github-code
c48cfb5140521e9d49d2c9d63d4c39f9aeed7222254bfca8d45e7cdeb4a631e3
/** * OLAT - Online Learning and Training<br> * http://www.olat.org * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * ...
Java
src/main/java/org/olat/ims/qti/statistics/manager/QTIStatisticsManagerImpl.java
stevenhva/InfoLearn_OpenOLAT
apache-2.0
18,480
501
codeparrot/github-code
c03b18d30e20dffe899f46dde0c8e24a990792a0c3c1117f463d9a6e7149c47f
/* * Copyright (c) 2012 - 2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
Java
src/test/java/com/github/ferstl/maven/pomenforcers/ErrorReportMatcher.java
ferstl/pedantic-pom-enforcers
apache-2.0
1,894
58
codeparrot/github-code
a0f0b4fad8bde7e9ad6ae7af65fb47e72ac9d26ced70adcad79c65d5db559e59
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width" /> <link rel="shortcut icon" type="image/x-icon" href="../../../../../../../../fa...
HTML
google_play_services/docs/reference/com/google/android/gms/plus/model/people/package-summary.html
gudnam/bringluck
apache-2.0
35,332
806
codeparrot/github-code
aea6fda6a7b3bfc63d5b3ed35b8007ae2983b7f2e6118667b2b6e82e5e62dce4
// Copyright 2015 Netflix, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
GO
handlers/types.go
Netflix/rend
apache-2.0
1,463
39
codeparrot/github-code
4af6c4acc7709fc07ed9a98029501fccf34bf50108e4a754b4ddfca2f7052c65
var clusterpost = require("clusterpost-lib"); var path = require('path'); var Promise = require('bluebird'); var argv = require('minimist')(process.argv.slice(2)); const os = require('os'); const fs = require('fs'); var agentoptions = { rejectUnauthorized: false } clusterpost.setAgentOptions(agentoptions); cons...
JavaScript
src/clusterpost-app/get.js
juanprietob/clusterpost
apache-2.0
5,412
164
codeparrot/github-code
11134a2098c619ce1b97f45ad20bb04e498a568bb35324c35486e33386bea696
package com.tinkerpop.gremlin.console.plugin; import com.tinkerpop.gremlin.tinkergraph.structure.TinkerFactory; import org.codehaus.groovy.tools.shell.Groovysh; import org.codehaus.groovy.tools.shell.IO; import org.junit.Test; import java.util.HashMap; import java.util.Map; import static org.hamcrest.CoreMatchers.co...
Java
gremlin-console/src/test/java/com/tinkerpop/gremlin/console/plugin/UtilitiesGremlinPluginTest.java
Lab41/tinkerpop3
apache-2.0
2,280
60
codeparrot/github-code
4cd26c1948fb760869fd593f054fa49781480735ec7183b7f4e55125da072461
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Hong Kong - Jennifer Kruse</tit...
HTML
hongkong.html
jenkr55/jenkr55.github.io
apache-2.0
16,980
213
codeparrot/github-code
e39fe16045d79c401996a882247e820e62975aa4ed703150006571a1bf8b87e2
/* * Copyright 2016, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
Java
JCL_Android/app/src/main/java/org/jf/dexlib2/dexbacked/instruction/DexBackedInstruction4rcc.java
AndreJCL/JCL
apache-2.0
3,009
81
codeparrot/github-code
9c1822e8541f917338caffde8bdc4d749be0004c7f5c3fbe4a649e31aac17a71
/* Copyright (c) 2011 Danish Maritime Authority. * * 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 l...
Java
nogo/src/main/java/dk/dma/nogoservice/service/RemoteWeatherService.java
maritime-web/NoGoService
apache-2.0
3,020
74
codeparrot/github-code
7f6230c8cb6b6170542e4c38c33a941da92fcd6a0f2177a6859fe2a24cc0f411
#include "system_timer.h" SystemTimer* SystemTimer::instance = 0; SystemTimer* SystemTimer::GetInstance(){ if ( instance == 0 ){ instance = new SystemTimer; } return instance; } bool SystemTimer::DeleteInstance(){ if ( instance != 0 ){ delete instance; instance = 0; return true; } return false; } Syst...
C++
WrfAnalysisPlatform/system_timer.cpp
Edgar324/WrfAnalysisPlatform
apache-2.0
639
40
codeparrot/github-code
f08c6b5ebbb447a6858ce5c78d2b22ba1ecb9bf86e0dd741f54a9b68d7a3f85b
import asyncio from aio_pika import connect, IncomingMessage, ExchangeType loop = asyncio.get_event_loop() async def on_message(message: IncomingMessage): async with message.process(): print("[x] %r" % message.body) async def main(): # Perform connection connection = await connect( "amq...
Python
docs/source/rabbitmq-tutorial/examples/3-publish-subscribe/receive_logs.py
mosquito/aio-pika
apache-2.0
1,094
44
codeparrot/github-code
7a88bf02a0ee4d3d85e82319f90f484bab1422f8dd7b5082a4bf6aec6c0e7bf3
/* * Copyright 2017 Matthias Hanisch * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
mathan-latex-it/src/test/java/io/mathan/gradle/latex/configuration/MakeindexstylefileTest.java
reallyinsane/mathan-latex-maven-plugin
apache-2.0
1,233
38
codeparrot/github-code
e9dd873163d481ca6c08b97560e0a1a3d2eea4764b329433c6235d7679fb52b5
package com.empresa.marco.data; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; public class ObjectDefinationData { private Integer objectId; private String name; private String schemaName; private String dataBaseName; private String userDefinedName; private S...
Java
EmpresaMarco/src/main/java/com/empresa/marco/data/ObjectDefinationData.java
govindrgaikwad/java_repo
apache-2.0
3,170
161
codeparrot/github-code
87d864476aa1b0e9796b4cce36bd1a1f592421c971665e0520a2550117a87071
/**上午11:13:57 * @author zhangyh2 * Person.java * TODO */ package com.darly.dlvideo.bean; /** * @author zhangyh2 Person 上午11:13:57 TODO */ public class Person { private int id; private String url; private String title; private String icon; public int getId() { return id; } public void setId(int id)...
Java
DLVideo/src/com/darly/dlvideo/bean/Person.java
darlyhellen/oto
apache-2.0
663
54
codeparrot/github-code
ced4339a9446cfe45ab75d5d5052c2e01b240b6458822a461d2c6f973d387ec2
/** * Copyright 2018, OpenCensus 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 ...
TypeScript
packages/opencensus-core/test/test-gauge.ts
census-instrumentation/opencensus-node
apache-2.0
20,965
670
codeparrot/github-code
d196d6c65aaf82d4da881b36a7a196c6c8c0dbbeb6a1059c1e6931a9b886b384
package org.rhq.alerts.impl; import org.kie.api.KieServices; import org.kie.api.builder.KieBuilder; import org.kie.api.builder.KieFileSystem; import org.kie.api.builder.KieRepository; import org.kie.api.builder.Message; import org.kie.api.runtime.KieContainer; import org.kie.api.runtime.KieSession; import org.kie.api....
Java
rhq-alerts/src/main/java/org/rhq/alerts/impl/BasicCepEngineImpl.java
lucasponce/rhq-alerts
apache-2.0
4,929
201
codeparrot/github-code
73a9a2fdb284bf56c13bc0449b0139351ef23991d0ead41b2089749c3b169c8a
/** * Copyright (c) 2008, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
Java
src/test/java/org/yaml/snakeyaml/issues/issue318/ContextClassLoaderTest.java
asomov/snakeyaml
apache-2.0
4,598
152
codeparrot/github-code
5fdc3a106df46c364d158ad85700591fde84aa9e978a96d8db216b06daf55a59
/* * Copyright 2010-2014 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#
sdk/src/Services/AutoScaling/Generated/Model/AutoScalingGroup.cs
mwilliamson-firefly/aws-sdk-net
apache-2.0
13,839
427
codeparrot/github-code
07ded8c306e74d03e2ae07da64d524f91e2fdb4b0498c9577d75b55f751afed8
/* | Version 10.1 | Copyright 2014 Esri | | Licensed under the Apache License, Version 2.0 (the "License"); | you may not use this file except in compliance with the License. | You may obtain a copy of the License at | | http://www.apache.org/licenses/LICENSE-2.0 | | Unless required by applicable law or a...
C#
Water Utilities Desktop Tools/WaterUtilitiesDesktopAddIn/GeometricNetworkTools.cs
faridcher/local-government-desktop-addins
apache-2.0
35,176
1,133
codeparrot/github-code
99ae9bf4a8831ff76938d4d48c3d22f605726239e1677722062ca79fb823d129
--- layout: default --- <!-- Post Header --> <style type="text/css"> header.intro-header{ background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}') } </style> <header class="intro-header" > <div class="container"> <di...
HTML
_layouts/post.html
niuniulove/niuniulove.github.io
apache-2.0
4,899
143
codeparrot/github-code
81af521375ee51f7b85f057d1414d4484ea550c65d88d017530fd1c7a2057423
package com.fsryan.forsuredb.annotationprocessor.generator.code; import com.fsryan.forsuredb.annotationprocessor.FSAnnotationProcessor; import com.fsryan.forsuredb.annotationprocessor.generator.BaseGenerator; import com.fsryan.forsuredb.api.TypedRecordContainer; import com.squareup.javapoet.AnnotationSpec; import com....
Java
forsuredbcompiler/src/main/java/com/fsryan/forsuredb/annotationprocessor/generator/code/JavaSourceGenerator.java
ryansgot/forsuredbcompiler
apache-2.0
3,018
88
codeparrot/github-code
2842bb106cb1ad36705e2a140bf2058bac5c8ebde28b012ea5d5c4deb60be619
package org.jboss.hal.processor.mbui.table; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Generated; import javax.inject.Inject; import com.google.gwt.safehtml.shared.SafeHtmlUtils; import elemental2.dom.HTMLElement; import org.jboss.gwt.elemento.core.builder.ElementsB...
Java
app/src/test/resources/org/jboss/hal/processor/mbui/table/Mbui_CustomActionView.java
hpehl/hal.next
apache-2.0
2,940
83
codeparrot/github-code
758d8751f1152f629f3468d73ecc9334e3c518a21780a19ec83c2a7ae2d1ba9c
package com.flying.promotion.atomic.array; import java.util.concurrent.atomic.AtomicIntegerArray; /** * ������˵���� * 10���̲߳����ҵ� * @author zhongyin.xy * */ public class AtomicIntegerArrayTest { /** * �����ķ����б� * @see AtomicIntegerArray#addAndGet(int, int) ִ�мӷ�����һ������Ϊ������±꣬�ڶ�������Ϊ���ӵ������...
Java
JavaLaoA/src/main/java/com/flying/promotion/atomic/array/AtomicIntegerArrayTest.java
wangshijun101/JavaSenior
apache-2.0
1,841
49
codeparrot/github-code
8da79f588709800487b0f7aff24702e050f5fdcf33560cae8cfb8017a8289c4c
from __future__ import absolute_import, division, print_function, unicode_literals import time import logging import ujson as json from elasticsearch import Elasticsearch from elasticsearch.client import IndicesClient from elasticsearch.exceptions import ConnectionTimeout from .config import config from .es_mappings...
Python
cosrlib/es.py
commonsearch/cosr-back
apache-2.0
4,391
150
codeparrot/github-code
fb7e5558ad4f50b4f7e8250ca5493dae94160aff0e6150d14df16db804f83306
require './lib/highlighter/highlighter_java' # class SpringHighlighter < JavaHighlighter include RegexpUtils, HtmlUtils def initialize super(HighlightersEnum::SPRING) end def comment_regex RegextrationStore::CommentBuilder.new.c.html.build end def string_regex RE_QUOTE_DOUBLE end RE1 = ...
Ruby
anki_card_maker/lib/highlighter/highlighter_spring.rb
roycetech/Anki-Tools
apache-2.0
1,717
77
codeparrot/github-code
40822ef5f65de43ef15535b70ae0403341dc6fa43d2f48abae8d7caed3f4a4ed
# 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 t...
Python
openstack/dns/v2/_base.py
stackforge/python-openstacksdk
apache-2.0
4,338
105
codeparrot/github-code
a1b4950f14e140ebab383ddaa038343008f679f80664c073a8480022580a3a93
package com.l.smartcityuniversalmarket.loader; import android.app.Activity; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.TextView; import com.l.smar...
Java
SmartCityUniversalMarket/app/src/main/java/com/l/smartcityuniversalmarket/loader/LoadAdapter.java
chacha1337/SmartCityUniversalMarket
apache-2.0
1,599
55
codeparrot/github-code
8e6ceea280501f8802a98b7d00c248c10fcc5648b723089c832bbb339e41940c
/** * 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-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/TimelineClientImpl.java
NJUJYB/disYarn
apache-2.0
26,636
714
codeparrot/github-code
20935d37c0ff54327fd924aa4598562ca2a0509d339c18d81e41f769fb8521aa
package gorethink import ( p "github.com/brendanobrienesq/gorethink/ql2" ) // Now returns a time object representing the current time in UTC func Now(args ...interface{}) Term { return constructRootTerm("Now", p.Term_NOW, args, map[string]interface{}{}) } // Time creates a time object for a specific time func Time...
GO
query_time.go
brendanobrienesq/gorethink
apache-2.0
8,486
188
codeparrot/github-code
085ce5a884229dbd238e851a14a245c4096438f6bcc60cab8c86c3eb53685994
/******************************************************************************* Copyright 2011 Arciem 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/LI...
C
Arciem/iOS/CNotifier/CNotifierViewController.h
arciem/LibArciem
apache-2.0
1,060
32
codeparrot/github-code
96773b1aa011a5305275aa22d7b2de67b6e044b118af22364b42cbbfcbd4b8d3
//! \file /* ** Copyright (C) - Triton ** ** This program is under the terms of the Apache License 2.0. */ #include <triton/pythonObjects.hpp> #include <triton/pythonUtils.hpp> #include <triton/pythonXFunctions.hpp> #include <triton/exceptions.hpp> #include <triton/symbolicExpression.hpp> /*! \page py_SymbolicExp...
C++
src/libtriton/bindings/python/objects/pySymbolicExpression.cpp
JonathanSalwan/Triton
apache-2.0
17,031
431
codeparrot/github-code
13c6784eadbf54b0c07e213fdd03f816e2f9f98e99e9fd2dbda95cdf717a5ba2
package com.ee.imperator.template.thymeleaf; import java.io.IOException; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Writer; import org.thymeleaf.TemplateEngine; import org.thymeleaf.context.AbstractContext; import com.ee.imperator.template.Template; public class Thyme...
Java
src/main/java/com/ee/imperator/template/thymeleaf/ThymeleafTemplate.java
Assumeru/Imperator4J
apache-2.0
1,076
42
codeparrot/github-code
b9a00f350f704c4757cbafd7525065cb4085f31745d2b31192e7319d486a7f84
<?php namespace App\Http\Controllers\Auth; use App\User; use App\Http\Controllers\Controller; use App\EmailVerification; use Illuminate\Foundation\Auth\RegistersUsers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Session; use Illuminate\Support\Facades\Validator; class RegisterController extends Contr...
PHP
app/Http/Controllers/Auth/RegisterController.php
pivot-libre/pivot
apache-2.0
3,019
114
codeparrot/github-code
fead3e21ccf2d6c84ccf0bdfaf62874135f7d55e86f54a4497c7ca4a385aea3b
/** * 微信网页端调用JS * @author dodge * @contact dodgepudding@gmail.com * @link http://blog.4wer.com/wechat-timeline-share * @version 1.1 * * 自定义分享使用: * WeixinJS.hideOptionMenu() 隐藏右上角按钮 * WeixinJS.showOptionMenu() 显示右上角按钮 * WeixinJS.hideToolbar() 隐藏工具栏 * WeixinJS.showToolbar() 显示工具栏 * WeixinJS.getNetworkType() ...
JavaScript
Public/js/wechat.js
selecterskyphp/weixin_award
apache-2.0
8,917
280
codeparrot/github-code
31338c1f2831a76d31ca04b21cc4b29b53a96c7f51e1937f6ddf0040d2b322b8
/** * Copyright (c) 2012-2013, Michael Yang 杨福海 (www.yangfuhai.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 * * ...
Java
src/main/java/net/tsz/afinal/FinalActivity.java
selecterskyandroid/framework
apache-2.0
3,715
131
codeparrot/github-code
873c17dbeb566002d0aba3b927373306602cec18a59e292caea01578af177c70
package org.docksidestage.hangar.dbflute.cbean.bs; import org.dbflute.cbean.AbstractConditionBean; import org.dbflute.cbean.ConditionBean; import org.dbflute.cbean.ConditionQuery; import org.dbflute.cbean.chelper.*; import org.dbflute.cbean.coption.*; import org.dbflute.cbean.dream.*; import org.dbflute.cbean.sqlclaus...
Java
src/main/java/org/docksidestage/hangar/dbflute/cbean/bs/BsWhiteDeprecatedSelectByPkuqCB.java
dbflute-test/dbflute-test-active-hangar
apache-2.0
25,925
466
codeparrot/github-code
731bde612abfcb67686f7f6e42ebd94ca558f70e6ea3393336d2cadd534d7a78
package container import ( "bytes" "encoding/json" "fmt" "io" "net" "os" "path/filepath" "runtime" "strconv" "strings" "sync" "syscall" "time" "github.com/containerd/containerd/cio" containertypes "github.com/docker/docker/api/types/container" mounttypes "github.com/docker/docker/api/types/mount" net...
GO
container/container.go
mixja/docker
apache-2.0
34,111
1,110
codeparrot/github-code
796d9c4bfd32feeb07873774ba654c3b40f46aec2d0e45ea2e00f4e54257d88b
using System; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Threading; using System.Web.Mvc; using WebMatrix.WebData; using Eve_Corporation_Portal.Models; namespace Eve_Corporation_Portal.Filters { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = ...
C#
src/Eve-Corporation-Portal/Filters/InitializeSimpleMembershipAttribute.cs
CreativeSolutionDevelopment/eve-corporation-portal
apache-2.0
2,024
51
codeparrot/github-code
74fe13f424de148dc73a9cee8379214d10b5c332ae7de645a50385e323fb5782
# Copyright 2015 Mirantis 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...
Python
manilaclient/v2/share_instances.py
sniperganso/python-manilaclient
apache-2.0
3,686
97
codeparrot/github-code
4b9e02f286c5bced728b95fa034b9d46a16171bd0546e5bf989dd36582466d91
# 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 a...
Python
gcloud/datastore/batch.py
lucemia/gcloud-python
apache-2.0
10,313
292
codeparrot/github-code
1107be447433ad00c4c8d70e67ae9c587e42605917a0ac3296cb26513d38116b
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
platform/platform-impl/src/com/intellij/ide/dnd/DnDEnabler.java
jexp/idea2
apache-2.0
8,432
245
codeparrot/github-code
760f1467069c903654ab882f6e348fe3391136bd973ee0025612f8740de0decb
package ua.edu.cdu.fotius.lisun.musicplayer.cab_menu; import android.app.Fragment; import ua.edu.cdu.fotius.lisun.musicplayer.service.MediaPlaybackServiceWrapper; import ua.edu.cdu.fotius.lisun.musicplayer.async_tasks.AlbumTracksQueryAsyncTask; import ua.edu.cdu.fotius.lisun.musicplayer.async_tasks.BaseTracksQueryAsy...
Java
app/src/main/java/ua/edu/cdu/fotius/lisun/musicplayer/cab_menu/AlbumPlay.java
jydimir/Music-Player
apache-2.0
1,041
37
codeparrot/github-code
357c693e3d00c993a3c64fb6f6757e0765403bbcbbb9f63b238010a9d2c569bb
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
modules/base/editor-ui-ex/src/main/java/com/intellij/openapi/editor/highlighter/EditorHighlighterFactoryImpl.java
consulo/consulo
apache-2.0
5,244
124
codeparrot/github-code
87e0cdaea3ea7b8198ba9e9e0d18c8ce6980ff70b529aac8d9b88b558a33604f
/* * Copyright 2014 Lukas Benda <lbenda at lbenda.cz> * * 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
client/src/main/java/cz/lbenda/coursing/client/gui/action/DogAddAction.java
lbenda/Coursing
apache-2.0
1,656
46
codeparrot/github-code
44fe1e8f3b7a15d7e1d08e8c4c5c996df622cc98052e6170f876997c6ecf5344
/* Copyright 2013-2014 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
C
core/pci.c
ddstreet/skiboot
apache-2.0
42,323
1,548
codeparrot/github-code
48dfdc9f0ce824089ce17229e83a9f3f8c29e3e74ca41762d6e27d0a42b7ac18
/** * 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
demo-server/src/main/java/org/apache/ambari/server/state/State.java
zouzhberk/ambaridemo
apache-2.0
6,782
245
codeparrot/github-code
450a48f801933743e2bba9a8649503ce93719f1d015e84e68a96431c1fee92fb
/* * 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/main/java/org/apache/sysml/yarn/ropt/ResourceOptimizerCPMigration.java
Wenpei/incubator-systemml
apache-2.0
10,018
268
codeparrot/github-code
f0b72f2b0e5267c7d62804c348fcadd599b79be9e8ae9e9eaa3713ca8c212b2a
package hr.fer.zemris.jcms.beans.cached; import hr.fer.zemris.jcms.model.AssessmentScore; import hr.fer.zemris.jcms.service.assessments.AssessmentStatus; public class STEScore extends ScoreTableEntry { private static final long serialVersionUID = 1L; private Long assignerID; private double score; private doubl...
Java
src/java/hr/fer/zemris/jcms/beans/cached/STEScore.java
KarloKnezevic/Ferko
apache-2.0
3,510
138
codeparrot/github-code
fb178443651bcabd4b811427b266cf62a5957f39a5dbf7470bf42479217243a5
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Agency - Start Bootstrap Theme<...
HTML
burrai.antonio/index.html
FabAcademyFR/fabacademy-fr
apache-2.0
28,970
560
codeparrot/github-code
d589378cedaad08949035c9dbbd5c647eb8a4a6214cd94800beaceb5e8ac79b0
/* * Copyright 2010-2016 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-elasticloadbalancing/source/model/EnableAvailabilityZonesForLoadBalancerRequest.cpp
ambasta/aws-sdk-cpp
apache-2.0
1,682
52
codeparrot/github-code
e2a9460fdfbf1c8ea6def5158dcb630908f659860d7868f58ba7ab4bcc2d4b29
package com.rabbitframework.security.web.filter.authz; import com.rabbitframework.security.web.filter.authz.PermissionsAuthorizationFilter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import java.io.IOException; /** * 权限过虑器 * ...
Java
rabbitframework-security-pom/rabbitframework-security/src/main/java/com/rabbitframework/security/web/filter/authz/UriPermissionsFilter.java
xuegongzi/rabbitframework
apache-2.0
926
31
codeparrot/github-code
614648ba59fdc4df26d34002fb29c07dc2afa47d9f26176e5caa222e93433085
package com.catherine.singleton; /** * Created by Catherine on 2016/10/4. * Soft-World Inc. * catherine919@soft-world.com.tw */ /** * 单例模式:保证整个应用中某个实例有且只有一个。 * <p> * 懒汉模式(与其用懒汉模式不如直接用内部静态类{@link BillPughSingleton}) * <p> * 在多线程的情况下,可能就会出现重复创建单例对象的问题。 特点是加载类时比较快,但运行时获取对象的速度比较慢,线程不安全 * 某个单例用的次数不是很多,但是这个单例提供的功能...
Java
src/com/catherine/singleton/LazyInitializingSingleton.java
Catherine22/DesignPattern
apache-2.0
751
32
codeparrot/github-code
bb6065b7d859c1cce74018c989afd46d1294d5cf646324795736ccb2789b74cd
/* Copyright 2015 Philippe Hilger, aka "PeerGum" 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...
GO
layer/address.go
Peer-X/peer-x
apache-2.0
7,905
348
codeparrot/github-code
5b2f64c3e2e6e9a3de3a3495c2aa6fc02d8303dc13a67e676990827777453ef7
package apple.gamecontroller; import apple.NSObject; import apple.foundation.NSArray; import apple.foundation.NSCoder; import apple.foundation.NSMethodSignature; import apple.foundation.NSSet; import apple.foundation.protocol.NSCopying; import apple.foundation.protocol.NSSecureCoding; import org.moe.natj.c.ann.Functio...
Java
moe.apple/moe.platform.ios/src/main/java/apple/gamecontroller/GCColor.java
multi-os-engine/moe-core
apache-2.0
5,487
189
codeparrot/github-code
f6c6a53145c8e3479b67e6c8e56ec7c4a0f2e987ce31915b1b2b208a761344d3
/* * 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 ...
JavaScript
packages/wp-story-editor/src/components/mediaUpload/mediaPicker/test/useMediaPicker.js
GoogleForCreators/web-stories-wp
apache-2.0
2,607
101
codeparrot/github-code
57d395dec1b6ffd5386b5d62f1e784501d67f4357a4450a7546c2f2a18ca2b25
#region Copyright /*Copyright (C) 2015 Wosad Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C#
Wosad.Dynamo.UI/Nodes/Loads/ASCE7/Lateral/Wind/WindExposureCategory.cs
Wosad/Wosad.Dynamo
apache-2.0
5,013
185
codeparrot/github-code
e386b1a2444a4aa1610889c8eb28ac0b55d5de2cdbdc9506dd9360964413145c
package it.unipi.di.acube.smaph.learn.models.linkback.bindingRegressor; import java.io.IOException; import java.net.URL; import java.util.HashSet; import java.util.List; import it.unipi.di.acube.batframework.data.Annotation; import it.unipi.di.acube.smaph.learn.featurePacks.FeaturePack; import it.unipi.di.acube.smaph...
Java
src/main/java/it/unipi/di/acube/smaph/learn/models/linkback/bindingRegressor/RankLibBindingRegressor.java
marcocor/smaph
apache-2.0
1,039
32
codeparrot/github-code
6dd327bb0307d24e344f9b73d6288b13eff9a6ad7f54d562f7df11391aecb43c
/******************************************************************** Copyright 2013 Konstantin Olkhovskiy <lupus@oxnull.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 htt...
C
src/fiber.c
Lupus/libevfibers
apache-2.0
68,909
2,884
codeparrot/github-code
2a5fa5d764f16aeb5969c1b32c873ae4e7a55e3ffaf341d2d4d8be6eddcc1083
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Java
modules/flowable-engine/src/main/java/org/flowable/engine/impl/history/async/json/transformer/ActivityEndHistoryJsonTransformer.java
stephraleigh/flowable-engine
apache-2.0
2,651
54
codeparrot/github-code