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
6db7b9d2a92194ce4b0a62b48b01a354b990379082bdb40a04364d6d8b16189e
--- layout: "page" title: "Brightword 1.1" subtitle: "Speed-Reading and Skimming." img: Brightword-600.png thumbnail: Brightword-thumbnail.png alt: image-alt markdown: kramdown category: Software Development --- <div class="nav-buttons"> <div><a href="https://itunes.apple.com/app/brightword/id1062955977" role="but...
HTML
brightword/index.html
indiedotkim/agency-jekyll-theme
apache-2.0
9,347
183
codeparrot/github-code
7050e814e8ed424226e2017fc72fadbd0ca62d9a2887dd421c65cf9cab020afe
package com.zhanghao.skinexpert.beans; /** * Created by RockGao on 2016/12/23. */ /** * 测试问题的bean类 */ public class QuestionBean { private String title; private String score; public QuestionBean() { } public QuestionBean(String title, String score) { this.title = title; this.s...
Java
app/src/main/java/com/zhanghao/skinexpert/beans/QuestionBean.java
BMambaYe/SkinExpert
apache-2.0
614
38
codeparrot/github-code
b51ffc447f849c8da8449ff9fa3d732b707d7d9a3ba89f133d2078dea13b66e8
package app.logic.activity.search; import java.util.ArrayList; import java.util.List; import org.QLConstant; import org.ql.activity.customtitle.ActActivity; import org.ql.utils.QLToastUtils; import com.facebook.drawee.view.SimpleDraweeView; import com.squareup.picasso.Picasso; import android.R.integer; import andro...
Java
毕业设计/code/android/YYFramework/src/app/logic/activity/search/SearchActivity.java
Zhangsongsong/GraduationPro
apache-2.0
12,542
291
codeparrot/github-code
b30242dff2d5a37689d0d9f3a5f3dcca2e3917c4fc3a899da72f17842e60d0bd
/* * 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-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/transform/WithdrawByoipCidrRequestProtocolMarshaller.java
aws/aws-sdk-java
apache-2.0
2,762
64
codeparrot/github-code
b4ada7a356f1c9113b6c35c8a2fd557ffdd813a9296d4c364cb0c39ede6c124f
package org.codingmatters.value.objects.generation.collection; import com.squareup.javapoet.JavaFile; import com.squareup.javapoet.TypeSpec; import org.codingmatters.tests.compile.CompiledCode; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; import java.i...
Java
cdm-value-objects-generation/src/test/java/org/codingmatters/value/objects/generation/collection/ValueSetImplementationTest.java
nelt/codingmatters-value-objects
apache-2.0
3,086
92
codeparrot/github-code
302e425bc38787b5f69cf47c581bd2e22b7889a1b641ab7807a6c5aadfb8304c
/* * Jicofo, the Jitsi Conference Focus. * * Copyright @ 2015-Present 8x8, 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 * ...
Java
src/main/java/org/jitsi/protocol/xmpp/util/TransportSignaling.java
jitsi/jicofo
apache-2.0
2,564
80
codeparrot/github-code
a9d597ffb2af674a4f4ffe5684499ba7428cea25809acd923a77cbe6467083f7
/* * 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-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/transform/BatchGetOnPremisesInstancesResultJsonUnmarshaller.java
jentfoo/aws-sdk-java
apache-2.0
3,067
76
codeparrot/github-code
09b48f43ddec850d89dc472fc2b4f15b13983e8e6ed2b540e6f597febd3d46c1
/* * Copyright (C) 2014-2022 Philip Helger (www.helger.com) * philip[at]helger[dot]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/LICEN...
Java
ph-graph/src/main/java/com/helger/graph/algo/Dijkstra.java
phax/ph-commons
apache-2.0
12,144
370
codeparrot/github-code
01e71e6023f2e5ca2274b882739aadc6365509a8d0a8b27be40a8a01cb4dcf76
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.or...
JavaScript
features/analytics-gadget-templates/org.wso2.carbon.analytics.gadget.chart.template.feature/src/main/charts/geo-map/api.js
keizer619/carbon-analytics-common
apache-2.0
17,595
493
codeparrot/github-code
befbc5f1625644b40721538e462af5f4043696d317835b8f1f1ed73b08619421
// // Created by chan on 2017/9/19. // #include "AndroidRenderer.h" #include "../misc/RawString2JavaStringHolder.h" void AndroidRenderer::begin() { mJNIEnv->CallVoidMethod(mJavaRenderer, mBeginId); } void AndroidRenderer::end() { mJNIEnv->CallVoidMethod(mJavaRenderer, mEndId); } void AndroidRenderer::render...
C++
mulan/src/main/cpp/render/AndroidRenderer.cpp
ChanJLee/MulanAndroid
apache-2.0
5,528
125
codeparrot/github-code
1928d6bd370da78c0561aef7b4e6d6958c042f52b7f3db0f9ddf7c253d1816e6
package com.hanovit.app.config; import java.util.Properties; import javax.annotation.Resource; import javax.sql.DataSource; import org.apache.commons.dbcp2.BasicDataSource; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.contex...
Java
No XML Configuration/src/main/java/com/hanovit/app/config/HibernateConfig.java
josuemontano/SHTezt
apache-2.0
2,212
66
codeparrot/github-code
16851bcce35be3b84e26360708a1011c60454c79ccc0669c2eb1cc48464c72af
/** * Copyright (c) 2014, Oculus VR, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */...
C
Sources/RakNet/include/DS_Map.h
DDSSwiftTech/SwiftMine
apache-2.0
11,115
331
codeparrot/github-code
4eacbc82dcce875d2e803caae2b5b9259765ebb0ed320c3ac5ea32c39b432361
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import { PostOptions, SettingsSidebar, } from '@support/ui/component'; import {SearchResultPostScreen} from '@support/ui/screen'; class SavedMessagesScreen { testID = { savedMessagesScre...
JavaScript
detox/e2e/support/ui/screen/saved_messages.js
mattermost/mattermost-mobile
apache-2.0
1,602
53
codeparrot/github-code
3d583b3065e5ac189129f7898c0df2e4b575b51265433c0063af66ba0de94967
/* * Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.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
core/src/main/java/com/orientechnologies/orient/core/command/script/OScriptManager.java
redox/OrientDB
apache-2.0
6,461
181
codeparrot/github-code
4315cfd20a7667d447db24e5dc59598c3cd48de9222bcb3749ba8f3392878390
package io.hydrosphere.mist.master.execution.workers import java.util.concurrent.atomic.AtomicInteger import akka.actor.{Actor, ActorLogging, ActorRef, Props} import akka.pattern.pipe import io.hydrosphere.mist.core.CommonData import io.hydrosphere.mist.core.CommonData.CancelJobRequest import io.hydrosphere.mist.mast...
Scala
mist/master/src/main/scala/io/hydrosphere/mist/master/execution/workers/SharedConnector.scala
Hydrospheredata/mist
apache-2.0
7,998
192
codeparrot/github-code
88ae7344674516e166e7365656653238dde8fc94091ca48997d2ddbcc4507f19
// // Copyright (C) 2013 OpenSim Ltd. // // This program 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 2 // of the License, or (at your option) any later version. // // This program i...
C++
inet/src/inet/physicallayer/ideal/IdealTransmitter.cc
googleinterns/vectio
apache-2.0
2,660
71
codeparrot/github-code
ab724094c1119a4f4e07eee1ea35ac17233a47c677000b75fc2ac7e0f5e3f0d0
/* * Copyright (C) 2017-2019 Dremio 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 l...
Java
plugins/elasticsearch/src/main/java/com/dremio/plugins/elastic/planning/functions/UnaryFunction.java
dremio/dremio-oss
apache-2.0
1,461
42
codeparrot/github-code
f86229d714651e77d8fa0f1d85f8bb9326ffbeb992f65c29e23bfa3c6ed91be4
<?php /* All Emoncms code is released under the GNU Affero General Public License. See COPYRIGHT.txt and LICENSE.txt. --------------------------------------------------------------------- Emoncms - open source energy visualisation Part of the OpenEnergyMonitor project: http://openenergymonitor...
PHP
cossmicvagrant/data/emoncms/Modules/cossmiccontrol/cossmiccontrol_controller.php
UbiCollab/PersuasiveCommunities
apache-2.0
1,329
44
codeparrot/github-code
e0867b3f679563450957d49d66d4887210a14142bd4dcfc9a09ded50b9b8fe13
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title></title> <link rel="Stylesheet" href="../css/analysis.css" /> <script type="text/javascript"> function init() { if (window.location.hash) { var parentDiv, nodes, ...
HTML
Highlander/ship-gis/src/main/webapp/js/arcgis_js_api/library/3.22/esri/dijit/analysis/help/lv/CreateViewshed.html
wanglongbiao/webapp-tools
apache-2.0
8,195
118
codeparrot/github-code
fdbdecef424c2619b53ea50dc9c155023bd556449bf864fa4ee9bf7d01714bd8
/* Copyright 1999-2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
C
src/mod_log_rotate.c
JBlond/mod_log_rotate
apache-2.0
15,785
434
codeparrot/github-code
9486e3426a9acee2dc03f9d67b9cbd96e43d462cbdc73b77c339d56ffc193713
/** * Copyright 2016 The AMP HTML 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 require...
JavaScript
build-system/pr-check.js
kmh287/amphtml
apache-2.0
13,048
391
codeparrot/github-code
a969b4803e9147928ce7e9a7c6231e9a75dcf6cde2b4258dd16ffa73987edca3
package com.cardpay.pccredit.intopieces.web; import java.io.IOException; import java.sql.SQLException; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.lang.StringUt...
Java
src/java/com/cardpay/pccredit/intopieces/web/IntoPiecesXingzhengbeginControl.java
wangxu2013/PCCREDIT_QZ
apache-2.0
10,712
271
codeparrot/github-code
c8baa9ad0da755b4bb6ed9445f6fd21614ed2b502bbde3961d30c9affbc84308
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
Java
aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/ListTagsResult.java
dagnir/aws-sdk-java
apache-2.0
4,500
150
codeparrot/github-code
5607fc11bfed9dc28629965f303f08ea910398d5674d7144e6236718f88dec94
package org.unipop.process.strategyregistrar; import org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategies; import org.apache.tinkerpop.gremlin.process.traversal.util.DefaultTraversalStrategies; import org.apache.tinkerpop.gremlin.structure.Graph; import org.unipop.process.coalesce.UniGraphCoalesceStepStr...
Java
unipop-core/src/org/unipop/process/strategyregistrar/StandardStrategyProvider.java
unipop-graph/unipop
apache-2.0
1,536
33
codeparrot/github-code
c445831bdfa26c9519c9da02401dd727c091230afb303bf56464b9826a8a802e
package com.pepoc.joke.view.activity; import android.content.Intent; import android.os.Bundle; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.Toolbar; import android.text.TextUtil...
Java
Joke/app/src/main/java/com/pepoc/joke/view/activity/JokeContentActivity.java
pepoc/Joke
apache-2.0
4,668
141
codeparrot/github-code
bcc36c20f65bcc6dd089ef7ee6c34080a2fd5b65b3056699892b6aa7c94ff53b
/* * Copyright (c) 2017 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 o...
Java
icecp-node/src/main/java/com/intel/icecp/node/security/crypto/utils/CryptoUtils.java
icecp/icecp
apache-2.0
5,374
153
codeparrot/github-code
ee775777f01c71b45455802fe93ae57a04c68a6a835a342f22310cf3a9d6b6da
// Copyright 2008 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writ...
Java
src/main/java/com/google/gwtjsonrpc/client/impl/ser/ObjectSerializer.java
GerritCodeReview/gwtjsonrpc
apache-2.0
1,544
42
codeparrot/github-code
9584e7ea9824cf3bc26daee1e27b91309e7628962c4a278bf179aa98c31920fc
/* * Copyright 2018, Flávio Keglevich * * 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
app/src/main/java/com/fkeglevich/rawdumper/camera/feature/RangeFeature.java
fkeglevich/Raw-Dumper
apache-2.0
1,856
52
codeparrot/github-code
414b39dd7b53c4a4c274091909c3f9878cf81d1787a4c45f99c08875261658c4
//===- StmtOpenMP.h - Classes for OpenMP directives and clauses --*- 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/clang/include/clang/AST/StmtOpenMP.h
indashnet/InDashNet.Open.UN2000
apache-2.0
14,471
410
codeparrot/github-code
e7385194ae0965a00c793f093161028df369c156eaec3136e5066dccf33dc80e
package org.arquillian.algeron.pact.provider.core; import net.jcip.annotations.NotThreadSafe; import org.assertj.core.util.Arrays; import org.junit.Test; import java.net.URI; import java.net.URL; import static org.assertj.core.api.Assertions.assertThat; @NotThreadSafe public class StateTypeConverterTest { @Tes...
Java
pact/provider/core/src/test/java/org/arquillian/algeron/pact/provider/core/StateTypeConverterTest.java
arquillian/arquillian-algeron
apache-2.0
6,653
207
codeparrot/github-code
4c828abdcc76eb6330ecc8ffb9b43f7ade6f5a328f734a5c6849a42fb2ecb7a4
/* * Copyright (c) 2011-2014 The original author or authors * ------------------------------------------------------ * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distributi...
Java
src/main/java/io/vertx/jdbcclient/impl/actions/JDBCPropertyAccessor.java
vert-x3/vertx-jdbc-client
apache-2.0
1,633
52
codeparrot/github-code
28acb4521d3d8e99a34bf32de9239876a15ba1f042e667628720efe4473e96c0
#include "common/http/conn_manager_impl.h" #include <cstdint> #include <functional> #include <list> #include <memory> #include <string> #include <vector> #include "envoy/buffer/buffer.h" #include "envoy/common/time.h" #include "envoy/event/dispatcher.h" #include "envoy/network/drain_decision.h" #include "envoy/router...
C++
source/common/http/conn_manager_impl.cc
dnoe/envoy
apache-2.0
87,779
2,017
codeparrot/github-code
5529c6623a3e206076b43685abbece1d6ecae9b1f6b31a11aa2babfb09164d34
/* * Copyright 2004-2012 the Seasar Foundation and the Others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
Java
hatunatu-util/src/test/java/jp/fieldnotes/hatunatu/util/collection/EmptyIteratorTest.java
azusa/hatunatu
apache-2.0
2,329
82
codeparrot/github-code
1eb78828d3fc02f32872e166ae0ceeb2aa11ba622ddf6e4a1cca742f9f46bef4
/* * Copyright 2015 Google Inc * * Licensed under the Apache License, Version 2.0(the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
C#
dotnet/v3.4/Reports/GetReportFiles.cs
googleads/googleads-dfa-reporting-samples
apache-2.0
2,741
81
codeparrot/github-code
c57eb1c498c26baae58373f8c175e8628a30743924a63cdc81b1397e4163b7b7
package com.fishercoder.solutions; public class _42 { public static class Solution1 { /** * O(n) time and O(1) space, awesome! * * 1. first scan to find the max height index * 2. then scan from left up to max index and find all the water units up to the max height ...
Java
src/main/java/com/fishercoder/solutions/_42.java
fishercoder1534/Leetcode
apache-2.0
1,640
53
codeparrot/github-code
4a89da8e11842c763377880d10a5e225f89b922800b1fdc2115df5bb807f895f
package tafkacn.statsdclient; import com.lmax.disruptor.*; import java.io.IOException; import java.net.InetSocketAddress; import java.net.StandardSocketOptions; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.channels.DatagramChannel; import java.nio.channels.SocketChannel; import java.nio.chan...
Java
src/main/java/tafkacn/StatsdClient.java
tafkacn/statsdclient
apache-2.0
14,025
376
codeparrot/github-code
dcda86ea6c141013cb4e55454d32f8299d24ce3464c4774d9e0c4ee07e36dbd7
$(function() { /* ------------ 合作伙伴信息 ------------ */ $( "#partner_id" ).combobox( { url : ksa.buildUrl( "/data/combo", "bd-partner-all" ), onSelect : function( record ) { $grid.datagrid( "load", { id : record.id } ); } } ); // 确认选择 ...
JavaScript
ksa-web-root/ksa-bd-web/src/main/resources/ui/bd/component/partner-alias-selection.js
xsocket/ksa
apache-2.0
4,461
120
codeparrot/github-code
e462f40026718cc4c2c44e0a9364169f1f5f51143bdf492efe4e8e8e92bb48e5
/* ****************************************************************************** * Copyright 2017 Tourmaline Labs, Inc. All rights reserved. * Confidential & Proprietary - Tourmaline Labs, Inc. ("TLI") * * The party receiving this software directly from TLI (the "Recipient") * may use this software as reasonably ...
Java
app/src/main/java/com/tourmaline/example/activities/MainActivity.java
tourmalinelabs/AndroidTLKitExample
apache-2.0
19,865
466
codeparrot/github-code
b2f598fe7ef349b28e7846d90c92e156752e55b57b71d97276dc5403b87a141e
/* * APDPlat - Application Product Development Platform * Copyright (c) 2013, 杨尚川, yang-shangchuan@qq.com * * This program 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 Foundation, either version 3 of the Licen...
Java
src/main/java/org/apdplat/superword/tools/Pronunciation.java
ysc/superword
apache-2.0
9,699
217
codeparrot/github-code
5b2b6d82792a870f84d18eeaf49f92d8ee664172a29d4edb4fcab1fb7a515040
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
eagle-security/eagle-security-hbase-securitylog/src/main/java/org/apache/eagle/security/hbase/parse/HbaseAuditLogKafkaDeserializer.java
rlugojr/incubator-eagle
apache-2.0
2,222
63
codeparrot/github-code
0925a623ce9ed091e8e696da1d78cdf1ab33c763398958f751baa99d608e9727
// Copyright 2000-2018 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.psi.impl; import com.intellij.codeInsight.AnnotationTargetUtil; import com.intellij.codeInsight.AnnotationUtil; import com.intellij.lang.ASTNode; import com....
Java
java/java-psi-impl/src/com/intellij/psi/impl/PsiImplUtil.java
mdanielwork/intellij-community
apache-2.0
33,484
721
codeparrot/github-code
b1260848fe32081c9a5abaf99eaee6fc2de984b7805d0a9ecc596984887b700d
// Copyright 2014 Open Source Robotics Foundation, 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 appli...
C++
rclcpp/src/rclcpp/type_support.cpp
ros2/rclcpp
apache-2.0
3,465
108
codeparrot/github-code
f82e22a4e0351bbc3af5f8c087677bde805eb73ac3032322b0a9b9d3d2661a41
#include "models/page-api.h" // #include <QtConcurrentRun> #include <QTimer> #include <QtMath> #include <utility> #include "functions.h" #include "image.h" #include "logger.h" #include "models/api/api.h" #include "models/filtering/post-filter.h" #include "models/page.h" #include "models/search-query/search-query.h" #in...
C++
src/lib/src/models/page-api.cpp
Bionus/imgbrd-grabber
apache-2.0
15,704
548
codeparrot/github-code
5b4c011c16501cb112e81c8a3deb2289bc5fe121aabd77e11d839c59a04a3520
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System; using System.Linq; using System.Security.Claims; using IdentityModel; using IdentityServerAspNetIdentity.Data; using IdentitySe...
C#
samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/SeedData.cs
MienDev/IdentityServer4
apache-2.0
5,054
110
codeparrot/github-code
d9f9e4279ff512927b8380931d789bc96fa66a8ff79af94759ce6e4fe8a7e9d2
import {Timestamp} from "../src/IonTimestamp"; import {Decimal} from "../src/IonDecimal"; import {load, Value} from "../src/dom"; // Used as a default filtering predicate in functions below function acceptAnyValue(_: any) : boolean { return true; } // A common collection of JS values that can be reduced to a rele...
TypeScript
test/exampleValues.ts
amzn/ion-js
apache-2.0
3,237
89
codeparrot/github-code
68e583ec76437a2a2b7728aaf996391d7385f508fc8d612ee1c2fa9a489267d7
import sbt._ import org.scalajs.sbtplugin.ScalaJSPlugin.autoImport._ import org.portablescala.sbtplatformdeps.PlatformDepsPlugin.autoImport._ //scalaJs version is set into the plugin.sbt file /** * Application settings. Configure the build for your application here. * You normally don't have to touch the actual ...
Scala
project/Settings.scala
Insubric/box
apache-2.0
7,767
190
codeparrot/github-code
a7286eaa312ecead3ef515a53ddc5f9892adc4e35bd290586632ae74e94a6744
<!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>Megan Balcom's Page...
HTML
infrastructure_intern.html
meganbalcom/meganbalcom.github.io
apache-2.0
8,372
181
codeparrot/github-code
b0efc8c685ab2512b360872d5e90020c6a73f2709e9479f3718dc2a97ef493a1
<?php /** * SugarCLI * * PHP Version 5.3 -> 5.4 * SugarCRM Versions 6.5 - 7.6 * * @author Rémi Sauvat * @author Emmanuel Dyan * @copyright 2005-2015 iNet Process * * @package inetprocess/sugarcrm * * @license Apache License 2.0 * * @link http://www.inetprocess.com */ namespace SugarCli\Console\Command\I...
PHP
src/Console/Command/Inventory/AgentCommand.php
inetprocess/sugarcli
apache-2.0
3,718
114
codeparrot/github-code
08e6683871724664b2571c2363f2ac688d11c8d298607e5241c1ba92d5ec2111
# -*- coding: utf-8 -*- DOCUMENTATION = ''' module: mt_system.py author: - "Valentin Gurmeza" version_added: "2.4" short_description: Manage mikrotik system endpoints requirements: - mt_api description: - manage mikrotik system parameters options: hostname: description: - hotstname of mikrotik router ...
Python
library/mt_system.py
zahodi/ansible-mikrotik
apache-2.0
2,989
126
codeparrot/github-code
c9af5bacbec9c3f08244a01ff59c8c1f8ac606fa10a06b0160e85c4fa9a370e5
/** * 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
tck/src/main/java/org/deephacks/confit/test/validation/BinaryTreeUtils.java
deephacks/confit
apache-2.0
11,067
316
codeparrot/github-code
71fcaf5011ea7c38b4fe0c519c0cdbe63b2e61c12caca560871d30aed1a0f369
// bslmf_nthparameter.t.cpp -*-C++-*- #include <bslmf_nthparameter.h> #include <bslmf_integralconstant.h> #include <bslmf_issame.h> #include <bsls_bsltestutil.h> #include <stdio.h> #include <stdlib.h> #include <bsls_compilerfeatures.h> #if BSLS_COMPILERFEATURES_SIMULATE_C...
C++
groups/bsl/bslmf/bslmf_nthparameter.t.cpp
bloomberg/bde
apache-2.0
13,000
335
codeparrot/github-code
72ff80eff9b638d50a0862612ad24db0bf7d43a144f122779f5a659afac544d4
#!/usr/bin/env python # -*- coding: utf-8 -*- """Simple utility to merge multiple Kerberos keytabs into one. This also cleans out duplicate and old keytab entries. """ import functools import struct # from http://pig.made-it.com/kerberos-etypes.html ETYPES = { 1: 'des-cbc-crc', 2: 'des-cbc-md4', 3: 'des...
Python
ktmerge/ktmerge.py
blaedd/miscutils
apache-2.0
6,839
258
codeparrot/github-code
c13e1c29ea587a8581f26aa74ccc17573529e8568163bc5eab6b3cb2a1a88ece
/* Copyright IBM Corp 2016 All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writ...
GO
finished/chaincode_finished.go
manchunw/learn-chaincode
apache-2.0
35,047
1,007
codeparrot/github-code
d7fbe74aab0f3c9f6675bb77d0fb356edee67f7532c7b7733849c1a94b4bfe9b
// // Cluster.cpp // ginseng // // Created by Daniel Shiposha on 16/03/2018. // #include <ginseng/tefri/abstract/Cluster.h> #include <ginseng/tefri/abstract/Interactor.h> #include <ginseng/tefri/abstract/Source.h> #include <ginseng/tefri/Flow.h> #include <ginseng/tefri/exception/ClusterNotFound.h> #include <ginsen...
C++
src/tefri/abstract/Cluster.cpp
Owldream/Ginseng
apache-2.0
5,808
221
codeparrot/github-code
800715b36c187eea0cb80f48968a751100bac5ebe0e1b2ed81fb02184760f961
<!DOCTYPE html> <html lang="en"> <!-- {{ \Illuminate\Support\Facades\Config::get('custom.html_developer_description') }} --> <head> <meta charset="utf-8" /> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" /> <meta content="" name="description" /> ...
PHP
resources/views/pages/coming-soon.blade.php
vsouto/watchoverme
apache-2.0
6,332
144
codeparrot/github-code
604692d741ca139e882e1a77b3533248a988dc093c7c3447fdabe83d40f67e53
@extends('Main.Boilerplate') @section('htmltag') <html id="browse"> @stop @section('bodytag') <body class="padding nav" data-url="{{ url() }}"> @stop @section('content') <div class="browse container"> <div class="row"> <ol class="breadcrumb breadcrumb-arrow"> <li><a href="{{ url('/') }}">...
PHP
app/views/Titles/Browse.blade.php
liverbool/n.com
apache-2.0
3,528
92
codeparrot/github-code
70628e092be573f1be5e97d7e5af609f418a525cae968ca5e58bd8fcfc036a3b
/* * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * * 1. Definitions. * * "License" shall mean the terms and condition...
Java
app/src/main/java/net/henryco/opalette/application/MainActivity.java
henryco/OPalette
apache-2.0
22,644
546
codeparrot/github-code
4cba6058714805c673f2e6430379b624cd0427f1516f318b3651bf299b7fccea
/* * Copyright 2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
subprojects/core/src/main/java/org/gradle/caching/internal/tasks/TaskOutputCachingBuildCacheKey.java
lsmaira/gradle
apache-2.0
1,067
37
codeparrot/github-code
30fc0563b7ca0e2986e3e8f99d4145d4fc2a792fc93e2fc68527ac7e877885c5
using System; using System.Threading.Tasks; namespace Rabbit.Transport.Simple.Tcp.Server { internal class InternalTcpSocketSaeaServerMessageDispatcherImplementation : ITcpSocketSaeaServerMessageDispatcher { private Func<TcpSocketSaeaSession, byte[], int, int, Task> _onSessionDataReceived; priv...
C#
src/extensions/transports/Rabbit.Transport.Simple/Tcp/Server/InternalTcpSocketSaeaServerMessageDispatcherImplementation.cs
EsonXie/Rpc
apache-2.0
1,664
46
codeparrot/github-code
949ec47a128a53cfcd8694e68ea5194b6dc1226ac04f098a01eef42d49c9358b
package org.collention; import java.text.Collator; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Locale; import java.util.Map; enum Week { } public class CollentionsDemo { public static void main(String[] args) { List<Dog> dogs = new ArrayList<>(); do...
Java
Java_Adv/src/org/collention/CollentionsDemo.java
Liuxyly/Java_Learning
apache-2.0
830
37
codeparrot/github-code
ba28f6c75fcf83703217b0c0cf2f5d2fcffc4005858c7ef8604d7e4abcf7db06
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
TypeScript
src/neuroglancer/sliceview/vector_graphics/base.ts
seung-lab/neuroglancer
apache-2.0
2,419
70
codeparrot/github-code
5a25af1b4464c1145eeb9152e8d79d33507d3a29ea10db6c64daf5fdba9ad853
package tz.gzu.oip.admin.controller; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.Authentication; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transactional; im...
Java
oip-service/src/main/java/tz/gzu/oip/admin/controller/ResourcesController.java
TZClub/OMIPlatform
apache-2.0
4,884
195
codeparrot/github-code
3e74d269192efe69fef63ff913564aba58baf0012bcacd1d2d767432bbf8b725
require "chef/provisioning" require "chef/provisioning/fog_driver/recipe_dsl" require "chef/provisioning/driver" require "chef/provisioning/machine/windows_machine" require "chef/provisioning/machine/unix_machine" require "chef/provisioning/machine_spec" require "chef/provisioning/convergence_strategy/install_msi" req...
Ruby
lib/chef/provisioning/fog_driver/driver.rb
chef/chef-provisioning-fog
apache-2.0
34,351
757
codeparrot/github-code
46f7a27d864e49b9be82571f16b9d664493b2dadfc3401de37f32ab2847fd2ed
package main import ( "encoding/json" "flag" "fmt" "gopkg.in/mgo.v2/bson" "os" "path/filepath" "strings" "time" "github.com/apache/thrift/lib/go/thrift" "github.com/go-kit/kit/log" thriftclient "github.com/banerwai/micros/command/workhistory/client/thrift" "github.com/banerwai/micros/command/workhistory...
GO
command/workhistory/client/main.go
banerwai/micros
apache-2.0
4,118
138
codeparrot/github-code
2498032c10e1400b3dbb7fd1e7a2554d638592f28c2a62de61eb361e369ed775
/* Copyright 2012 Rogier van Dalen. 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, softwa...
C++
include/parse_ll/number/unsigned.hpp
rogiervd/parse_ll
apache-2.0
2,139
74
codeparrot/github-code
5dbb0d6dd52c2ee94c245bbebc8fbb5183abc4fc8ceb2f15750a029716ca5fc1
package org.elasticsearch.common.lucene.search; /* * 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 ...
Java
src/main/java/org/elasticsearch/common/lucene/search/XBooleanFilter.java
Asimov4/elasticsearch
apache-2.0
13,959
377
codeparrot/github-code
5ca224539c6b4795dc1395a8caec7373f69afc93e39682ec93581c7e20c9708b
// // Webble World 3.0 (IntelligentPad system for the web) // // Copyright (c) 2010-2015 Micke Nicander Kuwahara, Giannis Georgalis, Yuzuru Tanaka // in Meme Media R&D Group of Hokkaido University, Japan. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use t...
JavaScript
app/scripts/controllers/groups.js
BogusCurry/wblwrld3
apache-2.0
9,332
334
codeparrot/github-code
d28ded38edff57e7e2a46c7fadfff1f7a7402f29b79fb334985874f1ce543884
package io.leangen.graphql.services; import io.leangen.graphql.annotations.GraphQLArgument; import io.leangen.graphql.annotations.GraphQLComplexity; import io.leangen.graphql.annotations.GraphQLContext; import io.leangen.graphql.annotations.GraphQLId; import io.leangen.graphql.annotations.GraphQLMutation; import io.le...
Java
src/test/java/io/leangen/graphql/services/UserService.java
leangen/GraphQL-SPQR
apache-2.0
5,197
148
codeparrot/github-code
f42302cb0d714889d0bf829f9d4b248d159ca2d64a0fb824f951f8ef73cba8a7
/** * Copyright 2014 SAP AG * * 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...
Java
org.lpe.common.jmeter/src/org/lpe/common/jmeter/JMeterWrapper.java
sopeco/LPE-Common
apache-2.0
7,278
235
codeparrot/github-code
6b924122f73402228d7ba19b6c255bf3332efe5a986b18246eb5b2b97badaa39
/** * @license Apache-2.0 * * Copyright (c) 2022 The Stdlib 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 a...
C++
tools/snippets/benchmark/cpp/boost/benchmark.cpp
stdlib-js/stdlib
apache-2.0
2,966
136
codeparrot/github-code
48e1d7a93808a5a6ed499ac1fb167bd00faeedd4368e0f102eaf8310267fc255
/* ============================================================================ * Project Name : ezbox configuration utilities * File Name : http/admin/http_html_admin_status_lan.c * * Description : interface to configurate ezbox information * * Copyright (C) 2008-2013 by ezbox-project * * History Rev ...
C
osdrv/ezcfg/ezcfg-0.1/libezcfg/src/bak/http/admin/http_html_admin_status_lan.c
zetalabs/hi3520d
apache-2.0
15,825
511
codeparrot/github-code
f750180c06a3618a556c78e370b1560dc50c5ba35863a3da26ec8c30f7c9801f
/* * 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-iam/src/main/java/com/amazonaws/services/identitymanagement/model/transform/ChangePasswordRequestMarshaller.java
jentfoo/aws-sdk-java
apache-2.0
2,157
55
codeparrot/github-code
a1cb6b22806b460eca476aca6a800b8e389459e725bd110d285abf599d65163c
package ru.revdaalex.lsp.chapterI.storage; import ru.revdaalex.lsp.chapterI.food.Food; import ru.revdaalex.lsp.chapterI.interfaces.Storage; import java.util.ArrayList; /** * Warehouse class. * Created by revdaalex on 04.07.2016. */ public class Warehouse implements Storage { /** * ArrayList Warehouse. ...
Java
chapter3/LSP/ChapterI/src/main/java/ru/revdaalex/lsp/chapterI/storage/Warehouse.java
revdaalex/learn_java
apache-2.0
900
42
codeparrot/github-code
fc17b6688438e35683db4e12e441f00d64d4dccb8054cc15cd39f793e0622023
# -*- coding: utf-8 -*- # # Copyright 2012 Institut für Experimentelle Kernphysik - Karlsruher Institut für Technologie # # 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://...
Python
hf/database.py
HappyFaceMonitoring/HappyFace
apache-2.0
1,007
33
codeparrot/github-code
bcf80f7bb2a2bebe81d239ee749eac64b0e8ab3e7102d4b2c859839f9286458f
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
jaas/config/src/main/java/org/apache/karaf/jaas/config/impl/OsgiKeystoreManager.java
tonit/karafonexam2
apache-2.0
4,137
93
codeparrot/github-code
39c618f9555f46b0677a50e96db5d6b7e176a5b894e01479bb8c35c6d8a97c3f
/* * 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
plugins/copyright/src/com/maddyhome/idea/copyright/pattern/VelocityHelper.java
joewalnes/idea-community
apache-2.0
4,033
117
codeparrot/github-code
70b06f4d452646683fe0b59983a60ddc5809611c3aa220284093b23de2d6e302
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
kie-wb-common-stunner/kie-wb-common-stunner-core/kie-wb-common-stunner-commons/kie-wb-common-stunner-client-common/src/test/java/org/kie/workbench/common/stunner/core/client/session/command/impl/ExportToPngSessionCommandTest.java
ederign/kie-wb-common
apache-2.0
3,183
93
codeparrot/github-code
89f30caf9dfe8057ec52636902f07197ddf442396f0d9293ac35a2b43df90d15
/* * Copyright 2013-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
cloudfoundry-client/src/test/java/org/cloudfoundry/client/v3/deployments/GetDeploymentTest.java
alexander071/cf-java-client
apache-2.0
1,037
37
codeparrot/github-code
f6743b8c3f2cf8c7ffa40cf471152f6dbd6db27a585d9734d5fcad95edb92feb
#pragma once #include <libclient/net_cl_exports.h> #include <libdariadb/meas.h> #include <libdariadb/query.h> #include <libdariadb/stat.h> #include <libdariadb/timeutil.h> #include <libdariadb/utils/async/locker.h> #include <common/net_common.h> #include <functional> #include <memory> #include <string> namespace dari...
C
network/libclient/client.h
lysevi/dariadb
apache-2.0
2,596
91
codeparrot/github-code
e236e955e4cb64a557a473524459e01c8152823d8ac4c675d381403f7e5ed326
/* * ==================================================================== * * The Apache Software License, Version 1.1 * * Copyright (c) 2000-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provi...
Java
ecs/src/main/java/org/apache/ecs/vxml/Link.java
jjYBdx4IL/misc
apache-2.0
4,470
154
codeparrot/github-code
029fb62038d7ebf2ced645a79593be5143e8dd9fcd30c93ed1416e79fc9214df
package eu.kandru.luna.util; import lombok.experimental.UtilityClass; import javax.servlet.http.HttpServletRequest; /** * Helper class for logging output. * * @author jko */ @UtilityClass public class LogHelper { /** * Formats a {@link HttpServletRequest} for logging by extracting the important informa...
Java
src/main/java/eu/kandru/luna/util/LogHelper.java
Kandru/ts3luna
apache-2.0
774
32
codeparrot/github-code
089aa5bd2f0d41a8f11368c8219c68a793c100cb6245b0e46344d3ac0aa20d24
// 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 un...
JavaScript
futon/script/test/delayed_commits.js
yssk22/gaecouch
apache-2.0
3,920
126
codeparrot/github-code
920d8e23331a53172cffda0446afaaff9fbb9025f5957fa1eed67ca6e1719d81
#include <SFGUI/Engines/BREW.hpp> #include <SFGUI/Context.hpp> #include <SFGUI/Renderer.hpp> #include <SFGUI/Notebook.hpp> namespace sfg { namespace eng { RenderQueue* BREW::CreateNotebookDrawable( SharedPtr<const Notebook> notebook ) const { sf::Color border_color( GetProperty<sf::Color>( "BorderColor", notebook ) ...
C++
src/include/sfgui/src/SFGUI/Engines/BREW/Notebook.cpp
pierotofy/glassomium
apache-2.0
23,612
600
codeparrot/github-code
77a93bf7a7680ca7cba97f605abe372a8bfc326346ef61a723a523d4807a8924
// Copyright 2007-2009 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
C++
omaha/core/scheduler.cc
google/omaha
apache-2.0
4,607
158
codeparrot/github-code
cec06572c81e079c80c4420328c3d9468dea35eac210dc4b5c5fd705f8200dea
// <copyright file="Driver.cs" company="Automate The Planet Ltd."> // Copyright 2021 Automate The Planet Ltd. // 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/...
C#
dotnet/Design-Architecture-Series/ObserverDesignPatternEventsDelegates/Driver.cs
angelovstanton/AutomateThePlanet
apache-2.0
2,743
86
codeparrot/github-code
e4ed4a174300b324041b265845fc57c292314ae006270396a03491fdefb61ddb
// // Copyright (c) 2014 Limit Point Systems, 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...
C++
fiber_bundles/fiber_spaces/at2_e2.cc
LimitPointSystems/SheafSystem
apache-2.0
34,402
1,866
codeparrot/github-code
5a2eb56ac0d39f68ae0ddb8f3646a2198bfd90e0afb7a464918203a909bd6f87
#!/usr/bin/env python3 # # Copyright (c) 2015-2017 Nest Labs, 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/lic...
Python
src/test-apps/happy/bin/weave-ping.py
openweave/openweave-core
apache-2.0
2,876
103
codeparrot/github-code
a5de13e7be152a8eb05e553dc74a33424a83a17bd5af85857d079adceba1ae68
package com.neko.androidexamples.recycler_view; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; impo...
Java
app/src/main/java/com/neko/androidexamples/recycler_view/RecyclerViewActivity.java
kerveros/Android-examples
apache-2.0
3,893
124
codeparrot/github-code
0f2d390d99116a36a3cd710f6b18a1cce7d516d7e31d4225f67e6826d0508102
using System; using System.Linq; using JetBrains.Application.changes; using JetBrains.Lifetimes; using JetBrains.ProjectModel; using JetBrains.ProjectModel.Tasks; using JetBrains.ReSharper.Plugins.Json.Psi; using JetBrains.ReSharper.Plugins.Json.Psi.Tree; using JetBrains.ReSharper.Plugins.Unity.AsmDef.Psi.Caches; using...
C#
resharper/resharper-unity/src/Unity/AsmDef/Psi/Modules/AsmDefModuleReferenceChangeListener.cs
JetBrains/resharper-unity
apache-2.0
28,817
546
codeparrot/github-code
bde68ae440ec5630e9812ae6014be1e66760cfe36891e05d48a1f3bef2bc2601
// // Copyright 2014, 2015 Razer 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 agree...
C
Archive/Plugins/Source/OSVR/Private/OSVRInterfaceCollection.h
OSVR/OSVR-Unreal
apache-2.0
1,710
67
codeparrot/github-code
769c9702bb76e7eb3d22f5c85346172770c9470e4a5686a63e81aec1e5648443
/* * Copyright 2010-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 "lice...
Java
aws-java-sdk-core/src/main/java/com/amazonaws/metrics/internal/ServiceMetricTypeGuesser.java
jentfoo/aws-sdk-java
apache-2.0
2,121
55
codeparrot/github-code
65c5d9171012e1672cf3fbe2603be454348ba736d314b223d8c40eca04caa307
package org.esupportail.catapp.admin.domain.config; import org.esupportail.commons.mail.CachingEmailSmtpService; import org.esupportail.commons.mail.SimpleSmtpService; import org.esupportail.commons.mail.SmtpService; import org.esupportail.commons.mail.model.SmtpServerData; import org.springframework.beans.factory.ann...
Java
src/main/java/org/esupportail/catapp/admin/domain/config/SmtpConfig.java
EsupPortail/esup-catapp-admin
apache-2.0
2,612
92
codeparrot/github-code
e5d69065cc3765a3d597994b9812074925c89af3809c4c18f997353415343916
/* * 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")...
Java
extensions/entitystore-riak/src/main/java/org/apache/polygene/entitystore/riak/RiakEntityStoreMixin.java
Qi4j/qi4j-sdk
apache-2.0
15,601
386
codeparrot/github-code
4a05714729000443401d8e90d394ac26847230e4b75b134048314ba81f625f99
/* * Copyright (c) 2015 Samsung Electronics Co., Ltd 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 ...
JavaScript
extensions/internal/widget/widget_api.js
sung-su/crosswalk-tizen
apache-2.0
2,433
94
codeparrot/github-code
2f740635bfa04d7fc42ce8bc812dc22bee18034b8e098d2fa2bf228a33f046c9
<!DOCTYPE html> <html class="theme-next mist use-motion" lang="zh-Hans"> <head> <meta charset="UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> <meta name="theme-color" content="#222"> <meta http-eq...
HTML
2017/08/10/Hexo学习和使用/index.html
soaic/soaic.github.io
apache-2.0
24,753
948
codeparrot/github-code
22a59fca34a6cd16522432f09396875a9eb3a355aee68c45ef605dc44cda7178
// Copyright 2005-2006 Ferdinand Prantl <prantl@users.sourceforge.net> // Copyright 2001-2004 The Apache Software Foundation // 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...
Java
src/prantl/ant/eclipse/ClassPathGenerator.java
spidaman/ant-eclipse
apache-2.0
14,121
328
codeparrot/github-code
c54f39c3cfbb5618bd24c582b0673e5e40c95e9b316f4ae9391dd1018c6a7ce5
from sklearn.model_selection import StratifiedKFold from sklearn import tree from sklearn.ensemble import RandomForestClassifier, ExtraTreesClassifier, GradientBoostingClassifier from sklearn.metrics import confusion_matrix from tools import ConfusionMatrixUtils import pydotplus import numpy as np import matplotlib.pyp...
Python
classifier.py
Caparrini/pyGenreClf
apache-2.0
19,503
493
codeparrot/github-code
94ac3bf55d2a95f2da1318bd27b55c3d27cc5ff2cec068a59dc6e509e74cf1d8
# encoding: UTF-8 # # Copyright 2010 Dan Wanek <dan.wanek@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 required by ...
Ruby
lib/winrm/http/transport.rb
ClogenyTechnologies/WinRM
apache-2.0
11,010
295
codeparrot/github-code
8c486e2c1450dbe9313aca2b6c24484fdf956ef3503b6477047b4778cf008930
package org.visallo.web.clientapi.model; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import org.visallo.web.clientapi.VisalloClientApiException; import java.util.Map; @JsonTypeInfo( use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.P...
Java
web/client-api/src/main/java/org/visallo/web/clientapi/model/DirectoryEntity.java
visallo/visallo
apache-2.0
2,694
85
codeparrot/github-code
c75841960ca053e50dbf02b96f2e503da798378e00292c39589ef2bd48749179
/* * 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-ssmincidents/src/main/java/com/amazonaws/services/ssmincidents/model/transform/UpdateIncidentRecordRequestMarshaller.java
aws/aws-sdk-java
apache-2.0
4,460
81
codeparrot/github-code