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 |
|---|---|---|---|---|---|---|---|---|
a5c8cf015192bef6ad49b964b3f2896878f092d2660ff8d058f3a05b8124b5f9 | /*
Copyright (C) 2011-2017 Michael Goffioul
This file is part of Octave.
Octave is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
Octave is... | C | libgui/graphics/PushButtonControl.h | xmjiao/octave-debian | gpl-3.0 | 1,136 | 48 | codeparrot/github-code |
8bb4f51508f3cad618d1af6108d92913cee42f6964bfc1b3c8876247d37dc175 | package com.base.engine.math;
public class Vector2f
{
private float x, y;
public Vector2f(float x, float y)
{
this.x = x;
this.y = y;
}
public Vector2f normalized()
{
float len = length();
float x_ = x / len;
float y_ = y / len;
... | Java | ge_common/com/base/engine/math/Vector2f.java | mattparizeau/2DGameEngine | gpl-3.0 | 1,731 | 99 | codeparrot/github-code |
fe8f845955e907c64916f5f66a1933c6107753d71f9fdce644eb622c6c15730e | /*
* Twidere - Twitter client for Android
*
* Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the Lice... | Java | src/org/mariotaku/twidere/util/EnvironmentAccessor.java | gen4young/twidere | gpl-3.0 | 1,877 | 53 | codeparrot/github-code |
6cd6d2da300ec09ff940a42588ac4449aa1746618c90b2060e0cef3afa47934a | #include "toString.h"
vector<string> splitString(string s, char c) {
stringstream ss(s);
string token;
vector<string> res;
while (std::getline(ss, token, c)) res.push_back(token);
return res;
}
string toString(string s) { return s; }
string toString(bool b) { stringstream ss; ss << b; return ss.s... | C++ | src/core/utils/toString.cpp | infobeisel/polyvr | gpl-3.0 | 2,978 | 160 | codeparrot/github-code |
cf837ddc82bafd3b925d08d4fc5f0c18bc838688d45b070a6eb61ae1ff82966d | <?php
class NivelSni extends AppModel {
var $name = 'NivelSni';
var $displayField = 'nombre';
var $validate = array(
'nombre' => array(
'minlength' => array(
'rule' => array('minlength', 1),
'message' => 'Valor muy pequeño.',
'allowEmpty' => false
),
),
'descripcion' => array(
'minlength' ... | PHP | app/models/nivel_sni.php | esteban-uo/-Grafo-Red-Social-de-Investigadores | gpl-3.0 | 801 | 39 | codeparrot/github-code |
16aba5dee77170c55319af6b6b3403a506a3f311517a09cc50799081f0b87adb |
public class Silver extends Piece {
public Silver(int owner) {
super(owner);
setSymbol("S");
setType("Silver");
}
public boolean canMove(Square from, Square to, Board b) {
if(promoted) {
//Gold movement code
if((Math.abs(from.getR() - to.getR()) <= 1 &&
(Math.abs(from.getC() - to.getC()) ... | Java | src/Silver.java | dma-gh/Shogi-Game | gpl-3.0 | 1,589 | 73 | codeparrot/github-code |
1be395c3cd6041ac9996546069ff47998f9bcea3bcf650ecf1fb8967f0a2d032 | /*
* This file is part of the OTHERobjects Content Management System.
*
* Copyright 2007-2009 OTHER works Limited.
*
* OTHERobjects is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of ... | Java | src/main/java/org/otherobjects/cms/tools/GravatarTool.java | 0x006EA1E5/oo6 | gpl-3.0 | 5,206 | 159 | codeparrot/github-code |
8619fbd09191b47bb5e7c1c48aed6359058a8d7a5f1821eca6f78d78fbb7ab6f | import kivy
kivy.require('1.9.1')
from kivy.uix.popup import Popup
from kivy.uix.label import Label
from kivy.uix.gridlayout import GridLayout
from kivy.metrics import dp
from kivy.app import Builder
from kivy.properties import StringProperty, ObjectProperty
from kivy.clock import Clock
from kivy.metrics import sp
from... | Python | autosportlabs/racecapture/views/util/alertview.py | ddimensia/RaceCapture_App | gpl-3.0 | 3,843 | 139 | codeparrot/github-code |
9dfb2a19151720c027800d55a571ada383fa26be8bf076837f067e7b2478b5ca | <?php
/* Copyright (C) 2003-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2009 Regis Houssin <regis.houssin@capnetworks.com>
*
* This program is free software; you can redistribute it and/or modify
* it u... | PHP | htdocs/product/stock/index.php | jcntux/Dolibarr | gpl-3.0 | 5,429 | 173 | codeparrot/github-code |
7e8ba0f4f9ed4bc82bd7324385927df36c5631ffb192e1b411e926b2a5add1cc | <?php
require_once ('getConnection.php');
$stmt = $connect -> stmt_init();
$query = "SELECT c_token FROM t_course WHERE c_id = ?";
if (!($stmt -> prepare($query))) {
echo "Prepare failed: " . $connect -> errno . $connect -> error;
}
if (!($stmt -> bind_param("d", $_POST["course"]))) {
echo "Bind failed: " . $connect ... | PHP | php/generateTAN.php | Babbafett/evaluate_your_prof | gpl-3.0 | 2,980 | 97 | codeparrot/github-code |
525dc0561631ab1d02be50236f4ad3a05b4bc7a2e8ef699c14d803a364b90924 | /*
This project is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Deviation is distributed in the hope that it will be useful,
but WITHO... | C | src/pages/text/model_loadsave.c | Chen-Leon/DeviationX | gpl-3.0 | 943 | 32 | codeparrot/github-code |
e742159e114e483b99c1173c428d630192bbab6f615def05a77d9e2495f43f37 | /*
Copyright (C) 2013 Jason Gowan
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope tha... | Java | src/com/gowan/plugin/SelectionToICompilationUnitList.java | jesg/junit3Tojunit4 | gpl-3.0 | 5,321 | 212 | codeparrot/github-code |
25f613b69ee272c558b09065683846fe34073bd219f400d60d761d9bab17404b | <?php
namespace DB;
final class mPDO {
private $connection = null;
private $statement = null;
public function __construct($hostname, $username, $password, $database, $port = '3306') {
try {
$dsn = "mysql:host={$hostname};port={$port};dbname={$database};charset=UTF8";
$opt... | PHP | system/library/db/mpdo.php | Copona/copona | gpl-3.0 | 4,141 | 133 | codeparrot/github-code |
73061d2cc0e4f19a45687f18118d192ae53f0c1dbad206d84bc58d693185a8a8 | <?php
/*
Scripts and styles options
*/
/**
* Renders the Scripts and styles options section.
*/
function electric_thop_render_scripts_section(){
echo "<p>" . __('You are not forced to use everything that the theme includes. If you are not going to use a feature (because you don\'t like it or because you prefer a ... | PHP | wp-content/themes/electric/inc/theme-options/scripts.php | cmoralesweb/electric-theme | gpl-3.0 | 3,745 | 78 | codeparrot/github-code |
640b57dc18318265d3b3c7017d4c25c336e053607e62b5a4a00c5c90373dec3e | #ifndef __PROCESSOR_H__
#define __PROCESSOR_H__
#include <gctypes.h>
#include "asm.h"
#define __stringify(rn) #rn
#define ATTRIBUTE_ALIGN(v) __attribute__((aligned(v)))
// courtesy of Marcan
#define STACK_ALIGN(type, name, cnt, alignment) u8 _al__##name[((sizeof(type)*(cnt)) + (alignment) + (((... | C | libogc/include/ogc/machine/processor.h | MbCrew/wiicraft-code | gpl-3.0 | 6,592 | 252 | codeparrot/github-code |
1652d2d5603e7ab39ed425e0fc0ae64b38667a7d2bc7dc0f77ce1a9c882f819e | 'use strict';
angular.module('ldrWebApp')
/**
* @name pageSkipper
* @param config
* @param pages
* @type element
* @description Skip to page directive
* @requires $scope
*/
.directive('pageSkipper', function () {
return {
restrict: 'E',
templat... | JavaScript | client/components/page-skipper/page-skipper.directive.js | qualitance/ldir-web | gpl-3.0 | 1,522 | 48 | codeparrot/github-code |
7d2a59a81833b3a4a72bbccc93470a0abb84f48dcbc680b80e23ce9e8af4877e | odoo.define('point_of_sale.DB', function (require) {
"use strict";
var core = require('web.core');
var utils = require('web.utils');
/* The PosDB holds reference to data that is either
* - static: does not change between pos reloads
* - persistent : must stay between reloads ( orders )
*/
var PosDB = core.Class.ex... | JavaScript | addons/point_of_sale/static/src/js/db.js | jeremiahyan/odoo | gpl-3.0 | 21,089 | 571 | codeparrot/github-code |
7a6fc39f3dbc194e63ba1cbdb1cd7a9acad75e6488f90ee2b4bc29cec2836514 | .PHONY: all help build run builddocker rundocker kill rm-image rm clean enter logs
all: help
help:
@echo ""
@echo "-- Help Menu"
@echo "" This is merely a base image for usage read the README file
@echo "" 1. make run - build and run docker container
@echo "" 2. make build - build docker container... | Makefile | Makefile | joshuacox/mkdomoticz | gpl-3.0 | 5,104 | 190 | codeparrot/github-code |
d300f3ab1adbfcdf184fb8c1e8beb8e260987e652bbc30946b075cd5e83ad1e3 | /* This file is part of My Nes
*
* A Nintendo Entertainment System / Family Computer (Nes/Famicom)
* Emulator written in C#.
*
* Copyright © Ala Ibrahim Hadid 2009 - 2014
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as... | C# | Core/ExternalSoundChannels/VRC6PulseSoundChannel.cs | MetaFight/Mayonnaise | gpl-3.0 | 3,834 | 119 | codeparrot/github-code |
360edc54b2e2bf9544c72a3619471e7710fea501a87b1d4c6b208985b7dd21e8 | /*
* Neon, a roguelike engine.
* Copyright (C) 2017-2018 - Maarten Driesen
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option)... | Java | src/neon/editor/ui/UserInterface.java | kosmonet/neon | gpl-3.0 | 4,700 | 159 | codeparrot/github-code |
e15bb6bdf323b9f14bfdf8d3644d5df13ed2e13d14c12d8aad6d1ab29e56db67 | <?php
use HebrewParseTrainer\Root;
use HebrewParseTrainer\Stem;
use HebrewParseTrainer\Tense;
?>
@extends('layouts.with_sidebar')
@section('sidebar')
<form id="hebrewparsetrainer-settings">
<input type="hidden" id="csrf" value="{{ csrf_token() }}"/>
<div class="form-group">
<h3>Stems</h3>
@foreach (Stem::all()... | PHP | resources/views/trainer.blade.php | camilstaps/HebrewParseTrainer | gpl-3.0 | 4,228 | 99 | codeparrot/github-code |
0840a08851cdf513a0a6fcc4b4a50f986960df667f9727bcc841eee02f6dc9a2 | package net.minecraft.server;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
// CraftBukkit start
import org.bukkit.craftbukkit.event.CraftEventFactory;
import org.bukkit.event.entity.CreatureSpawnEvent;
import org.bukkit.event.entity.SpawnerSpawnEvent;
// C... | Java | src/main/java/net/minecraft/server/MobSpawnerAbstract.java | pvginkel/Tweakkit-Server | gpl-3.0 | 11,945 | 318 | codeparrot/github-code |
32f12bea833d391b163657ae7cd5fd702c3d5efb3004bbcbf4ba1bab929a86d8 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2016-2021 hyStrath
\\/ M anipulation |
-------------------... | C++ | src/lagrangian/molecularDynamics/polyCloud/potentials/energyScalingFunction/basic/energyScalingFunction.H | vincentcasseau/hyStrath | gpl-3.0 | 4,236 | 158 | codeparrot/github-code |
ff0d415cf2f63e93a9257fd336d40f2d8a52c982f4fcede44851cfcd49815618 | #!/usr/bin/python3
### rev: 5.0
### author: <zhq>
### features:
### errors included
### up to 63 bases (2 to 64)
### caps recognition and same output format (deprecated)
### for the function parameters, `cur` represents the current (input) base, `res` represents the result (output) base, and `num` represen... | Python | scale_strict.py | Irides-Chromium/cipher | gpl-3.0 | 1,750 | 55 | codeparrot/github-code |
ec3829d58ebd32af7d2a9e57dc8209c0e244fc9edd28672e65b7e01f53dab8c6 | <?php
/**
* OpenEyes
*
* (C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011
* (C) OpenEyes Foundation, 2011-2012
* This file is part of OpenEyes.
* OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Found... | PHP | protected/models/FamilyHistory.php | openeyeswales/OpenEyes | gpl-3.0 | 3,430 | 106 | codeparrot/github-code |
706579ba2647b0a6b83c566fa2392685d944546e80d3cb09768237f6bf4ad1b0 | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
// manager for the gondola spawning
public class GondolaManager : MonoBehaviour {
private static int N = 50;
private static int DELAY = 4;
private static float OFFSET = -1.8f; // the offet between the rope center and a go... | C# | Assets/Scripts/GondolaManager.cs | sarasolano/ZooBreak | gpl-3.0 | 2,175 | 75 | codeparrot/github-code |
b8bc5dfe21777e2a2c41c41d3ab4b7c5185f1aac61a10a3a394488c170402f63 | import { Component } from '@angular/core';
import { NavController, ToastController } from 'ionic-angular';
import { Http } from '@angular/http';
import { ActionSheetController } from 'ionic-angular';
import { NotifikasiPage } from '../notifikasi/notifikasi';
import { ArtikelBacaPage } from '../artikel-baca/artikel-bac... | TypeScript | src/pages/cari/cari.ts | Rajamuda/cybex-mobile-ipb | gpl-3.0 | 3,304 | 124 | codeparrot/github-code |
683c686a7a264f2a66d04d8b8b908f882e214cbed90dec17d622c9acebf0a9bc | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'events.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
from collections import *
from functools import *
import os, glob
import pandas a... | Python | ui_files/samples.py | vince8290/dana | gpl-3.0 | 11,728 | 282 | codeparrot/github-code |
cd9ceacd467e5c84d616ed5e5513f9bf31ce69130c08465c64c30598efb75f87 | /*
* Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>
*
* This file is part of CasparCG (www.casparcg.com).
*
* CasparCG is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the Lic... | C++ | core/consumer/synchronizing/synchronizing_consumer.cpp | gfto/Server | gpl-3.0 | 11,040 | 440 | codeparrot/github-code |
5534edb564d70c8e4d94e6013346324b1f3725eaac03a6dda58e474e9be8394c | package nest.util;
import android.text.TextUtils;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import timber.log.Timber;
public class TraceTree extends Timber.HollowTree {
private final DebugTree debugTree;
public TraceTree(boolean useTraces) {
debugTree = new DebugTree(useTrace... | Java | appko_tt/app/src/main/java/nest/util/TraceTree.java | withoutuniverse/nest_tt | gpl-3.0 | 3,022 | 115 | codeparrot/github-code |
0ad81873b0e5886cb7983efc8135daee0e1293503fc450466458c0fe0de53d9f | /*
* Copyright (C) 2012 Carl Green
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is... | Java | mpxg2-sysex/src/main/java/info/carlwithak/mpxg2/sysex/effects/algorithms/DetuneStereoParser.java | carlgreen/Lexicon-MPX-G2-Editor | gpl-3.0 | 1,687 | 51 | codeparrot/github-code |
d659048982db7b163a5eb2d0ef6d2a15e85180c61aa842d5bd0176a3d4091ed3 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
\\ / O peration | Version: 3.2
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For ... | C++ | src/meshTools/triSurface/faceTriangulation/faceTriangulation.C | Unofficial-Extend-Project-Mirror/foam-extend-foam-extend-3.2 | gpl-3.0 | 17,132 | 674 | codeparrot/github-code |
cb21f4a297d0eb369566a9935fd8db39f761379bf5147c28a95c28af84fce19f | <?php /* Smarty version Smarty-3.1.19, created on 2016-03-17 14:44:03
compiled from "/Users/Evergreen/Documents/workspace/licpresta/admin/themes/default/template/controllers/shop/helpers/list/list_action_delete.tpl" */ ?>
<?php /*%%SmartyHeaderCode:154545909656eab4a3d7e136-98563971%%*/if(!defined('SMARTY_DIR')... | PHP | cache/smarty/compile/cb/f2/ed/cbf2ed399b76a836e7562130658957cc92238d15.file.list_action_delete.tpl.php | ToxEn/LicPresta | gpl-3.0 | 2,123 | 44 | codeparrot/github-code |
6a5ba91c321eabc416e03f4b5787ced378c8ba7af3ea6c10688d5cf7ef4fe849 | <?php
namespace UJM\ExoBundle\Installation;
use Claroline\InstallationBundle\Additional\AdditionalInstaller as BaseInstaller;
use UJM\ExoBundle\Installation\Updater\Updater060000;
use UJM\ExoBundle\Installation\Updater\Updater060001;
use UJM\ExoBundle\Installation\Updater\Updater060200;
use UJM\ExoBundle\Installation... | PHP | plugin/exo/Installation/AdditionalInstaller.php | remytms/Distribution | gpl-3.0 | 3,059 | 77 | codeparrot/github-code |
e94ea60bde0f33088f9079e9c3e988c0358ce3baac902ca046d79ca2a1ad2fe1 | /*
* Copyright 2014 Erik Wilson <erikwilson@magnorum.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ... | Java | src/main/java/org/tritania/stables/RaceSystem.java | tritania/Stables | gpl-3.0 | 1,118 | 38 | codeparrot/github-code |
b4a82cf042fe6f56689b2a3b65278af3f34089f1d68919ee17b8cd52f880e070 | // This is a generated file. Not intended for manual editing.
package org.modula.parsing.definition.psi.impl;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.... | Java | ims-plugin/gen/org/modula/parsing/definition/psi/impl/DefinitionFormalParametersImpl.java | miracelwhipp/idea-modula-support | gpl-3.0 | 1,213 | 38 | codeparrot/github-code |
7a7b92d9b0d697f3be379212de9f2b8bca2ae58652e9fd10cdd616bf6a526aaf | class MeetingQuery < Query
self.queried_class = Meeting
self.available_columns = [
QueryColumn.new(:subject, :sortable => "#{Meeting.table_name}.subject",:groupable => true),
QueryColumn.new(:location_online, :sortable => "#{Meeting.table_name}.location_online",:groupable => true, caption: 'location')... | Ruby | app/models/meeting_query.rb | MicroHealthLLC/redmine_meeting | gpl-3.0 | 2,145 | 55 | codeparrot/github-code |
aa3345124389c5cbed4f2eea132b67c8f84158360e56cd07763cc9839d7c4502 | /*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
it under the t... | JavaScript | scripts/npc/world0/9120015.js | NovaStory/AeroStory | gpl-3.0 | 3,358 | 57 | codeparrot/github-code |
fbc5a759bd82e34ae9cb9dd86e0c0394f1f862eaeaaa39bd859aa1a112519b95 | {-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# L... | Haskell | amazonka-cloudwatch-logs/gen/Network/AWS/CloudWatchLogs/PutLogEvents.hs | dysinger/amazonka | mpl-2.0 | 5,362 | 153 | codeparrot/github-code |
d716eb155e35071422c652f58479dcc19b155d2e3575500235cad4a3ae8d6515 | /*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright (c) 2015, Joyent, Inc.
*/
var test = require('./test-namer')('vm-to-zones');
var util = require('... | JavaScript | test/unit/vm-to-zones.test.js | eait-itig/triton-cns | mpl-2.0 | 10,814 | 488 | codeparrot/github-code |
01f7becde7cd96dcab0c4035fa98f8afb5813f27d9237429d609a01ab9aa9bb0 | from cProfile import Profile
from optparse import make_option
from django.conf import settings
from django.core.management.base import (BaseCommand,
CommandError)
from treeherder.etl.buildapi import (Builds4hJobsProcess,
PendingJobsProcess,... | Python | treeherder/etl/management/commands/ingest_push.py | adusca/treeherder | mpl-2.0 | 3,195 | 82 | codeparrot/github-code |
51e88179d81acf806f4e4aa012a6b55a97edf32dfb9a15bbe532631ed67c3243 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "p12plcy.h"
#include "secoid.h"
#include "secport.h"
#include "secpkcs5.h"
#define PKCS12_NULL 0x0000
t... | C | security/nss/lib/pkcs12/p12plcy.c | Yukarumya/Yukarum-Redfoxes | mpl-2.0 | 3,082 | 123 | codeparrot/github-code |
32e81b8a87ce5c492c09e18fe1d42685f7713d0745b34c9f7148cd2d716fe86b | //*****************************************************************************
//
// startup_gcc.c - Startup code for use with GNU tools.
//
// Copyright (c) 2012-2013 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying this software for... | C | boards/SW-TM4C-2.0.1.11577/examples/boards/ek-tm4c123gxl/usb_dev_serial/startup_gcc.c | trfiladelfo/unesp_mdt | mpl-2.0 | 16,631 | 352 | codeparrot/github-code |
10a99a00bb64a53edc036dafe98e74203d5c5298dc1b1cb062e571303c788963 | package de.maxgb.vertretungsplan.manager;
import android.content.Context;
import android.os.AsyncTask;
import de.maxgb.android.util.Logger;
import de.maxgb.vertretungsplan.util.Constants;
import de.maxgb.vertretungsplan.util.Stunde;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
... | Java | app/src/main/java/de/maxgb/vertretungsplan/manager/StundenplanManager.java | maxanier/Vertretungsplan | mpl-2.0 | 6,172 | 228 | codeparrot/github-code |
96415dec417a449fcb41c9281b4f60e5d31d97dce339cbfe9ea108d6d47d68de | import tape from 'tape'
import Common, { Chain, Hardfork } from '@ethereumjs/common'
import { FeeMarketEIP1559Transaction } from '@ethereumjs/tx'
import { Block } from '@ethereumjs/block'
import { PeerPool } from '../../lib/net/peerpool'
import { TxPool } from '../../lib/sync/txpool'
import { Config } from '../../lib/c... | TypeScript | packages/client/test/sync/txpool.spec.ts | ethereumjs/ethereumjs-vm | mpl-2.0 | 11,829 | 378 | codeparrot/github-code |
47053f8f1ed44d15a9cc10dcfceeb930256df100cf1736a4ae59219b9edfc9e2 | /*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://ww... | JavaScript | V1/fckeditor/fckconfig.js | anam/abs | mpl-2.0 | 13,600 | 326 | codeparrot/github-code |
baf1890599bda1640c098adcfebcddc9b202dc1c8ae1106400f2e70da428d049 | package testtravis;
import static org.junit.Assert.*;
import org.junit.Test;
public class Operar_unit {
@Test
public void testSumar() {
System.out.println("Sumar dos numeros");
int numero1 = 6;
int numero2 = 6;
Operaciones instance = new Operaciones();
int expResult = 12... | Java | src/testtravis/Operar_unit.java | nricaurte/prueba_degit | mpl-2.0 | 1,428 | 59 | codeparrot/github-code |
53933f5b035ae8feb302e10a3a555cd445f5d8cb20f105a3161a4325bac31bd7 | "use strict";
add_task(setupPrefsAndRecentWindowBehavior);
let testcases = [
/**
* A portal is detected when there's no browser window,
* then a browser window is opened, and the portal is logged into
* and redirects to a different page. The portal tab should be added
* and focused when the window is op... | JavaScript | browser/base/content/test/captivePortal/browser_CaptivePortalWatcher_1.js | Yukarumya/Yukarum-Redfoxes | mpl-2.0 | 3,581 | 92 | codeparrot/github-code |
517ef63b0a919973c9b23c1f513593bf495faf155561b85ecf8731417e0e1eda | /* Copyright (c) 2013-2015 Jeffrey Pfau
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef GBA_VIDEO_H
#define GBA_VIDEO_H
#include <mgba-util/common.h>
... | C | include/mgba/internal/gba/video.h | libretro/mgba | mpl-2.0 | 7,046 | 241 | codeparrot/github-code |
062bd003cdac3bc7e3df9cc3b695058a818f19de65f2a326d90802de1fd4f55d | class VoidTile
include IndefiniteArticle
DEAD_COORDINATE = -9001
attr_reader :x
attr_reader :y
attr_reader :z
attr_reader :plane
def self.generate_hash(x, y, z)
{ x: x, y: y, z: z, name: '', description: '', colour: 'black', type: 'Void', occupants: 0}
end
class FakeArray < Array
def <<(ignored)
se... | Ruby | firmament/entities/void_tile.rb | NexusClash/NexusClash | mpl-2.0 | 1,058 | 89 | codeparrot/github-code |
268721930c3d0003469424f9b5aa349b78980a4a63f9b9d6c9bee21ab910f1b7 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html data-context="About" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title>Mozilla Public License Version 2.0 - Legato Docs<... | HTML | 19_11_6/aboutLicensesMPLv2.html | legatoproject/legato-docs | mpl-2.0 | 19,867 | 451 | codeparrot/github-code |
fe8d146888c3b5baf2e5d57fa3bdb25573d622e0a1e7b1667ee3d241374dcb86 | /*
* Copyright (c) 2014. The Trustees of Indiana University.
*
* This version of the code is licensed under the MPL 2.0 Open Source license with additional
* healthcare disclaimer. If the user is an entity intending to commercialize any application
* that uses this code in a for-profit venture, please contact the ... | Java | src/main/java/com/muzima/api/model/algorithm/PersonAttributeTypeAlgorithm.java | sthaiya/muzima-api | mpl-2.0 | 2,059 | 51 | codeparrot/github-code |
85428caaa24c794672a7b98831d719d06435608c931790a16446f5934764722d | /**
* Copyright 2017, Digi International Inc.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL ... | Java | library/src/test/java/com/digi/xbee/api/packet/thread/CoAPTxRequestPacketTest.java | digidotcom/XBeeJavaLibrary | mpl-2.0 | 31,725 | 768 | codeparrot/github-code |
1278ab7e8e059b5bb14e23419ddf83d0386bad14a56095d32d8eb6a2f4b39c5a | 'use strict';
var LIVERELOAD_PORT = 35729;
var lrSnippet = require('connect-livereload')({
port: LIVERELOAD_PORT
});
var mountFolder = function (connect, dir) {
return connect.static(require('path').resolve(dir));
};
var fs = require('fs');
var delayApiCalls = function (request, response, next) {
if (re... | JavaScript | Gruntfile.js | glarfs/training-unit-2 | mpl-2.0 | 19,182 | 606 | codeparrot/github-code |
07d4b45b753a8363d4be7b9dd7324eada6f69d928eb86ca7ef00c8dd6595bebe | /* Copyright (C) 2015 haha01haha01
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
using System;
using System.Collections.Generic;
using System.ComponentModel;
usi... | C# | HaJS/MainForm.cs | haha01haha01/HaJS | mpl-2.0 | 2,740 | 85 | codeparrot/github-code |
16a5b68e0c0c6b1033dfdcc28c592a6f5e15095c553406cf2f97d9fdbc956457 | /*
* Copyright © 2013-2019, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.seedstack.seed.core.inter... | Java | core/src/main/java/org/seedstack/seed/core/internal/configuration/tool/DetailPrinter.java | Sherpard/seed | mpl-2.0 | 2,924 | 91 | codeparrot/github-code |
34dc39f4c662658da67ddc4885527685df8aba2024ed0bd0f69e2ebecbbcd839 | const html = require('choo/html');
module.exports = function(name, url) {
const dialog = function(state, emit, close) {
return html`
<send-share-dialog
class="flex flex-col items-center text-center p-4 max-w-sm m-auto"
>
<h1 class="text-3xl font-bold my-4">
${state.translate... | JavaScript | app/ui/shareDialog.js | mozilla/send | mpl-2.0 | 1,735 | 60 | codeparrot/github-code |
a8f0ba2460b5e1d6a9caf4b2cdf7a9df0b1b03ec588034947639534e2548039b | using System;
using System.Collections.Generic;
using System.IO;
using System.Windows.Input;
using System.Threading;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.X... | C# | Sims2Client/Sims2Online/UI/Elements/UIButton.cs | LRB-Game-Tools/Sims2Online | mpl-2.0 | 2,233 | 62 | codeparrot/github-code |
1db729b5554c5aafb9a9d42d30ba07524d46dbc4a37fd39b7ead66b3b5ab4630 | <?php
namespace ide\formats\form\elements;
use ide\editors\value\BooleanPropertyEditor;
use ide\editors\value\ColorPropertyEditor;
use ide\editors\value\FontPropertyEditor;
use ide\editors\value\IntegerPropertyEditor;
use ide\editors\value\PositionPropertyEditor;
use ide\editors\value\SimpleTextPropertyEditor;
use ide... | PHP | platforms/develnext-desktop-platform/src/ide/formats/form/elements/PanelFormElement.php | jphp-compiler/develnext | mpl-2.0 | 2,079 | 95 | codeparrot/github-code |
69ab7f60018147366f3043a2da5a595c795509a95bac83ed46d8d2db3b773d7a | package com.storage.mywarehouse.Dao;
import com.storage.mywarehouse.View.WarehouseProduct;
import org.hibernate.Session;
import org.hibernate.Transaction;
import org.hibernate.criterion.Restrictions;
import java.util.List;
public class WarehouseProductDAO {
@SuppressWarnings("unchecked")
public static List<W... | Java | src/main/java/com/storage/mywarehouse/Dao/WarehouseProductDAO.java | patroklossam/WareHouse | mpl-2.0 | 2,222 | 59 | codeparrot/github-code |
1857c13fa11417efe9bdcc2ff608cdc198314426e54a8987a82a56cf1705265e | package iso
import (
"fmt"
"github.com/mitchellh/multistep"
vmwcommon "github.com/mitchellh/packer/builder/vmware/common"
"github.com/mitchellh/packer/packer"
"log"
)
// stepRemoteUpload uploads some thing from the state bag to a remote driver
// (if it can) and stores that new remote path into the state bag.
ty... | GO | builder/vmware/iso/step_remote_upload.go | jsoriano/packer | mpl-2.0 | 1,105 | 48 | codeparrot/github-code |
c4ef97314527e292fe906057096717d0f01a9c1e30846c629dc9b2904bb9a72d |
package app.intelehealth.client.models.pushRequestApiCall;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class Person {
@SerializedName("uuid")
@Expose
private String uuid;
@SerializedName("gender")
@Expose
privat... | Java | app/src/main/java/app/intelehealth/client/models/pushRequestApiCall/Person.java | Intelehealth/Android-Mobile-Client | mpl-2.0 | 1,609 | 79 | codeparrot/github-code |
87dea86c6325ba5ed39ff70ba9e7f12a483667292dfd12761143ff5212e8805e | import { Mongo } from 'meteor/mongo';
const SurveyCaches = new Mongo.Collection('SurveyCaches');
SimpleSchema.debug = true;
SurveyCaches.schema = new SimpleSchema({
title: {
type: String,
},
version: {
type: Number,
optional: true,
autoValue() {
return 2;
},
},
createdAt: {
ty... | JavaScript | imports/api/surveys/surveyCaches.js | ctagroup/home-app | mpl-2.0 | 945 | 51 | codeparrot/github-code |
f1bc05bfff3208d2377ab4848b8ca94e7f96fd78a69cfa4ec2878382b7eacb73 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html data-context="Build Apps" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title>Leaf Workspace Manager - Legato Docs</title>... | HTML | 21_05/confLeaf.html | legatoproject/legato-docs | mpl-2.0 | 17,959 | 190 | codeparrot/github-code |
5d076dae545b62ef287c83f79e4af727c6b3563f1775cddb06fd54c63c3409c8 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `Struct_Unnamed7` struct in crate `x11`.">
<meta name="keyw... | HTML | x11/xinput2/struct.Struct_Unnamed7.html | susaing/doc.servo.org | mpl-2.0 | 5,991 | 117 | codeparrot/github-code |
962ae430d1b747a9bace1ce4eb14ea0b66935854f7923c408048e32437bc069a | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html data-context="Build Apps" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title>Create and Install Bundles - Legato Docs</ti... | HTML | 19_11_6/avInstallUpload.html | legatoproject/legato-docs | mpl-2.0 | 9,900 | 142 | codeparrot/github-code |
b879f8557db13df88ab03ef4cbcf64290ac2096733affb827245d0fcc466451c | /*jslint unparam: true, browser: true, indent: 2 */
;(function ($, window, document, undefined) {
'use strict';
Foundation.libs.dropdown = {
name : 'dropdown',
version : '4.3.2',
settings : {
activeClass: 'open',
is_hover: false,
opened: function(){},
closed: function(){}
... | JavaScript | static/js/foundation/foundation.dropdown.js | Elfhir/apero-imac | mpl-2.0 | 5,841 | 187 | codeparrot/github-code |
710f205f19c790dabb06264e239195867e63b4c8131a1f66a719f957fa9195e9 | 'use strict';
var inheritance = require('./../../helpers/inheritance'),
Field = require('./field');
var FilterField = function(){};
inheritance.inherits(Field,FilterField);
FilterField.prototype.isOpen = function(){
return this.world.helper.elementGetter(this._root,this._data.elements.body).isDisplayed();
}... | JavaScript | test/e2e/support/ui_elements/fields/filterField.js | Ivan-Katovich/cms-protractor-fw | mpl-2.0 | 1,775 | 48 | codeparrot/github-code |
51f65502545fc9b53b2352ed899a27187f33706e26025b2d29e81da8c69add75 | define([
'jquery',
'underscore',
'backbone',
'text!template/login.html',
'models/campus'
], function ($, _, Backbone, LoginTemplate, CampusModel) {
var LoginView = Backbone.View.extend({
tagName: 'section',
className: 'container',
template: _.template(LoginTemplate),
... | JavaScript | app/js/views/login.js | AngelFQC/fx-dev-edition | mpl-2.0 | 2,454 | 86 | codeparrot/github-code |
6dd6b87a95a6ba791d070e4efc4eeebb36d1d2a6450ac119ffd41693cf6e3aa1 | //Copyright (c) 2017 Finjin
//
//This file is part of Finjin Engine (finjin-engine).
//
//Finjin Engine is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
//This Source Code Form is subject to the ... | C++ | cpp/library/src/finjin/engine/internal/input/xinput/XInputGameController.cpp | finjin/finjin-engine | mpl-2.0 | 14,842 | 436 | codeparrot/github-code |
bcebbd3b431a5d298abf0d59f366959a141c830d7ecb6b03dcfddc0463f774d2 | //
// Aspia Project
// Copyright (C) 2018 Dmitry Chapyshev <dmitry@aspia.ru>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any lat... | C++ | source/console/update_settings_dialog.cc | aspia-org/remote-desktop | mpl-2.0 | 2,097 | 71 | codeparrot/github-code |
8e86337e62444b18d5d738815a48bbd6373f926f5b080ef5a967f80bbb3eef2b | <?php
/**
* Copyright (C) 2014 Ready Business System
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
namespace Rbs\Workflow\Documents;
use Change\Workflow\Va... | PHP | Plugins/Modules/Rbs/Workflow/Documents/Workflow.php | intportg/Change | mpl-2.0 | 5,317 | 271 | codeparrot/github-code |
ab7869c4a51eeb5a86e3b38ea5abfebfd5b18c4c0534bdb3e901356f47d5f8df | const AWS = require('aws-sdk');
const s3 = new AWS.S3();
const conf = require('./config');
const { tmpdir } = require('os');
const fs = require('fs');
const path = require('path');
const mozlog = require('./log');
const log = mozlog('send.storage');
const redis = require('redis');
const redis_client = redis.createC... | JavaScript | server/storage.js | dannycoates/chooloo | mpl-2.0 | 5,806 | 280 | codeparrot/github-code |
6dd2fae0698a52bb491dbb4239f8d22816bbd21ff8d88a18cc6455ee9f3bdf18 | /* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef nsPrintOptionsGTK_h__
#def... | C | widget/gtk/nsPrintOptionsGTK.h | Yukarumya/Yukarum-Redfoxes | mpl-2.0 | 1,260 | 41 | codeparrot/github-code |
9b8c585e7f7a52b125f930f7f9a4fba1ecb3aae446c68e9d8630670b544d96ae | package com.opentrain.app;
import android.test.InstrumentationTestCase;
import com.opentrain.app.network.NetowrkManager;
import java.util.concurrent.CountDownLatch;
/**
* Created by noam on 27/07/15.
*/
public class ServerRequestsTest extends InstrumentationTestCase {
CountDownLatch countDownLatch = new Coun... | Java | app/src/androidTest/java/com/opentrain/app/ServerRequestsTest.java | hasadna/OpenTrainApp | mpl-2.0 | 1,726 | 64 | codeparrot/github-code |
4e87610736146f2be53186435f042e0b59da3175595fa9227207409070316b91 | /*-------------------------------------------------------------------------
*
* pqmq.c
* Use the frontend/backend protocol for communication over a shm_mq
*
* Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* src/ba... | C | src/backend/libpq/pqmq.c | zeroae/postgres-xl | mpl-2.0 | 7,913 | 316 | codeparrot/github-code |
45e93c4592c82dfd63a6763e69ae24a09222cbb8efd50b9f263a358f3413ba33 | #include "legato.h"
#include "interfaces.h"
#define dhubIO_DataType_t io_DataType_t
static bool IsEnabled = false;
static le_timer_Ref_t Timer;
#define LATITUDE_NAME "location/value/latitude"
#define LONGITUDE_NAME "location/value/longitude"
#define PERIOD_NAME "location/period"
#define ENABLE_NAME "location/enable... | C | apps/sample/datahubGps/gpsSensor/gpsSensor.c | legatoproject/legato-af | mpl-2.0 | 5,575 | 171 | codeparrot/github-code |
98a0309d342a60fb7a6c0f393c35415a7bc8834e2610132b8b8a27289bdc837b | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
var fs = require("fs");
var path = require("path");
var utils = require("../utils");
var chai = requ... | JavaScript | test/functional/test.xpi.js | matraska23/jpm | mpl-2.0 | 987 | 32 | codeparrot/github-code |
33ecc9984b2a31ef5beb53fb7cd18e3782a99f6d9dce29770e890b89e3264fa6 | <?php
include_once 'include/Zend/Json.php';
include_once 'vtlib/Vtiger/Module.php';
include_once 'include/utils/VtlibUtils.php';
include_once 'include/Webservices/Create.php';
include_once 'include/QueryGenerator/QueryGenerator.php';
function do_users4entities($time_start) {
global $log_active, $adb;
echo "\n=======... | PHP | plugins/erpconnector/users4entities/users4entities_functions.php | andreadanzi/rotho_dev | mpl-2.0 | 8,018 | 196 | codeparrot/github-code |
64b9e05cad808af7e8a4dd02fdd271170b6f2b647c4e54550c65bf325b1e79f7 | package models.message;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
im... | Java | webapp/app/models/message/StreamModule.java | deanhiller/databus | mpl-2.0 | 1,764 | 70 | codeparrot/github-code |
15705441efbd48918d136d382f2f297c76599ca55ff787a12b45e7ad672a0ea3 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html data-context="Build Apps" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title>SMACK Security and Legato - Legato Docs</tit... | HTML | 20_08/conceptsSecuritySmack.html | legatoproject/legato-docs | mpl-2.0 | 17,630 | 183 | codeparrot/github-code |
78d37e4847c7a021a56e725a4cc205fa5adfac9e081fc89f064f42e1c04df021 | package okta
import (
"fmt"
"github.com/hashicorp/vault/logical"
"github.com/hashicorp/vault/logical/framework"
)
func Factory(conf *logical.BackendConfig) (logical.Backend, error) {
return Backend().Setup(conf)
}
func Backend() *backend {
var b backend
b.Backend = &framework.Backend{
Help: backendHelp,
... | GO | builtin/credential/okta/backend.go | MonsantoCo/vault | mpl-2.0 | 3,733 | 144 | codeparrot/github-code |
a7aa6a6c5ea0f2671d0b7c82ad5b2ffb1855ef3bad01576db7e9e30be86c3f6b | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html data-context="Build Apps" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title>Security - Legato Docs</title>
<meta content... | HTML | 18_08/conceptsSecurity.html | legatoproject/legato-docs | mpl-2.0 | 8,033 | 110 | codeparrot/github-code |
66f388ac437ff982ae3ebb86262b819781db9504b8d394d6715857b13398e17f | import querystring from 'querystring'
import SlackRTM from './SlackRTM'
import FetchService from 'shared/FetchService'
import userStore from 'stores/user/userStore'
import accountStore from 'stores/account/accountStore'
import { remote, ipcRenderer } from 'electron'
import uuid from 'uuid'
import { WB_WCFETCH_SERVICE_T... | JavaScript | classic/src/scenes/mailboxes/src/stores/slack/SlackHTTP.js | wavebox/waveboxapp | mpl-2.0 | 6,676 | 184 | codeparrot/github-code |
1400471e0f94be38fb76019d2b26f0bcd90f8081d163769fbbbab92529f7a7bd | /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*-
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "2D.h"
#include "PathAnalys... | C++ | libazure/Path.cpp | servo/rust-azure | mpl-2.0 | 16,361 | 526 | codeparrot/github-code |
24909371de6ab5039276f58a36477b77a321a1e4caf796a4c273d40be2b1d390 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `T` enum in crate `style`.">
<meta name="keywords" content=... | HTML | style/properties/longhands/word_break/computed_value/enum.T.html | servo/doc.servo.org | mpl-2.0 | 17,683 | 155 | codeparrot/github-code |
22d22117441b2b8f4a4cf2daafc9aec1bd2503d52803e83404e0033f202c3943 | package org.openlca.app.collaboration.navigation.actions;
import java.util.List;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.dialogs.IDialogConstants;
import org.openlca.app.M;
import org.openlca.app.collaboration.dialogs.SelectCommitDialog;
import org.openlca.app.collaboration.views.CompareView;... | Java | olca-app/src/org/openlca/app/collaboration/navigation/actions/OpenCompareViewAction.java | GreenDelta/olca-app | mpl-2.0 | 1,504 | 54 | codeparrot/github-code |
f32105796d01d675ae7a1cd45106666094c0b5e6d693ee8e93f0863830f9604b | /* Copyright (C) 2015, Hsiang Kao (e0e1e) <0xe0e1e@gmail.com>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include <openssl/evp.h>
#include "highway/encrypt... | C | encrypt_rc4-md5.c | MaticsL/highway_client-libuv | mpl-2.0 | 1,858 | 79 | codeparrot/github-code |
7408c934971cc16f12cc08bf31b7d1ba07275e7f3b49fe8fe439fc4851f62ffd | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html data-context="Build Apps" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title>Update Control API - Legato Docs</title>
<me... | HTML | 18_01/c_updateCtrl.html | legatoproject/legato-docs | mpl-2.0 | 8,106 | 105 | codeparrot/github-code |
55c565d47790850f03f106582ca663fc999bbd00036bd0680c11ba37b254e408 | import React, { Fragment } from 'react';
import { compose, graphql } from 'react-apollo';
import { set } from 'react-redux-values';
import ReduxForm from 'declarative-redux-form';
import { Row, Col } from 'joyent-react-styled-flexboxgrid';
import { Margin } from 'styled-components-spacing';
import { change } from 'redu... | JavaScript | consoles/my-joy-images/src/containers/create-image/details.js | yldio/joyent-portal | mpl-2.0 | 5,062 | 182 | codeparrot/github-code |
4b808f885cdf315c753fd452d59fed0ffbb0da2f748229f56304747cf8b538d6 | package main.origo.core.actions;
import main.origo.core.event.NodeContext;
import play.mvc.Action;
import play.mvc.Http;
import play.mvc.Result;
import play.mvc.With;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotatio... | Java | modules/core/app/main/origo/core/actions/ContextAware.java | origocms/origo | mpl-2.0 | 811 | 32 | codeparrot/github-code |
0590378de2a9279e6cec4d365292dccf7e9b6946a0e12c627b80a93226d1d7d6 | package zyx.game.components.world.characters;
import java.util.ArrayList;
import org.lwjgl.util.vector.Matrix4f;
import zyx.game.behavior.characters.CharacterAnimationBehavior;
import zyx.game.behavior.player.OnlinePositionInterpolator;
import zyx.game.components.AnimatedMesh;
import zyx.game.components.GameObject;
im... | Java | MainGame/src/zyx/game/components/world/characters/GameCharacter.java | zyxakarene/LearningOpenGl | mpl-2.0 | 2,465 | 129 | codeparrot/github-code |
960ee8d7f055867e8645fbdeaeb4ab36c37c25566fc7f01cd3b656e9fbe98d78 | /*
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not
* distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "CarbonEngine/Common.h"
#include "CarbonEngine/Core/CoreEvents.h"
#include "CarbonEngine/Core/EventManag... | C++ | Source/CarbonEngine/Scene/GeometryGather.cpp | savant-nz/carbon | mpl-2.0 | 7,690 | 211 | codeparrot/github-code |
b064c920979c0f7db4d26174d79b5d10798a7524a919f6b3295c9eb3e276a70d | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use crate::dom::bindings::codegen::Bindings::CSSGroupingRuleBinding::CSSGroupingRuleMethods;
use crate::dom::bindi... | Rust | components/script/dom/cssgroupingrule.rs | jimberlage/servo | mpl-2.0 | 2,568 | 76 | codeparrot/github-code |
971363c37eb50596905618bd66b6e77d80f522680ae0f306d5487efdee834c75 | /**
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
*
* http://www.strabon.di.uoa.gr/
*/
package org.ope... | Java | postgis/src/main/java/org/openrdf/sail/postgis/evaluation/PostGISSqlCastBuilder.java | wx1988/strabon | mpl-2.0 | 1,330 | 49 | codeparrot/github-code |
cba87a5ff1601ab6de80b7a7e7323d2044f338e7ccf727cf675caed7c66253eb | // ======================================================================
using System;
using System.Collections.Generic;
using System.Reflection;
using CommandLine;
using CommandLine.Text;
namespace MangaRack.Internals {
/// <summary>
/// Represents a collection of options.
/// </summary>
class Option... | C# | MangaRack/Internals/Options.cs | Deathspike/mangarack.cs | mpl-2.0 | 4,810 | 140 | codeparrot/github-code |
a5ff9f69f98546fafcceba32fcf4ad52b4825d489e594c04075689483ae701f2 | /*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunPro, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
... | C | common/utils/math_private.h | zyzyis/monetdb | mpl-2.0 | 6,557 | 225 | codeparrot/github-code |
92c00014b48a1b6c227c226b7c0910aa84105d418cb53ad91b1e0c8cdf843c3a | #------------------------------------------------------------------------------
# File: MakerNotes.pm
#
# Description: Read and write EXIF maker notes
#
# Revisions: 11/11/2004 - P. Harvey Created
#------------------------------------------------------------------------------
package Image::ExifTool::Maker... | Perl | exiftool/lib/Image/ExifTool/MakerNotes.pm | neolao/music-playlist-generator | mpl-2.0 | 60,475 | 1,560 | codeparrot/github-code |
543b441f80085dc0385d7b141968c0c5f4a716ba028a77aff11c26751ef058fc | /*
* Tanaguru - Automated webpage assessment
* Copyright (C) 2008-2015 Tanaguru.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at you... | Java | rules/rgaa4-2019/src/test/java/org/tanaguru/rules/rgaa42019/Rgaa42019Rule010802Test.java | Tanaguru/Tanaguru | agpl-3.0 | 4,980 | 114 | codeparrot/github-code |
20ddf269ee361765dc7f1a8eccdeadf3dfdee0aba4392ba04728d8ef30a068f7 | /*
* Copyright (C) 2000 - 2021 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | Java | core-services/mylinks/src/integration-test/java/org/silverpeas/core/mylinks/dao/MyLinksDAOITUtil.java | SilverDav/Silverpeas-Core | agpl-3.0 | 2,953 | 89 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.