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
f64286022b7566e5dac81b46d6e795ac261b662dc89a49d6af024ed8dbfc59ee
/** * * Send a sequence of key strokes to an element (clears value before). You can also use * unicode characters like Left arrow or Back space. You’ll find all supported characters * [here](https://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/element/:id/value). * To do that, the value has...
JavaScript
lib/commands/setValue.js
udnisap/webdriverio
mit
2,645
87
codeparrot/github-code
37c8618be5b037e01451a4edfe1291840d71de57edd8ef42dc010984fc0b5059
/* This file contains routines which handle the transformation between the object window and the screen. Note that the transformations for cross sections are handled in the file "xs.c". */ #include <stdio.h> #include <math.h> #include "defs2.h" static double c1,c2,c3,c4, /* clipping parameters */ a11,a12,a13, /...
C
gwmfe2ds/gtools/gp2/src/clip2.c
mfeproject/legacy-gwmfe
mit
2,472
122
codeparrot/github-code
885420db3e51835829efd56044be13c24e4fd7971886dc7639ca1c73ddfb55df
using UnityEngine; [AddComponentMenu("Modifiers/Globe")] public class MegaGlobe : MegaModifier { public float dir = -90.0f; public float dir1 = -90.0f; public MegaAxis axis = MegaAxis.X; public MegaAxis axis1 = MegaAxis.Z; Matrix4x4 mat = new Matrix4x4(); public bool twoaxis = true; Matrix4x4 tm1 ...
C#
Visual_Experiments/Assets/Plugins/Mega-Fiers/Scripts/MegaFiers/Modifiers/MegaGlobe.cs
lejeanf/VisualExperiments
mit
2,519
125
codeparrot/github-code
940456f41e2a47a19194553e727d1fcd31c70591f6fc155d955a145ea5c7b869
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico"> <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0"> <title>ColReorder example - ColVis integration</title> <link rel="stylesheet" type="text/css" hr...
HTML
asset/Admin_theme/AdminLTE/plugins/datatables/extensions/ColReorder/examples/colvis.html
mashfiqcse13/Publication
mit
17,763
609
codeparrot/github-code
41326918e9e8683a5d7360e6787529968a2ceb5c8fce23bc6948d004ceb673f0
const fixtures = require('../../fixtures') const selectors = require('../../../../selectors') const userActions = require('../../support/user-actions') const { companies, contacts } = require('../../../../../src/lib/urls') const { assertKeyValueTable } = require('../../support/assertions') describe('Advisors', () =>...
JavaScript
test/end-to-end/cypress/specs/DIT/companies-spec.js
uktrade/data-hub-fe-beta2
mit
7,734
271
codeparrot/github-code
5196ae3d9807eeb7eb72efccb48f75c18ba1c4f2c56118c8b61e4c0f749e3b62
package world; import cells.WorldCell; import geometry.Parallelepiped; import geometry.Position; import lombok.EqualsAndHashCode; import org.jetbrains.annotations.NotNull; /** * A world cell assigned to a parallelepiped */ @EqualsAndHashCode public final class CellParallelepiped { public final Parallelepiped pa...
Java
src/world/CellParallelepiped.java
slemonide/JLife
mit
1,012
37
codeparrot/github-code
9209716fd91bd8ca8a79ba558c47e3a6b196bda196443c09ec06bc039bbdd1d5
// Copyright (c) 2011-2016 The Bitcoin developers // Copyright (c) 2014-2016 Silk Network // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef DARKSILKUNITS_H #define DARKSILKUNITS_H #include <QString> #include <QAbstrac...
C
src/qt/darksilkunits.h
GregoryBetz/DarkSilk-Release-Candidate
mit
3,630
111
codeparrot/github-code
cd89d03bab4dd8fd46ddaeb3119d025ca4417c1c285da86cd88723bedc8727ac
package com.cit.eugene.service.business; import static org.easymock.EasyMock.createMock; import static org.easymock.EasyMock.expect; import static org.easymock.EasyMock.replay; import static org.easymock.EasyMock.verify; import static org.junit.Assert.assertNotNull; import java.util.ArrayList; import org.j...
Java
MovieStorefrontWithJavaConfig/src/test/java/com/cit/eugene/service/business/GenreManagerImplTest.java
eugenebell/MovieStorefrontWithJavaConfigProject
mit
1,284
51
codeparrot/github-code
2f0c515d423947c14abb27eae5dca2840a33410e537feb08d3763d67f28976f7
#ifndef SCHEDULER_H #define SCHEDULER_H #include "ros/ros.h" #include "EventTriggerUtility.h" #include "elderly_care_simulation/EventTrigger.h" #include "elderly_care_simulation/GuiComm.h" #include <queue> #include "EventNode.h" #include <unistd.h> // sleep class Scheduler { static const int MAX_CONCURRENT_WEIGHT =...
C
elderly_care_simulation/include/Scheduler.h
shaykalyan/SE306-ROS
mit
1,419
52
codeparrot/github-code
cacdd3fb8ef9780d0a0e419c0c1e1f78add62ca643f2c000f15b5536862efa3c
#!/usr/bin/env python import os import glob import argparse import numpy as np import pandas as pd import pycondor import comptools as comp if __name__ == "__main__": p = argparse.ArgumentParser( description='Extracts and saves desired information from simulation/data .i3 files') p.add_argument('-c...
Python
processing/legacy/anisotropy/random_trials/process_teststat.py
jrbourbeau/cr-composition
mit
2,883
69
codeparrot/github-code
3400dc408bc3e02a93373f1afbde4da4776d45c6f10070aee262cc77f49f2a25
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using TestHelper; using Signum.Analyzer; namespace Signum.Analyzer.Test { [TestClass] public class AutoExpressionFieldTest...
C#
Signum.Analyzer/Signum.Analyzer.Test/AutoExpressionFieldTest.cs
avifatal/framework
mit
8,336
267
codeparrot/github-code
e86b2474bfdce97db5ae8022e4c99ea88ee881ba5c16da1b632e81b21bee558e
/****************************************************************************** * * Copyright (C) 2007 - 2014 Xilinx, Inc. All rights reserved. * * 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 Softw...
C
sixpod_freertos901_xilinx_bsp_0/ps7_cortexa9_0/libsrc/lwip141_v1_8/src/contrib/ports/xilinx/netif/xpqueue.c
mosass/SixpodSW
mit
2,446
96
codeparrot/github-code
afca0ed9c9317d56150954dd62438fb453a6e3be05284d786deb4f478e71934f
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> ...
HTML
gallery/showcase/templates/404.html
zach-king/Gallery.io
mit
3,258
84
codeparrot/github-code
1063dcbcbe4c3b79b8c6a2ac415c5f0d691bee251bf5845ff6704cef3de83750
class ProjectsController < ApplicationController skip_before_filter :authenticate_user!, only: [:show] before_filter :project, except: [:new, :create] before_filter :repository, except: [:new, :create] # Authorize before_filter :authorize_admin_project!, only: [:edit, :update, :destroy, :transfer, :archive, ...
Ruby
app/controllers/projects_controller.rb
NuLL3rr0r/gitlabhq
mit
4,980
184
codeparrot/github-code
496b65e8debcf8f8f53aaaba35fc6ed95b07fa0f63006edc9486d7d6ac77fa1d
(function() { var global = global || this || window || Function('return this')(); var nx = global.nx || require('next-js-core2'); var idSelectorRE = /^#([\w-]+)$/; var classSelectorRE = /^\.([\w-]+)$/; var tagSelectorRE = /^[\w-]+$/; var NxSelectorId = nx.SelectorId || require('next-selector-id'); var NxS...
JavaScript
src/next-dom-qsa.js
afeiship/next-dom-qsa
mit
1,391
37
codeparrot/github-code
68f00e1c167f18375f59388ff7815b87cad1548350103e32801bd1e1fb21faf7
from Scouting2017.model.models2017 import ScoreResult from django.db.models.aggregates import Avg from django.db.models.expressions import Case, When import json import math import collections def get_statistics(regional_code, teams_at_competition, team=0): ''' The get_statistics function() returns two lists ...
Python
ScoutingWebsite/Scouting2017/model/get_stastics.py
ArcticWarriors/scouting-app
mit
4,360
90
codeparrot/github-code
ac956e47831304169a22984d1246ec0a71009f4640774d3b4344fcf3231fd4e0
/* Copyright Joyent, Inc. and other Node contributors. All rights reserved. * * 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 * righ...
C
libjl777/libuv/src/unix/udp.c
Bitcoinsulting/dark-test-v2
mit
19,020
739
codeparrot/github-code
7de313e9cf68eead51a40843d9ffae4fe851c2dbd79f2d5b7b3680a95b8713d9
<?php ////////// /// # MEMO /// 多個 keys 的 MultiAdd. <br /> /// (MultiAdd 是 final, 不會再做更多的 DealWith (exception: MultiAddUserFlowPostee). 並且預期所有的 data 都已經存在.)<br /> /// <br /> /// #### GENERAL REQUIRE<br /> /// 1. params['key_ids']<br /> /// 2. 除了 the_timestamp/info/column_name_id 以外. 其他的 column_name/column_value 都需要存在. ...
PHP
doc-gen/dynamic/Search/Search/MultiAddSearch.php
chhsiao1981/tw_ly_cassandra_db
mit
4,568
107
codeparrot/github-code
e66052e564a811a835ce7e806166d2387e84abc38336184e062124e3de439889
package cc.seeed.iot.util; import android.app.Activity; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager; import android.telephony.TelephonyManager; import android.util.Patterns; import java.ne...
Java
app/src/main/java/cc/seeed/iot/util/NetworkUtils.java
awong1900/WiFi_Iot_Node_App
mit
10,114
270
codeparrot/github-code
36983502905ef8716885d8dff9a426fc1087eb3597d686489878a75d9f0ddc2c
package be.kdg.prog3.controllers.model; public class Book { private String title; private String author; public Book() { } public Book(String title, String author) { this.title = title; this.author = author; } public String getTitle() { return title; } pu...
Java
controllers/src/main/java/be/kdg/prog3/controllers/model/Book.java
kdg-ti/programmeren3
mit
533
31
codeparrot/github-code
960a8f46e0e2e0c5ca9d54f6aa796ad0d29da40e0fb24c5b7f5e84f910a5bc4f
const url = require("url"); const { Message, User, GuildMember, Role, Guild, Channel } = require("discord.js"); const regex = { userOrMember: new RegExp("^(?:<@!?)?(\\d{17,21})>?$"), channel: new RegExp("^(?:<#)?(\\d{17,21})>?$"), role: new RegExp("^(?:<@&)?(\\d{17,21})>?$"), snowflake: new RegExp("^(\\d{17,21...
JavaScript
src/classes/Resolver.js
dirigeants/komada
mit
5,640
167
codeparrot/github-code
32bd13f4aff5234af86bc9f6cc1033e9bcf2cdca52baf3a880ddbdf66fe74b81
package util import ( "github.com/go-kit/kit/log" "net/http" "path" "strings" ) type catchAllFileHandler struct { FS http.FileSystem InnerHandler http.Handler serveInstead string Logger log.Logger } func CatchAllFileServer( root http.FileSystem, serveInstead string, logger log.Logger, ) ht...
GO
util/catchallfileserver.go
3onyc/threedo-backend
mit
1,313
71
codeparrot/github-code
cba112c647e0d4fc41b2e902493bd77ea95d7e3cec899508809140c940a92313
require_dependency "pwb/application_controller" module Pwb # class ApiExt::V1::PropsController < ActionController::Base class ApiExt::V1::PropsController < JSONAPI::ResourceController # Skipping action below allows me to browse to endpoint # without having set mime type skip_before_action :ensure_valid...
Ruby
app/controllers/pwb/api_ext/v1/props_controller.rb
etewiah/property-web-builder
mit
5,043
150
codeparrot/github-code
1e3a21427bbd13d12ec5aee39ef5a96bce21be924ab7a97784031524613603dd
//The base class for Poisson Solvers. It defines the interface for solves #ifndef SC_POISSON_SOLVER_BASE_2D_H #define SC_POISSON_SOLVER_BASE_2D_H //MPI Function Wrappers #include "orbit_mpi.hh" #include "wrap_mpi_comm.hh" #include <cstdlib> #include <cmath> #include <string> //pyORBIT utils #include "CppPyWrapper.h...
C++
src/spacecharge/PoissonSolver2D.hh
PyORBIT-Collaboration/py-orbit
mit
2,771
109
codeparrot/github-code
fe7bf3c9f294efaad13717429fd94722246c1e3276416dff6cf93086c3a4d5cc
/** * Module dependencies. */ var express = require('express'); var http = require('http'); var path = require('path'); var handlebars = require('express3-handlebars') //var add = require('./routes/add'); var index = require('./routes/index'); var questions = require('./routes/questions'); var slider...
JavaScript
app.js
isalameh/free-time
mit
1,893
65
codeparrot/github-code
1a078feec361d62fd567ab48b5bff98133eb770c368965c12ffc220add24814f
local AnalyzeResults = {} local function getlines(infile) local lines = {} local fin = io.open(infile) while true do local line = fin:read() if line == nil then break end table.insert(lines, line) end fin:close() return lines end function AnalyzeResults.analyze(src_file, ref_file, tst_fil...
Lua
encdeca/analyze_results.lua
XingxingZhang/dress
mit
1,361
49
codeparrot/github-code
43f984f4cc31cdb315c4f11320a6d0a33c0c54210a80006f7c737b1d1b6e6181
class CliManualSectionRemover def initialize(manual_id:, section_id:, options: {}) @manual_id = manual_id @section_id = section_id @stdin = options.fetch(:stdin, STDIN) @stdout = options.fetch(:stdout, STDOUT) @stderr = options.fetch(:stderr, STDERR) end def call manual, section = manual_...
Ruby
app/lib/cli_manual_section_remover.rb
ministryofjustice/specialist-publisher
mit
2,665
111
codeparrot/github-code
f341b028f7afe98a6752287f795a31322968abaa41f7b8f723bb7d29f7404d50
import { Text } from "@artsy/palette" import * as renderer from "react-test-renderer" import { Timer } from "../Timer" jest.useFakeTimers() jest.mock("v2/Utils/getCurrentTimeAsIsoString") require("v2/Utils/getCurrentTimeAsIsoString").__setCurrentTime( "2018-05-10T20:22:32.000Z" ) const getTimerText = timerCompone...
TypeScript
src/v2/Components/__tests__/Timer.jest.tsx
artsy/force-public
mit
2,513
69
codeparrot/github-code
cff94243eee0b30238648b68ad30858dff492ebdfac73c1e50765ab447b475e5
<?php defined("true-access") or die("No script kiddies please!"); /* * common layout */ function startOfPage() { $informationPath= "./titles/title/"; $titlePath=$informationPath."title.txt"; $subtitlePath=$informationPath."subtitle.txt"; $stringSubtitle=file_get_contents($subtitl...
PHP
wordpress/components/home/view/common.php
beafus/Living-Meki-Platform
mit
5,289
216
codeparrot/github-code
5063e075ee807da19325a8888779e64ca7552f785fcd5e6dcfac28c2e6cdcd73
// Libraries import React, {FunctionComponent, MouseEvent} from 'react' import {Scale} from '@influxdata/giraffe' // Components import ThresholdMarker from 'src/shared/components/ThresholdMarker' import ThresholdMarkerArea from 'src/shared/components/ThresholdMarkerArea' // Utils import {isInDomain, clamp} from 'src/...
TypeScript
ui/src/shared/components/RangeThresholdMarkers.tsx
nooproblem/influxdb
mit
1,949
79
codeparrot/github-code
70ae2bc612e10a4da47a1883c1b9fa3fc69b3587aabd65713205be19910f7eb8
/* Copyright(c) 2013 Andrew Fray Licensed under the MIT license. See the license.txt file for full details. */ using System; using System.Collections.Generic; using System.Linq; namespace UnTest { public static class Assert { public static void IsTrue(bool condition) { if (condition == false) {...
C#
Assets/UnTest/Editor/Assert.cs
jamiepg1/untest
mit
3,716
138
codeparrot/github-code
e4c4d717e07bed1e6f923c7eebc541466ec36876ed2252fbedcf01aa344871e8
module Furnace::AVM2::Tokens class SpecifiersToken < Furnace::Code::TerminalToken def specifiers list = [] list << "static" if @options[:static] unless @options[:environment] == :interface if @origin.name.ns.name == "" list << "public" elsif @options[:instance] ...
Ruby
lib/furnace-avm2/source/declaration_tokens/specifiers_token.rb
whitequark/furnace-avm2
mit
834
34
codeparrot/github-code
5eb2c1e2e63f6d25671f803ef3b92de58b557e7d3e41b7eeeb353d2e1031227d
# frozen_string_literal: true ActiveRecord::Schema.define do # ------------------------------------------------------------------- # # # # Please keep these create table statements in alphabetical order # # unless the ordering matters. ...
Ruby
activerecord/test/schema/schema.rb
arunagw/rails
mit
30,342
1,141
codeparrot/github-code
15a4b9fb77f6ee13ffc749ba199f11f22fc4d807abb8db0f48ee2546d9eb1f64
// Copyright (c) 2014-2021 The Gridcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #pragma once #include "arith_uint256.h" #include <array> #include <vector> namespace GRC { //! //! \brief Calculates and store...
C
src/gridcoin/staking/chain_trust.h
gridcoin/Gridcoin-Research
mit
12,009
361
codeparrot/github-code
3d53834cd5dd75ea8e5f671d9fb6b672adebb1451da2db4d380f9132e2f9c60b
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2019-2022 Baldur Karlsson * * 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...
C++
renderdoc/driver/vulkan/vk_outputwindow.cpp
Zorro666/renderdoc
mit
42,575
1,344
codeparrot/github-code
68a2516f6327f3823ecfd8178e699901bd51bc2b908dc1b45bf081f49c1545b6
function Get-DbaDbIdentity { <# .SYNOPSIS Checks the current identity value via DBCC CHECKIDENT with NORESEED optuin .DESCRIPTION Use the command DBCC CHECKIDENT with NORESEED option to checks the current identity value of a table and return results Read more: - https:/...
PowerShell
functions/Get-DbaDbIdentity.ps1
wsmelton/dbatools
mit
6,880
144
codeparrot/github-code
1e4e77d269c003e4f673b1d5e044fc0eec5188a9285d1868b18a901e553e418b
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace LiteDB { public partial class BsonExpression { #region Year/Month/Day/Hour/Minute/Second /// <summary> /// Get year from date. Suppo...
C#
LiteDB/Document/Expression/Methods/Date.cs
89sos98/LiteDB
mit
5,422
131
codeparrot/github-code
4f2d221fb87456b9e4ebe30282756d95f39a820c69dc32ddc4d7f28d82e42444
<?php defined('BX_DOL') or die('hack attempt'); /** * Copyright (c) UNA, Inc - https://una.io * MIT License - https://opensource.org/licenses/MIT * * @defgroup UnaCore UNA Core * @{ */ /** * All queries related to profiles */ class BxDolProfileQuery extends BxDolDb implements iBxDolSingleton { protected...
PHP
upgrade/files/11.0.2-11.0.3/files/inc/classes/BxDolProfileQuery.php
unaio/una
mit
14,805
396
codeparrot/github-code
9eeeab96f062480ac9f330881d5ae7996971c493c6420287d79c42119fa3718b
""" Flash an LED connected via a FTDI UM232R/245R module using pylibftdi Optionally supply a flash rate (in Hz, default 1) as an argument Copyright (c) 2010-2014 Ben Bass <benbass@codedstructure.net> All rights reserved. """ import time import sys from pylibftdi import BitBangDevice def flash_forever(rate): "t...
Python
pylibftdi/examples/led_flash.py
claudyus/pylibftdi
mit
713
35
codeparrot/github-code
cd82712341e0bc0c5d544006ab0c5a34a35bce4776fdc4c797fe8eed75b31ce7
// // VDataCenter.h // VViewModel // // Created by shadow on 14-3-28. // Copyright (c) 2014年 genio. All rights reserved. // #import <Foundation/Foundation.h> #import "VUtilityDefine.h" @class VDataCenterRequest; @class VDataCenter; @class NSMutableAtomicDictionary; @protocol VDataCenterDelegate <NSObject> @optiona...
C
VViewModel/VViewModel/VDataCenter.h
abcxo/XJoin
mit
1,172
36
codeparrot/github-code
4aba3cb2e3c90bacdea0cb36c54d00fd0728d1bdba3ee3bb5132c4d0741bde81
#ifndef QCHARTVIEWER_H #define QCHARTVIEWER_H #include <QLabel> #include "chartdir.h" // // Forward declarations // class QMouseEvent; // // Mouse usage mode constants // namespace Chart { enum { MouseUsageDefault = 0, MouseUsageScroll = 1, MouseUsageZoomIn = 3, MouseUsageZoom...
C
Beautiful/Trojan/src/3rdParty/ChartDirector/qchartviewer.h
martinkro/tutorial-qt
mit
7,269
213
codeparrot/github-code
4cd740544bdc52fdb23ba0afd3f1dc7ed8a18aa4460f91f5785520d63e90e750
/* Upper level functions for communication with Odroid board. */ #include "Communication.h" #include "stdint.h" #include "robot.h" InPackStruct inCommand ={0xFA, 0xAF, 0x00, 0x00, &param[0]}; //структура входящего пакета void pushByte(char inByte) // поиск, формирование и проверка входящего пакета в потоке данных { ...
C
LowLevel/Small robot/Robot/Communication.c
SkRobo/Eurobot-2017
mit
2,977
92
codeparrot/github-code
80a814278340e65c53c0cd031fafccb83d764d5a24e92dbfd4925ab88d9ab6f0
// use MinUnit from http://www.jera.com/techinfo/jtns/jtn002.html // but change it to use failing assert, instead of just returning the message #define TOL 1e-5 #define mu_assert(message, test) do { \ if (!(test)) \ { \ printf("...
C
test/minunit.h
SCIP-Interfaces/CSIP
mit
1,524
39
codeparrot/github-code
d043c299107ced7b5a8d77e3fd0c03244dc45f4e921daa708870a1be58bd389e
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Practices.DataPipeline.Logging.NLog { #region "Usings" using System; using Microsoft.Practices.DataPipeline.Logging; #endregion ...
C#
src/Implementation/Shared/Core/Logging/NLog/TraceLogWrapper.cs
mspnp/data-pipeline
mit
11,149
319
codeparrot/github-code
3184a78d741a508dcb2ff47b7d565113c9f0e1b6f55ce4f4ed4452bb8a682326
module TechRadar { export class Content{ public isSelected : boolean; public previewImage : string; public videoUrl : string; constructor( public id : number, public contentType : string, public content : string, public subTitle : string ){ ...
TypeScript
public/directives/techRadar/technology.ts
neelanshu/techradar-configurable
mit
1,063
43
codeparrot/github-code
c7b98c0db129bac357cea78b712d57dafffde75fa916077bafeaa1516f37ef02
#!/bin/bash ERRORS=() ### # Check that site can be built. ### echo " *** Checking that site can be built." make build if [[ $? -eq 0 ]]; then echo " *** Site built ok." else echo " *** Site could not be built." exit 1 fi ### # Check that no links are broken. ### # TODO reinstate this #echo " *** Checking tha...
Shell
pre-flight-checks.sh
PyconUK/2017.pyconuk.org
mit
1,096
56
codeparrot/github-code
669d36c7cfe306fcbc6b3ad4907d710b40073100503408130100e5847ce703f6
/** * @file TLS certificate tools. * @author zdying */ 'use strict'; var fs = require('fs'); var os = require('os'); var https = require('https'); var path = require('path'); var forge = require('node-forge'); var pki = forge.pki; var md5 = forge.md.md5; var mkdirp = require('./mkdirp'); var dirtool = require('../...
JavaScript
src/helpers/certTool.js
hiproxy/hiproxy
mit
9,042
365
codeparrot/github-code
4abe0d28b0604e84e7303f24c9c2cc20d9748afc3a9c77b81a240ba3a7bfb7ce
require 'erb' module HerokuRailsSaas class Config SEPARATOR = ":" class << self def root @heroku_rails_root || ENV["RAILS_ROOT"] || "." end def root=(root) @heroku_rails_root = root end def app_name(app, env) "#{app}#{SEPARATOR}#{env}" end ...
Ruby
lib/heroku-rails-saas/config.rb
TerraCycleUS/heroku-rails-saas
mit
5,193
170
codeparrot/github-code
5dd805f8bc2f021f246fe6d9ea63e4f620219117689a6d6ff4237a1d48f86c4e
#include "f2c.h" #include "blaswrap.h" /* Table of constant values */ static integer c__1 = 1; /* Subroutine */ int slaein_(logical *rightv, logical *noinit, integer *n, real *h__, integer *ldh, real *wr, real *wi, real *vr, real *vi, real *b, integer *ldb, real *work, real *eps3, real *smlnum, real *bignum, i...
C
third_party/clapack/SRC/slaein.c
dacap/loseface
mit
17,500
667
codeparrot/github-code
0f6de82b6a211596f9fee5f3f4213a33da069ab53062d526dc29f76984fd209b
package com.myhitchhikingspots.utilities; import android.os.AsyncTask; import android.util.Log; import android.widget.Toast; import com.crashlytics.android.Crashlytics; import com.myhitchhikingspots.Constants; import com.myhitchhikingspots.R; import com.myhitchhikingspots.ToolsActivity; import java.io.File; import j...
Java
app/src/main/java/com/myhitchhikingspots/utilities/DownloadPlacesAsyncTask.java
leocarona/MyHitchhikingSpots-for-Android
mit
3,524
98
codeparrot/github-code
36a80c15450d2076e391e9171f244f3f62ad3f7903d02d42ff59f2f45c90c66b
package seedu.taskell.model; import java.util.List; import seedu.taskell.model.tag.Tag; import seedu.taskell.model.tag.UniqueTagList; import seedu.taskell.model.task.ReadOnlyTask; import seedu.taskell.model.task.UniqueTaskList; /** * Unmodifiable view of an task manager */ public interface ReadOnlyTaskManager { ...
Java
src/main/java/seedu/taskell/model/ReadOnlyTaskManager.java
Mamtha3005/addressbook-level4
mit
601
31
codeparrot/github-code
413f18622d234b32267dc1548c85932172a35e336926680b13a5485d900da020
const helpers = require('./helpers'); const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin'); const ContextReplacementPlugin = require('webpack/lib/ContextReplacementPlugin'); const {CheckerPlugin} = require('awesome-typescript-loader'); const getConfig = (hasCoverage, isTddMode) => { let extraRul...
JavaScript
config/webpack.test.js
murek85/ngx-mgauge
mit
3,951
117
codeparrot/github-code
6bf8a7498a9b1377a2918cb7be2be340395be8eac79065030caf4d85800e1204
;(function($){ "use strict"; Metis.formGeneral = function() { $('.with-tooltip').tooltip({ selector: ".input-tooltip" }); /*----------- BEGIN autosize CODE -------------------------*/ if($('#autosize').length){ $('#autosize').autosize(); } /*----------- END autosize CODE...
JavaScript
src/assets/js/app/formGeneral.js
r4nd1/template-cpanel-metis
mit
5,559
159
codeparrot/github-code
e1bccb04d2f5d0fc2d4b873859f4147a424c5579ef87d9d471a6317e6c0cfebf
(function() { Dagaz.View.KO_ALPHA = 0.3; var checkVersion = Dagaz.Model.checkVersion; Dagaz.Model.checkVersion = function(design, name, value) { if (name != "uxo-restrictions") { checkVersion(design, name, value); } } var CheckInvariants = Dagaz.Model.CheckInvariants; Dagaz.Model.CheckInvari...
JavaScript
src/debug/games/arrange/uxo-restrictions.js
GlukKazan/Dagaz
mit
1,103
40
codeparrot/github-code
049245b2b99b21b996073cdf24078677f1be8d9586b4782fc6e1a10d46b836a6
import pygame as pg from settings import * class Map: def __init__(self, filename): self.data = [] with open(filename, 'rt') as f: for line in f: self.data.append(line.strip()) self.tilewidth = len(self.data[0]) self.tileheight = len(self.data) s...
Python
tutorials/tilemap/part 05/tilemap.py
kidscancode/gamedev
mit
1,035
35
codeparrot/github-code
a42efb28016ae4389683e056f4024a210b0b82bbb720070b3ea44b837acd95c9
// Grouping module ;(function($){ "use strict"; $.extend($.jgrid,{ template : function(format){ //jqgformat var args = $.makeArray(arguments).slice(1), j, al = args.length; if(format===undefined) { format = ""; } return format.replace(/\{([\w\-]+)(?:\:([\w\.]*)(?:\((.*?)?\))?)?\}/g, function(m,i){ if(!isNaN(p...
JavaScript
web/bundles/yptjqgrid/js/grid.grouping.js
forsaken17/safe
mit
13,211
427
codeparrot/github-code
3377b3891d481e48d0a2d5ea40f02e50fac8c022faea8df7516a2e59f15eb728
{% extends "layout.html" %} {% block page_title %} Check your email {% endblock %} {% block content %} <main id="content" role="main"> <!-- alpha banner --> <div class="phase-banner-beta"> <p> <strong class="phase-tag">BETA</strong> <span>This is a new service – your <a href=".....
HTML
app/views/add_charge/v4-9-3/code-error-empty.html
LandRegistry/llc-prototype
mit
2,104
56
codeparrot/github-code
1015f172e3907d943aeb6c4aa10e4e7c68251e87f8aa96a4b99c60dc8bcb664c
/* * Copyright 2015 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
C
Boss2D/addon/webrtc-jumpingyang001_for_boss/rtc_base/bufferqueue.h
koobonil/Boss2D
mit
2,031
62
codeparrot/github-code
16df0ce45d5db33268fa52b398e36d15f566a315150a4c68728b2be33bcfabe6
#ifndef SHADER_H_UTH #define SHADER_H_UTH #include <unordered_set> #include <string> #include <pmath/PMath.hpp> #include <UtH/Platform/Enums.hpp> #include <UtH/Resources/Resource.hpp> namespace uth { class RenderTarget; class Shader : Resource { struct Deleter { void operator()(Shader* file) const { ...
C++
include/UtH/Resources/Shader.hpp
TeamZilla/Destroyer
mit
1,642
60
codeparrot/github-code
9b172384170a17abe5e870810dd2747738f9a8338b7a2de8fc284e637d104205
namespace Merchello.Core.Models { using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; using System.Net.Configuration; using System.Runtime.Serialization; using System.Threadi...
C#
src/Merchello.Core/Models/LineItemCollection.cs
clausjensen/Merchello
mit
5,776
195
codeparrot/github-code
1b6845724779496856fac0c2e3e82cbd32f91dfa906e74a06e0743870ffbaec5
<?php /* * This file is part of the symfony package. * (c) Fabien Potencier <fabien.potencier@symfony-project.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * sfWidgetFormSelectRadio represents radio HTML tags. * * @p...
PHP
lib/widget/sfWidgetFormSelectRadio.class.php
avorobiev/symfony
mit
4,031
125
codeparrot/github-code
0aa88f7ab82e2d897068c605e928cc81f8891ac62f9e437f31d081df2b43582e
/* * $RCSfile: TIFFImageReader.java,v $ * * * Copyright (c) 2005 Sun Microsystems, Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistribution of source code must reta...
Java
Windows/testjni32/src/com/sun/media/imageioimpl/plugins/tiff/TIFFImageReader.java
Windowsfreak/NIStreamer
mit
59,013
1,573
codeparrot/github-code
59abe5b5cdd71b49bd1e73daa880d88a3391736756b6a92d7af12d7be9f00a3f
var express = require("express"); var router = express.Router(); var Post = require("../models/post"); var authMiddleware = require("../middlewares/auth"); router.route("/") .get(function(req, res, next) { Post.find({}, function(error, posts) { return res.render("posts/list", {posts: posts}); }); ...
JavaScript
koscom/1st/02_express/routes/posts.js
dobestan/nodecamp
mit
817
42
codeparrot/github-code
0fcbebce0e014c4d104adb8f03fd6e3cfb1e9e82ed6c5a8afb8ed779767830a9
# InvFourierLayerState immutable InvFourierLayerState <: AbstractScatteredLayerState blobs::Vector{Mocha.Blob} layer::InvFourierLayer end function InvFourierLayerState( backend::Mocha.CPUBackend, layer::InvFourierLayer, inputs::Vector{Mocha.Blob}, diffs::Vector{Mocha.Blob}) ...
Julia
src/invfourierlayerstate.jl
lostanlen/WaveletScattering.jl
mit
1,161
37
codeparrot/github-code
d6353e128f5e74a4fb106eaef89a8905fe51b132608981d82153dffeebef3b27
namespace Merchello.Bazaar.Controllers { using System; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using System.Web.Security; using Merchello.Bazaar.Models.Account; using Merchello.Core.Models; using Umbraco.Core.Logging; using Umbraco.Web.Mvc; ...
C#
src/Merchello.Bazaar/Controllers/Surface/AccountOperationsController.cs
BluefinDigital/Merchello
mit
7,475
221
codeparrot/github-code
9b40cdb8a0200276373d4130e77816abc7f69a65fb01eaf7ca110df654e3ab12
package example; //-*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: //@homepage@ import java.awt.*; import java.awt.event.*; import java.util.Objects; import javax.swing.*; import javax.swing.text.*; public final class MainPanel extends JPanel { public MainPanel() { super(new GridLayout(2, ...
Java
DeleteKeyBeep/src/java/example/MainPanel.java
mhcrnl/java-swing-tips
mit
6,280
149
codeparrot/github-code
7d08aeec08b022a596633143ecca5f8935df39fe07c6a41b9a242311efde06ef
// Copyright (c) 2009-2021 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <rpc/server.h> #include <addrman.h> #include <banman.h> #include <chainparams.h> #include <clientversion.h> #includ...
C++
src/rpc/net.cpp
mm-s/bitcoin
mit
45,751
986
codeparrot/github-code
cfb00e33ead91d3d129cd973a899f8c54e8943054d6c5b3d8f1aba48358f2e8c
import pdb import numpy as np from xml.etree.ElementTree import Element from xml.etree import ElementTree class ProbeBox(Element): def __init__(self, Name='port_ut1', Type='wv', Weight='1'): """ type: 0 for voltage probing => 'vp' 1 for current probing => 'cp' 2 for E-field probing...
Python
pylayers/em/openems/probebox.py
pylayers/pylayers
mit
1,149
39
codeparrot/github-code
e3bde1b82b444f7391c91ff577b6dd39261b0e1efa50cb73458bdda7203b138d
package org.mahjong4j.nosituation; import org.junit.Before; import org.junit.Test; import org.mahjong4j.Player; import org.mahjong4j.hands.Hands; import org.mahjong4j.tile.Tile; import org.mahjong4j.yaku.normals.NormalYaku; import org.mahjong4j.yaku.yakuman.Yakuman; import java.util.List; import static junit.framewo...
Java
src/test/java/org/mahjong4j/nosituation/ChitoitsuTest.java
mahjong4j/mahjong4j
mit
1,759
71
codeparrot/github-code
ad4fb15d56c7753fac8be391f2f1ba4e78d5b9bfb52b57ddc99724231a0e78ab
/*************************************************************************************************************************************** * Copyright (C) 2001-2012 LearnLift USA * * Contact: Learnlift USA, 12 Greenway Plaza, Suite 1510, Houston, Texas 77046, support@memorylifter.com * * ...
C#
MemoryLifter/Main/StickFactory/DriveStatusControl.Designer.cs
hmehr/OSS
mit
8,510
159
codeparrot/github-code
0483d6bfcd6a34984ff4e6cae2c639468ce0d9806cee293ccc8e2587c37a9067
package net.sf.jabref.gui.preftabs; import java.awt.BorderLayout; import java.awt.Font; import java.awt.GridBagLayout; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swing.JComboBox; i...
Java
src/main/java/net/sf/jabref/gui/preftabs/AppearancePrefsTab.java
mairdl/jabref
mit
12,049
288
codeparrot/github-code
a6a37a7c34557b419a4908196845d0aca9adf7c200a591707bb9c19d8f0cd75d
/* IWT2_PO.C .MEX file corresponding to iwt2_po.m Periodized Wavelet Transform The calling syntax is: wc = iwt2_po(image,L,qmf) David Donoho Copyright (c) 1993 David Donoho All Rights Reserved */ #include <math.h> #include "mex.h" #include "wavelab.h" void idpwt2(double *wc,in...
C
codes/missingfuncs/Wavelab850/MEXSource/IWT2_PO.c
linhvannguyen/PhDworks
mit
3,854
174
codeparrot/github-code
43afd27465fb7ae63325e4aaa0cac65e94d144259ac8948ddf07dc74e231fcb5
const express = require('express') const methodOverride = require('method-override') const _ = require('lodash') const lodashId = require('lodash-id') const low = require('lowdb') const Memory = require('lowdb/adapters/Memory') const FileSync = require('lowdb/adapters/FileSync') const bodyParser = require('../body-pars...
JavaScript
src/server/router/index.js
legovaer/json-server
mit
2,175
95
codeparrot/github-code
980d670545ee308d3176927f6d49e3c2c26d657559797d39c93d1001976bed47
/* -------------------------------------------------------------------------- * * File KWTimerLabel.cpp * Description * Ported By Young-Hwan Mun * Created By giginet - 11/06/21 * Contact xmsoft77@gmail.com * * -----------------------------------------...
C++
04_Sample/KawazBuster/Source/kwing/KWTimerLabel.cpp
mcodegeeks/OpenKODE-Framework
mit
4,808
189
codeparrot/github-code
59a3d2c08013379714827f07705dcf94b37725f3de1e1bd7e09ac7c97711bb6c
# # Author:: Dangleterre Michaël # © Copyright ArubaCloud. # # LICENSE: MIT (http://opensource.org/licenses/MIT) # require 'fog/arubacloud/service' require 'fog/arubacloud/error' require 'benchmark' module Fog module ArubaCloud class Compute class Real def rename_shared_storage(data) bo...
Ruby
lib/fog/arubacloud/compute/requests/rename_shared_storage.rb
blackms/fog-arubacloud
mit
1,465
53
codeparrot/github-code
002cdf8fb0bf9baf4763a3230a4483ce26f74744bc0e0ef594471596c3564176
{{diagnostic}} <div class="aw-ui-callout aw-ui-callout-info"> <span>Please see below all the price set for various Asha Payment Activities.</span> </div> <form class="form-horizontal" #rulesForm="ngForm" (ngSubmit)="onSubmit(ruleForm.value)" method="POST"> <div> <h2>Maternal Health</h2> ...
HTML
.history/src/app/admin-configuration/manage-activity-payment/manage-activity-payment.component_20170211124816.html
mnjkumar426/AshaFrontEnd
mit
42,639
780
codeparrot/github-code
dc24e5f5ed019d627c7fbb890d90ca8f3e62dfb232970a2db597acbb7b6e5d15
/*! * ui-grid - v4.9.0 - 2020-09-27 * Copyright (c) 2020 ; License: MIT */ (function () { 'use strict'; /** * @ngdoc overview * @name ui.grid.pinning * @description * * # ui.grid.pinning * * <div class="alert alert-success" role="alert"><strong>Stable</strong> This feature is stable. Ther...
JavaScript
ajax/libs/angular-ui-grid/4.9.0/ui-grid.pinning.js
cdnjs/cdnjs
mit
10,126
281
codeparrot/github-code
31116c74d2c941e2d0341665ffc48e22e3c36403e874387b008c13e851c64143
#ifndef _CHUNK_H_ #define _CHUNK_H_ #include "prerequisites.h" #include "Region.h" #include <mutex> // for standard size types #include <cstdint> class TerrainGeometry; class World; typedef std::map<size_t, BlockPtr> BlockList; class Chunk { protected: /** * World Pointer */ World* mWorld; /** * Array of...
C
include/Chunk.h
danhedron/Magnetite
mit
5,349
290
codeparrot/github-code
0bce1a5554ecc8a87f2b6cef0cc1f646d22462ae25bade0c18f0b76b0dd0f7bd
/** * Created by sunNode on 16/10/22. */ var should = require('should') var app = require('../app') var request = require('supertest') describe('get single product test', function () { it('should get this is ios product success', function (done) { request(app) .get('/single-product/582724b31a3fb68e...
JavaScript
test/test-single-product.js
SensitiveMix/commerce
mit
1,277
42
codeparrot/github-code
40f50b5d3b1e4894a26da95969cd02617a42d2171326db395144cfc2f6e06332
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2002,2008 Oracle. All rights reserved. * * $Id: BytecodeEnhancer.java 63573 2008-05-23 21:43:21Z trent.nelson $ */ package com.sleepycat.persist.model; import static com.sleepycat.asm.Opcodes.ACC_ABSTRACT; import static com.sleepycat....
Java
UnrealPyEmbed/Development/Python/2015.08.07-Python2710-x64-Source-vs2015/Python27/Source/db-4.7.25.0/java/src/com/sleepycat/persist/model/BytecodeEnhancer.java
mollstam/UnrealPy
mit
56,302
1,549
codeparrot/github-code
caf7520af1f49bd0b60f892ccc2c0f0e078e0a5f303c2fa2e78fc4cd398fbada
{% extends "base.html" %} {% load i18n mezzanine_tags blog_tags keyword_tags disqus_tags %} {% block meta_title %}{% if page %}{{ page.meta_title }}{% else %}{% trans "Blog" %}{% endif %}{% endblock %} {% block meta_keywords %}{% metablock %} {% keywords_for page as keywords %} {% for keyword in keywords %} {% if...
HTML
templates/blog/blog_post_list.html
amigcamel/taipei.py
mit
5,184
183
codeparrot/github-code
6f891577dc2f6587f6be07a1816c625bb07c217b1e69e6028b012cf75fd6f31f
//--------------------------------------------------------------------- // <copyright file="edm_model.cpp" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //----------------------------------------------...
C++
src/edm/edm_model.cpp
lewischeng-ms/odatacpp-client
mit
2,530
107
codeparrot/github-code
946e20ab54a26baafe55179dd19601d0d45e0d77ca261823969fac560d9a3312
<?php // vim:set ts=4 sw=4 et: /** * This file is part of the ElasticSearch PHP client * * (c) Raymond Julin <raymond.julin@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ class ElasticSearchTransportHTTPException exten...
PHP
libs/elasticsearch/lib/transport/ElasticSearchTransportHTTPException.php
greevex/grunge
mit
1,390
57
codeparrot/github-code
91a3c61dbb583445e5bdeb02a3599879f7d29314a1ce952ecda2fe73feb16d77
import moment from 'moment'; export default class Template { constructor() { this.templatePattern = { 'year': this.getYear, 'month': this.getMonth, 'date': this.getDate, 'user': this.getUser, }; } getYear() { return moment().format('YYYY'); } getMonth() { return mom...
JavaScript
resource/js/util/LangProcessor/Template.js
crow-misia/crowi
mit
1,594
65
codeparrot/github-code
782664dabaab7a6fe4b41d89ea6c19b23cfd459497b819d41c4a7aefa276c34b
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // ...
JavaScript
ajax/libs/codemirror/5.50.0/mode/julia/julia.js
cdnjs/cdnjs
mit
12,583
428
codeparrot/github-code
b0a17971482480397dd24712d575694e4324e5875d1e81a6fab3ffd06bbfab77
package net.minecraft.server; import io.netty.buffer.ByteBuf; import java.io.IOException; public class PacketPlayInCustomPayload implements Packet { private String a; private PacketDataSerializer b; public PacketPlayInCustomPayload() {} public void a(PacketDataSerializer packetdataserializer) { ...
Java
Server/work/decompile-8eb82bde/net/minecraft/server/PacketPlayInCustomPayload.java
Codecarinas/server
cc0-1.0
1,163
45
codeparrot/github-code
00226384797f250794cec26e530ecda6d99ab2331d0743ef4a198d7c10099343
namespace Sciencetific_Calc { partial class crossword { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary...
C#
A to Z Games V2 Project/crossword.Designer.cs
RedStoneCr33per/AtoZGamesV2
cc0-1.0
32,301
583
codeparrot/github-code
d2d188ff671a8b6dc4aceaf12d386ed9fd04ddedd7a81ccdb4411d7d0e39009b
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <!-- Bootstrap Late...
HTML
app/templates/base.html
karlorg/drunken-octo-avenger
cc0-1.0
9,010
181
codeparrot/github-code
c782892f14c9ba0001687df1a5e0f08f129b43d0bdf5724862d8335045818400
/******************************************************************************* * Copyright (c) 2012-2015 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
plugin-datasource/che-plugin-datasource-ext-client/src/test/java/org/eclipse/che/ide/ext/datasource/client/sqleditor/codeassist/TestSqlCodeAssistProcessor.java
sunix/che-plugins
epl-1.0
17,339
397
codeparrot/github-code
6fa1ba76579cef9362af10737e68247e5788c8427a9f08deb9eb20376b28e8f9
/*==========================================================================*/ /*cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc*/ /*==========================================================================*/ /* */ /* ...
C
src/communicate/control_group_communicators.c
yuhangwang/PINY
epl-1.0
15,943
360
codeparrot/github-code
8fe3d75642f10cd21e603665887e962ff2cb7e0dd4892a05628657cdc19b5962
/******************************************************************************* * Copyright (c) 2019 IBM Corporation 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 a...
Java
dev/com.ibm.ws.wsat.common/src/com/ibm/ws/wsat/common/impl/WSATParticipant.java
OpenLiberty/open-liberty
epl-1.0
4,326
134
codeparrot/github-code
1438b68f964738d5fbac041baae0290e5089b33b60011c2292226da25c5c1862
/*! * Copyright 2010 - 2015 Pentaho Corporation. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
JavaScript
js-lib/expanded/common-ui/prompting/parameters/ParameterDefinition.js
SteveSchafer-Innovent/innovent-pentaho-birt-plugin
epl-1.0
4,784
145
codeparrot/github-code
5ad7aec5d3e3e9b29d35a0987f2a2392dafe28624a9179295eef7671ec75a30c
/*! \file \brief <a href="http://github.com/sparist/Om">Om</a> source file. \version 0.1.3 \date 2012-2014 \copyright Copyright (c) <a href="http://sparist.com">Sparist</a>. All rights reserved. This program and the accompanying materials are made available under the terms of the <a href="http://www.eclipse...
C++
code/om/language/evaluation.cpp
yashkulkarni/Om
epl-1.0
2,679
117
codeparrot/github-code
b4ff629b414ab615f266dfe6c92c09bdd17be7df50a1c4676f38f98645d416f4
/** * Copyright (c) 2010-2021 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
Java
bundles/org.openhab.binding.denonmarantz/src/main/java/org/openhab/binding/denonmarantz/internal/xml/entities/ZoneStatusLite.java
MikeJMajor/openhab2-addons-dlinksmarthome
epl-1.0
2,103
82
codeparrot/github-code
0e356975a313663ff5cf440fa8fd0a5fb9cef5f77874b0e188af6417f0fde096
/****************************************************************************** * Copyright (c) 2000-2016 Ericsson Telecom AB * 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 avail...
C++
core/Port.cc
BenceJanosSzabo/titan.core
epl-1.0
83,625
2,468
codeparrot/github-code
24cff476440cc89377aa1026f09ba9e0a2293ee5ce5d36618ad1f93af85ce01f
/** * Copyright (c) 2010-2018 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */...
Java
addons/binding/org.openhab.binding.powermax/src/main/java/org/openhab/binding/powermax/internal/message/PowermaxInfoMessage.java
tavalin/openhab2-addons
epl-1.0
2,535
83
codeparrot/github-code
b1973cc34b96a09675e0fda36fbfe0a7b93351d9f5646aac2ca170961460156c
/** * Copyright (c) 2010-2021 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
Java
bundles/org.openhab.binding.kodi/src/main/java/org/openhab/binding/kodi/internal/discovery/KodiUpnpDiscoveryParticipant.java
paulianttila/openhab2
epl-1.0
4,455
112
codeparrot/github-code
f638c096760160f0c38c5be60e68f3f66ea1dc4920039b8781bf00f25f481c8d
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
Java
bundles/binding/org.openhab.binding.pilight/src/main/java/org/openhab/binding/pilight/internal/communication/Config.java
openhab/openhab
epl-1.0
958
41
codeparrot/github-code
9138ffe9115dfbc4120464b6efdbf00cf31df6e37e0f280f132522db0f706e31
package de.cooperateproject.modeling.graphical.papyrus.extensions.usecase; import org.eclipse.core.commands.IHandler; import org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart; import org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand; import org.eclipse.papyrus.uml.diagram.usec...
Java
bundles/de.cooperateproject.modeling.graphical.papyrus.extensions.usecase/src/de/cooperateproject/modeling/graphical/papyrus/extensions/usecase/ChangetoMachineShapeHandler.java
Cooperate-Project/Cooperate
epl-1.0
1,304
35
codeparrot/github-code
e302a79662c422d3bd43cf74b3c6baa4d39825886047393e58547fb6f4a6a061
/******************************************************************************* * Copyright (c) 2009 Centrum Wiskunde en Informatica (CWI) * 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, an...
Java
test/org/eclipse/imp/pdb/test/TestBinaryIO.java
cwi-swat/pdb.values
epl-1.0
4,839
121
codeparrot/github-code