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 |
|---|---|---|---|---|---|---|---|---|
46b6acf50b567d793e73fd524e793467ad0d9eccf7910c9e83836950b8dfce80 | package io.github.ciscorucinski.personal.intro.hub;
import android.appwidget.AppWidgetManager;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.widget.RemoteViewsService;
public class MyWidgetService extends RemoteViewsService {
static Intent createIntent(Cont... | Java | app/src/hub/java/io/github/ciscorucinski/personal/intro/hub/MyWidgetService.java | ciscorucinski/CapstoneProject | apache-2.0 | 1,025 | 31 | codeparrot/github-code |
e3affd6b5580d7ed485a1f98802d133775deec3eadd960efb65d2d46692e1e4e | /* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | Java | dcm4jboss-all/tags/DCM4CHEE_2_18_4/dcm4jboss-sar/src/java/org/dcm4chex/archive/dcm/storescp/StoreScpService.java | medicayun/medicayundicom | apache-2.0 | 42,601 | 1,176 | codeparrot/github-code |
81cd41002ebb4e249fd768833c529a2e3075ce9a52bca81dc206beda45535a72 | /**
* 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 | pinot-core/src/test/java/org/apache/pinot/util/IntObjectIndexedPriorityQueueTest.java | linkedin/pinot | apache-2.0 | 3,967 | 120 | codeparrot/github-code |
b317c60c671067c478608849b0c4745c0686a0c4d63d58102a894ade7917c4ef | (function (app) {
var core = app.core = app.core||{};
var Size = app.geom.Size,
Points = app.geom.Points,
Rect = app.geom.Rect,
Camera = app.core.Camera,
Keyboard = app.core.Keyboard,
Player = app.display.Player;
var World = core.World = gc.core.EventDispatcher.extend({
objectsList: null,
camera: n... | JavaScript | src/js/app/core/World.js | isacaraujo/mayonmakis | apache-2.0 | 1,568 | 69 | codeparrot/github-code |
2d2f180a264e76d95e9431bd2e853678ddfc5f66932548f39f885e698fd42282 | from __future__ import unicode_literals
# !/usr/bin/env python
# -*- coding: utf-8 -*-
import glob
import os
from tags import tag_finder
import logging
from operator import itemgetter, attrgetter, methodcaller
def path_leaf(path):
"""
It gets the path final leaf
"""
head, tail = os.path.... | Python | parser.py | tex0l/JukeBox | apache-2.0 | 4,608 | 174 | codeparrot/github-code |
93096ef8bdb6a0ef94ea06ec10f660f6467ce4da1acf7380475f8cd6e727146f | /* jQuery Pre loader
-----------------------------------------------*/
$(window).load(function() {
$('.preloader').fadeOut(1000); // set duration in brackets
});
/* Istope Portfolio
-----------------------------------------------*/
jQuery(document).ready(function($) {
if ($('.iso-box-wrapper').length > 0) {
... | JavaScript | js/custom.js | 404minds/website | apache-2.0 | 2,296 | 94 | codeparrot/github-code |
bf24d7cd35e06e57743cb845e3d2680cd860c7728c98775bf649752af595dd0c | /*
Copyright 2014 Workiva, LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... | GO | futures/futures.go | dustinhiatt-wf/go-datastructures | apache-2.0 | 2,799 | 97 | codeparrot/github-code |
0ccc9b9257da5f8a0a8446f7187c6add113846b1d64c8ed957d0788e0ccfd6b6 | package edu.buffalo.fusim;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Random;
import edu.buffalo.fusim.gtf.GTFParseException;
public class ReadThroughGenerator implements FusionGenerator {
private GeneSelector selector;
priv... | Java | src/main/java/edu/buffalo/fusim/ReadThroughGenerator.java | aebruno/fusim | apache-2.0 | 2,838 | 95 | codeparrot/github-code |
d06d29c26d9e04ae03d0f339c1dd4e6315c6eed4e05217c1807de87639c72e56 | using Galiana.EcmAutoLogin.Helpers;
using Sitecore;
using Sitecore.Data.Items;
using Sitecore.Diagnostics;
using Sitecore.Layouts;
using Sitecore.Pipelines.InsertRenderings;
using Sitecore.Web.UI.HtmlControls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.... | C# | ecmautologin/pipelines/insertRenderings/AddAutoLoginNotifyMessage.cs | galiana/ECMAutologin | apache-2.0 | 1,601 | 44 | codeparrot/github-code |
da0505c541ac6f7747d1e6739c5a3c066abfaf75f3618b5087baf9421ab2c699 | /* Copyright 2017 Infor
*
* 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... | JavaScript | src/PicklistService.js | Saleslogix/argos-saleslogix | apache-2.0 | 8,514 | 277 | codeparrot/github-code |
280f150aef247ecbe0eecf2df6c50c887781f3ccdc2fcafb36e89cfa49f01665 | /**
* Copyright (c) 2015-2022, Michael Yang 杨福海 (fuhai999@gmail.com).
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* ... | Java | src/main/java/io/jboot/support/metric/JbootHealthCheckServletContextListener.java | yangfuhai/jboot | apache-2.0 | 1,027 | 30 | codeparrot/github-code |
9621b06576b6ac637b5bc736034dc9c9c43a57c43aa85578f11fbfd8a559a3aa | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | Java | transport/transport-runtime/src/main/java/com/google/android/datatransport/runtime/scheduling/jobscheduling/JobInfoScheduler.java | firebase/firebase-android-sdk | apache-2.0 | 5,594 | 148 | codeparrot/github-code |
1069197ee0999e461c6e58a97929cbfb2fb0375707820fa9139d524c0d05f3e8 | /*
* 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/controller/feature/PictureSizeController.java | fkeglevich/Raw-Dumper | apache-2.0 | 1,847 | 56 | codeparrot/github-code |
b1a09b183027e64965756091ca823f6c18b0af6fd6207d83e813e3f71c4ecb92 | package resources
import (
"sort"
"encoding/json"
"github.com/mitchellh/mapstructure"
)
// AWSServerlessApplication_Location is a helper struct that can hold either a String or ApplicationLocation value
type AWSServerlessApplication_Location struct {
String *string
ApplicationLocation *AWSServerlessApplicatio... | GO | cloudformation/resources/awsserverlessapplication_location.go | PaulMaddox/goformation | apache-2.0 | 1,203 | 67 | codeparrot/github-code |
58515e58fe52a43288015eccccee9b52d1c5eb6474ad1df170f15ef8fd64b2cc | //
// jolson/budd/memory.h
//
// Created by Michael Henderson on 12/1/15.
// Copyright © 2015 Michael Henderson. All rights reserved.
//
// Little Smalltalk
// Written by Tim Budd, budd@cs.orst.edu
// All rights reserved, no guarantees given whatsoever.
// May be freely redistributed if not for profit.
//
... | C | jolson/budd/memory.h | mdhender/jolson | apache-2.0 | 4,326 | 139 | codeparrot/github-code |
d1fb14635823096b38b2ed4f913d0e5b0da21e20c369fb528700e0b9d2379d9e | <?php
/*
* services_dhcpv6_edit.php
*
* part of pfSense (https://www.pfsense.org)
* Copyright (c) 2004-2018 Rubicon Communications, LLC (Netgate)
* Copyright (c) 2010 Seth Mos <seth.mos@dds.nl>
* All rights reserved.
*
* originally based on m0n0wall (http://m0n0.ch/wall)
* Copyright (c) 2003-2004 Manuel Kasper... | PHP | src/usr/local/www/services_dhcpv6_edit.php | ptorsten/pfsense | apache-2.0 | 7,806 | 276 | codeparrot/github-code |
b18166cbeb401d46aac0a85eee3fff45d7fab755c88bdf905f3141820ebe1baf | /*
* Copyright 2018 Johannes Donath <johannesd@torchmind.com>
* and other copyright owners as documented in the project's IP log.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | Java | event/src/main/java/com/torchmind/mango/event/subscription/filter/ConfigurableEventFilter.java | Torchmind/Mango | apache-2.0 | 2,025 | 66 | codeparrot/github-code |
ca3132ef3d779f26ac1d630e8598df84e407bdf22b0eb4be9e74aaefa4f2daf6 | /*
* Copyright 2017 StreamSets 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... | Java | basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/generator/DataGeneratorProcessor.java | rockmkd/datacollector | apache-2.0 | 2,432 | 64 | codeparrot/github-code |
a983a58054152898a1ceae1ab4ed7ae5f1c58ce3d6fdd9de752c5481c71118e8 | """Support for Synology DSM cameras."""
from typing import Dict
from synology_dsm.api.surveillance_station import SynoSurveillanceStation
from homeassistant.components.camera import SUPPORT_STREAM, Camera
from homeassistant.config_entries import ConfigEntry
from homeassistant.helpers.typing import HomeAssistantType
... | Python | homeassistant/components/synology_dsm/camera.py | tchellomello/home-assistant | apache-2.0 | 3,046 | 98 | codeparrot/github-code |
8a5396ee28db2e254b9ece425c9ed8368e2e0096779ee4444c246f05d28662cf | using System;
using System.ComponentModel;
using System.ComponentModel.Composition;
using System.Linq;
using EnvDTE;
using Microsoft.VisualStudio.Shell;
using NuPattern;
using NuPattern.Diagnostics;
using NuPattern.Runtime.Events;
using NuPattern.VisualStudio.Solution;
namespace VisitorPattern.Automation.Events
{
... | C# | VisitorPattern.Automation/Events/ProjectChanged.cs | ericschultz/visitor-pattern | apache-2.0 | 3,158 | 96 | codeparrot/github-code |
089210319c559fd7dd22f756bceff1c2977f8c1ae6bf8de190ecdff1a577d3f5 | /*
* 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 | okhttp/src/main/java/okhttp3/internal/tls/DistinguishedNameParser.java | teffy/okhttp | apache-2.0 | 11,389 | 408 | codeparrot/github-code |
bf8f73e29582d7f0b91200736c09bd3e9912b49d85259ddc0fb1e2ccf7fa9e76 | /* ========================================================================
* Calcite Maps: query.js v0.1 (dojo)
* ========================================================================
* Query data from arcgis server services. Test.
*
* ======================================================================== */... | JavaScript | static/js/query.js | xzdbd/squeak | apache-2.0 | 6,549 | 190 | codeparrot/github-code |
3b262273f2b82af811f3e428eacdee8ed77e142ee1149f6e2121a41f3da10dcb | /*
* Copyright (C) 2009-2017 Lightbend Inc. <https://www.lightbend.com>
*/
import sbt._
import Keys._
import buildinfo.BuildInfo
object Dependencies {
val akkaVersion = "2.5.0-RC2"
val akkaHttpVersion = "10.0.5"
val playJsonVersion = "2.6.0-M6"
val logback = "ch.qos.logback" % "logback-classic" % "1.2.2"
... | Scala | framework/project/Dependencies.scala | aradchykov/playframework | apache-2.0 | 9,906 | 292 | codeparrot/github-code |
292e1ffe86539413bd9873c5d0dd642ee05f3decebce452ac0cf8a2683d0e114 | /*
Kippt.NET Library for consuming Kippt APIs.
Copyright (C) 2012-2013 Haythem Tlili
Library : https://github.com/Haythem/Kippt.NET
Documentation : http://haythem.github.com/Kippt.NET/
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except... | C# | Source/Kippt.Controls/KipptButton.cs | Haythem/Kippt.NET | apache-2.0 | 3,428 | 107 | codeparrot/github-code |
a497d8ed6bf83ce4eb3618b949b8edd9e90b7848140abf0e22c4eac7ad78aba8 | /*
* 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/main/java/org/elasticsearch/percolator/PercolateContext.java | LogInsight/elasticsearch | apache-2.0 | 21,606 | 776 | codeparrot/github-code |
2e86bb6a7cd6fd3edebe5bbb81166a528af6666b80b8ff81e285864a2ca69c07 | /*
* Copyright 2002-2007 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 | test/org/springframework/transaction/jta/WebSphereUowTransactionManagerTests.java | mattxia/spring-2.5-analysis | apache-2.0 | 28,539 | 630 | codeparrot/github-code |
fdc61233e90c295eb6a5deb5db38986d04e498d0b514533e268f6b83badb9815 | <?php require_once('Connections/local.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
}
$theValue =... | PHP | htdocs/Eliminar-cliente.php | mauricioSofa/AdministratosBusiness | apache-2.0 | 3,149 | 101 | codeparrot/github-code |
10593ace88f7ceeffe0f9e8d92748d1a2de6f56595f384a4ac53e8befed4109c | """
A wrap python class of 'pbsnodes -N "note" node' command
The purpose of this class is to provide a simple API
to write some attribute and its value pairs to note attribute of cluster nodes.
"""
from __future__ import print_function
from sh import ssh
from ast import literal_eval
from types import *
from copy import... | Python | cloudmesh/pbs/pbs_note.py | rajpushkar83/cloudmesh | apache-2.0 | 4,485 | 129 | codeparrot/github-code |
25a428fc61ff9beaca73302c618257401267d714838a1c314ed2cdc6396fb060 | <?php
namespace Topxia\Service\Announcement\Impl;
use Topxia\Common\ArrayToolkit;
use Topxia\Service\Common\BaseService;
use Topxia\Service\Announcement\AnnouncementService;
class AnnouncementServiceImpl extends BaseService implements AnnouncementService
{
public function getAnnouncement($id)
{
return... | PHP | src/Topxia/Service/Announcement/Impl/AnnouncementServiceImpl.php | 18826252059/im | apache-2.0 | 4,770 | 139 | codeparrot/github-code |
76b87209f6b9f13df48adfbddb1fabde2abe29fbbfeb18505aeb79aa9e246bb2 | package com.alsash.reciper.app.lib;
/**
* Simple mutable Long class
*/
public class MutableLong {
protected long value = 0;
public MutableLong() {
}
public MutableLong(long value) {
this.value = value;
}
public synchronized long get() {
return value;
}
public synch... | Java | app/src/main/java/com/alsash/reciper/app/lib/MutableLong.java | alsash/reciper | apache-2.0 | 741 | 38 | codeparrot/github-code |
9d73af923ea1fd2d75788f07b55a059f131b70a40ba3fec355c0cd5395cddcc5 | /*
* Copyright 2009 The Closure Compiler 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... | Java | src/com/google/javascript/jscomp/PureFunctionIdentifier.java | knutwalker/google-closure-compiler | apache-2.0 | 36,081 | 1,103 | codeparrot/github-code |
bcad1a9c23d8888200d683b626d911bd325f190cbb885095d2211ee5fd6b3a5c | # Copyright 2017 Huawei Technologies 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
#
# Unl... | Python | cyborg/common/exception.py | openstack/nomad | apache-2.0 | 10,839 | 370 | codeparrot/github-code |
20235e12b7cfb3891e04ab38edf823137e47bdcef3d59c6e1bacb60b0ddb0682 | # ====================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless re... | Python | samples/LuceneInAction/lia/advsearching/BooksLikeThis.py | romanchyla/pylucene-trunk | apache-2.0 | 3,039 | 90 | codeparrot/github-code |
2435539a7bd5c6a30fa4d49d48560f717ff259ba5c0203d0f8f8921926441dac | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
namespace CS.Validation
{
/// <summary>
/// 验证,核查参数合法性
/// </summary>
public class Validator
{
readonly List<ValidPack> _dic;
/// <summary>
///
/// </summary>
... | C# | sources/CSHive/Validation/Validator.cs | CSStudio/CSHive | apache-2.0 | 3,408 | 116 | codeparrot/github-code |
54abacd04e996a71d83b749973345b74b77abb7f5934f527e6aad2cfc79228ca | package com.conger.test.r3;
import java.util.ArrayList;
public class CloneTest implements Cloneable
{
private String status;
private Test ttt;
private TestTest sss;
private TestTest[] sa;
private Test[] ta;
private static final TestTest[] PRIVATE_VALUES =
{ new TestTest() };
... | Java | src/main/java/com/conger/test/r3/CloneTest.java | hellojinjie/try | apache-2.0 | 1,812 | 81 | codeparrot/github-code |
fd5752a9de24e6ec25908d48999ed99e4f04750c9a253c730e2b6254fa4a023f | /*
Copyright 2013 Nationale-Nederlanden
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... | Java | JavaSource/nl/nn/adapterframework/errormessageformatters/Y01ErrorMessageFormatter.java | smhoekstra/iaf | apache-2.0 | 2,399 | 64 | codeparrot/github-code |
7f6b3bba07ae43eb71e92a05e92423447c9e0b6ca69fb15bd5caa4dde86f7a8b | package eu.uqasar.web.pages.adapterdata;
/*
* #%L
* U-QASAR
* %%
* Copyright (C) 2012 - 2015 U-QASAR Consortium
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://... | Java | src/main/java/eu/uqasar/web/pages/adapterdata/CubeAnalysisDataManagementEditPage.java | U-QASAR/u-qasar.platform | apache-2.0 | 9,058 | 275 | codeparrot/github-code |
71cc30b4e9a21d116ef2ec16c7a5af554b8a218fc6ce21bccb429cd81535c4e7 | package com.example.android.sunshine.app;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.ColorMatrix;
import android.graphics.ColorMatrixColorFilter;
import android.graphics.Paint;
import android.net.Uri;
import android.util.Log;
import com.example.sunhine.lib.DataLayer;
impor... | Java | wear/src/main/java/com/example/android/sunshine/app/Utils.java | nbmaltais/P6-Sunshine | apache-2.0 | 6,254 | 144 | codeparrot/github-code |
e95a76d3de88dadbcf326866ad1a11160d2a166a166f7f8bdea8524409a0d547 | # ******************************************************************************
# Copyright 2014-2018 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.apa... | Python | examples/video-c3d/network.py | NervanaSystems/neon | apache-2.0 | 2,289 | 50 | codeparrot/github-code |
56df3c539f98cbef54eda704b21bb9fb156035ef1fb215261f7b6fa4597b0fc9 | package com.bdl.config.annotation.processor;
import com.google.common.base.Function;
import com.google.common.base.Joiner;
import com.google.common.base.Optional;
import com.google.common.base.Throwables;
import com.google.common.collect.FluentIterable;
import com.google.common.collect.ImmutableSet;
import com.google.... | Java | annotation_processor_dagger/src/main/java/com/bdl/config/annotation/processor/DaggerModuleFileWriterVisitor.java | bdleitner/bdl-configs | apache-2.0 | 8,345 | 222 | codeparrot/github-code |
6ac38331a262c1db600d3c6d793febab81caf2f83685703589cc08488a739efb | package com.github.jengo.java.program.design10;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import java.awt.GridLayout;
public class TestImageIcon extends JFrame {
private ImageIcon usIcon = new ImageIcon("image/us.gif");
private Im... | Java | src/main/java/com/github/jengo/java/program/design10/TestImageIcon.java | jengowong/java_program_design_10 | apache-2.0 | 1,090 | 33 | codeparrot/github-code |
a58a8eb4a53744c5b34aad4500f2a077f81fcdf236a4731b4cbb6cab215ab66d | /**
* 对公众平台发送给公众账号的消息加解密示例代码.
*
* @copyright Copyright (c) 1998-2014 Tencent Inc.
*/
// ------------------------------------------------------------------------
package com.prvalue.wechat.encryption;
import java.io.StringReader;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderF... | Java | src/main/java/com/prvalue/wechat/encryption/XMLParse.java | PRVALUE/wechat-spring-mvc | apache-2.0 | 1,960 | 73 | codeparrot/github-code |
555283ed42987a38c002db8d78892ca5ed72d2a38484531f0518a6f596b41988 | /*
** Copyright 2014-2015 Centreon
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed t... | C++ | test/helgrind.cc | centreon/centreon-broker | apache-2.0 | 3,722 | 126 | codeparrot/github-code |
881dac7fef966fa7dcadd5edf0fcee3ce3a4ff238e5afa00570e1abea2b5419a | #!/usr/bin/env python
# ___ ___ _ _ ___ ___ _ _____ ___ ___
# / __| __| \| | __| _ \ /_\_ _| __| \
# | (_ | _|| .` | _|| / / _ \| | | _|| |) |
# \___|___|_|\_|___|_|_\/_/_\_\_|_|___|___/_ _____
# | \ / _ \ | \| |/ _ \_ _| | __| \_ _|_ _|
# | |) | (_) | | .` | (_) || | | _|| |) | | ... | Python | ansible/roles/lib_git/library/git_rebase.py | joelsmith/openshift-tools | apache-2.0 | 15,173 | 486 | codeparrot/github-code |
941104c744639c0150bb4ad9337f3ac2dc1b9ad48846a5ab14125d9909c7e9a4 | # -*- coding:utf-8 -*-
import sys
from datetime import datetime
from django.template.loader import get_template
from django.shortcuts import render,redirect
from django.http import HttpResponse
from .models import Post
reload(sys)
sys.setdefaultencoding('utf-8')
# Create your views here.
def homepage(request):
te... | Python | mainsite/views.py | LouisLinY/mblog | apache-2.0 | 1,203 | 44 | codeparrot/github-code |
c16e9e7aae78a06c9b9880205694feaff9905454110ae90407f52969dc6e5dda | #include <mfc/listctrl.h>
#include <mfc/general.h>
#include <util/string.h>
/////////////////////////////////////////////////////////////////////////////
BEGIN_MESSAGE_MAP(CListItemEdit, CEdit)
ON_WM_CHAR()
ON_WM_KEYUP()
ON_WM_KILLFOCUS()
ON_WM_WINDOWPOSCHANGING()
END_MESSAGE_MAP()
/*------------------------... | C++ | chest/windows/mfc/src/main/cpp/mfcutl/listctrl/itemEdit.cpp | lgoldstein/communitychest | apache-2.0 | 5,983 | 245 | codeparrot/github-code |
58df9b73cb6c5139095a1b6760ff8469841d79bacbeab68e41c52a4049f5d08f | using System.IO;
using System.Collections.Generic;
namespace MO.Common.IO
{
public class FFileInfo
{
private FileInfo _info;
//============================================================
public FFileInfo(string filename) {
_info = new FileInfo(filename);
}
//============... | C# | Tools/1 - Common/MoCommon/IO/FFileInfo.cs | favedit/MoCross | apache-2.0 | 1,217 | 47 | codeparrot/github-code |
b7eb6bb677e9536db3643be821d3a7fc8d3da1e81b4decdc256e086be646f951 | package org.plantuml.idea.lang.injection;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiReference;
import com.intellij.psi.javadoc.JavadocTagInfo;
import com.intellij.psi.javadoc.PsiDocTagValue;
import com.intellij.util.ArrayUtil;
import org.jetbrains.annotations.Nullable;
/**
* @author Max Gorbunov... | Java | src/org/plantuml/idea/lang/injection/SimpleTagInfo.java | WalterShe/plantuml4idea | apache-2.0 | 1,130 | 52 | codeparrot/github-code |
74a2ba58034182d2373d16e1ccbc2d571450580f398ca263500564e9ae6d2feb | // 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.jetbrains.python.debugger;
import com.google.common.base.Strings;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.intellij.e... | Java | python/src/com/jetbrains/python/debugger/PyDebugProcess.java | msebire/intellij-community | apache-2.0 | 44,164 | 1,252 | codeparrot/github-code |
faacb32c475e03714ecd04ba15630151ff396fa42041eb88aecae2f78a807876 | /*
* 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-mediatailor/src/main/java/com/amazonaws/services/mediatailor/model/transform/StopChannelRequestProtocolMarshaller.java | aws/aws-sdk-java | apache-2.0 | 2,611 | 63 | codeparrot/github-code |
3790521209e44eda884c44e518c4815b165fad6999a0215661e5ef7574ea8fdf | package com.koitoer.jax.rs.ebook.client;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import org.junit.Test;
import com.sun.jersey.api.client.Client;
import com.sun.jersey.api.client.WebResource;
public class ... | Java | jax-rs/src/test/java/com/koitoer/jax/rs/ebook/client/AdditionServiceClient.java | koitoer/Web-Services | apache-2.0 | 2,082 | 70 | codeparrot/github-code |
f633a26dbf10cca1683c986f547a47ef64dca08d5a2c11a8887225e5409c7c06 | # Copyright 2017-2018 The dm_control Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... | Python | dm_control/_render/executor/render_executor.py | deepmind/dm_control | apache-2.0 | 6,153 | 217 | codeparrot/github-code |
239d5e87f76f7648805115e010f6cc82ce4bec70f2ab7fbc13bf4e677396c411 | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_ValueType3507792607.h"
// System.Array
struct Il2CppArray;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-of... | C | Unity_Code/DinoRun_Final/Temp/il2cppOutput/il2cppOutput/mscorlib_System_Array_InternalEnumerator_1_gen337944105.h | BPenzar/SuperDinoBros. | apache-2.0 | 1,449 | 58 | codeparrot/github-code |
138105fdd22cb99a3b43c7a2a81cd904151f9961f2f6e6eb770aa59a40dc810a | package it.geosolutions.jaiext.jiffle.runtime;
import java.util.List;
import java.util.ArrayList;
import java.util.Arrays;
public class JiffleDirectRuntimeImpl extends it.geosolutions.jaiext.jiffle.runtime.AbstractDirectRuntime {
SourceImage s_src;
DestinationImage d_dst;
public JiffleDirectRuntimeImpl()... | Java | jt-jiffle/jt-jiffle-language/src/test/resources/reference/copyBands-DIRECT.java | geosolutions-it/jai-ext | apache-2.0 | 1,029 | 37 | codeparrot/github-code |
b86abcdb1cfeb39c2d0b2ee2912b995d2c32d3a21b192b0ba3094903df7b517a | package org.market.tool.view.xlist;
import org.market.tool.R;
import android.content.Context;
import android.text.format.Time;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewTreeObserver.OnGlobalLayoutListener;
import android.view.animation.Deceler... | Java | src/org/market/tool/view/xlist/XListView.java | markettool/branch1.1 | apache-2.0 | 10,378 | 377 | codeparrot/github-code |
094bff1406d51aa35aec6a79d18dc6b0c7035d21581dafd72a2f559f241ca88e | /*
* 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... | JavaScript | ui/app/project/project-controllers.js | pgier/pnc | apache-2.0 | 5,343 | 198 | codeparrot/github-code |
7cc847c8f824f9d7b81fd564f645b2868c71ae33639603140f3d61d34be02f46 | #!/usr/bin/env python
# vim:fileencoding=utf-8
# License: Apache 2.0 Copyright: 2017, Kovid Goyal <kovid at kovidgoyal.net>
from __future__ import absolute_import, division, print_function, unicode_literals
import codecs
import os
import re
import subprocess
import unittest
from html5_parser import check_bom, check_... | Python | test/html5lib_adapter.py | kovidgoyal/html5-parser | apache-2.0 | 10,101 | 266 | codeparrot/github-code |
098d468d2e61a52b36452a1099b720001ad1c4e946f9d95e9f18ac67d24b53ef | package com.github.chaparqanatoos.kaggle.knowledge.amazon;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.Reader;
import java.io.Writer;
import java.util.Scanner;
public class DataSplitter {
pu... | Java | src/main/java/com/github/chaparqanatoos/kaggle/knowledge/amazon/DataSplitter.java | Chaparqanatoos/kaggle-knowledge | apache-2.0 | 2,258 | 91 | codeparrot/github-code |
6a225904625e8ef383eef79d5c34476a97ad2f371c05506d73b967603e001cc2 | package uk.ac.ncl.openlab.intake24.foodsql.test
import org.scalatest.FunSuite
import org.scalatest.DoNotDiscover
import uk.ac.ncl.openlab.intake24.AsServedImageV1
import uk.ac.ncl.openlab.intake24.AsServedSetV1
import uk.ac.ncl.openlab.intake24.services.fooddb.admin.AssociatedFoodsAdminService
import org.scalatest.B... | Scala | FoodDataSQL/src/test/scala/uk/ac/ncl/openlab/intake24/foodsql/test/FoodBrowsingAdminSuite.scala | digitalinteraction/intake24 | apache-2.0 | 9,379 | 233 | codeparrot/github-code |
fab1b7ceddd522a6a156f189a6c3d8d6fcd4e22f2b9e2eeac4c35a316b6258b5 | package com.github.sawied.microservice.oauth2.client.config;
import javax.servlet.http.HttpServletRequest;
import org.springframework.security.core.Authentication;
import org.springframework.security.oauth2.provider.authentication.BearerTokenExtractor;
import org.springframework.security.oauth2.provider.authenticatio... | Java | microservice-client/src/main/java/com/github/sawied/microservice/oauth2/client/config/Oauth2PreAuthenticationProcessingFilter.java | sawied/swp | apache-2.0 | 1,022 | 35 | codeparrot/github-code |
ade6500eee33883fbda6841524b9a5d1f09463cc8d096814efbc00aebb8e47a5 | # -----------------------------------------------------------------------------
#
# Package : github.com/json-iterator/go
# Version : v1.1.9
# Source repo : https://github.com/json-iterator/go
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automation <sethp@... | Shell | g/github.com__json-iterator__go/github.com__json-iterator__go_rhel_8.3.sh | ppc64le/build-scripts | apache-2.0 | 5,065 | 125 | codeparrot/github-code |
6a998de7c4ab5ae38b9e7b2229de61d8fecf0e900e931fbc6309273df518a9e2 | /*
* Copyright 2011 Edmunds.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 law or agre... | Java | etm-url-token-tool/src/main/java/com/edmunds/etm/tools/urltoken/util/OutputWriter.java | edmunds/etm-core | apache-2.0 | 2,419 | 77 | codeparrot/github-code |
05e1d8df4618e3b6b6592f5601c0780ae0943fb5e8b7765ea3d4fa0d849d13f5 | <!-- Navigation -->
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" ... | HTML | _includes/header.html | PlugAndTrade/plugandtrade.github.io | apache-2.0 | 2,471 | 58 | codeparrot/github-code |
4f3807c58e0fab3fa68877ea52c0c7de6d554dfa33e4d183d033401d9410e15f | package com.pddstudio.otgsubs.views;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.pddstudio.otgsubs.R;
import com.pddstudio.substratum.template.patcher.... | Java | app/src/main/java/com/pddstudio/otgsubs/views/TemplateItemView.java | PDDStudio/OTGSubs | apache-2.0 | 2,013 | 64 | codeparrot/github-code |
97685610d6a1831dcff537c9cc41bbe56d89883f0b95ef9b55c17b77ec20b30d | /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | C++ | tensorflow/core/kernels/data/model_dataset_op.cc | AnishShah/tensorflow | apache-2.0 | 4,359 | 128 | codeparrot/github-code |
5e9bd10b2cdcad0e8a2f58b036556dc9fa0f8570e2686067a15c1c0de40b69e8 | #include <Jam/Entities/Prompter.hpp>
#include <SFML/Graphics/RenderTarget.hpp>
#include <Jam/Instance.hpp>
sf::Keyboard::Key getRandomKey() {
static const jam::Randomizer rand;
const sf::Keyboard::Key keys[] = {
sf::Keyboard::Left,
sf::Keyboard::Right,
sf::Keyboard::Up,
sf::Keyboard::Down,
};
... | C++ | src/Entities/Prompter.cpp | DrJonki/KAMK-Summer-Jam-2017 | apache-2.0 | 4,859 | 204 | codeparrot/github-code |
02f72ebc3ec59e55a9dd263454cfc353048b34f53f9c7da2e7dcfe212562e19e | import { actions as pactions } from '../../pocketradius'
import * as actions from '../actions'
import { IDispatchProps, IOwnProps } from '../components/PharmacophoreList'
import { IDispatch, mapDispatchToProps } from './PharmacophoreList'
describe('connected <PharmacophoreList/>', () => {
describe('mapDispatchToProp... | TypeScript | src/pharmacophores/containers/PharmacophoreList.spec.ts | 3D-e-Chem/molviewer-tsx | apache-2.0 | 3,107 | 104 | codeparrot/github-code |
07d9b4695567e0345f81ea477f3205cfc0f4ff0f5b219deef2a54af059354bdb | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Java | client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/tree/TreeRolePanel.java | massx1/syncope | apache-2.0 | 4,905 | 122 | codeparrot/github-code |
09b5ece07213b3dabb4ae82faeab7cbe3fab6db9c69d4323e7dfdf8a9d52c80b | /*
* Copyright 2015 Codigo Fantasma.
*
* 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 | src/main/java/com/hbv/ciea/dto/ProveedorDTO.java | barrantesgerman/ciea | apache-2.0 | 1,781 | 69 | codeparrot/github-code |
dfa83e75e21af7892b4e454e62b58daf5ea87177e98bb9abb036f5406b6f851c | /*
* Licensed to ElasticSearch and Shay Banon 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... | Java | elasticsearch-client-search/src/main/java/org/elasticsearch/index/query/IdsQueryBuilder.java | jprante/elasticsearch-client | apache-2.0 | 2,842 | 94 | codeparrot/github-code |
df83547b7b0e10db4af03b56229ce9d6f019eeff2896812092723b526581d689 | // Copyright © 2016-2019 Andy Goryachev <andy@goryachev.com>
package goryachev.fx;
import java.util.Collection;
import javafx.beans.property.ReadOnlyObjectProperty;
import javafx.collections.ObservableList;
import javafx.scene.control.ComboBox;
/**
* Slightly improved ComboBox.
*/
public class FxComboBox... | Java | src/goryachev/fx/FxComboBox.java | andy-goryachev/ReqTraq | apache-2.0 | 1,386 | 88 | codeparrot/github-code |
2fcc4b6b3e798039d8790a3066f70665f2a0d5e474c8889a7d3ca0af8c37fb59 | /*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java | guava/src/com/google/common/primitives/UnsignedBytes.java | tli2/guava | apache-2.0 | 16,280 | 446 | codeparrot/github-code |
06bfe113484cdf79161ea6d14fca8dd10642ad1da536e0c5236cdea4b5965148 | /* Copyright© 2000 - 2022 SuperMap Software Co.Ltd. All rights reserved.
* This program are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/
import {SuperMap} from '../SuperMap';
import {U... | JavaScript | src/common/iServer/DensityAnalystService.js | SuperMap/iClient9 | apache-2.0 | 3,035 | 85 | codeparrot/github-code |
7b5032c98582ba15cdcc89705957af960500dc64ed5b490a2b614bd3c3334325 | package org.projectodd.jrapidoc.model.object.type;
import com.fasterxml.jackson.annotation.JsonIgnore;
public class CollectionTypeJrapidoc extends org.projectodd.jrapidoc.model.object.type.Type {
@JsonIgnore
private String includeType;
private String includeTypeRef;
public CollectionTypeJrapido... | Java | jrapidoc-model/src/main/java/org/projectodd/jrapidoc/model/object/type/CollectionTypeJrapidoc.java | projectodd/jrapidoc | apache-2.0 | 1,517 | 56 | codeparrot/github-code |
ca41a3275a38cc40c62f464644ae8962628e32c0f3018df8446e34ae21802b4c | /*******************************************************************************
* Copyright 2017 Capital One Services, LLC and Bitwise, 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... | Java | hydrograph.ui/hydrograph.ui.graph/src/main/java/hydrograph/ui/graph/policy/ComponentSelectionPolicy.java | capitalone/Hydrograph | apache-2.0 | 2,049 | 74 | codeparrot/github-code |
ce9bb561f8ac56ea12b24fec69db355badb5ad21325f24afbb8000f49d31909e | //===--- ASTScope.cpp - Swift AST Scope -----------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | C++ | lib/AST/ASTScope.cpp | tardieu/swift | apache-2.0 | 73,631 | 2,219 | codeparrot/github-code |
1c3d54aa9cdbd77a3fe0b72b5e361ed8fbb184e623dbc939be69867b0ad7edb1 | package com.framework.util;
import android.app.Activity;
import android.content.Context;
import android.util.Log;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
import android.widget.EditText;
public class KeyboardUtils {
/**
* 动态隐藏软键盘
*/
public static void hideSoftI... | Java | framework/src/main/java/com/framework/util/KeyboardUtils.java | Love667767/VideoOnDemand | apache-2.0 | 4,127 | 123 | codeparrot/github-code |
75d2a4923c805cf8189359ac2cdd2ad96ec985a633e6cb35e192701b21ae6dac | /**
*
*/
package com.hutong.supersdk.sdk.utils.aiyouxi;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpConnectionManager;
import org.apache.commons.httpclient.MultiThreadedHttpConnectionManager;
import org.apache.commons.httpclient.protocol.Protocol;
import org.apache.comm... | Java | com.hutong.supersdk/src/main/java/com/hutong/supersdk/sdk/utils/aiyouxi/HttpClientFactory.java | bigshiliu/test | apache-2.0 | 2,457 | 86 | codeparrot/github-code |
ac35950ff8e806cfcfc7466eef445d66bcd50815363523ff8b965dbc3d40aaeb | /*
* Copyright 2014 Guidewire Software, Inc.
*/
package gw.internal.gosu.parser;
import gw.config.CommonServices;
import gw.config.ExecutionMode;
import gw.fs.IFile;
import gw.internal.gosu.annotations.AnnotationMap;
import gw.lang.StrictGenerics;
import gw.lang.parser.TypeVarToTypeMap;
import gw.lang.parser.coerce... | Java | gosu-core/src/main/java/gw/internal/gosu/parser/JavaType.java | gosu-lang/gosu-lang | apache-2.0 | 43,063 | 1,500 | codeparrot/github-code |
4e61956473a1cc75d19d949edceb2252fbdccc33b6e99c64e6060499b9a362e7 | require 'etcd'
Puppet::Type.type(:key_value_config).provide(:etcd) do
confine feature: :etcd
mk_resource_methods
def initialize(*args)
opts = {
host: ENV['ETCD_HOST'],
port: ENV['ETCD_PORT'],
username: ENV['ETCD_USERNAME'],
password: ENV['ETCD_PASSWORD'],
}
final_opts = opts.... | Ruby | lib/puppet/provider/key_value_config/etcd.rb | garethr/garethr-key_value_config | apache-2.0 | 761 | 34 | codeparrot/github-code |
2984aa8825ba7eaf15c4d3df12083c8fec7ad0bfde9d923a203e96883f8ab4c6 | //--------------------------------------------------------------------------------------
// File: ScreenGrab.cpp
//
// Function for capturing a 2D texture and saving it to a file (aka a 'screenshot'
// when used on a Direct3D 11 Render Target).
//
// Note these functions are useful as a light-weight runtime screen grab... | C++ | GraduApp/DirectXTK/Src/ScreenGrab.cpp | stompuri/GraduApp | apache-2.0 | 32,354 | 870 | codeparrot/github-code |
3af8b0be7f7f269fd32080a1d1e4a0e489f2b2584b4b2e9feae4b5bd47f04756 | /* -------------------------------------------------------------------------- */
/* Copyright 2002-2017, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... | JavaScript | src/sunstone/public/app/tabs/secgroups-tab.js | abelCoronado93/one | apache-2.0 | 2,498 | 66 | codeparrot/github-code |
84a0144cd7bbd0dbe304b790f40089540a6831d7707931e48411f826b0417e46 | PROJECT_NAME := ant_scalable_encrypted_tx_s210_n5_starterkit
export OUTPUT_FILENAME
#MAKEFILE_NAME := $(CURDIR)/$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
MAKEFILE_NAME := $(MAKEFILE_LIST)
MAKEFILE_DIR := $(dir $(MAKEFILE_NAME) )
TEMPLATE_PATH = ../../../../../../components/toolchain/gcc
ifeq ($(OS),Windows_... | Makefile | sw/nRF51_SDK_10.0.0_dc26b5e/examples/ant/ant_scalable_encrypted/scalable_encrypted_tx/n5_starterkit/armgcc/Makefile | kevin-ledinh/banana-tree | apache-2.0 | 8,650 | 217 | codeparrot/github-code |
5511953e056c6aa0b0a7d60318db4ef9f3d5cc940aae8a45ae767e354b168aa3 | /*
* 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-securityhub/src/main/java/com/amazonaws/services/securityhub/model/transform/SensitiveDataResultJsonUnmarshaller.java | aws/aws-sdk-java | apache-2.0 | 3,367 | 85 | codeparrot/github-code |
5606c4e9b6d73ab08b90fb4c3cc694f5582991e310ea3991709563a89fd124c5 | /*
* 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-sns/src/main/java/com/amazonaws/services/sns/model/transform/OptInPhoneNumberResultStaxUnmarshaller.java | aws/aws-sdk-java | apache-2.0 | 2,239 | 62 | codeparrot/github-code |
0832269da47a8ff10630db78b69b76ceb8aedbdb02621076d12e77ae4d23a1fd | /**
* Copyright (C) 2010-2013 Alibaba Group Holding Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | Java | rocketmq-store/src/main/java/com/alibaba/rocketmq/store/CommitLog.java | diwayou/rocketmq-all-trans | apache-2.0 | 42,526 | 1,157 | codeparrot/github-code |
c3819fd66cbc883386c627ee3a271b2460e10e75a805beee06a8d35a1962298f | /*
* Copyright 2015 herd contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | Java | herd-code/herd-service/src/main/java/org/finra/herd/service/impl/JobDefinitionServiceImpl.java | kusid/herd | apache-2.0 | 20,894 | 456 | codeparrot/github-code |
6e27b0ff12429b79f654afce7bf5de1b02a8877a2189fc0ccfb132b02cdbcb16 | package allow.simulator.flow.activity.taxi;
import java.time.Duration;
import java.time.LocalTime;
import allow.simulator.entity.Taxi;
import allow.simulator.flow.activity.Activity;
import allow.simulator.flow.activity.ActivityType;
import allow.simulator.mobility.data.TaxiStop;
public class PickupOrDrop extends Act... | Java | Simulator/src/allow/simulator/flow/activity/taxi/PickupOrDrop.java | poxrucker/collaborative-learning-simulation | apache-2.0 | 1,385 | 52 | codeparrot/github-code |
691bc428c0b04d482c73a0fd1281f03cd912be5429d8375e85ebed38927f8632 | /**
* @fileOverview This module provides response helper functions for composing
* JSGI response objects. For more flexibility the `JsgiResponse` is chainable.
*/
const fs = require("fs");
const {parseRange, canonicalRanges} = require("ringo/utils/http");
const {mimeType} = require("ringo/mime");
const io = require... | JavaScript | modules/ringo/jsgi/response.js | ringo/ringojs | apache-2.0 | 26,408 | 789 | codeparrot/github-code |
f4c8e0e343a81150eae87e41235703f80758a736d44e8e3951551b189af29322 | /*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this f... | Java | SRC/EstimateMutationRateFromIBD.java | pierpal/IBDMUT | apache-2.0 | 23,360 | 516 | codeparrot/github-code |
e97bcd3f7b6fe2b760db0e204c96a4cd13487171fa313368f45134bc8cf715c4 | <!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="copyright" content="" />
<title></title>
<style>
#div1 {width:300px; height:300px; border:1px solid black; position:absolute; left:100px; top:150px; border-radius:50%;}
#div1 span {width:50px; height:50px; border... | HTML | demos/1.div画圆.html | beijigongjue/didi-fe | apache-2.0 | 989 | 45 | codeparrot/github-code |
ea98e93e7e6619463745dc99fe069ee3488b6dfc51725f7408af9e04b9e3b925 | package com.dfyy.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.PageRequest;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.dfyy.bussiness.DjzSeed;
import... | Java | src/main/java/com/dfyy/service/DjzSeedService.java | secondflying/dfyy | apache-2.0 | 2,917 | 115 | codeparrot/github-code |
c5be0ab61cd6d4ee63f619d1e6905760a146e3a494340ac4c991cc343be374dd | package com.nd.android.rxjavademo.data.impl.observable;
import com.nd.android.rxjavademo.R;
import rx.Observable;
/**
* Observable_count
* <p/>
* Created by HuangYK on 16/10/3.
*/
public class MainListWithExample_Observable_count extends MainListWithExample_Observable {
public MainListWithExample_Observabl... | Java | app/src/main/java/com/nd/android/rxjavademo/data/impl/observable/MainListWithExample_Observable_count.java | ArtTriumph/RxJavaDemo | apache-2.0 | 849 | 41 | codeparrot/github-code |
4a0f51df66cfbb5de4631aca907a0069f69d22bd7bafeb8e041e4f11b831ae09 | package com.ouchadam.jogame.parser;
import com.ouchadam.jogame.domain.Planet;
import com.ouchadam.jogame.domain.Resources;
import com.ouchadam.jogame.domain.page.EveryPage;
import com.ouchadam.jogame.domain.page.Meta;
import java.util.List;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
class Ever... | Java | core/src/main/java/com/ouchadam/jogame/parser/EveryPageParser.java | ouchadam/jogame | apache-2.0 | 1,223 | 36 | codeparrot/github-code |
c439cdd3ec6921066b5cecf0432f37937f406894750ba5df0ae9f186df7e2b4a | # coding=utf-8
# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
from __future__ import absolute_import, division, print_function, unicode_literals
import http.server
import itertools
import json
import logging
import mimetypes
import os... | Python | src/python/pants/reporting/reporting_server.py | twitter/pants | apache-2.0 | 17,903 | 428 | codeparrot/github-code |
24b0587989fe7b65e1c54954c8e49267441e07c97bc402abdd9ecd5eebaa831d | //============================================================================
//
// Copyright (C) 2006-2022 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receive... | Java | components/components-azurestorage/src/main/java/org/talend/components/azurestorage/AzureConnectionWithKeyService.java | Talend/components | apache-2.0 | 3,002 | 113 | codeparrot/github-code |
1898e12c3d25312a0d3254c706148748dca3b06a2b6feb390c5bfefa25990c33 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package isima.solver.pso.neighborhood;
import isima.solver.pso.PSOConstants;
import isima.solver.pso.PSOParticle;
import isima.solver.pso.PSOVector;
import java.util.ArrayList;
import java.util.LinkedList;
import java.u... | Java | PSONB/src/isima/solver/pso/neighborhood/PSOEDistNeighborhood.java | andufaure/PSOResults | apache-2.0 | 3,827 | 127 | codeparrot/github-code |
1f52ff5c6f93dc12c4d8ee50ac89fd480e8b7da84ab9cb2a15d54070ebf22438 | import numpy as np
import random
import networkx as nx
from operator import itemgetter
import pandas as pd
import sys
import json
import optparse
###############################################################
#### CONCORDANCE, DISCORDANCE AND CREDIBILITY FUNCTIONS ######
#############################################... | Python | decision_algorithm.py | enricopal/snowball_decision | apache-2.0 | 25,944 | 886 | codeparrot/github-code |
1981a1284877c5ccdb6c0d066506fe98bd4033d4c17fe1468cf54a52d48b664d |
// Copyright 2000 John Maddock (john@johnmaddock.co.uk)
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).
//
// See http://www.boost.org/libs/type_traits for most recent versi... | C++ | deps/boost-1.47.0/boost/type_traits/function_traits.hpp | basho-labs/riak-cxx-client | apache-2.0 | 7,139 | 237 | codeparrot/github-code |
d4744ed2505311d25a3655dba10d1484990dd2f9fa354ae3f7ecb0ccc67038f0 | /*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... | Java | components/org.wso2.carbon.deployment.engine/src/main/java/org/wso2/carbon/deployment/engine/config/DeploymentConfiguration.java | jsdjayanga/carbon-deployment | apache-2.0 | 1,480 | 50 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.