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
83827111153df626a6cf7d5aca2af1f16fd9291e643d32a6c75692f3030852e2
#!/usr/bin/env python3 #---------------------------------------------------------------------------- # # Copyright (C) 2015 José Flávio de Souza Dias Júnior # # This file is part of CXXII - http://www.joseflavio.com/cxxii/ # # CXXII is free software: you can redistribute it and/or modify # it under the terms of the...
Python
CXXII.py
joseflaviojr/cxxii
lgpl-3.0
20,114
582
codeparrot/github-code
702970b0d74a09d5772bf92e32844e828a43237efde62e5551bd04e419aadd19
/* * True Reality Open Source Game and Simulation Engine * Copyright © 2021 Acid Rain Studios LLC * * The Base of this class has been adopted from the Delta3D engine * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the...
C++
src/trUtil/EnumerationString.cpp
acidrainstudios/TrueReality
lgpl-3.0
2,691
87
codeparrot/github-code
12b79af84ccdfdc2f4ad3e527e05dab000b412f333e9617a4bb75b95aa743e25
/// bedrock/main.cpp /// ================= /// Process entry point for Bedrock server. /// #include <dlfcn.h> #include <iostream> #include <signal.h> #include <sys/resource.h> #include <sys/stat.h> #include <bedrockVersion.h> #include <BedrockServer.h> #include <BedrockPlugin.h> #include <plugins/Cache.h> #include <pl...
C++
main.cpp
Expensify/Bedrock
lgpl-3.0
18,498
407
codeparrot/github-code
9025269d292a423275eade0dcfe1a60ef7e4cfef18cfee6d7442a7adf0fb9478
<?php namespace App\Controllers; use App\Models\User; use T4\Core\MultiException; use T4\Mvc\Controller; class Index extends Controller { public function actionDefault() { if ($this->app->user) { $this->redirect('/orders.html'); } else { $this->app->flash->error =...
PHP
protected/Controllers/Index.php
alexx-gsm/t4-manager
lgpl-3.0
784
34
codeparrot/github-code
c9bc3cf41a26790649ac7e5f2a803c198347559be94602bc0db7cad1d621b003
package com.herocraftonline.regional.flags; import java.util.Collections; import java.util.Iterator; import java.util.List; import com.herocraftonline.regional.regions.CubeRegion; import com.herocraftonline.regional.regions.Region; import com.herocraftonline.regional.regions.WorldRegion; /** * Holds the ...
Java
src/com/herocraftonline/regional/flags/RegionFlagSet.java
Sleaker/Regional
lgpl-3.0
2,417
102
codeparrot/github-code
7a0e810e3744f5088baa2af8b558c0593914942b9d4d51ce0652f0ddfd875838
package org.nectarframework.base.service.sql; import java.math.BigDecimal; import java.sql.SQLException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Set; import org.nectarframework.base.service.Log; import org.nectarframework.base.service.cache.CacheableObje...
Java
src/main/java/org/nectarframework/base/service/sql/ResultTable.java
schuttek/nectar
lgpl-3.0
13,769
502
codeparrot/github-code
9b35face065a2bad18e08be453c1e1f9c5ecc013d99c42323c707ebb8d95e9ec
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
C
src/ses/putconfigurationsetdeliveryoptionsrequest_p.h
pcolby/libqtaws
lgpl-3.0
1,620
48
codeparrot/github-code
1abe43c2ba82876e2d15a2a05f28b52f1a5ce7d8c0fa30b661d404496f1f43d7
// Copyright 2017 The go-ethereum Authors // This file is part of the go-ethereum library. // // The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License...
GO
consensus/istanbul/backend/handler.go
getamis/go-ethereum
lgpl-3.0
2,713
104
codeparrot/github-code
63ff5e9388de7d6ca92bb9082f04e75888ef579e363d807dc93c774f870f72c9
/* * Copyright (c) 2014 Mastek Ltd. All rights reserved. * * This file is part of JBEAM. JBEAM is free software: you can * redistribute it and/or modify it under the terms of the GNU Lesser * General Public License as published by the Free Software Foundation. * * JBEAM is distributed in the hope that it...
Java
jbeam-core-components/jbeam-core/src/main/java/com/stgmastek/core/dao/DaoFactory.java
MastekLtd/JBEAM
lgpl-3.0
5,905
183
codeparrot/github-code
091a8f4682ce7e0dcab926af43a4232b4ac64a420a64cce0dd2c520a4916d6e4
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
C
src/sagemaker/describeactionrequest_p.h
pcolby/libqtaws
lgpl-3.0
1,430
48
codeparrot/github-code
97ed335bfdb5142e36b57b8e26e44364125a1dc4f7ccb1d8b99a319130586b68
using BitExAPI.Markets.Data; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BitExAPI.Markets.Kraken { /// <summary> /// response from https://api.kraken.com/0/public/Time /// </summary> public class TimeResponse : KrakenRes...
C#
BitExAPI/Markets/Kraken/Responses/TimeResponse.cs
Horndev/Bitcoin-Exchange-APIs.NET
lgpl-3.0
877
33
codeparrot/github-code
b607184a0247d27ac4f6346e2b2df535c0c086c115dd98291ba85d84f0be0b34
/** * * ********************************************************************** * This file is part of the PI2GO java library project. * * More information about this project can be found here: * http://robots.fustinoni.net * ********************************************************************** * * Copy...
Java
src/net/fustinoni/raspberryPi/robot/robotUtils/MotorsDrivers/CommandLine/CommandLineMotorDriverImpl.java
fustinoni-net/robot
lgpl-3.0
2,259
80
codeparrot/github-code
87670412fac717cc50de67b77f52c5e7d76f78f286ea5f7dee6e89a07b5abd51
package enhanced.portals.block; import enhanced.base.block.BlockBase; import enhanced.base.utilities.ConnectedTexturesDetailed; import enhanced.portals.EnhancedPortals; import enhanced.portals.Reference.EPMod; import enhanced.portals.portal.frame.BlockFrame; import net.minecraft.block.material.Material; import net.min...
Java
src/main/java/enhanced/portals/block/BlockDecorBorderedQuartz.java
enhancedportals/enhancedportals
lgpl-3.0
1,159
36
codeparrot/github-code
03ab1bfeb7943432a898c782f077a6123dc9bebd0167133144c9dc9235e6bbf9
/** * Copyright (c) 2011-2015, SpaceToad and the BuildCraft Team * http://www.mod-buildcraft.com * * BuildCraft is distributed under the terms of the Minecraft Mod Public * License 1.0, or MMPL. Please check the contents of the license located in * http://www.mod-buildcraft.com/MMPL-1.0.txt */ package buildcraft...
Java
common/buildcraft/core/lib/inventory/InventoryMapper.java
hea3ven/BuildCraft
lgpl-3.0
3,211
123
codeparrot/github-code
9b4c0bdbf637ef45b7723e888bbfa4f6dbdd7e2c252122ef1e869ece63306a0a
namespace HaoCodeBuilder { partial class Form_Code_Area { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summa...
C#
src/HaoCodeBuilder/HaoCodeBuilder/Form_Code_Area.Designer.cs
Siyy/HaoCodeBuilder
lgpl-3.0
6,073
119
codeparrot/github-code
952c709c15c47c4f21f7c69736867b06a1a48e83b4721aae283ba54386f87eb3
package uk.co.wehavecookies56.kk.client.model.mobs; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelRenderer; import net.minecraft.entity.Entity; /** * HeartlessLargeBody - WYND Created using Tabula 7.0.0 */ public class ModelWhiteMushroom extends ModelBase { public ModelRendere...
Java
src/main/java/uk/co/wehavecookies56/kk/client/model/mobs/ModelWhiteMushroom.java
Wehavecookies56/Kingdom-Keys-Re-Coded
lgpl-3.0
3,365
94
codeparrot/github-code
404d641f5a9054b9b3425a1a218f310589c5622319d8b49c9df22bb18d542385
#region license // Copyright © 2016, 2017 Maxim Trushin (dba Syntactik, trushin@gmail.com, maxim.trushin@syntactik.com) // // This file is part of Malina. // Malina is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Softwar...
C#
src/mlc/ArgumentsParser.cs
syntactik/Malina
lgpl-3.0
5,606
141
codeparrot/github-code
596197bf29e5f723f119b1f7d077ce11229de1dd6bdd8edb8bea1aa1976f52a7
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
C
src/applicationcostprofiler/getreportdefinitionrequest.h
pcolby/libqtaws
lgpl-3.0
1,493
51
codeparrot/github-code
d63bf1c096e7f1f854c60a95aa282cae2143dbdbc63e7d3cbaec28f2e629a30c
/* Scalpel - Source Code Analysis, Libre and PortablE Library Copyright © 2008 - 2010 Florian Goujeon This file is part of Scalpel. Scalpel is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version ...
C++
src/scalpel/cpp/syntax_nodes/member_declaration_unqualified_id.hpp
BackupTheBerlios/cppparser
lgpl-3.0
1,649
57
codeparrot/github-code
b2a8ce5956e7007e258e69dacae677b58f6f127e06edb04b5e873052bbcd1306
package maosheji.core.util; import net.sourceforge.pinyin4j.PinyinHelper; import net.sourceforge.pinyin4j.format.HanyuPinyinCaseType; import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat; import net.sourceforge.pinyin4j.format.HanyuPinyinToneType; import net.sourceforge.pinyin4j.format.HanyuPinyinVCharType; ...
Java
src/maosheji/core/util/PinYinUtil.java
moonsea/maosheji
lgpl-3.0
2,800
73
codeparrot/github-code
ff272dbf4c8a7b1626c0461530befdc2597d00746e9ded32816f547642cdf2ee
/* Copyright (c) 2001-2011, The HSQL Development Group * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this * list...
Java
RabbitSQL/src/main/java/org/wildjava/rabbitsql/lib/HashMap.java
Alvise88/RabbitSQL
lgpl-3.0
5,583
227
codeparrot/github-code
60e33ee0ca09fababaa3ad4f2b6498102a5e30be802d9913ca78113eb208b3ec
package bot.translation; import bot.Setting; import bot.functions.JsonManager; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import java.io.File; import java.util.Enumeration; import java.util.HashMap; import java.util.Locale; import java.util.ResourceBundle; public class SentencesLoader { p...
Java
src/bot/translation/SentencesLoader.java
BITeam/Telegram_Bot
lgpl-3.0
920
34
codeparrot/github-code
c260590a0890be5b2a52148da25c94869f90e1e1c16d6a2edd3c1698e3492366
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package jams.aggregators; import jams.data.Attribute; import jams.data.DefaultDataFactory; import java.util.ArrayList; imp...
Java
JAMScommon/test/jams/aggregators/CompoundTemporalAggregatorTest.java
kralisch/jams
lgpl-3.0
5,499
146
codeparrot/github-code
7553f3474987b329f4e58f27ebefb7a0581e45383fbd7034f07043198c7c5cfd
/* * SonarQube * Copyright (C) 2009-2019 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, o...
Java
sonar-core/src/main/java/org/sonar/core/util/logs/DefaultProfiler.java
Godin/sonar
lgpl-3.0
8,194
310
codeparrot/github-code
236ad449be4c84b872f20ab31e9e1de59741d47d751b8c7d08f4f0855cde0ce6
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
C
src/sagemaker/listactionsrequest.h
pcolby/libqtaws
lgpl-3.0
1,359
51
codeparrot/github-code
f569f20e1eed01d51d2828684390f9db448be2fad2385a183507321ce5cf3c97
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Net; using System.Net.Sockets; using Microsoft.Xna.Framework.Input; namespace Dungeontest { public enum Protocol : byte { UPDATE_ID, UPDATE_PLAYER, MAP_CHANGE, UPDATE_ENTITY_DATA, SEND_SPRITE } class Serve...
C#
Screens/ServerHost.cs
teamprova/Dungeontest
lgpl-3.0
9,439
310
codeparrot/github-code
70bc24edb973b340466468e7e221aba8c30c685d8dbdb694bd6679d8f7d308da
// // Copyright (c) 2009-2013 2013 Universidade Aveiro - Instituto de // Telecomunicacoes Polo Aveiro // This file is part of ODTONE - Open Dot Twenty One. // // This software is distributed under a license. The full license // agreement can be found in the file LICENSE in this distribution. // This software may not be...
Java
extensions/sensors/Dummy_Sensor_SAP/src/odtone_java/inc/Common/Types/Address.java
ATNoG/ODTONE
lgpl-3.0
20,910
714
codeparrot/github-code
547e68bff5ceb7b032412b6575b119a53428ecd99dd63dea8e069aada3859414
/* * Copyright (C) 2008-2015 by Holger Arndt * * This file is part of the Universal Java Matrix Package (UJMP). * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * UJMP is free software; you can redistribute it and/or modify * it...
Java
ujmp-core/src/main/java/org/ujmp/core/doublematrix/impl/DefaultDenseDoubleMatrix2D.java
ujmp/universal-java-matrix-package
lgpl-3.0
4,026
130
codeparrot/github-code
9fc9a64a84bc2e2d6b0a7ccb4b5768f4c55888074db1f3cd9a08a398cc0f91d7
#ifndef __HELLO_WORLD_H__ #define __HELLO_WORLD_H__ // When you import this file, you import all the cocos2d classes #include "cocos2d.h" #include "Box2D.h" #include "MyContactListener.h" #include "GameSprite.h" USING_NS_CC; class PhysicsSprite : public cocos2d::CCSprite { public: PhysicsSprite(); void setP...
C
Classes/HelloWorldScene.h
firstthumb/AirHockey
unlicense
2,440
99
codeparrot/github-code
97df2b103d4132bde7c8e6e5682c96c1b15cbe72a2c2789c7206c9cee3884c3c
--- layout: page title: Rafa González subtitle: Te felicito, eres muy afortunado de visitar mi sitio web. --- <div class="posts-list"> {% for post in paginator.posts %} <article class="post-preview"> <a href="{{ post.url | prepend: site.baseurl }}"> <h2 class="post-title">{{ post.title }}</h2> {% if pos...
HTML
index.html
ferpecto/ferpecto.github.io
unlicense
1,357
55
codeparrot/github-code
c355440470d23e5938d8875d03a8eb9266038f94e524adbfba35d75a08721fec
using System; using System.Collections.Generic; using SandwichOrderSystemShared.Models; using static SandwichOrderSystem.Constants; using System.Linq; namespace SandwichOrderSystem.ViewControllers { public partial class ViewController { private Dictionary<ViewContext, Func<Dictionary<string, Action>>>...
C#
src/SandwichOrderSystem/SandwichOrderSystem/ViewControllers/ViewControllers_SegueActions.cs
davejlin/sandwich-order-system
unlicense
7,168
167
codeparrot/github-code
83dca751efdbcace0b4fd773f86b9d75d3c1ab1b2ddc3abfe670715995632064
#!/bin/sh ################################################################################################ # # Used by AutoImagrNBI created nbi's on launch to set Time, Screen Sharing & install Certificates # ################################################################################################ ######## # # ...
Shell
AutoImagrNBI/Boot.sh
macmule/AutoImagrNBI
unlicense
4,720
184
codeparrot/github-code
feb8009a45aefc7204435bce8ae64d0cb2a0982b5a1f1871d3bea6462979a568
(function() { var app = angular.module('hebergement', []); app.controller('TabController', function(){ this.tab = 1; this.setTab = function(newValue){ this.tab = newValue; }; this.isSet = function(tabName){ return this.tab === tabName; }; }); app.controller('HostingController', function(){ var host...
JavaScript
js/app.js
Rambobafet/trouve_ton_hote
unlicense
662
40
codeparrot/github-code
a05e2be3b99dd44d3d7b179d9c9ed44b2133f60b06e98e7301f33eb916e3109f
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ibeeproject; import com.sun.rave.web.ui.appbase.AbstractFragmentBean; import ibeeproject.model.persona.Empleado; import ibeeproject.persistencia.GestorEmpleado; import java.util.ArrayList; import java.util.loggi...
Java
Source/iBeeProject/src/java/ibeeproject/consultarEmpleados.java
facundofarias/iBee
unlicense
7,067
236
codeparrot/github-code
c388f811abb92e4d767ebce605a162120f6cc1f29ac65278a6bd1abc602721f0
using System; using System.Data; using System.Web.UI.WebControls; namespace Maticsoft.Web.SysManage { /// <summary> /// search 的摘要说明。 /// </summary> public partial class search : System.Web.UI.Page { protected void Page_Load(object sender, System.EventArgs e) { if(!Page.IsPostBack) { //得到现有菜单 ...
C#
Web/Admin/SysManage/search.aspx.cs
nature-track/wenCollege-CSharp
unlicense
5,754
238
codeparrot/github-code
d6bcaac64232586bf6136823a18bd4a53213b1c082a38a85a41b020d907b17ac
package com.syzton.sunread.controller.bookshelf; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javassist.NotFoundException; import javax.validation.Valid; import org.joda.time.DateTime; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.spr...
Java
SunReadSource/src/main/java/com/syzton/sunread/controller/bookshelf/BookInShelfController.java
xxing1982/EDU_SYZT
unlicense
10,977
265
codeparrot/github-code
de1fe0df978a74e06579c496c1bcc0608bd370425c180a81bfbfcd0bb84ea87a
$ErrorActionPreference = "Stop" Set-StrictMode -Version 2.0 Add-Type -AssemblyName System.Windows.Forms Add-Type -AssemblyName System.Drawing [System.Windows.Forms.Application]::EnableVisualStyles() $ScriptDir = (Split-Path -Path $MyInvocation.InvocationName -Parent) + '\' . ..\..\DebugTools.ps1 Get-Locati...
PowerShell
script/ps1/forms/startprocess/startprocess.ps1
bugoodby/bugoodbylib
unlicense
2,930
91
codeparrot/github-code
174e13d6f8c00862577d4f04b65603d77ca555118df747a55ead8e25b62e11cc
package com.tech11.spg; import java.io.File; import java.io.IOException; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Locale; public class Main { public static void main(String... args) throws IOException { if (args.length != 3) { System.err.println("Please use SPG with java -jar sp...
Java
core/src/main/java/com/tech11/spg/Main.java
mr678/spg
unlicense
1,442
54
codeparrot/github-code
130bf694a4762ef9fba7edc6b98a988102f317a65b844a9e915f3e36fd2cb8d7
package main import ( "archive/zip" "bitbucket.org/tebeka/nrsc" "fmt" "github.com/remyoudompheng/go-misc/zipfs" "html" "log" "net/http" "os" "strings" "text/template" ) func checkinputdir() { if _, err := os.Stat("./dzi"); os.IsNotExist(err) { fmt.Println("-- missing dzi directory, creating.") os.Mkdir...
GO
main.go
atomotic/deepzoom-osd-server
unlicense
1,616
72
codeparrot/github-code
8107b33669b2e74cf6a75559fc8943b322a61bca2e4a12539690f35a22fe0899
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8"> <TITLE></TITLE> <META NAME="GENERATOR" CONTENT="LibreOffice 4.0.5.2 (Linux)"> <META NAME="AUTHOR" CONTENT="Alphy Poxy"> <MET...
PHP
application/views/microbial_load_v.php
johnotaalo/NQCL_LIMS
unlicense
62,837
905
codeparrot/github-code
bb1047545bb2c6443f83f9b107fb2cce54f8d4c7efab768285cf0ce1877cc24c
// <copyright file="WrappedWriter.cs" company="Brian Rogers"> // Copyright (c) Brian Rogers. All rights reserved. // </copyright> namespace Adventure { using System.IO; using System.Text; internal sealed class WrappedWriter : TextWriter { private readonly TextWriter inner; private rea...
C#
projects/AdventureSample/src/Adventure/WrappedWriter.cs
brian-dot-net/writeasync
unlicense
1,013
42
codeparrot/github-code
b9fdcaa324dcdeb331d19cdfd092b12fc65cd35c508852bd1c9401dfc5b0eba3
#include "assert.hh" #include "buffer.hh" #include "backtrace.hh" #include "buffer_manager.hh" #include "buffer_utils.hh" #include "client_manager.hh" #include "command_manager.hh" #include "commands.hh" #include "containers.hh" #include "context.hh" #include "event_manager.hh" #include "face_registry.hh" #include "fil...
C++
src/main.cc
flavius/kakoune
unlicense
31,644
898
codeparrot/github-code
c43e5d8f5c7ba892ef687b588796e31145e5b721d4aa7c67120c74ec0708b72a
package de.egga; import org.junit.Ignore; import org.junit.Test; import static de.egga.Position.CENTER; import static org.assertj.core.api.Assertions.assertThat; public class GameTest { @Test public void it_should_have_no_winner_before_first_move() { Game game = new Game(); assertThat(game.g...
Java
modules/tic_tac_toe/src/test/java/de/egga/GameTest.java
Egga/katas
unlicense
702
34
codeparrot/github-code
1c9ecd16558ca8c3de7c48a8c80a847af9950c29f598123674fae599c4fc1bb7
<?php $userdata = $this->session->userdata('user_login'); ?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <!-- Meta, title, CSS, favicons, etc. --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewpor...
PHP
application/views/user/user_theme.php
NizarHafizulllah/BankSampah
unlicense
9,813
244
codeparrot/github-code
365e4285b4392a5d8d78773e4c4c0e212420fe4165eabf62b871327cc9b93d91
#include "indextree.h" #include <queue> namespace zl { bool IndexTreeNodeCompare::operator()(IndexTreeNode* first, IndexTreeNode* sencond) const { if(first == sencond) return true; return first->compare(sencond); } IndexTreeNode* IndexTree::CreateNode(char value) { ...
C++
public/algorithm/indextree.cpp
0xbda2d2f8/zpublic
unlicense
4,482
180
codeparrot/github-code
2b556a6e401251948b4b1d6f93f4b7c546626261ef01dd0c0707799e2108862b
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using PrescriptionManager.ViewModels; using PrescriptionManager.Models; using PrescriptionManager.Data; // For more information on enabling MVC for empty projects, visit http://go.microsoft...
C#
PrescriptionManager/src/PrescriptionManager/Controllers/MedicationController.cs
GT-rc/PrescriptionManager
unlicense
6,657
190
codeparrot/github-code
862c781b6225b98e616673877404e623e40f2ee058bd41a1400b0baec3b936e9
public class TeamsSelection { public String simulate(int[] preference1, int[] preference2) { char[] res = new char[preference1.length]; boolean[] taken = new boolean[preference1.length]; int first = 0; int second = 0; for (int i=0; i<preference1.length; i++) { int p = -1; while (p==-1 || taken[...
Java
srm586/src/TeamsSelection.java
mariusj/contests
unlicense
3,227
102
codeparrot/github-code
6df0fa667ecd53dcd355d6bc020de2ef915a9a4da96a85d49febf73a5a8b335b
;******************************************************************************* ;* TMS320C55x C/C++ Codegen PC v4.3.8 * ;* Date/Time created: Thu Jun 09 17:03:45 2011 * ;*************************************************************************...
Assembly
C5515_Support_Files/C5515_Lib/aic3204/Debug/main.asm
HeroSizy/Sizy
unlicense
38,288
821
codeparrot/github-code
82226a12457b43252bdacf96ceed1584e4b5f00068398eeafa1949e3c9cd69f5
namespace RegexpConv { partial class NewFormatForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// ...
C#
RegexpConv/RegexpConv/NewFormatForm.Designer.cs
blueneosky/Bag
unlicense
6,857
147
codeparrot/github-code
9a0fc15d477897e694646c0d36a221b4e549054f6000c937caeba44e8c497e8c
/* Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example, If n = 4 and k = 2, a solution is: [ [2,4], [3,4], [2,3], [1,2], [1,3], [1,4], ] Solution: recursive impl of DFS. */ #include <vector> using namespace std; class Solution { public: vec...
C
c++/combinations/solution.h
dm1024/leetcode
unlicense
880
49
codeparrot/github-code
cd16da57f03cab021e05babfc59eb5b2c7a593671031f85de1128634e8650800
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"/> <title>Dydra SDK for JavaScript: Examples: Insert RDF triples</title> <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"/> </head> <body> <div class="navbar navbar-inverse" role="navigat...
HTML
doc/examples/insert-triples.html
dydra/dydra.js
unlicense
2,533
77
codeparrot/github-code
8d5129bf4c8e1cb1482c6aff804c8789dbc8146a5f8f6de123cbac8cd4b47f1f
/* * Copyright (c) 2002-2007, Communications and Remote Sensing Laboratory, Universite catholique de Louvain (UCL), Belgium * Copyright (c) 2002-2007, Professor Benoit Macq * Copyright (c) 2001-2003, David Janssens * Copyright (c) 2002-2003, Yannick Verschueren * Copyright (c) 2003-2007, Francois-Olivier Devaux an...
C
openjpeg/src/lib/openjpeg/codec/image_to_j2k.c
mike10004/nbis-upstream
unlicense
62,538
1,879
codeparrot/github-code
9b8865b2bb18189d30276af1e7148af50eed00237898039a88d3ba9539d198d9
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace StopCrop { public partial class SettingsForm : Form { public SettingsForm() { InitializeCompon...
C#
projects/StopCrop/SettingsForm.cs
somecallmechief/CaseTracker
unlicense
1,272
57
codeparrot/github-code
ba80f50f97597465c0d7eb9ad8b2452cdf686cfb8184e3b4cf3f150af2f497a9
from django.shortcuts import render from django.core.urlresolvers import reverse from django.contrib.auth.models import User from django.contrib.auth import authenticate, login, logout, update_session_auth_hash from django.core.exceptions import ObjectDoesNotExist from django.core.cache import cache from django.http im...
Python
users/views.py
Matoking/pastebin-django
unlicense
14,332
356
codeparrot/github-code
7f1cb20463e92ab9af2a8a99f2f16310400519daf23389c44881f5b5ab75029a
# Required for $langinfo zmodload zsh/langinfo # URL-encode a string # # Encodes a string using RFC 2396 URL-encoding (%-escaped). # See: https://www.ietf.org/rfc/rfc2396.txt # # By default, reserved characters and unreserved "mark" characters are # not escaped by this function. This allows the common usage of passing...
Shell
.zsh/00-functions.zsh
j-c-m/dotfiles
unlicense
2,457
83
codeparrot/github-code
1480ee005736189443dfa292221b160131967618a09809e7aebc3f4d7e9eb3e4
import inspectISOBMFF from "isobmff-inspector"; import render from "./renderer.js"; // -- Feature switching based on the various API support -- if (window.File && window.FileReader && window.Uint8Array) { /** * @param {Event} evt * @returns {Boolean} */ function onFileSelection(evt) { const files = ...
JavaScript
src/index.js
peaBerberian/AISOBMFFWVDFBUTFAII
unlicense
2,321
96
codeparrot/github-code
f91dd227fcb8faeb8da15a80149494667a292351491e82ed2d48b87b6cd527cc
{% set repositories = namespace(repositories=[]) %} {% for repository in hacs.sorted_by_name %} {% if repository.status.new %} {% set repositories.repositories = repositories.repositories+[repository] %} {% endif %} {% endfor %} {% if repositories.repositories %} <div class='hacs-overview-container'> <h5>NEW ...
HTML
custom_components/hacs/frontend/templates/grid_new.html
DubhAd/Home-AssistantConfig
unlicense
1,725
47
codeparrot/github-code
32abf09261c9ba6a67a033d8da7c349b176e3f49cfd4c55e52e22d3bfb15b36a
<!-- ~ This is free and unencumbered software released into the public domain. --> <html> <head> <title>Package Documentation for com.mycompany web app demo</title> <hr> <fieldset> <legend><b>Navigation Links</b></legend> <ul> <li><a href="./I-opensslheartbleed.html">Section ...
HTML
src/main/javadoc/doc-files/I-opensslheartbleed.html
shawnmckinney/fortressdemo2
unlicense
3,336
94
codeparrot/github-code
5db7901590ad450744a77c1d1c78e103ba3cfd8ad956ea94bbf16a1ffe5dcf87
package com.umeng.update; import android.content.Context; final class j implements Runnable { private Context a; public j(Context paramContext) { this.a = paramContext; } public final void run() { try { localUpdateResponse = new n(this.a).a(); if (localUpdateResponse == null) ...
Java
allsrc/com/umeng/update/j.java
clilystudio/NetBook
unlicense
1,010
50
codeparrot/github-code
61a5113cdd1909304fc4aa45c1516a236b3bc5cc2e88845cedb10771603d11f9
// RiverShell // Copyright 2015 Tim Potze // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law ...
C#
src/RiverShell/World/Vehicle.cs
ikkentim/SampSharp-rivershell
unlicense
1,269
39
codeparrot/github-code
f4449702a471877d98f6b4edb4800508cacbd5fb0200fa2ad39e755f037ae8b5
<?php namespace App\Plugin\Form\Validators; class PasswordConfirm extends \Zend_Validate_Abstract { const NOT_MATCH = 'notMatch'; protected $_messageTemplates = array( self::NOT_MATCH => 'Password confirmation does not match' ); public function isValid($value, $context = null) { ...
PHP
library/App/Plugin/Form/Validators/PasswordConfirm.php
delta98/pbnetwork-boilerplate
unlicense
761
32
codeparrot/github-code
cae179aff2c8dc103133baf6e4ef0fee92fac8e99ce0b0442ec435af374cbd16
#ifdef HAVE_CONFIG_H #include <config.h> #endif #include "../include/evasxx/Object.h" #include "../include/evasxx/Canvas.h" using namespace std; using namespace Eflxx; namespace Evasxx { Canvas::Canvas() :Eflxx::Trackable( "Canvas" ), mFree (true) { AllocTag( this, "Canvas" ); Dout( dc::notice, "Canvas::Can...
C++
bindings/cxx/eflxx/evasxx/src/Canvas.cpp
maikodaraine/EnlightenmentUbuntu
unlicense
3,343
185
codeparrot/github-code
b5a6e30a57921e0d6c642077e699f692dcc81144d06c0bd43ae1951fec76f4a0
/** \PAT 1058 * * \ AC! * \ Yitian * \ 20130924 * */ #include <iostream> #include <string> #include <cstdlib> using namespace std; long long radix[] = {1, 29 , 29 * 17}; long long CurrencyConvert(string & str) { long long sum = 0; long long num = 0, pow = 1; int count = 0; int i = str.length()...
C++
1058.A+B_in_Hogwarts.cpp
ytjia/PAT
unlicense
963
57
codeparrot/github-code
2cb99f3734f7c4cd5b7a21e2f9d10045cfce47b4811aaf6dfccffff69a26c9b5
#include <iostream> #include <string> #include <utility> #include "DotMapOutput.hh" #include "EdgeType.hh" #include "Filter.hh" #include "Map.hh" #include "RawTextMapInput.hh" using namespace std; bool small_edges_(Edge<double>& e) { return e.distance() < 450.0; } bool roads_(Edge<double>& e) { return e.type() == Ed...
C++
src/examples/main_filters.cc
Thooms/yolo-graphs
unlicense
1,408
51
codeparrot/github-code
12c900538cbcec71254fa6dbd05ad5e83c77f45bdef282b84537fbd43d67859c
import h5py # HDF5 support import os import glob import numpy as n from scipy.interpolate import interp1d import sys from astropy.cosmology import FlatLambdaCDM import astropy.units as u cosmoMD = FlatLambdaCDM(H0=67.77*u.km/u.s/u.Mpc, Om0=0.307115, Ob0=0.048206) #status = 'create' status = 'update' path_to_lc = s...
Python
bin_cluster/lc_add_clusters.py
JohanComparat/pyEmerge
unlicense
1,223
42
codeparrot/github-code
bf915b0893c6e376a9e8241ac19e2f9118388335e1b474513d22287974f7144c
/* The proper divisors of a number are all the divisors excluding the number itself. For example, the proper divisors of 28 are 1, 2, 4, 7, and 14. As the sum of these divisors is equal to 28, we call it a perfect number. Interestingly the sum of the proper divisors of 220 is 284 and the sum of the proper divisors of...
GO
solutions/s0095/s0095.go
peterstace/project-euler
unlicense
1,904
86
codeparrot/github-code
6ec62a6bb694a3ef458777293412388f96488aaab16654cd29d060cc5f64a12f
import operator def pozicijaSprite(broj, x_velicina): #vraca pixel na kojem se sprite nalazi pixel = broj * (x_velicina + 1) #1 je prazan red izmedu spritova return(pixel) #spriteSlova = ["A", "B", "C", "D", "E", "F", "G", "H", "i", "s", "e"] spriteSlova = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "s", ",",...
Python
source/lhpFunctions.py
bebox/lhp
unlicense
6,564
249
codeparrot/github-code
97f602e8499f56bd9f0f2a10871440ebbecda598764c1bbae301aa5724b33ea5
<?php require('../../../config.php'); include('../../../header.php'); if ($_SESSION['logado'] != 1) { header('location:' . URL . '/view/index.php'); } else{ if (isset($_POST['name']) && isset($_POST['nPlayers']) && isset($_POST['campaign'])) { $table = new Table(); if ($table->checkIfExistsByName($_POS...
PHP
view/adm/Table/addTable.php
Alkss/RPG_Unamed
unlicense
2,464
84
codeparrot/github-code
cc342aebfb018594af9e4fc82d339a601dc3db3c2921d2a82ada01d60248129d
#include "stdafx.h" #include "DBAgent.h" using std::string; void CUser::LetterSystem(Packet & pkt) { uint8 opcode = pkt.read<uint8>(); switch (opcode) { case LETTER_UNREAD: case LETTER_LIST: case LETTER_HISTORY: case LETTER_READ: case LETTER_GET_ITEM: case LETTER_SEND: break; case LETTER_DELETE: { ...
C++
GameServer/LetterHandler.cpp
kodevs/Knight-Online-1298-Project
unlicense
7,394
305
codeparrot/github-code
c31442a75ac192d0d5d1a66fb7508e116a545de816dbdb3eaa6ad0c54546f83b
/* * rdcolmap.c * * Copyright (C) 1994-1996, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file implements djpeg's "-map file" switch. It reads a source image * and constructs a colormap to be s...
C
ijg/src/lib/jpegb/rdcolmap.c
mike10004/nbis-upstream
unlicense
6,845
254
codeparrot/github-code
7148edb1001c5e630638741b3b3d2caedc12cccecef79bfba4ab623a2fe0d4ce
package com.siclhos.controller; import org.zkoss.zk.ui.Component; import org.zkoss.zk.ui.select.SelectorComposer; import org.zkoss.zk.ui.select.annotation.*; import org.zkoss.zul.*; public class ExampleController extends SelectorComposer<Component> { private static final long serialVersionUID = 1L; @Wire priva...
Java
src/java/com/siclhos/controller/ExampleController.java
delimce/frameworkj6ee
unlicense
591
34
codeparrot/github-code
6d932184865316c92e91325005c7c6c1ff9919a75ad172db832ebdb93781757a
# python3 """ Mastermind without kivy - by Luis merciless edited by hans """ import random import re class G(): valid_chars = '123456' secret_len = 5 solved = '+' * secret_len regex_str = "^[{0}]{{{1},{1}}}$".format(valid_chars, secret_len) valid_input = re.compile(regex_str) # regular exp...
Python
contribs/luis_mp/mm_proposal_wo_kivi.py
hans-boden/pyws-fablab-lisbon
unlicense
1,918
68
codeparrot/github-code
90a62cbf84b5e6ab4f99011fe4d253d429bf58ac503e94e9a3b7f54b52f5f434
<?php /* * Routine for including the WordPress environment. */ // We don't want to run unless invoked by cli. if (php_sapi_name() !== "cli") return; global $JS_WP_INCLUDED; if ($JS_WP_INCLUDED === true) { js_log("WordPress already included"); return; } define("ABSPATH", "/app/code/src/"); // We preten...
PHP
inc/init/js-include-wp.php
jumpstarter-io/wp-jumpstarter
unlicense
1,433
47
codeparrot/github-code
5374300d7d18fc41458ac3a4b2d3942293266bfd3fc20f6282182e7b01372e10
<?php /*************************************************************************** * lang_admin.php [French] * ------------------- * begin : Sat Dec 16 2000 * copyright : (C) 2001 The phpBB Group * email :...
PHP
www/language/lang_french/lang_admin.php
kavod/jjgfamille
unlicense
54,059
858
codeparrot/github-code
85e0819126bbcbe58969bfe8f9f522afc9e91cda5e59b583dc5727ee4b1c06b6
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; namespace Common { /// <summary> /// Udp服务 /// </summary> public class UdpService { /// <summary> /// 隐藏构...
C#
01.Base/01.Common/Common/Socket/Udp/UdpService.cs
tiduszhang/WPFSolution
unlicense
4,356
168
codeparrot/github-code
2d2ac56a93f376a27ef8cb02f41a57810d69d47829827edcb310b8205e60dbdd
package com.iteye.baowp.netty.handler; import org.jboss.netty.buffer.ChannelBuffer; import org.jboss.netty.buffer.ChannelBuffers; import org.jboss.netty.channel.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Created with IntelliJ IDEA. * User: baowp * Date: 12/30/13 * Time: 11:05 AM */ public ...
Java
src/main/java/com/iteye/baowp/netty/handler/TimeServerHandler.java
baowp/test-sample
unlicense
1,207
42
codeparrot/github-code
f10e6fb8e46ac095b60a36efd30b5dcdc01a90a196b1d1e2b3643d6288642bcd
from __future__ import print_function import httplib2 import io import os import sys import time import dateutil.parser from apiclient import discovery from oauth2client import client from oauth2client import tools from oauth2client.file import Storage from apiclient.http import MediaIoBaseDownload import pprint #Ch...
Python
revert_osiris.py
smacfiggen/horus
unlicense
6,871
168
codeparrot/github-code
f671e4014a34232a9b5142d8576cd068ab264e52ecc5529e88d3c4f57760da62
CREATE OR REPLACE FUNCTION vocabulary_download.get_ggr ( iOperation text default null, out session_id int4, out last_status INT, out result_output text ) AS $BODY$ DECLARE pVocabularyID constant text:='GGR'; pVocabulary_auth vocabulary_access.vocabulary_auth%type; pVocabulary_url vocabulary_access.vocabulary_url%type; ...
SQL
working/packages/vocabulary_download/get_ggr.sql
OHDSI/Vocabulary-v5.0
unlicense
5,140
151
codeparrot/github-code
ec117b45a753c2876fb4c23cdce84bf31f6826c61daec4c951f1e74e2e55a6ad
package com.hasee.pangci.activity; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.drawable.BitmapDrawable; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.design.widget.FloatingActionButton; import android.support.design.widg...
Java
app/src/main/java/com/hasee/pangci/activity/MainActivity.java
JunGeges/PangCi
apache-2.0
20,095
481
codeparrot/github-code
ced1b59d82b2f240cb0d1d4ce8ff40cbc08c61309ae128f16a4a0330bb90a416
package nl.nn.adapterframework.align; import static org.junit.Assert.assertEquals; import java.net.URL; import org.junit.Test; import org.w3c.dom.Document; /** * @author Gerrit van Brakel */ public class TestValidations { public void validationTest(String namespace, String xsd, String xmlResource, boolean expec...
Java
core/src/test/java/nl/nn/adapterframework/align/TestValidations.java
ibissource/iaf
apache-2.0
1,360
42
codeparrot/github-code
800774501787f352bb46ad425f67ce9a1c1ffbdd2408af3d4e622deb0dfd5127
<div class="sidebar"> <div class="container sidebar-sticky"> <div class="sidebar-about"> <h1>{{ site.title }}</h1> <p class="lead">{{ site.description }}</p> </div> <ul class="sidebar-nav"> <li class="sidebar-nav-item{% if page.title == "Home" %} active{% endif %}"> <a href="/">...
HTML
_includes/sidebar.html
edwinbosire/edwinbosire.github.io
apache-2.0
1,406
39
codeparrot/github-code
3a5721930c5c6fbb0dcc7c40756d9431e2a4fabc3e9bd35048d99c770f8ac7c4
package info.bluefoot.scripts.threadpool; import java.util.Date; import java.util.LinkedList; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Thread pool. <br /> * This will create a number of threads that should be given at construction. <br /> * While there's still something to be executed, the t...
Java
utils/src/main/java/info/bluefoot/scripts/threadpool/WorkerPool.java
bluefoot/scripts
apache-2.0
4,762
141
codeparrot/github-code
d190eeff51240e69eb3d652ec5abf7ca48baa7c42c6b971f301f95239e0c2423
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
python-impl/src/main/java/com/jetbrains/python/parsing/StatementParsing.java
consulo/consulo-python
apache-2.0
32,571
1,203
codeparrot/github-code
a5243a57bc6b9aff64d6a1e430daa284039f79afcd5f2a2da2e39ad99707392e
/* * Copyright 2006 Ryan Heaton * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
Java
javac-support/src/main/java/com/webcohesion/enunciate/javac/decorations/element/DecoratedAnnotationMirror.java
uniqueid001/enunciate
apache-2.0
2,299
74
codeparrot/github-code
b15e9b222d5b0b1307a92d7f4fe138de3340048d0e0df5c3c49923d182141dfa
/* Q Light Controller functionmanager.cpp Copyright (C) Heikki Junnila Copyright (C) Massimo Callegari Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/lic...
C++
ui/src/functionmanager.cpp
bjlupo/rcva_qlcplus
apache-2.0
31,967
990
codeparrot/github-code
e8004a97053dacf706a2844df7f3446861eef1438ca7a7ba4139b8dae4e3eb76
<!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"> <title>FST - Dylan Holland</title> <meta name="description" content="Keep track of the statistics from Dylan Hollan...
HTML
surfers/mlt/dhol.html
chicofilho/fst
apache-2.0
11,170
285
codeparrot/github-code
152363d7848f526c5829b35a950ee06164205b9f5cf201ce263b444e4dc6f944
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
Python
research/differential_privacy/multiple_teachers/analysis.py
cshallue/models
apache-2.0
10,988
305
codeparrot/github-code
3e675ebba7e681825b673ff37d1470fa959e28be201e29128dff003c96ddcd11
/* ### * IP: GHIDRA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writin...
Java
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/ClearAction.java
NationalSecurityAgency/ghidra
apache-2.0
2,076
65
codeparrot/github-code
6c2a2e7b56e952840847b5cbeac867fdf59acd8cabf2b770f1a91d192c86a3d9
/* * Copyright 2003-2007 Dave Griffith, Bas Leijdekkers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
Java
plugins/IntentionPowerPak/src/com/siyeh/ipp/switchtoif/SwitchPredicate.java
goodwinnk/intellij-community
apache-2.0
2,111
65
codeparrot/github-code
40db0772cfcdfd37e856ace6f63ed35c50299b09bb5d10d11da339d1b1107e19
'use strict'; const utils = require("./utils"); const logger = utils.createLogger({sourceFilePath : __filename}); const path = require("path"); const fs = require("fs"); class NamedPathsConfig{ /** * * @param {CachedTextFile} configReader */ constructor(configReader){ this.configReader =...
JavaScript
lib/NamedPathsConfig.js
OpenNTF/Web-UI-Prototyping-Toolkit
apache-2.0
7,845
263
codeparrot/github-code
b405ffb1987c5801d00072838551f24b00b129ddf6de56a1050dfc9e086668f4
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C++
tensorflow/compiler/xla/service/gpu/hlo_to_ir_bindings.cc
jart/tensorflow
apache-2.0
11,720
286
codeparrot/github-code
bb88aa006acf0e454e43156cbd3c99821fc8e3d19d24f9f1b01ee089fcf83088
package com.citraining.core.sample.impl; import org.osgi.service.component.annotations.Activate; import org.osgi.service.component.annotations.Component; import org.osgi.service.component.annotations.ConfigurationPolicy; import org.osgi.service.component.annotations.Modified; import org.osgi.service.metatype.ann...
Java
citraining/core/src/main/java/com/citraining/core/sample/impl/ConfigurationFactoryImpl.java
phoolhbti/AEM
apache-2.0
1,515
39
codeparrot/github-code
bb94ea0268bca419502b2232ea5ae0b11c5290bd30b493dc74559e36fac2a5f6
package amai.org.conventions.customviews; import android.content.Context; import androidx.appcompat.widget.ActionMenuView; import androidx.appcompat.widget.Toolbar; import android.util.AttributeSet; import android.view.Gravity; import android.view.View; import android.view.ViewParent; import android.widget.FrameLayout...
Java
Conventions/app/src/main/java/amai/org/conventions/customviews/CenterInToolbarFrameLayout.java
dbahat/conventions
apache-2.0
3,688
87
codeparrot/github-code
7f683cdc8108195e2f8cfc1a35b4434ae7c6d353d3e5e3da950051269b4a9311
package com.jude.controller; import com.jude.entity.Customer; import com.jude.entity.InteractiveItem; import com.jude.json.JSONArray; import com.jude.json.JSONObject; import com.jude.service.InteractiveItemService; import com.jude.util.ExtJS; import com.jude.util.HttpUtils; import com.jude.util.PagingSet; ...
Java
src/com/jude/controller/InteractiveItemController.java
hairlun/customer-visit-web
apache-2.0
4,727
137
codeparrot/github-code
e6fb50e8271301696f73c343bde9b2bbafd626ab34e0055a937159a7914e35a5
/* * Copyright 2013-2020 consulo.io * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Java
modules/base/platform-impl/src/main/java/consulo/ide/plugins/PluginsConfigurable.java
consulo/consulo
apache-2.0
3,255
134
codeparrot/github-code
14bb31a8477f068d5d0404d15b75ad31125db202e7aa507ff74d1b7cdde22f4c
using System; using System.Collections.Generic; using System.Linq; namespace JmeterSharp { public class ArgsBuilder { private string _arguments; private Dictionary<string, string> _properties; public ArgsBuilder NonGui() { this._arguments += "-n "; ret...
C#
JmeterSharp/ArgsBuilder.cs
TomerAdmon/JmeterSharp
apache-2.0
2,265
78
codeparrot/github-code
f901c470ead63ba34e60ab2c53c90548b22108d06d7ce33ea103d7487700fc6e
/* * Copyright (c) 2016-present, RxJava Contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
Java
src/test/java/io/reactivex/rxjava3/internal/operators/observable/ObservableFromMaybeTest.java
ReactiveX/RxJava
apache-2.0
2,547
94
codeparrot/github-code
a0cf32555eba427862d9ba6f7b5b14c08987df986af5d42f9f4b05d8a6435d40
package com.Voxce.model; import java.sql.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="label_texts") public class LabelTexts { private int label_text_id; ...
Java
src/com/Voxce/model/LabelTexts.java
trialmanager/voxce
apache-2.0
2,089
101
codeparrot/github-code
d4a02b8a07a8948757c60bfda921a427f09bfbfc6461bb0772da42e1383ba83b
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2012 Isaku Yamahata <yamahata at private email ne jp> # <yamahata at valinux co jp> # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with...
Python
quantum/plugins/ryu/nova/linux_net.py
sileht/deb-openstack-quantum
apache-2.0
2,786
72
codeparrot/github-code
05d64e5999f291cc616cad6b414bde57d255ff8ae454a18e501db7d3008853c4
package com.xhaus.modjy; import com.mockrunner.base.NestedApplicationException; import org.python.core.PyException; public class ModjyTestHeaders extends ModjyTestBase { // From: http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.5.1 final static String[] hop_by_hop_headers = new String[] { ...
Java
test/com/xhaus/modjy/ModjyTestHeaders.java
pjenvey/modjy-pjenvey
apache-2.0
5,938
181
codeparrot/github-code