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 |
|---|---|---|---|---|---|---|---|---|
7efa9220f166e4031ea2475e5675364236bd4279aaefaaf39ea4f262301b7c2b | define([
'jquery',
'underscore',
'backbone',
'config',
'utils',
], function($, _, Backbone, config, utils) {
"use strict";
var GraphViewBase = Backbone.View.extend({
className: 'graph',
initialize: function(options)
{
var self = this;
this.renderAxes = options.renderAxes;
if ... | JavaScript | public/views/graphs/graph-view-base.js | nickbenes/GeoSense | mit | 3,761 | 167 | codeparrot/github-code |
4ccbaec11900ad7e31b0be58628359890ceb0a154f767b76f93be5f98a2d08ce | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Idaas;
using NUnit.Framework;
using NUnit.Framework.Constraints;
namespace Ida.Client.Test
{
[TestFixture]
public class DescribeStructures : DatabaseSpec
{
private class HasMemberConstraint : Constraint
... | C# | IDA.Client.Test/DescribeStructures.cs | mirasrael/idaas | mit | 13,625 | 316 | codeparrot/github-code |
ea63ae28960fcd24ae7ef85948f85230408a83ddca51d140ce94f782491dd0e1 | <?php
error_reporting(E_ALL & ~E_NOTICE);
require_once 'markdown/Markdown.inc.php';
use \Michelf\Markdown;
$dataset = 'default';
$dataset_qs = '';
if (isset($_GET['dataset'])) {
if (!preg_match('@[^a-z0-9-_ ]@i', $_GET['dataset'])) {
if (is_dir('data/' . $_GET['dataset'])) {
$dataset = $_... | PHP | common.php | dhalima3/ALS-Visualization | mit | 3,629 | 126 | codeparrot/github-code |
84c61022b435fecb321a4890f77581dc08268a6caa22ced828aa2abf93b4c141 | /*!
* chartjs-plugin-annotation v1.2.2
* https://www.chartjs.org/chartjs-plugin-annotation/index
* (c) 2021 chartjs-plugin-annotation Contributors
* Released under the MIT License
*/
import { Element, defaults, Chart, Animations } from 'chart.js';
import { defined, distanceBetweenPoints, callback, isFinite, valueOrD... | JavaScript | ajax/libs/chartjs-plugin-annotation/1.2.2/chartjs-plugin-annotation.esm.js | cdnjs/cdnjs | mit | 48,583 | 1,706 | codeparrot/github-code |
be90bb3bc9196e01574e96dd5d8f2fcc318fb9b5fc8c607eab8d1c81666ec8a8 | package uk.co.wumpus.tinker.builder.apps;
import java.io.File;
import org.junit.Assert;
import org.junit.Test;
import org.mockito.Matchers;
import org.mockito.Mockito;
import uk.co.wumpus.tinker.builder.util.Endian;
public class PayloadTest {
@SuppressWarnings({ "static-method", "null" })
@Test
public void test... | Java | utilBuilder/src/test/java/uk/co/wumpus/tinker/builder/apps/PayloadTest.java | sam-truscott/tinker-kernel | mit | 1,244 | 45 | codeparrot/github-code |
8781e36ab5d9a077655b1abfdbd1cb1980f1d304bff59ed5978e46c7551cc794 | <html>
<head></head>
<body>
<pre>${helpers.RFIHelpers.gatherClassificationEmailStrings(r).join("\n")}</pre><br/><br/>
<strong style='font-family: arial;'>${message}</strong><hr/><br/>
<table style='font-family: arial; border: 1px solid #eee; width: 100%;' cellpadding="5" cellspacing="0">... | HTML | app/views/Mails/rfi.html | ngageoint/rfi-generator | mit | 8,061 | 169 | codeparrot/github-code |
09f9fc1ddae58c8faf9146cf9e5734df2f19bdb5ebec4c26c6d25f69e7aac16d | /*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | TypeScript | src/vs/workbench/parts/git/browser/gitActions.ts | start/vscode | mit | 31,743 | 1,048 | codeparrot/github-code |
d93e326f664213e15b1b2869385395e36d711357f701ed44b70b5192828e7918 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<base data-ice="baseUrl" href="../../../../">
<title data-ice="title">src/generator/authorize/extractRoles.js | create-graphql-server-authorization</title>
<link type="text/css" rel="stylesheet" href="css/style.css">
<link type="text/css" rel="stylesheet" h... | HTML | docs/file/src/generator/authorize/extractRoles.js.html | tobkle/create-graphql-server-authorization | mit | 24,655 | 266 | codeparrot/github-code |
f5c353c8c6a88348b96c4ea6bacb9e4a62d16ebad83b70d5cc16369f33f6099e | 'use strict'
// Template version: 1.2.8
// see http://vuejs-templates.github.io/webpack for documentation.
const path = require('path')
module.exports = {
dev: {
// Paths
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {},
// Various Dev Server settings
host: 'localhost', ... | JavaScript | web/config/index.js | homoluden/fukami | mit | 2,298 | 76 | codeparrot/github-code |
be55c3a16ce2228aa448f42bc3beb20db61b7cea40d90eeead4ef219ba0db74d | /*
* The MIT License
*
* Copyright 2014 gburdell.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify... | Java | vlogpp/src/apfe/dsl/vlogpp/parser/Pragma.java | gburdell/apfe | mit | 2,272 | 77 | codeparrot/github-code |
a7cd89db7b75feeac60ec458edd48d3fb85887db01c80deb938f66e91d6a4d4c | #
# A sample service to be 'compiled' into an exe-file with py2exe.
#
# See also
# setup.py - the distutils' setup script
# setup.cfg - the distutils' config file for this
# README.txt - detailed usage notes
#
# A minimal service, doing nothing else than
# - write 'start' and 'stop' entries into th... | Python | deploy/site-packages/py2exe/samples/advanced/MyService.py | pupboss/xndian | mit | 2,011 | 53 | codeparrot/github-code |
10c8dfebfb7cce6d0a24d1e778fef42d0350f2eb2f0ef7ae88f4ec50c8bced5c | using System;
using System.Data;
using System.Data.SqlClient;
using Csla;
using Csla.Data;
namespace ParentLoadRO.Business.ERCLevel
{
/// <summary>
/// B03_Continent_ReChild (read only object).<br/>
/// This is a generated base class of <see cref="B03_Continent_ReChild"/> business object.
... | C# | trunk/Samples/DeepLoad/ParentLoadRO.Business/ERCLevel/B03_Continent_ReChild.Designer.cs | CslaGenFork/CslaGenFork | mit | 3,497 | 107 | codeparrot/github-code |
2dfb6cb0dc08c8ad5cc32250fd5edc6e3844a9743ffc5c214d7134c8f0e846c4 | import RdfBaseStorage from './rdfbase.storage';
import {
qFidAs,
qSort,
qType,
qInFilter,
qNotInFilter,
qLimitOffset,
axiomWithPrefix,
} from '../util/owlUtils';
import { __ } from '../core/translations';
class MethodStorage extends RdfBaseStorage {
get entity() {
return 'Method';
}... | JavaScript | api/models/method.storage.js | ryrudnev/dss-wm | mit | 6,043 | 182 | codeparrot/github-code |
c837f4617e66bb2d92a364ed5e221de0ce23b24f1642492ca668ac089ef0ea24 | from Gaudi.Configuration import *
from Configurables import GaudiSequencer
from Configurables import DaVinci
simulation=False
from Configurables import EventNodeKiller
eventNodeKiller = EventNodeKiller('DAQkiller')
eventNodeKiller.Nodes = ['DAQ','pRec']
#MySequencer.Members+=[eventNodeKiller]
from Configurables impo... | Python | kstetappipieta/DNTupleMaker.py | Williams224/davinci-scripts | mit | 3,046 | 93 | codeparrot/github-code |
af0b7999a446547ee517539ef01a7407f8e27bbea12d38d996d5b6a3e3a09f6f | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__char_file_w32_spawnvp_64a.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-64a.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: file Read input from a file
* Goo... | C | samples/Juliet/testcases/CWE78_OS_Command_Injection/s04/CWE78_OS_Command_Injection__char_file_w32_spawnvp_64a.c | maurer/tiamat | mit | 3,575 | 128 | codeparrot/github-code |
ba420b5301f341937e314d4f37431df575a2e8bc0672345a67154eec26a05c76 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Aliyun.Acs.Core.Regions.Location
{
class LocationConfig
{
private String regionId = "cn-hangzhou";
private String product = "Location";
private String endpoint = "location.aliyuncs.com";
... | C# | OSS/Aliyun/dysmsapi/api_sdk/aliyun-net-sdk-core/Regions/Location/LocationConfig.cs | erikzhouxin/CSharpSolution | mit | 1,390 | 65 | codeparrot/github-code |
ec69210b3f9212e2e96b8e9c85cf4c2bdd7567a1f482ceee7cfe19dc54431899 | // 导航栏
var Nav = {
createNew: function () {
var self = {};
// 当前加载的页面
self.curPage = null;
// 加载项,加载页面
self.loadItem = function (name) {
var items = $("li[nav-item]");
// console.log(items);
for (i = 0; i < items.length; i++) {
... | JavaScript | html/js/module/nav.js | leitwolf/PiToolbox | mit | 1,433 | 49 | codeparrot/github-code |
54dc21600f87ef358e8ea0f1b2ba47bbc2c022fa0486bed30b9392b082ccd775 | /*
Class: CS1301
Term: Fall 2016
Name: Veaceslav Cretu
Instructor: Dr. Yong Shi
Assignment: 6
Program #1 (10 points): Design and implement a Java program for programming exercise 6.9, page 236
(name it FeetMeters), to display a conversion table for feet and meters a... | Java | Homeworks/Assignment 6/FeetMeters.java | veaceslavcretu/CS_1301 | mit | 2,028 | 66 | codeparrot/github-code |
588a7a9656ae5c661a78b2840812a39a255cedc2404dff78b1fe935102c428a1 | # -*- coding: utf-8 -*-
# Copyright © 2012-2015 Roberto Alsina and others.
# Permission is hereby granted, free of charge, to any
# person obtaining a copy of this software and associated
# documentation files (the "Software"), to deal in the
# Software without restriction, including without limitation
# the rights t... | Python | nikola/plugins/template/jinja.py | masayuko/nikola | mit | 4,860 | 124 | codeparrot/github-code |
18abfcdc1cbc2737f33046bc6d3e9c3542ece26412ab84d25c307c674c55250e | </div>
<script>
/*function cambiarPerfil() {
var url = $("#url").val() + $("#perfilid").val() + '/lista';
window.location.href = url;
}*/
</script>
<div class="list-mod-panel">
<h1 style="float: left;"> Lista de Perfiles </h1>
<h2><a href="<?=base_url()?>index.php/jef... | PHP | application/views/admin/perfiles.php | digesis2017/digesis | mit | 3,938 | 92 | codeparrot/github-code |
551b1cdb2cd3c554a00e56005a3ac8bb2a767f586cb1150d7430984d5c213136 | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Validator\Constraints;
use Symfony\Component\Intl\Loc... | PHP | src/Symfony/Component/Validator/Constraints/Locale.php | joelwurtz/symfony | mit | 1,548 | 49 | codeparrot/github-code |
9b99fd43c3939df9a56a2f8a101b22329c049fea7ece1950dfcf3644324b30de | using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
namespace DevBridge.Templates.WebProject.Web.Logic.Models
{
public class ChangePasswordModel
{
[Required]
[DataType(DataType.Password)]
[Display(Name = "Current password")]
public string OldPassword { get; set;... | C# | DevBridge.Templates.WebProject.Web.Logic/Models/AccountModels.cs | devbridge/StandardWebProjectTemplate | mit | 1,987 | 64 | codeparrot/github-code |
d01eb663eed2c2f93e2fed743b61c98eb7706092af30ad85594d14a975791a27 | ////////////////////////////////////////////////
/* Provided Code - Please Don't Edit */
////////////////////////////////////////////////
'use strict';
function getInput() {
console.log("Please choose either 'rock', 'paper', or 'scissors'.")
return prompt();
}
function randomPlay() {
var randomNumber =... | JavaScript | app/js/rockpaperscissors.js | tkentor/wdi-fundamentals-rps | mit | 2,830 | 79 | codeparrot/github-code |
4b2ce5035856883c480d6fd5efb0ee89ad96d29443a5beb806570847e3f05e47 | package com.helospark.lightdi.dependencywire.chain.support.chain;
import java.lang.reflect.AnnotatedElement;
import java.lang.reflect.Type;
import java.util.SortedSet;
import java.util.TreeSet;
import javax.annotation.Generated;
import com.helospark.lightdi.descriptor.DependencyDescriptor;
import com.helospark.light... | Java | src/main/java/com/helospark/lightdi/dependencywire/chain/support/chain/InjectDescriptorBuilderRequest.java | helospark/light-di | mit | 3,177 | 108 | codeparrot/github-code |
380695bc73cf1a366976a6e626b878722191ca81d85a9d623aa716ca2e791f76 | package com.codepath.apps.mysimpletweets.activities;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.view.ViewPager;
import android.support.v7.ap... | Java | app/src/main/java/com/codepath/apps/mysimpletweets/activities/TimelineActivity.java | kartik884/SimpleTweets | mit | 3,593 | 116 | codeparrot/github-code |
885706a03b0fc2385738ff72d17335c95913647e7bf2686057f63f0a8e9da489 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="StructuremapMvc.cs" company="Web Advanced">
// Copyright 2012 Web Advanced (www.webadvanced.com)
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not u... | C# | Webdotnet.Custom/App_Start/StructuremapMvc.cs | Haas360/webdotnet | mit | 1,980 | 51 | codeparrot/github-code |
eba6b4af9b6701a6753c5e4388001cb7e9ba91b2066c353dda5327cbf173142e | <html><body><p><!-- saved from url=(0024)http://docs.autodesk.com -->
<!DOCTYPE html>
<!-- Mirrored from help.autodesk.com/cloudhelp/2016/ENU/Maya-Tech-Docs/PyMel/generated/classes/pymel.core.nodetypes/pymel.core.nodetypes.Sequencer.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 01 Aug 2015 05:17:51 GMT -->
<!... | HTML | PyMel.docset/Contents/Resources/Documents/generated/classes/pymel.core.nodetypes/pymel.core.nodetypes.Sequencer.html | alexwidener/PyMelDocset | mit | 57,387 | 812 | codeparrot/github-code |
78fce0338dad09fd38dc3dcb889b627ad331d5ffa9e173e092a94d1a31b7a865 | import {Injectable} from '@angular/core';
import { User } from './user';
@Injectable()
export class UserService {
getUsers():User[] {
let christian: User = {
id: 1,
avatar: "",
email: " christian.scheil@pentasys.de",
name: "Christian",
phone: "",... | TypeScript | src/users/user.service.ts | ff-dennis/ng2-ws | mit | 1,067 | 45 | codeparrot/github-code |
0feb47332b86af9dddedd2ecb92b5564dbefd0445b36866fb4888e693fb939e8 | package br.com.wcorrea.transport.api.service;
import br.com.wcorrea.transport.api.model.veiculo.Veiculo;
import br.com.wcorrea.transport.api.repository.veiculo.VeiculoFiltro;
import br.com.wcorrea.transport.api.repository.veiculo.VeiculoRepository;
import br.com.wcorrea.transport.api.service.exception.veiculo.VeiculoJ... | Java | src/main/java/br/com/wcorrea/transport/api/service/VeiculoService.java | williancorrea/transport-api | mit | 2,851 | 93 | codeparrot/github-code |
ebfa0fd6d2c3a1eb8274bc341f385cd17ebdd7633de4b6f0e47b70f505662286 | package com.doremitutor.time;
import java.awt.Color;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.Box;
import javax.swing.BoxLayout;
import javax.swing.JButton;
impor... | Java | Time/src/com/doremitutor/time/MixedPulsesPanel.java | doremitutor/solfege-tutor-and-tutorial | mit | 4,416 | 159 | codeparrot/github-code |
a9afa08749a3f8ccfc71a3f09d004a0958c5af662bc60064367f9d1110b1c46f | import Express from 'express'
import bodyParser from 'body-parser'
import http from 'http'
import morgan from 'morgan'
import path from 'path'
import http from 'http'
import { socketListener } from './lib/socket' // eslint-disable-line
import { socketListener } './socket'
const app = Express()
const PORT = process.e... | JavaScript | web/server/index.js | wasong/cmpt433 | mit | 954 | 37 | codeparrot/github-code |
a931cf6df935f6f42d3bf968b860946b29c0996b8636c536a52da9bf53bfc038 | var keystone = require('keystone');
var async = require('async');
var Post = keystone.list('Post');
var PostCategory = keystone.list('PostCategory');
exports = module.exports = function (req, res) {
var view = new keystone.View(req, res);
var locals = res.locals;
// Init locals
locals.section = 'blog1';
locals.... | JavaScript | routes/views/blog1.js | rnjailamba/school | mit | 1,157 | 58 | codeparrot/github-code |
b08dc210c955ba14ce28b33613d861751c4754d2a693ff97e2677be2fe93c2bf | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__char_console_w32_spawnv_83.h
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-83.tmpl.h
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: console Read input from the console... | C | samples/Juliet/testcases/CWE78_OS_Command_Injection/s02/CWE78_OS_Command_Injection__char_console_w32_spawnv_83.h | maurer/tiamat | mit | 1,690 | 68 | codeparrot/github-code |
c55f394fbfa3d9a56071bcf3b3b12165b9aacf3e974bda026a75abe565fd3e40 | import { Geometry } from '../../core/Geometry';
import { _Math } from '../../math/Math';
import { Vector3 } from '../../math/Vector3';
import { Matrix4 } from '../../math/Matrix4';
import { Face3 } from '../../core/Face3';
import { Vector2 } from '../../math/Vector2';
/**
* @author WestLangley / https://github.com/We... | JavaScript | src/extras/geometries/TubeGeometry.js | sole/three.js | mit | 7,076 | 316 | codeparrot/github-code |
d168aefbb994972adeb1d17e1dc04cc8623f9c8cd5e16f383ea908c4b8ed2447 | /*
* Written by Nitin Kumar Maharana
* nitin.maharana@gmail.com
*/
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
//Iterative Solution.
class Solution {
public:
ListNode* reverseList(ListNode* head) ... | C++ | 206.cpp | nitin-maharana/LeetCode | mit | 943 | 51 | codeparrot/github-code |
8edc214a2827a2628ddd1cd657c98395ea6a2038785cfce7d9922482e819aa2f | import { Component, OnInit } from '@angular/core';
import { ResultWithData } from '../DTO/HubDeclaration';
import { HubDataService } from '../hub-data.service';
@Component({
selector: 'app-result-failed',
templateUrl: './result-failed.component.html',
styleUrls: ['./result-failed.component.css']
})
export class ... | TypeScript | stankinsv2/solution/StankinsV2/StankinsAliveAngular/src/app/result-failed/result-failed.component.ts | ignatandrei/stankins | mit | 1,045 | 32 | codeparrot/github-code |
3e20f4b79b7028c936f3024be75c6f0ec9c7059a95ecfb2d479970be149cc29c | 'use strict';
smgContainer.controller('MenuController',
function ($scope, $cookies, $rootScope, $translate) {
$scope.getToken = function () {
$cookies.FBAccessToken = $scope.accessToken;
console.log($cookies.FBAccessToken);
};
$rootScope.refreshUserDisplay = function () {
$scop... | JavaScript | app/js/controllers/menuController.js | chongzizil/AngularJS-Container-SMG | mit | 1,019 | 33 | codeparrot/github-code |
ca50bb7b54f2c0e8c3d0b85a14cdb4ade3b29deddb8156c95d9fe60617524410 | package org.superboot.service.impl;
import com.querydsl.core.types.Predicate;
import com.querydsl.core.types.Projections;
import com.querydsl.jpa.impl.JPAQuery;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Pageable;
im... | Java | super-boot-user/src/main/java/org/superboot/service/impl/MenuServiceImpl.java | 7040210/SuperBoot | mit | 13,467 | 329 | codeparrot/github-code |
6c4125e60a52d8d6b25e6a64448bf83634e0367d4f317ed2137ae97717b3d5e5 | /* Include a valid member that allow users to check whether the object held values for student record or not */
#include <algorithm>
#include <iostream>
#include "Core.h"
#include "Student_info.h"
using namespace std;
int main(int argc, const char *argv[])
{
vector<Student_info> students;
Student_info record... | C++ | Chapter13/exercise3.cpp | chibby0ne/AcceleratedC | mit | 989 | 40 | codeparrot/github-code |
e79283dc9118c5efbb1e7850b1f8d1250efb3aed54ed1f36d33e174b77000338 | #include "Directory.h"
#include "common.h"
#include <mutex>
#ifdef USE_ZLIB
# define ZIP_STATIC 1
# include "zip.h"
#endif
namespace rparser
{
Directory::Directory()\
: error_code_(ERROR::NONE), use_alternative_search_(false), ref_cnt_(0), open_status_(0)
{
}
Directory::Directory(const std::string& path)
: erro... | C++ | src/Directory.cpp | rhythmus-emulator/rparser | mit | 19,004 | 953 | codeparrot/github-code |
53d469ae39e1e90dad54bf705ef1726f783bc602942b4acc944e2e721c1e4779 | 'use strict';
goog.provide('Blockly.Ruby.loops');
goog.require('Blockly.Ruby');
Blockly.Ruby['controls_repeat'] = function(block) {
// Repeat n times (internal number).
var repeats = parseInt(block.getFieldValue('TIMES'), 10);
var branch = Blockly.Ruby.statementToCode(block, 'DO') || 'end\n';
if (Blockly.Ru... | JavaScript | generators/ruby/loops.js | jeanlazarou/blockly2ruby | mit | 5,073 | 160 | codeparrot/github-code |
1a6bfedb8e9432bf791ceba3caee2c9599f23ae8d1ba76911e9eb1963a495c48 | #!/usr/bin/python
# coding: UTF-8
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
from autopy import key, mouse
import urllib
class MyRequestHandler(BaseHTTPRequestHandler):
def do_GET(self):
query = urllib.splitquery(self.path)
action = query[0]
queryParams = {}
if ... | Python | http_server.py | hanxi/mobiletouch_pyhttp | mit | 2,731 | 96 | codeparrot/github-code |
87796f03116be0c348168a0f358011af8d8ce02213367988204a317717ae0a9e | package mpi.pt2pt;
import mpi.*;
import java.util.Arrays;
public class Ssend_test1 {
public Ssend_test1() {
}
public Ssend_test1(String args[]) throws Exception{
MPI.Init(args);
int intArray [] = new int[100];
float floatArray [] = new float[100];
double doub... | Java | mpj_dir/test/mpi/pt2pt/Ssend_test1.java | MarcoLotz/MPIBenchmark | mit | 3,619 | 104 | codeparrot/github-code |
37e0e636cb04daf7073a178e0307adfda295b7a6a127f1494c7dee41297a90e3 | <!DOCTYPE html>
<html lang="en">
<head>
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="http://cyclicmaterials.github.io/theme/css/style.min.css">
<link rel="stylesheet" type="text/css" href="http:/... | HTML | pages/cyclic-materials-css-naming-conventions.html | CyclicMaterials/cyclicmaterials.github.io | mit | 9,944 | 195 | codeparrot/github-code |
878548e4879c818d56cb1abf0d6ce60bf6db41a00d8220212e1d268403412a85 | package online.popopo.popopo.console;
import online.popopo.api.function.Variable;
import online.popopo.api.wrapper.command.Command;
import online.popopo.api.wrapper.command.CommandManager;
import online.popopo.api.wrapper.command.SubCommand;
import online.popopo.api.wrapper.listener.ListenerManager;
import online.popo... | Java | src/online/popopo/popopo/console/ConsoleFunc.java | koshianpan/Popopo | mit | 2,179 | 73 | codeparrot/github-code |
c5a415141867f9d35365996bbfee52b79f329ecdbc807a79b190a473dee55d31 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="search.css"/>
<script type="text/javascript" src="search... | HTML | doc/html/search/functions_70.html | niieani/napkin | mit | 6,754 | 91 | codeparrot/github-code |
565b66b1f0614c8940b2eefe282386de54513168ae6ee70c6c3ebe2b7e63e477 | package seedu.taskmanager.logic.commands;
import java.io.IOException;
import java.util.Optional;
import seedu.taskmanager.commons.core.Config;
import seedu.taskmanager.commons.exceptions.DataConversionException;
import seedu.taskmanager.commons.util.ConfigUtil;
import seedu.taskmanager.logic.commands.exceptions.Comma... | Java | src/main/java/seedu/taskmanager/logic/commands/LoadCommand.java | CS2103JAN2017-F12-B3/main | mit | 3,728 | 87 | codeparrot/github-code |
2a4193705aaab880c4ace222c5afd3e34771d28ccf3fc25b8fa37436d8bfc7a7 | /**
* Created by Tong on 2017/5/10.
*/
/**
* Created by 1 on 2016/11/17.
*/
/**
* Created by 1 on 2016/10/21.
* 登陆界面
*/
import React, { Component } from 'react';
import {
Text,
StyleSheet,
View,
TextInput,
TouchableOpacity,
ToastAndroid,
Dimensions,
Image,
}from 'react-native';
le... | JavaScript | jiuzhou/page/RegisterLogin/Login.js | Cowboy1995/JZWXZ | mit | 7,509 | 269 | codeparrot/github-code |
a98970ac88fd937752b7a2bb2e1f0a9a0cb032b6fae35d68ea5d876f652419a0 | var Anime = ModelHelper.get('Anime');
var Book = ModelHelper.get('Book');
var AccessToken = ModelHelper.get('AccessToken');
var Game = ModelHelper.get('Game');
describe('clear All', function () {
it("clear Animes", function (done) {
Anime.collection.drop(function (err) {
// ignore error
... | JavaScript | server/test/clear.test.js | Opiskull/one4all | mit | 832 | 31 | codeparrot/github-code |
29c10e0da56392f40791a15ce0136317b4a352a951c9b0b9eb7b858665f2b486 | #include <simcode/redis/async_redis.h>
#include <unistd.h>
using namespace simcode;
using namespace redis;
AsyncRedis::AsyncRedis() :
ctx_(NULL),
retry_(false),
retryTime_(0)
{
}
AsyncRedis::~AsyncRedis()
{
freeAll();
}
int AsyncRedis::Connect()
{
freeAll();
redisAsyncContex... | C++ | redis/async_redis.cpp | jettyu/simcode | mit | 5,053 | 181 | codeparrot/github-code |
e1112f19115b01cdcff5a036c42a58aa4454e1bcaddc28fe1d4e40736f26527b | /** @license Material-UI v4.9.3
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
Object.defineProperty(exports, "__esModule", {
va... | JavaScript | ajax/libs/material-ui/4.9.3/index.js | cdnjs/cdnjs | mit | 62,025 | 2,333 | codeparrot/github-code |
ef2caae1e5d4a03953651bcdcb94712df44fbaef59a0026461e3c6f500a8bd97 | /*!
* DevExtreme (dx.aspnet.mvc.js)
* Version: 20.2.9 (build 21315-0314)
* Build date: Thu Nov 11 2021
*
* Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
! function(factory) {
if ("function" === typeof define && d... | JavaScript | ajax/libs/devextreme/20.2.10-build-21315-0314/js/dx.aspnet.mvc.js | cdnjs/cdnjs | mit | 8,956 | 212 | codeparrot/github-code |
0472e0b5a97d73ee8fbfe57a2e7d2d227d1cf0ad76bdd16cb32ede6cddc3ce9b | 'use strict';
angular.module('mecanography').controller('MainCtrl', ['$scope', '$http', 'listOfLessons','$interval',
function ($scope, $http, listOfLessons,$interval) {
function Game(allTheLessons) {
var that = this;
that.allTheLessons = allTheLessons;
that.index = 0;
... | JavaScript | app/main/main.controller.js | marcosPerezRubio/Mecanography | cc0-1.0 | 6,289 | 193 | codeparrot/github-code |
0e00b70e1bed895d45741e6c56cd601215c84397b519979fc5ba40b032a4da3e | #!/usr/bin/python
'''This package will take an input query and generate list of blast hits.
The input query must be a refseq protein gi number.
The default cutoff is a Blast score of 100
This script can be invoked as::
python blast_search.py 6319393
where 6319393 is the gi_number being queried.
The output... | Python | biopython/blast_search.py | davebridges/biomolecule-scripts | cc0-1.0 | 2,368 | 71 | codeparrot/github-code |
3a76787d93946007a96ce79151035fd6decd472265aff67d4137e8e8703562cf |
window.AudioContext = window.AudioContext||window.webkitAudioContext;
(function() {
var lastTime = 0;
var vendors = ['webkit', 'moz'];
for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) {
window.requestAnimationFrame = window[vendors[x]+'RequestAnimationFrame'];
windo... | JavaScript | assets/scripts/util.js | zlsa/quad | cc0-1.0 | 4,374 | 218 | codeparrot/github-code |
6c5c980478369acb6abbd7c164eb75766d1ac714e4b1ef13d035e8147d523bba | import React, { Component } from 'react';
import Tabs from 'material-ui/lib/tabs/tabs';
import Tab from 'material-ui/lib/tabs/tab';
class NavBar extends Component {
constructor(props) {
super(props);
this.state = {
tabIndex: '0',
};
}
componentWillMount() {
this.setState({
tabIndex: ... | JavaScript | src/components/shared/NavBar.js | billie66/demo2 | cc0-1.0 | 1,877 | 83 | codeparrot/github-code |
05e8346f95ad1f11db43c57a8b8024db52032032cc4139bdec185fbda480cd81 | var pg = require("pg"),
credentials = require("./credentials"),
dbgeo = require("../lib/dbgeo");
var connString = "postgres://" + credentials.user + "@" + credentials.host + ":" + credentials.port + "/" + credentials.database,
client = new pg.Client(connString);
// Connect to postgres
client.connect(funct... | JavaScript | test/test.js | UW-Macrostrat/dbgeo | cc0-1.0 | 2,471 | 80 | codeparrot/github-code |
39000b251af0c6a87782e544d32aef117a8997acb60e51b1ce3e5a9b0537d9af | #!/usr/bin/env node
/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
/**
* Return a new "support_block" object whose first-level properties
* (browser names) have been ordered according to Array.prototype.sort,
* and so will be stringified in that order as ... | JavaScript | scripts/fix-browser-order.js | chrisdavidmills/browser-compat-data | cc0-1.0 | 2,436 | 105 | codeparrot/github-code |
a37e547055914c82b8f5863998774e1e26f14ecc7479ebc5f303285920410bef | package com.gmm.fooWebProject.mail.test;
import java.util.Properties;
import javax.mail.Folder;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.NoSuchProviderException;
import javax.mail.Session;
import javax.mail.Store;
import com.gmm.fooWebProject.util.Constantes;
/... | Java | FooWebProject/src/com/gmm/fooWebProject/mail/test/CheckingMails.java | gManzanoMerida/FooFighters | cc0-1.0 | 3,764 | 113 | codeparrot/github-code |
36950a70cdda1bab98c5c55633a5b0dd94721c24740f31774bf8f44f36be43a3 | // No dependencies.
'use strict';
var engine = engine || {};
engine.object = {
// Clear everything in the specified engine object.
// Required args: keys
'clear': function(args){
var target = 'engine';
for(var key in args['keys']){
target += "['" + args['keys'][key] + "']";
}
t... | JavaScript | OldCode/Engine.htm/engine/js/object.js | honzi/Files | cc0-1.0 | 7,329 | 252 | codeparrot/github-code |
353586f3c5df6391bc1b3284aafee93f780c51dcc5a6f20418920f6b03f7fc64 | <!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Street Urchin type character - Epic Character Builder's Guild</title>
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" type="text/css" href="../viewtopic.css" ... | HTML | builds/data/request299818.html | world-of-greyhawk/world-of-greyhawk.github.io | cc0-1.0 | 6,704 | 72 | codeparrot/github-code |
9b706eac24965e8d111f6b0fe651dafe5473d8e4b396252f14355d20293edb85 | <!--
Author: Juan Diego Pérez @pekechis
E-mail: contact@jdperez.es
Description: LOGIN WITH PREPARED STATEMENTS. NOT VULNERABLE TO SQL
INJECTION
Date: January 2016
Reference: http://php.net/manual/en/mysqli.quickstart.prepared-statements.php
-->
<?php
session_start();
?>
<!DOCTYPE ... | PHP | Php/Sessions/CSRF/login.php | pekechis/teaching_examples | cc0-1.0 | 2,421 | 85 | codeparrot/github-code |
47dfe8747aa7fa27e293ca62d943f16bf11babc1dccafa4654bb1bad9a3242a1 | <!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head prefix="dc: http://purl.org/dc/terms/ og: http://ogp.me/ns#">
<meta charset="utf-8" />
<title>Github</title>
<meta name="author" content="Carl Boettiger" />
<meta name="viewport" content="width=device-width, initial-sca... | HTML | github.html | sunbjt/cboettig.github.com | cc0-1.0 | 12,160 | 314 | codeparrot/github-code |
dc468fd64defa19175a7764cbccdb016aee5acb71c5e560896e8e043c94d3ff4 | <!DOCTYPE html>
<!-- Author: https://www.ericbullington.com/blog/2012/10/27/d3-oclock/ -->
<html>
<head>
<meta charset="utf-8">
<title>d3 experiment</title>
<script src="../d3.min.js"></script>
<style>
.svg {
border: 1px solid #ccc;
}
.clock outer {
fill: none;
}
.clock... | HTML | examples/d3-tutorial/small-examples/d3-clock-2.html | ahui2016/ProgrammingEveryday | cc0-1.0 | 2,613 | 128 | codeparrot/github-code |
f0cc175ec358179c4558214acc16b4a394409081d525ede25b983a6806e2964c | #include "throughput_vex_adx.h"
#include "getopt_pp.h"
#include <papi.h>
int
main(int argc, char* argv[])
{
if (PAPI_library_init(PAPI_VER_CURRENT) != PAPI_VER_CURRENT)
return 0;
GetOpt::GetOpt_pp ops(argc, argv);
if (ops >> GetOpt::OptionPresent('h', "help"))
fatal << "usage: " << argv[0] << " [-s ran... | C++ | src/throughput_vex_adx_main.cpp | sga001/vex | cc0-1.0 | 888 | 32 | codeparrot/github-code |
f622c668233452d2fa45432bde38d6b4d9d322d55292f1e8b36e1534e2617f88 | package filter;
public class DogFilter implements IFilter{
private double sigma,sigma2;
public DogFilter(double sigma, double sigma2) {
super();
this.sigma = sigma;
this.sigma2 = sigma2;
}
@Override
public int[][] addFilter(int[][] image) {
return dogFilter(image);
}
public int[][] dogFil... | Java | ComputerVision/src/filter/DogFilter.java | paolokoelio/CVlab | cc0-1.0 | 1,802 | 95 | codeparrot/github-code |
b387e94e40f47a3f06e564f3da08eae86ce8e7e6333276484fda642bf0f5a678 | <?php
return array(
/*
|--------------------------------------------------------------------------
| Mail Driver
|--------------------------------------------------------------------------
|
| Laravel supports both SMTP and PHP's "mail" function as drivers for the
| sending of e-mail. You may specify which one... | PHP | app/config/mail.php | CodeTheCity/beastiegram | cc0-1.0 | 4,038 | 125 | codeparrot/github-code |
652919e97f6b47322cfbe22695943f9414b4d7d81028456f54a17f3437f40f64 | <?php
//Query that requests for all categories from ther table
$sql = "SELECT * from add_business WHERE category='Sound Systems' AND region='Kampala'";
$query = mysqli_query($conn, $sql);
$count = mysqli_num_rows($query);
if ($count == 0) {
} else {
?>
<ul class="area" id="Ebb">
<h3 class="areaNa... | PHP | eventspecialists/SoundSystems.php | cd2015/yuun94 | cc0-1.0 | 42,720 | 869 | codeparrot/github-code |
a70cb80188a654873e3438f5bdf474cee8d882161d1e4b1209b310304d21bc80 | /**!
* LibreMoney DgsPurchase api 0.2
* Copyright (c) LibreMoney Team <libremoney@yandex.com>
* CC0 license
*/
/*
import nxt.Account;
import nxt.Attachment;
import nxt.DigitalGoodsStore;
import nxt.NxtException;
import nxt.util.Convert;
import org.json.simple.JSONStreamAware;
import static nxt.http.JSONResponses.I... | JavaScript | Lm/Modules/DigitalGoods/Api/DgsPurchase.js | libremoney/main | cc0-1.0 | 2,047 | 64 | codeparrot/github-code |
a5545741dc533af557b45abefffa69215502bf2b0b1e5464a2d9576881716c52 | #!/bin/bash
TITLE="NXA006PD-"`date +"%Y-%m-%d_%H_%M_%S"`
APPDIR=$(dirname "$0")"/NXC051/application.linux32"
DIRFLAC=$TITLE/$TITLE-flac
DIRMP3=$TITLE/$TITLE-mp3
echo $TITLE
echo $APPDIR
mkdir $TITLE
mkdir $DIRFLAC
mkdir $DIRMP3
for i in `seq 1 4`;
do
java -Djava.library.path="$APPDIR:$APPDIR/lib" -cp "$APPDIR/l... | Shell | NXA006PD.sh | computermusicneix/NXA006PD | cc0-1.0 | 2,155 | 101 | codeparrot/github-code |
509c721ed7a94aa3775852835eab84536407b0653b876964519f8058def3d583 | # -*- coding: utf-8 -*-
__version__ = '$Id: 7e07cc8b51fa2cdfb23c34c8652adf4a94003dc8 $'
import family
# The Wikimedia i18n family
class Family(family.Family):
def __init__(self):
family.Family.__init__(self)
self.name = 'i18n'
self.langs = {
'i18n': 'translatewiki.net',
... | Python | CEM/families/i18n_family.py | races1986/SafeLanguage | epl-1.0 | 6,800 | 248 | codeparrot/github-code |
6fee784ac98a6fd8291bcdd36cfc93feefc4ce61caa5426433048992b8cc2115 | package ch.elexis.core.ui.e4.providers;
import org.eclipse.jface.viewers.ITableLabelProvider;
import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.swt.graphics.Image;
import ch.elexis.core.model.Identifiable;
/**
* @since 3.8
* @noextend This class is not intended to be subclassed by clients.
*/
pub... | Java | bundles/ch.elexis.core.ui.e4/src/ch/elexis/core/ui/e4/providers/IdentifiableLabelProvider.java | elexis/elexis-3-core | epl-1.0 | 1,265 | 53 | codeparrot/github-code |
ee246d01efd7667be6ce0265e266293a9e6fe82e32cd7db5958b816fd229a512 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>ISDTContent (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/... | HTML | Desktop/tool/poi-bin-3.15-20160924/poi-3.15/docs/apidocs/org/apache/poi/xwpf/usermodel/ISDTContent.html | tommylsh/test20170719 | epl-1.0 | 7,881 | 236 | codeparrot/github-code |
9a6dcc5df0bdde7b72f261573bfea1f4fccee7383e86890c294d59c88059e95e | package problems;
import org.cmg.jresp.behaviour.Agent;
import org.cmg.jresp.comp.Node;
import org.cmg.jresp.knowledge.FormalTemplateField;
import org.cmg.jresp.knowledge.Template;
import org.cmg.jresp.knowledge.Tuple;
import org.cmg.jresp.knowledge.ts.TupleSpace;
import org.cmg.jresp.topology.Self;
public class Prob... | Java | examples/org.cmg.examples.02148/src/02148/problems/Problem1_2.java | michele-loreti/jResp | epl-1.0 | 2,786 | 109 | codeparrot/github-code |
10dbf2b653daccc86c5728381bb21fa25bcfa844d8f9c330f04e4da394988d57 | /**
* Copyright (c) 2010-2015, openHAB.org and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org... | Java | bundles/binding/org.openhab.binding.insteonplm/src/main/java/org/openhab/binding/insteonplm/internal/device/InsteonDevice.java | curtisstpierre/openhab | epl-1.0 | 16,839 | 519 | codeparrot/github-code |
58e593aad2a238485cee7627e7f5d59ee163cb16996e5c32456ae85e54af53cf | /*******************************************************************************
* Copyright (c) 1998, 2012 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. ... | Java | utils/eclipselink.utils.workbench.test/uitools/source/org/eclipse/persistence/tools/workbench/test/uitools/app/SynchronizedList.java | bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | epl-1.0 | 8,689 | 322 | codeparrot/github-code |
158af0dd38acffe0f4bc005ea32853c58501b0bf535490bb12625d2e65e8e41e | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="copyright" content="(C) Copyrigh... | HTML | pdk/GUID-48C0EF86-DCC4-382E-81A3-3843CC044270.html | warlordh/fork_Symbian | epl-1.0 | 28,998 | 461 | codeparrot/github-code |
b2368f03963bebcbf2a4c9f0f1841fcd059d8ca2ea1603a3613c28dd5ba6d4aa | package de.unisb.cs.depend.ccs_sem.plugin.actions;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.IEditorActionDelegate;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.IWorkbenchWindowActionDelegate;
import o... | Java | plugin/src/de/unisb/cs/depend/ccs_sem/plugin/actions/SaveAsCCSFile.java | hammacher/ccs | epl-1.0 | 1,123 | 38 | codeparrot/github-code |
4db6be7691ddf25a583a8847d78931d9288b6551b84639bc0fcac4fcd0a8ff6a | <?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="copyright" content="(C) Co... | HTML | sdk/GUID-16F72C17-DB94-3C63-A5B1-EF0C5C1B659A.html | warlordh/fork_Symbian | epl-1.0 | 30,696 | 1,372 | codeparrot/github-code |
047d7d944f355b9b7d0d8da5955d7358e1166409c20058049f5ff539c1dd6df4 | package fr.micropole.service.impl;
import java.util.List;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import fr.micropole.dao.DAOCategory;
import fr.micro... | Java | src/main/java/fr/micropole/service/impl/ServiceImplCategory.java | LAMAUD/test | epl-1.0 | 1,710 | 65 | codeparrot/github-code |
9cea919f2052f029cb8655c7bd40f6c7ec9dacf3dab97425670d5f9d6c484dc2 | /********************************************************************************
* Copyright (c) 2011-2017 Red Hat Inc. and/or its affiliates and others
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 1.0 which is available at
* http://www.eclipse... | Java | plugins/org.eclipse.ceylon.ide.eclipse.ui/src/org/eclipse/ceylon/ide/eclipse/code/editor/AutoEditTest.java | ceylon/ceylon-ide-eclipse | epl-1.0 | 22,958 | 549 | codeparrot/github-code |
5907bb2ad017131cf0c53cac2444f6e4cc26f893bf6d484567d00219a24d10c9 | """
Plots the Histogram
"""
import os
import sys
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.mlab as mlab
import matplotlib.cm as cm
import PVReadWeights as rw
import PVConversions as conv
from pylab import save
import math
import random
if len(sys.argv) < 3:
print "usage: hamming filename ... | Python | pv-core/analysis/python/plot_hamming.py | dpaiton/OpenPV | epl-1.0 | 3,742 | 238 | codeparrot/github-code |
58cc983dfd59f73b0fdd0b726ac9741a702a5ba8908924e22f1e47dc4b7d5c6c | /*******************************************************************************
* Copyright (c) 2000, 2010, 2012 IBM Corporation, Gerhardt Informatics Kft. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* wh... | Java | src/main/java/org/eclipse/draw2d/ImageFigure.java | ghillairet/gef-gwt | epl-1.0 | 4,500 | 169 | codeparrot/github-code |
65a02cea5a77896f54f9ac4f57a7878fe7947e68cad91c4fca5b4d6525974af0 | /*
* This file is part of the Jikes RVM project (http://jikesrvm.org).
*
* This file is licensed to You under the Eclipse Public License (EPL);
* You may not use this file except in compliance with the License. You
* may obtain a copy of the License at
*
* http://www.opensource.org/licenses/eclipse-1.0.... | Java | jikesrvm-3.1.3/rvm/src/org/jikesrvm/compilers/opt/ssa/EnterSSA.java | CodeOffloading/JikesRVM-CCO | epl-1.0 | 44,804 | 1,200 | codeparrot/github-code |
84914595073f31b0f69b910343e6226b9fe8b00d3263ea25d8763b21594b974f | package com.odcgroup.t24.common.importer.ui.wizard;
import org.eclipse.jface.dialogs.IDialogConstants;
import org.eclipse.jface.dialogs.TitleAreaDialog;
import org.eclipse.osgi.util.NLS;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
import or... | Java | designstudio/components/t24/ui/com.odcgroup.t24.common.importer.ui/src/main/java/com/odcgroup/t24/common/importer/ui/wizard/ModelImportReportDialog.java | debabratahazra/DS | epl-1.0 | 4,916 | 159 | codeparrot/github-code |
0add4d3a5267a3ebc6137fe861fff73f1129b2edc6124c75f06d64871b9fff15 | package kotowari.scaffold.util;
import java.io.File;
import java.util.Comparator;
import java.util.HashSet;
import java.util.Set;
/**
* @author kawasima
*/
public class BasePackageDetector {
public static Set<String> scan(File sourceDirectory) {
Set<String> packages = new HashSet<>();
File[] di... | Java | kotowari-scaffold/src/main/java/kotowari/scaffold/util/BasePackageDetector.java | kawasima/enkan | epl-1.0 | 2,234 | 78 | codeparrot/github-code |
ee3c2bd92ff2f36e0e18b9ae50e0254c921cbab2ebaa3808d5120b94dbf8a1da | /*
* Copyright 2012 PRODYNA AG
*
* Licensed under the Eclipse Public License (EPL), Version 1.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/eclipse-1.0.php or
* http://www.nabucco.org/License... | Java | org.nabucco.framework.template.impl.service/src/main/man/org/nabucco/framework/template/impl/service/odf/produce/CreateOpenDocumentFileServiceHandlerImpl.java | NABUCCO/org.nabucco.framework.template | epl-1.0 | 3,654 | 90 | codeparrot/github-code |
ffa6f8bed7020f8157d4cde13c0019b15522578b1354a70bef0d2e4a828494b0 | /*
* Copyright (C) 2008, Shawn O. Pearce <spearce@spearce.org>
* and other copyright owners as documented in the project's IP log.
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Distribution License v1.0 which
* accompanies this distribution, is reproduced belo... | Java | src/main/jgit/org/jboss/forge/jgit/transport/AmazonS3.java | forge/plugin-undo | epl-1.0 | 24,196 | 738 | codeparrot/github-code |
6de9edee8049000739858edfbec6b8a46c8691012cefd9887303194ebc9b2a51 | /*******************************************************************************
* Copyright (c) 2012-2017 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | Java | wsmaster/che-core-api-workspace/src/test/java/org/eclipse/che/api/workspace/server/stack/StackLoaderTest.java | gazarenkov/che-sketch | epl-1.0 | 9,519 | 182 | codeparrot/github-code |
bb35e85da55eba3a11703fcdf7e2001de2057d9d0d925689c3ce609644ca4b0e | package org.hibernate.test.generated;
import junit.framework.Test;
import org.hibernate.junit.functional.DatabaseSpecificFunctionalTestCase;
import org.hibernate.junit.functional.FunctionalTestClassTestSuite;
import org.hibernate.dialect.Dialect;
import org.hibernate.dialect.Oracle9iDialect;
import org.hibernate.Sess... | Java | thirdparty/plugins/org.csstudio.platform.libs.hibernate/project/testsuite/src/test/java/org/hibernate/test/generated/PartiallyGeneratedComponentTest.java | ControlSystemStudio/cs-studio | epl-1.0 | 1,995 | 65 | codeparrot/github-code |
654665815df54037865b6259be74b5f3ac48248f560faf90e70d484fc41e0f77 | /*******************************************************************************
* Copyright (c) [2012] - [2017] Red Hat, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is avai... | Java | wsmaster/codenvy-hosted-api-resource/src/main/java/com/codenvy/resource/api/ResourceModule.java | R-Brain/codenvy | epl-1.0 | 3,494 | 69 | codeparrot/github-code |
504d1cfdd9f9592e7f7e66ff82b3eb304d9b21239c33c6891b57cd2e895c7ba2 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="copyright" content="(C) Copyright 2010... | HTML | pdk/GUID-27F39152-0AF2-577A-A367-BCEE9060902E.html | warlordh/fork_Symbian | epl-1.0 | 9,653 | 142 | codeparrot/github-code |
98fce400999f2907d9fd37cfd1bb3bc43753a442cd3bb44ca2b39123b967b18b | /* ******************************************************************************
* Copyright (c) 2006-2016 XMind Ltd. and others.
*
* This file is a part of XMind 3. XMind releases 3 and
* above are dual-licensed under the Eclipse Public License (EPL),
* which is available at http://www.eclipse.org/legal/ep... | Java | bundles/org.xmind.cathy/src/org/xmind/cathy/internal/ServiceManager.java | nickmain/xmind | epl-1.0 | 3,337 | 126 | codeparrot/github-code |
5ca719225f5b9826ab58ee792b247d777e403be8b425f0eb507d4cdd1d441ce3 | /*
* Copyright (c) 2014 Peter Palaga.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.l2x6.eircc.core.mo... | Java | org.l2x6.eircc.ui/src/org/l2x6/eircc/core/model/resource/IrcAccountResource.java | ppalaga/eircc | epl-1.0 | 6,795 | 202 | codeparrot/github-code |
1fd1e3a7f7eb108354f360e0d116db10e733a61ae3ea2163dd54b07a7bc384e9 | package de.ptb.epics.eve.editor.handler.changeto;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.ISelectionProvider;
import org.eclipse.... | Java | bundles/de.ptb.epics.eve.editor/src/de/ptb/epics/eve/editor/handler/changeto/ChangeToAxisSnapshotStatic.java | eveCSS/eveCSS | epl-1.0 | 2,037 | 59 | codeparrot/github-code |
5d0b69218dde51face3bbd4e2f3e46b8b7643d23bf93b26aa77dd1a38e56a9b0 | /**
* Copyright (c) 2016 NumberFour AG.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* NumberFo... | Java | plugins/org.eclipse.n4js/src/org/eclipse/n4js/scoping/imports/AmbiguousImportDescription.java | lbeurerkellner/n4js | epl-1.0 | 3,510 | 103 | codeparrot/github-code |
5c57afd20aaa6276e3f5987a7e6b60733059b022f379e7573ace4723b0541bf0 | package com.codeaffine.extras.launch.internal.dialog;
import org.eclipse.debug.core.ILaunchMode;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IAction;
public class LaunchModeAction extends Action {
private final LaunchModeSetting launchModeSetting;
private final ILaunchMode launchMode;... | Java | com.codeaffine.extras.launch/src/com/codeaffine/extras/launch/internal/dialog/LaunchModeAction.java | rherrmann/eclipse-extras | epl-1.0 | 868 | 32 | codeparrot/github-code |
bfc0a55f9439c7fef89cc939f2147ae1184a0b9a5315b07ac5c6e01035b18225 | package es.ucm.fdi.tp.practica5.attt;
import java.lang.reflect.InvocationTargetException;
import javax.swing.SwingUtilities;
import es.ucm.fdi.tp.basecode.attt.AdvancedTTTFactory;
import es.ucm.fdi.tp.basecode.bgame.control.Controller;
import es.ucm.fdi.tp.basecode.bgame.control.Player;
import es.ucm.fdi.tp... | Java | src/es/ucm/fdi/tp/practica5/attt/AdvancedTTTFactoryExt.java | lbarja5/Pruebas | epl-1.0 | 1,272 | 42 | codeparrot/github-code |
5bae953fd8314cf251e3b7dc136dd82b92998d2173c9962e38adabf45a7c32e3 | /*******************************************************************************
* Copyright (c) 2012-2016 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | Java | platform-api/che-core-api-auth/src/main/java/org/eclipse/che/security/oauth/OAuthAuthenticator.java | codenvy/che-core | epl-1.0 | 11,470 | 287 | codeparrot/github-code |
825a4f67a3f78d995619265a9a91d5d33e8d41b87fecdf7db419ee6c2c9b5b31 | /*===========================================================================*/
/* */
/* This file is part of the SYMPHONY MILP Solver Framework. */
/* */
... | C | include/sym_primal_heuristics.h | coin-or/SYMPHONY | epl-1.0 | 6,416 | 135 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.