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
80c463e45c636c30fc82ceed436f1a8660da92e31b9088f98367a759af6af735
/* * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
C
frame/c++/webrtc-master/modules/video_coding/codecs/stereo/include/stereo_encoder_adapter.h
wangcy6/storm_app
apache-2.0
2,841
79
codeparrot/github-code
6302b3fda63ba58b587fe4ddff065eb6a369520f47aa853cafb89ab52b9f40cd
package net.happybrackets.core.control; import com.google.gson.Gson; import de.sciss.net.OSCMessage; import net.happybrackets.core.Device; import net.happybrackets.core.OSCVocabulary; import net.happybrackets.core.scheduling.HBScheduler; import net.happybrackets.core.scheduling.ScheduledEventListener; import net.happy...
Java
HappyBrackets/src/main/java/net/happybrackets/core/control/DynamicControl.java
orsjb/HappyBrackets
apache-2.0
63,210
1,772
codeparrot/github-code
cf8dff6171facccf388eadc1243c5461f384c3c258f52cc4fa263627c77fbe60
#!/bin/bash # Copyright 2015 Google, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
Shell
ipython-notebook/ipython.sh
giuseppereina/dataproc-initialization-actions
apache-2.0
2,164
51
codeparrot/github-code
921add257bb71e45c66d91f99a93d673be8875092c0f2bd4023bfbd2d6cd2950
/* * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
Java
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/transform/ListBootstrapActionsRequestMarshaller.java
jentfoo/aws-sdk-java
apache-2.0
2,390
59
codeparrot/github-code
c05cb9f11ecae9db7ac36cce5ec85f3d1367288c651ab997250066ab70d14b5e
/** * */ package org.commcare.cases.ledger; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.util.Enumeration; import java.util.Hashtable; import java.util.Vector; import org.javarosa.core.services.storage.IMetaData; import org.javarosa.core.services.storage....
Java
cases/src/org/commcare/cases/ledger/Ledger.java
wpride/commcare
apache-2.0
4,988
176
codeparrot/github-code
1b7a244772774a49424a6d0a3e9a5d57de1cb688edd216b0915ba0965de69a6a
# Copyright 2017 Priscilla Boyd. 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 ...
Python
src/decision_tree/DT_Utils.py
priscillaboyd/SPaT_Prediction
apache-2.0
3,533
106
codeparrot/github-code
70dd41a418c858581cd227af8cbee4e67bf3afa4a0583ece7235231a7f4b1ad0
/* * Copyright (c) 2010-2013 Evolveum * * 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
repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/audit/RAuditEventRecord.java
rpudil/midpoint
apache-2.0
16,740
469
codeparrot/github-code
30d5377887b7e265162b48bd5c63f7d5d0354b872a438decd6dfdc6e00707f58
// Java Genetic Algorithm Library. // Copyright (c) 2017 Franz Wilhelmstötter // // 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 // // ...
C#
src/core/Jenetics/DoubleChromosome.cs
rmeindl/jenetics.net
apache-2.0
2,534
84
codeparrot/github-code
20b726a98c0dbc3b4dccc4db9211505d23cb42f6c07d8d83b60a3aae24ac6c87
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
Java
aws-java-sdk-honeycode/src/main/java/com/amazonaws/services/honeycode/AmazonHoneycodeClientBuilder.java
aws/aws-sdk-java
apache-2.0
2,368
65
codeparrot/github-code
caca6e9c0d22175a628ea84d2dc83e723c19a5819c2f6aca2fcd21b1392a6b2d
package lm.com.framework.encrypt; import java.io.IOException; import java.security.SecureRandom; import javax.crypto.Cipher; import javax.crypto.SecretKey; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.DESKeySpec; import sun.misc.BASE64Decoder; import sun.misc.BASE64Encoder; public class DESEncrypt...
Java
common/lm.com.framework/src/main/java/lm/com/framework/encrypt/DESEncrypt.java
mrluo735/lm.cloudplat
apache-2.0
2,101
80
codeparrot/github-code
66c3cd33661ff019d60c2a0830e1b8deaa00508c08cc51d027faad6d68daf3c7
package com.desple.view; import javax.imageio.ImageIO; import javax.swing.*; import java.awt.*; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; public class PreviewImageCanvas extends JPanel { private BufferedImage image; public PreviewImageCanvas() { image = nul...
Java
FaceRecognition/Java/src/main/java/com/desple/view/PreviewImageCanvas.java
thebillkidy/RandomProjects
apache-2.0
938
43
codeparrot/github-code
affd90e9e4cf56cae9430c6bc682a419de51a9f04ab7d54e2e0d077e5c6e0321
// Copyright 2015 CoreOS, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
GO
rafthttp/http.go
fasaxc/etcd
apache-2.0
9,699
320
codeparrot/github-code
e02f56c8a7f126d02b8dfba5468f3f268dbd052013ed44c2196bc3794e5aa0e1
<?php class _Upload { private static $files = array(); /** * Takes a $_FILES array and standardizes it to be the same regardless of number of uploads * * @param array $files Files array to standardize * @return void */ public static function standardizeFileUploads($files=ar...
PHP
_app/core/private_api/_upload.php
kwanpt/blog
apache-2.0
6,075
169
codeparrot/github-code
31e4d766c69a0d473c1ea8fd163270d46de30d03e0d837964969e54aa0ea460a
package example.multiview; import io.db.Connect; import io.db.ConnectFactory; import io.db.FormatResultSet; import io.json.JSONStructureMaker; import io.parcoord.db.MakeTableModel; import java.awt.BasicStroke; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.event.Action...
Java
src/example/multiview/NapierDBVis.java
martingraham/JSwingPlus
apache-2.0
24,478
665
codeparrot/github-code
0d56b247a6e880be494f820e6fea7dd4ec76e1a4202ce156c510b8166b342f2e
package org.template.similarproduct import io.prediction.controller.LServing import breeze.stats.mean import breeze.stats.meanAndVariance import breeze.stats.MeanAndVariance class Serving extends LServing[Query, PredictedResult] { override def serve(query: Query, predictedResults: Seq[PredictedResult]): Pre...
Scala
examples/scala-parallel-similarproduct/multi/src/main/scala/Serving.scala
wangmiao1981/PredictionIO
apache-2.0
1,629
54
codeparrot/github-code
15d53598b2195130b09ff774fc977523f0c7d3d60e147bd7ab1ca0d91b386aa1
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2016 Oracle and/or its affiliates. All rights reserved. * * Oracle and Java are registered trademarks of Oracle and/or its affiliates. * Other names may be trademarks of their respective owners. * * The contents of this file are...
Java
src/java/beans/TipoServicio.java
MGareta/BBVA
apache-2.0
5,309
147
codeparrot/github-code
36f7f583f3df9792b858094a59a0621bf66e704cb471adb197e184f44ba58002
Ext.define('TaxRate', { extend: 'Ext.data.Model', fields: [{name: "id"}, {name: "date",type: 'date',dateFormat: 'Y-m-d'}, {name: "rate"}, {name: "remark"}, {name: "create_time",type: 'date',dateFormat: 'timestamp'}, {name: "update_time",type:...
JavaScript
application/modules/erp/views/scripts/setting/js/tax_rate.js
eoasoft/evolve
apache-2.0
6,244
203
codeparrot/github-code
a00cd6deb25511d286e2d1ceb48016cbf386ad11195379c5528ae0ff97c89152
package ch.bfh.swos.bookapp.jpa.model; import javax.persistence.*; import java.io.Serializable; import java.util.Date; import static javax.persistence.GenerationType.IDENTITY; import static javax.persistence.TemporalType.DATE; /** * Entity implementation class for Entity: Book * */ @Entity public class Book impl...
Java
ch.bfh.swos.bookapp.jpa/src/main/java/ch/bfh/swos/bookapp/jpa/model/Book.java
rvillars/bookapp-cqrs
apache-2.0
1,241
74
codeparrot/github-code
e640d825039e62389ca4849cd6a54b51e1ccf29cd9a4b39197d3b3662d8e432b
<?php namespace App\Util; use Illuminate\Support\Facades\DB; class Access { // list all perm // if the returned array is empty then user dont have permission to list the perms public static function listPerm($userid, $appcode) { if (self::can_editPerm($userid, $appcode) == false) return []; $app = DB::tabl...
PHP
dashboard/app/Util/Access.php
meotrics/meotrics
apache-2.0
4,937
164
codeparrot/github-code
4eec52152a2b09782734a28f1478d3dba6dc2a117f9248f0311cab2c325bceb9
/* * Copyright 2010-2011 Nabeel Mukhtar * * 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...
Java
core/src/main/java/com/google/code/linkedinapi/schema/impl/DateOfBirthImpl.java
shisoft/LinkedIn-J
apache-2.0
2,214
77
codeparrot/github-code
baaf29d0ecf4d82aeafc3e39c9e1aee905cfbb08d5d846ac2b51a34eb97446ca
package excelcom.api; import com.sun.jna.platform.win32.COM.COMException; import com.sun.jna.platform.win32.COM.COMLateBindingObject; import com.sun.jna.platform.win32.COM.IDispatch; import com.sun.jna.platform.win32.OaIdl; import com.sun.jna.platform.win32.OleAuto; import com.sun.jna.platform.win32.Variant; import s...
Java
src/main/java/excelcom/api/Range.java
lprc/excelcom
apache-2.0
3,146
102
codeparrot/github-code
ef4c3b2bcad884b492ccf360feeaf97b6465dd274e047b259abcf7aaa0a343cf
// Copyright 2004, 2005 The Apache Software Foundation // // 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 applic...
Java
framework/src/test/org/apache/tapestry/binding/TestListenerMethodBinding.java
apache/tapestry4
apache-2.0
6,776
224
codeparrot/github-code
50dbc92eecb9359c9e694b94455e44f71748c807e17dddac0734f6265fcbddbf
package com.iservport.et.service; import java.nio.charset.Charset; import org.apache.commons.codec.binary.Base64; import org.springframework.http.HttpHeaders; import org.springframework.web.util.UriComponentsBuilder; /** * Base class to Enterprise tester API calls. * * @author mauriciofernandesdecastr...
Java
src/main/java/com/iservport/et/service/AbstractETApiService.java
chmulato/helianto-seed
apache-2.0
1,266
48
codeparrot/github-code
3ab4f2af80c114dafc882ea44c30ba6b6727ebf634d7b0dc856495863cfef2d5
=head1 LICENSE Copyright [1999-2014] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute 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/licen...
Perl
sge_blast/modules/Bio/Tools/Run/Search/sge_wublastp.pm
andrewyatz/public-plugins
apache-2.0
1,709
63
codeparrot/github-code
ec96751a8271b65c80d39d8fa03630201684db5df0586e94c72dbb2423b47ebd
/* * Copyright 2017 GcsSloop * * 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 w...
Java
expectanim/src/main/java/com/github/florent37/expectanim/core/position/PositionAnimExpectationRightOf.java
GcsSloop/diycode
apache-2.0
1,365
49
codeparrot/github-code
7d7d3e45571e98bc7ee682fbd030346077d684fa9e935750716b200b34999529
package com.douwe.notes.resource.impl; import com.douwe.notes.entities.Cycle; import com.douwe.notes.resource.ICycleResource; import com.douwe.notes.service.ICycleService; import com.douwe.notes.service.IInsfrastructureService; import com.douwe.notes.service.ServiceException; import java.util.List; import java.util.lo...
Java
src/main/java/com/douwe/notes/resource/impl/CycleResource.java
royken/notes
apache-2.0
2,688
96
codeparrot/github-code
5a15e26311e8fe2acfe8b240871a2fc0055e639c096e1aaf137de7e1714c7cc4
//main javascript (function init() { // If we need to load requirejs before loading butter, make it so if (typeof define === "undefined") { var rscript = document.createElement("script"); rscript.onload = function () { init(); }; rscript.src = "require.js"; do...
JavaScript
helloworld/Triggers/js/mediascape/mediascape.js
martinangel/association
apache-2.0
3,983
109
codeparrot/github-code
5f723fd9cdd8090735e552fc201f951791e877fd797ae603ea684e5a704113d9
/* * Copyright 2010 The Closure Compiler Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
Java
src/com/google/javascript/jscomp/ScopedAliases.java
jhiswin/idiil-closure-compiler
apache-2.0
21,121
605
codeparrot/github-code
4544de3da5edaabfcee1f9dbd020bd20e904b276a9afc88f2655ee2c64e769c5
// Copyright 2019 PingCAP, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
GO
br/pkg/lightning/restore/restore.go
c4pt0r/tidb
apache-2.0
75,726
2,469
codeparrot/github-code
123f86dd6332e1f23c414a33c6e06473399dfecc3b3a4945bbeec1ba38d5d78b
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2016, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
JavaScript
src/sunstone/public/app/tabs/vmgroup-tab/form-panels/create.js
goberle/one
apache-2.0
12,941
411
codeparrot/github-code
83563032f3b7c3f3c24b2ad9f735f9b5610406a3c0f3799ee739b0be857ef174
import sys from drone.actions.emr_launcher import launch_emr_task from drone.actions.ssh_launcher import launch_ssh_task from drone.job_runner.dependency_manager import dependencies_are_met from drone.job_runner.job_progress_checker import check_running_job_progress from drone.metadata.metadata import get_job_info, job...
Python
drone/job_runner/job_runner.py
grafke/Drone-workflow-controller
apache-2.0
3,220
65
codeparrot/github-code
09753b0c776f86a0bba42c3c131ab6f245b780259ee08b36cee952827ea071f1
function Controller() { function __alloyId24() { __alloyId24.opts || {}; var models = __alloyId23.models; var len = models.length; var rows = []; for (var i = 0; len > i; i++) { var __alloyId9 = models[i]; __alloyId9.__transform = {}; var _...
JavaScript
Resources/alloy/controllers/home.js
Geeosp/SnapContacts
apache-2.0
5,638
140
codeparrot/github-code
d00ba710c4dbfe734976974e7714eb4d072b84d0198b701249a6d117eed3e713
package com.xinfan.msgbox.service.dao.dialect; public class MysqlDialect extends Dialect { @Override public boolean supportsLimit() { return true; } @Override public boolean supportsLimitOffset() { return true; } @Override public String getLimitString(String sql, int offset, String off...
Java
bulu-service/src/main/java/com/xinfan/msgbox/service/dao/dialect/MysqlDialect.java
xinfan123/blue-server
apache-2.0
1,374
53
codeparrot/github-code
d129eb7af0553d523f3c1141c608ad7482578c1fed508274d8e1f28ac68c19b8
package uk.ac.ebi.embl.api.validation.fixer.entry; import uk.ac.ebi.embl.api.entry.Entry; import uk.ac.ebi.embl.api.entry.Text; import uk.ac.ebi.embl.api.entry.feature.Feature; import uk.ac.ebi.embl.api.entry.qualifier.Qualifier; import uk.ac.ebi.embl.api.entry.reference.Person; import uk.ac.ebi.embl.api.entry.referen...
Java
src/main/java/uk/ac/ebi/embl/api/validation/fixer/entry/NonAsciiCharacterFix.java
enasequence/sequencetools
apache-2.0
4,774
108
codeparrot/github-code
ab0682377dfe963941b134b4e1af6a95bbe3adbb6fa6e698c87da9ddc975b241
import scrapy from scrapy import log from scrapy.spiders import CrawlSpider, Rule from scrapy.linkextractors import LinkExtractor from rcbi.items import Part import copy import json import re VARIANT_JSON_REGEX = re.compile("product: ({.*}),") class ShendronesSpider(CrawlSpider): name = "shendrones" allowed_doma...
Python
rcbi/rcbi/spiders/Shendrones.py
rcbuild-info/scrape
apache-2.0
2,069
67
codeparrot/github-code
32565fcc365d3fb1734e7da2352ee05791cd86c4d895ac3df5df488ddd8cde97
import * as React from 'react'; import {camelCase} from 'change-case'; import {IVueComponent} from '../ReactifyVue'; import {createReactElement} from '../react-element-creation/CreateReactElements'; export const copyMethodsToVueComponent = (vueComponent: IVueComponent) => { if (vueComponent.methods) { Obj...
TypeScript
src/utils/reactify-vue/react-class-creation-and-runtime/ReactClassRuntime.ts
bencompton/framework7-react
apache-2.0
6,487
191
codeparrot/github-code
c17205fe4b420ed97da46c59072ee2ea93719ed4a3ec2278b524085bf09887cc
/* * Copyright (C) 2014 The Android Open Source Project * * 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 app...
Java
app/src/main/java/com/example/android/sunshine/app/FetchWeatherTask.java
denis-evteev/udacity-android-sunshine-app
apache-2.0
12,246
368
codeparrot/github-code
276d4bf6a620d43d0c7d8a7f3f510375ecf46c2b3d0e751949dd68f7a9a1255e
package org.gsonformat.intellij.process; import com.intellij.psi.*; import org.apache.http.util.TextUtils; import org.gsonformat.intellij.config.Config; import org.gsonformat.intellij.config.Constant; import org.gsonformat.intellij.entity.FieldEntity; import org.gsonformat.intellij.entity.ClassEntity; import java.uti...
Java
src/main/java/org/gsonformat/intellij/process/AutoValueProcessor.java
gengjiawen/GsonFormat
apache-2.0
2,976
72
codeparrot/github-code
222a8b6d375cfb416ad990dcbe87494676308751352a7095ab9e50c08d1e82a3
#if !defined(lint) && !defined(DOS) static char rcsid[] = "$Id: tty.c 672 2007-08-15 23:07:18Z hubert@u.washington.edu $"; #endif /* * ======================================================================== * Copyright 2006-2007 University of Washington * * Licensed under the Apache License, Version 2.0 (the "Lic...
C
pico/osdep/tty.c
cornerhost/alpine
apache-2.0
7,779
372
codeparrot/github-code
06e242b8d5948d09fa4a6ebe2efa64450e89f4c21fe41e752a014fa36e733860
/* * File: * Author: ezio * * Created on 2016年2月25日, 下午9:14 */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <errno.h> #include <ctype.h> #include <sys/un.h> #include <sys/socket.h> #define SV_SOCK_PATH "/tmp/us_xfr" #define BUF_SIZE 10 #define BACKLOG ...
C
socket/ud_ser.c
oska874/cCode
apache-2.0
1,426
64
codeparrot/github-code
82c5ec0d563761f8da85f79e69a8cbe92deaf09e96ecc6189ec29312c09de650
#include <bits/stdc++.h> template<typename T> T gcd(T a, T b) { if(!b) return a; return gcd(b, a % b); } template<typename T> T lcm(T a, T b) { return a * b / gcd(a, b); } template<typename T> void chmin(T& a, T b) { a = (a > b) ? b : a; } template<typename T> void chmax(T& a, T b) { a = (a < b) ? b : a; ...
C++
COCI/Mobitel.cpp
aajjbb/contest-files
apache-2.0
1,433
80
codeparrot/github-code
9ac364b9eec68784b347e40e9bb6985aa7fdc817f85d9e5060aa405371bbeedb
/* Copyright 2008, 2009, 2010 by the Oxford University Computing Laboratory This file is part of HermiT. HermiT 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 Licen...
Java
project/src/org/semanticweb/HermiT/datatypes/owlreal/PlusInfinity.java
CPoirot3/OWL-Reasoner
apache-2.0
1,607
55
codeparrot/github-code
507a3fa44a9b6e7c98863a2683709da4c4ef25e44ccc60e335af782b366551d2
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
Java
aws-java-sdk-mechanicalturkrequester/src/main/java/com/amazonaws/services/mturk/model/transform/HITLayoutParameterJsonUnmarshaller.java
dagnir/aws-sdk-java
apache-2.0
2,995
79
codeparrot/github-code
363654276b2771e00b805fc1d5c52d1f5de5099608bba40fb3d406bb55cf300a
/* * Copyright (C) 2009-2015 Dell, Inc. * See annotations for authorship information * * ==================================================================== * 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 cop...
Java
src/main/java/org/dasein/cloud/aws/identity/IAMCapabilities.java
maksimov/dasein-cloud-aws-old
apache-2.0
2,228
73
codeparrot/github-code
a082cc18b591d69da00924c30ba323def65f87223f6c7ae8af4be4444c6e8b16
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title>AndIncludeWord - ScalaTest 2.1.7 - org.scalatest.matchers.MatcherFactory1.AndIncludeWord</title> <meta name="description" content="And...
HTML
public/scaladoc/2.1.7/org/scalatest/matchers/MatcherFactory1$AndIncludeWord.html
scalatest/scalatest-website
apache-2.0
28,092
512
codeparrot/github-code
caed73bd0a058e74a6575a42ae42632cbf86d6f162784beb89f1fa2cce609133
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCachePreloaderAdapter.java
a1vanov/ignite
apache-2.0
5,818
183
codeparrot/github-code
8f8a3ebac437548b4d00bf623a6b56718fe114037dffc44bc2bb5a0de0d40b18
/* * Copyright © 2009 HotPads (admin@hotpads.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
Java
datarouter-virtual-node/src/main/java/io/datarouter/virtualnode/replication/ReplicationNodeOptions.java
hotpads/datarouter
apache-2.0
3,097
88
codeparrot/github-code
7169d4a48f409a30dd1196c8e274e7039fa108aa47c2d5a3e1c9c5e67d09119f
// ATTENTION: The code in this file is highly EXPERIMENTAL. // Adventurous users should note that the APIs will probably change. #pragma once #include "onnx/common/ir.h" #include "onnx/common/ir_pb_converter.h" #include "onnx/common/stl_backports.h" #include "onnx/optimizer/passes/eliminate_deadend.h" #include "onnx/...
C
Fujitsu/benchmarks/resnet/implementations/implementation_open/mxnet/3rdparty/onnx-tensorrt/third_party/onnx/onnx/optimizer/pass_registry.h
mlperf/training_results_v0.7
apache-2.0
3,357
89
codeparrot/github-code
42bc792aae62b05c674d670a943c0a5ea35731224205c075ae4716a73a2e48bd
<?php /** * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
PHP
src/Login/Plugin/LoginController.php
Smith-and-Associates/amazon-payments-magento-2-plugin
apache-2.0
1,249
48
codeparrot/github-code
48c20bd85ef2d73b2a17a4d1dda8e12091ebb848ea48c94a047c9cd22a641de3
/*- * -\-\- * docker-client * -- * Copyright (C) 2016 Spotify AB * -- * 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 * * Unles...
Java
src/main/java/com/spotify/docker/client/messages/CpuStats.java
MarcoLotz/docker-client
apache-2.0
3,323
101
codeparrot/github-code
0c353d21c9f96aacd93304286a71074372b119d37944e9642c65b09916a24d92
package io.sensesecure.hadoop.xz; import java.io.BufferedInputStream; import java.io.EOFException; import java.io.IOException; import java.io.InputStream; import org.apache.hadoop.io.SequenceFile; import org.apache.hadoop.io.compress.CompressionInputStream; import org.tukaani.xz.XZInputStream; /** * * @author yongt...
Java
src/main/java/io/sensesecure/hadoop/xz/XZCompressionInputStream.java
yongtang/hadoop-xz
apache-2.0
2,173
77
codeparrot/github-code
e880311798060c1f837a8f13bede89f888a8f66d6de88218263938cc6b9c0cc7
#include "../control/ControlSystem_Peep.hpp" #include "../control/ControlSystem_Teach.hpp" #include <iostream> #include "../types.hpp" using namespace pathos::peepingpanel; std::vector<ControlSystem_Peep*> CreateControlSystem(AllConfigArray configData, SensorsAreasArray sensorsArea_1, SensorsAreasArray...
C++
peeping-panels/config/CreateControlSystems.hpp
ntb-ch/pathos
apache-2.0
12,090
191
codeparrot/github-code
e8f24a2ab83ac5194798de0af5961892ee152e7f5fb0b1cec254ee7a9f3a565a
package org.giwi.geotracker.routes.priv; import io.vertx.core.Vertx; import io.vertx.ext.web.Router; import io.vertx.ext.web.RoutingContext; import org.giwi.geotracker.annotation.VertxRoute; import org.giwi.geotracker.beans.AuthUtils; import org.giwi.geotracker.exception.BusinessException; import org.giwi.geotracker.s...
Java
src/main/java/org/giwi/geotracker/routes/priv/ParamRoute.java
Giwi/geoTracker
apache-2.0
1,430
53
codeparrot/github-code
49620f38123653fa8f12c84081bf3e2ed097ae46fa1f1f3dc9a5f1aaf306d084
// Copyright 2017 The Nomulus 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 a...
Java
core/src/main/java/google/registry/model/translators/CidrAddressBlockTranslatorFactory.java
google/nomulus
apache-2.0
1,397
41
codeparrot/github-code
564d679e1b4ba8511bdb96e48cd9ffd765ab9229338fd45a4449d79a683e0039
/* * ARX: Powerful Data Anonymization * Copyright 2012 - 2021 Fabian Prasser and 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/licen...
Java
src/gui/org/deidentifier/arx/gui/view/impl/define/ViewPrivacyModels.java
arx-deidentifier/arx
apache-2.0
13,712
369
codeparrot/github-code
e2664b69f3d77097e74d9d2fab9b62d5ecd5f62eba6dfda0dd20c9da1d3ab804
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title>Filter - ScalaTest 2.2.4 - org.scalatest.Filter</title> <meta name="description" content="Filter - ScalaTest 2.2.4 - org.scalatest.Fil...
HTML
public/scaladoc/2.2.4/org/scalatest/Filter$.html
scalatest/scalatest-website
apache-2.0
26,958
483
codeparrot/github-code
790956ed09d1d0ad8abd746cd72d7445fa9ce1c3d85edbac5de62253a26c635d
import React from 'react'; import { action } from '@storybook/addon-actions'; import Checkbox from '.'; const onChange = action('onChange'); const defaultProps = { id: 'id1', onChange, }; const intermediate = { id: 'id2', onChange, intermediate: true, }; const checked = { id: 'id3', onChange, checked: true, ...
JavaScript
packages/components/src/Checkbox/Checkbox.stories.js
Talend/ui
apache-2.0
1,203
69
codeparrot/github-code
48b811f66e035d048fe15f69f1abaf37ab95cd3498fc706ff0129b659a7f30ff
/* * Copyright (c) 2016 Hugo Matalonga & João Paulo Fernandes * * 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 ...
Java
app/src/main/java/com/hmatalonga/greenhub/ui/TaskListActivity.java
hmatalonga/GreenHub
apache-2.0
25,535
685
codeparrot/github-code
7d3e078059186a5a5c7a83197411a161afa9b621e3cc64ba2806361ef5967db0
/* * * * Copyright 2015 Skymind,Inc. * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apache.org/licenses/LICENSE-2.0 * * * * U...
Java
nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/accum/Mean.java
GeorgeMe/nd4j
apache-2.0
2,853
109
codeparrot/github-code
27e05c79c78c18d2191e48cf4bc7dada5957523f8711d721ba711caf1e09f25c
package com.fantasy.lulutong.activity.me; import android.os.Bundle; import android.view.View; import android.widget.RelativeLayout; import com.fantasy.lulutong.R; import com.fantasy.lulutong.activity.BaseActivity; /** * “注册”的页面 * @author Fantasy * @version 1.0, 2017-02- */ public class RegisterActi...
Java
app/src/main/java/com/fantasy/lulutong/activity/me/RegisterActivity.java
FantasyLWX/LuLuTong
apache-2.0
849
32
codeparrot/github-code
b776182e7e3aacca2aeafda4a42cc35f1e8958837ca0f4b736acc652695ab31e
package com.blackducksoftware.integration.hub.detect.tool.bazel; import static org.junit.jupiter.api.Assertions.assertEquals; import java.util.ArrayList; import java.util.List; import org.junit.jupiter.api.Test; public class BazelVariableSubstitutorTest { @Test public void testTargetOnly() { BazelV...
Java
hub-detect/src/test/groovy/com/blackducksoftware/integration/hub/detect/tool/bazel/BazelVariableSubstitutorTest.java
blackducksoftware/hub-detect
apache-2.0
1,618
40
codeparrot/github-code
ee63de58d97ea08321abf9ddc9e23cab0fffb2be643f82bbbcdb6f4dd3dcbb32
package com.dyhpoon.fodex.navigationDrawer; import android.content.Context; import android.view.View; import android.view.ViewGroup; import com.dyhpoon.fodex.R; /** * Created by darrenpoon on 3/2/15. */ public class NavigationDrawerAdapter extends SectionAdapter { private Context mContext; public class V...
Java
app/src/main/java/com/dyhpoon/fodex/navigationDrawer/NavigationDrawerAdapter.java
dyhpoon/Fo.dex
apache-2.0
4,636
138
codeparrot/github-code
2b48c138abd38f9efca246fe7dc8d94c03e97b26ef53f4e89bb36ef593f78dd6
package ibmmq /* Copyright (c) IBM Corporation 2018 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 agr...
GO
ibmmq/mqiCBD.go
ibm-messaging/mq-golang
apache-2.0
1,975
79
codeparrot/github-code
38672568c02587fb07eaaf7ba8f6d6855485a0e7f65a4ff8f05062ce03e94db6
#ifndef LMS7002M_COMMANDS_H #define LMS7002M_COMMANDS_H const int LMS_RST_PULSE = 2; enum eCMD_LMS { CMD_GET_INFO = 0x00, ///Writes data to SI5356 synthesizer via I2C CMD_SI5356_WR = 0x11, ///Reads data from SI5356 synthesizer via I2C CMD_SI5356_RD = 0x12, ///Writes data to SI5351...
C
LMS6002D/legacy/control_LMS6002/src/Logic/include/LMS_Commands.h
myriadrf/lms-suite
apache-2.0
1,170
49
codeparrot/github-code
ddf7d56b7f9f8350cd6af131e05ed5290e57683830029906b42ee6b395621ca0
/* * Copyright 2011-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
Java
aws-java-sdk-core/src/main/java/com/amazonaws/client/builder/AwsClientBuilder.java
jentfoo/aws-sdk-java
apache-2.0
22,211
582
codeparrot/github-code
f3cb17037e437f6966553f0bd6a5bee332ffbf066e8336748d3febf68f68e173
package com.jukusoft.libgdx.rpg.engine.story.impl; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.jukusoft.libgdx.rpg.engine.story.StoryPart; import com.jukusoft.libgdx.rpg.engine.story.StoryTeller; import com.jukusoft.libgdx.rpg.engine.time.GameTime; impo...
Java
engine/src/main/java/com/jukusoft/libgdx/rpg/engine/story/impl/DefaultStoryTeller.java
JuKu/libgdx-test-rpg
apache-2.0
3,080
112
codeparrot/github-code
0addcecf11778fdb00502d807513e7aed1a911cafc4a1a5f97a8c883e99fa7a0
/* * Copyright 2014 NAVER Corp. * * 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
web/src/main/java/com/navercorp/pinpoint/web/controller/ItemController.java
wziyong/pinpoint
apache-2.0
2,732
68
codeparrot/github-code
39e9270fc34bfd2f96bc0ea610975214d299180f38c2cc8f0905f683d4b72360
extern crate ai_behavior; extern crate find_folder; extern crate gfx_device_gl; extern crate graphics; extern crate nalgebra; extern crate ncollide; extern crate piston_window; extern crate rand; extern crate sprite; extern crate uuid; mod mobs; use gfx_device_gl::Resources; use graphics::Image; use graphics::rectang...
Rust
src/lib.rs
commandline/susuwatari-game
apache-2.0
6,452
195
codeparrot/github-code
43deaf14ecbf1f7c53228da66dfda6ddd5c379799e17b0b8d3dfc22ae1cf3c38
package org.renjin.primitives; import org.renjin.eval.Context; import org.renjin.eval.EvalException; import org.renjin.primitives.annotations.processor.ArgumentException; import org.renjin.primitives.annotations.processor.ArgumentIterator; import org.renjin.primitives.annotations.processor.WrapperRuntime; import org....
Java
org.renjin.core/src-gen/org/renjin/primitives/R$primitive$attr$assign.java
bedatadriven/renjin-statet
apache-2.0
3,078
79
codeparrot/github-code
2243062c964bf378275f86a10023acd9a8dcaf67a242cc9773a60e7c6794021b
/** --| ADAPTIVE RUNTIME PLATFORM |---------------------------------------------------------------------------------------- (C) Copyright 2013-2015 Carlos Lozano Diez t/a Adaptive.me <http://adaptive.me>. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance wi...
C#
adaptive-arp-lib/adaptive-arp-lib/Sources/Adaptive.Arp.Api/EmailAttachmentData.cs
AdaptiveMe/adaptive-arp-windows
apache-2.0
6,040
203
codeparrot/github-code
c4f588c937f0185cf7072a8a50ebb0a43adb2b04d0ce9594691821db01f9251d
using System; using System.Collections.Generic; using System.Linq; using System.Text; using WpfApplicationLauncher.GUI; namespace WpfApplicationLauncher.Logging { public static class Log { public enum EntrySeverity { Info, Warning, Error, FatalE...
C#
WpfApplicationLauncher/WpfApplicationLauncher/Logging/Log.cs
tlmorgen/WpfApplicationLauncher
apache-2.0
1,666
71
codeparrot/github-code
48ae399f65c284e0f45c26cab6bc19704dbbf2111d1df2d2bfd169708b344a3d
/* * Copyright (c) 2018. * J. Melzer */ package com.jmelzer.jitty.utl; import org.junit.Test; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; /** * Created by J. Melzer on 27.03.2018. */ public class RandomUtilTest { @Test public void randomIntFromInterval() { ...
Java
data/src/test/java/com/jmelzer/jitty/utl/RandomUtilTest.java
chokdee/jitty
apache-2.0
890
39
codeparrot/github-code
6cb45fcf62ed9eb1302acf11c207847307b10536199a35d2bfe00337fd4a4333
package com.hotcloud.util; import java.io.UnsupportedEncodingException; import java.util.HashMap; import java.util.Map; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class CookieUtil { public static Map<String, String...
Java
src/main/java/com/hotcloud/util/CookieUtil.java
shizicheng/spring_mvc_template
apache-2.0
2,459
71
codeparrot/github-code
1cde04d561b197d216736a65f8b68a2f9f614a4b348c6d5f680495c81bd8ec45
/******************************************************************************** * Copyright (c) 2019 Stephane Bastian * * This program and the accompanying materials are made available under the 2 * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. * * SPDX-L...
Java
vertx-auth-common/src/main/java/io/vertx/ext/auth/authorization/impl/PermissionBasedAuthorizationImpl.java
vert-x3/vertx-auth
apache-2.0
4,026
115
codeparrot/github-code
8d4129d752fdd6100c7c69a503257942df0a16e1c0fbfc4ad991721bce937670
package org.polyglotted.xpathstax.model; import com.google.common.base.Splitter; import com.google.common.collect.Iterables; import org.codehaus.stax2.XMLStreamReader2; import org.polyglotted.xpathstax.data.Value; import javax.annotation.concurrent.ThreadSafe; import java.util.Iterator; import java.util.Map.Entry; im...
Java
src/main/java/org/polyglotted/xpathstax/model/XmlAttribute.java
polyglotted/xpath-stax
apache-2.0
4,780
154
codeparrot/github-code
8cc1813bb76d055b8730dcb2e153e195753db7e1d0c69216bc7d7fe648589892
package org.javarosa.model.xform; import org.javarosa.core.data.IDataPointer; import org.javarosa.core.model.IAnswerDataSerializer; import org.javarosa.core.model.instance.FormInstance; import org.javarosa.core.model.instance.TreeElement; import org.javarosa.core.model.instance.TreeReference; import org.javarosa.core....
Java
javarosa/core/src/main/java/org/javarosa/model/xform/XFormSerializingVisitor.java
dimagi/javarosa
apache-2.0
8,206
226
codeparrot/github-code
760e848699caffe668134d516c086763755240b718218b0897f52a243f304f09
package io.silverspoon.bulldog.beagleboneblack.devicetree; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.PrintWriter; public class DeviceTreeCompiler { private static final String FIRMWARE_PATH = "/lib/firmware/"; private static final String OBJECT_FILE_PATTER...
Java
bulldog-board-beagleboneblack/src/main/java/io/silverspoon/bulldog/beagleboneblack/devicetree/DeviceTreeCompiler.java
xjaros1/bulldog
apache-2.0
1,303
33
codeparrot/github-code
284c158444953014c170a76762f05d8c948fde214ce93e9f3c74cc96f0c0d576
# Copyright 2016 Nuage Netowrks USA Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
Python
nuage_neutron/vpnaas/device_drivers/driver.py
naveensan1/nuage-openstack-neutron
apache-2.0
12,933
335
codeparrot/github-code
90175dafd8edf76ce6dac868a6e9bb5039dd4d42740954892f4a672dd23fb466
package com.xyp.sapidoc.idoc.enumeration; import java.util.HashSet; import java.util.Set; /** * * @author Yunpeng_Xu */ public enum TagEnum { FIELDS("FIELDS"), RECORD_SECTION("RECORD_SECTION"), CONTROL_RECORD("CONTROL_RECORD"), DATA_RECORD("DATA_RECORD"), STATUS_RECORD("ST...
Java
src/main/java/com/xyp/sapidoc/idoc/enumeration/TagEnum.java
PeterXyp/sapidoc
apache-2.0
1,036
50
codeparrot/github-code
0f759ab0660269a0d522b7c60dd4ed95ba460deaff8edad569a8507775bc6f44
/******************************************************************************* * Copyright 2016 Intuit * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.o...
Java
modules/auditlog-objects/src/test/java/com/intuit/wasabi/auditlogobjects/AuditLogEntryFactoryTest.java
intuit/wasabi
apache-2.0
3,157
73
codeparrot/github-code
55685c14fb8b3396d5acf9b6095878d0a2e587517e8a3bf99ea860e6acd0b7a1
package org.artifactory.ui.rest.service.admin.configuration.mail; import org.artifactory.api.config.CentralConfigService; import org.artifactory.descriptor.config.MutableCentralConfigDescriptor; import org.artifactory.rest.common.service.ArtifactoryRestRequest; import org.artifactory.rest.common.service.RestResponse; ...
Java
web/rest-ui/src/main/java/org/artifactory/ui/rest/service/admin/configuration/mail/GetMailService.java
alancnet/artifactory
apache-2.0
2,025
52
codeparrot/github-code
9e2ed167827f306196f3351de9c4fa30446524572dedce02a1b153740e516a04
// // Ingredient.cs // // Author: // Benito Palacios <benito356@gmail.com> // // Copyright (c) 2015 Benito Palacios // // 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 vers...
C#
Programs/Downlitor/Downlitor/Ingredient.cs
pleonex/Ninokuni
apache-2.0
1,308
58
codeparrot/github-code
ef639f8c91b7b79c7642ce5c6a8f691a255525636c9d47125b000dc631d6a853
/* * Copyright (c) 2009, Rickard Öberg. 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 l...
Java
bootstrap/src/main/java/org/qi4j/bootstrap/AssemblyVisitorAdapter.java
Qi4j/qi4j-core
apache-2.0
1,819
69
codeparrot/github-code
7d7d34cd749af65da49a96a652ce97f2fd164b2127235d14506333581f6d64fd
package com.ctrip.framework.cs.enterprise; import com.ctrip.framework.cs.configuration.ConfigurationManager; import com.ctrip.framework.cs.configuration.InitConfigurationException; import com.ctrip.framework.cs.util.HttpUtil; import com.ctrip.framework.cs.util.PomUtil; import com.google.gson.Gson; import org.slf4j.Log...
Java
cornerstone/src/main/java/com/ctrip/framework/cs/enterprise/NexusEnMaven.java
ctripcorp/cornerstone
apache-2.0
5,024
142
codeparrot/github-code
382db099a28548b31558fb4a83cbb0128bf48dcdee86de2b25ee7cca4a8bafb9
# # Copyright 2013 Quantopian, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
Python
zipline/finance/risk/period.py
lsbardel/zipline
apache-2.0
9,654
284
codeparrot/github-code
3b1a106fbffba8fd3f83c63abda04282eb045ca068defd44a6fa7949077a75c1
<!doctype html> <html class="theme-next use-motion "> <head> <meta charset="UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> <meta http-equiv="Cache-Control" content="no-transform" /> <meta http-equiv=...
HTML
tags/CDN/index.html
AfirSraftGarrier/AfirSraftGarrier.github.io
apache-2.0
27,009
844
codeparrot/github-code
0fd7b7fac00b444e7132cd7c5f8010e307db6b0ee025a4f65cefd5c323b08000
#!/usr/bin/python #-*-coding:utf8-*- from bs4 import BeautifulSoup as Soup #import pandas as pd import glob import sys import re """ Version xml de cfdi 3.3 """ class CFDI(object): def __init__(self, f): """ Constructor que requiere en el parámetro una cadena con el nombre del cfdi. ...
Python
extrainfo.py
sergiohzlz/lectorcfdi
apache-2.0
8,340
261
codeparrot/github-code
159dc5092552a07252f428b4f60435c90b848c848343d1982566eb1a03539c5e
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>Statistics of Degree in UD_Croa...
HTML
treebanks/hr_set/hr_set-feat-Degree.html
UniversalDependencies/universaldependencies.github.io
apache-2.0
27,528
275
codeparrot/github-code
461807b31815a3f4c822d2a0d885010c4b4367a6c43961a670c61f8075898758
require "decoplan/algorithm" require "decoplan/dive_profile" module Decoplan class Algorithm class Buhlmann < Algorithm attr_accessor :lo attr_accessor :hi attr_accessor :compartments N2_HALF = [ 4.0, 5.0, 8.0, 12.5, 18.5, 27.0, 38.3, 54.3, 77.0, 109.0, 146.0, 187.0, 239.0, 305.0, 390.0...
Ruby
lib/decoplan/algorithm/buhlmann.rb
lamont-granquist/decoplan
apache-2.0
2,171
64
codeparrot/github-code
fd9de9cc888b9f605d379c9f6f46a0f1464082272c4c5db61126095400363f38
#!/usr/bin/python3 from colorama import Fore, Back class frets: tuning = list() max_string_name_len = 0; frets_count = 0; strings = dict() NOTES = ('E', 'F', 'F#', 'G', 'G#', 'A', 'A#', 'B', 'C', 'C#', 'D', 'D#') def __init__(self, tuning=('E', 'A', 'D', 'G'), ...
Python
frets.py
mariuszlitwin/frets
apache-2.0
4,690
125
codeparrot/github-code
ba0d193b66da7c39d9e27972e1af660219f853d3237593dbd210fbf9e01e57a9
/* * PartitioningOperators.java Feb 3 2014, 03:44 * * Copyright 2014 Drunken Dev. * * 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...
Java
src/main/java/com/drunkendev/lambdas/PartitioningOperators.java
brettryan/jdk8-lambda-samples
apache-2.0
6,846
202
codeparrot/github-code
d04572c14f21b880bb89287dd867324dd62b7aedc1b98c1f422d985637921901
package com.esri.mapred; import com.esri.io.PointFeatureWritable; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.mapred.InputSplit; import org.apache.hadoop.mapred.JobConf; import org.apache.hadoop.mapred.RecordReader; import org.apache.hadoop.mapred.Reporter; import java.io.IOException; /** */ ...
Java
src/com/esri/mapred/PointFeatureInputFormat.java
syntelos/shapefile-java
apache-2.0
1,483
54
codeparrot/github-code
92ce81ffa10e003079b078d3684c352c3c8e72b8dfcc95537ea91fd7303caf5e
// ----------------------------------------------------------------------------------------- // <copyright file="TableSasUnitTests.cs" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in comp...
C#
Test/ClassLibraryCommon/Table/SAS/TableSasUnitTests.cs
MatthewSteeples/azure-storage-net
apache-2.0
67,774
1,492
codeparrot/github-code
64061ad0cc60b8845fafddfa6d98939c61ca7f80bc8fa2e7bfe9ef873f870e21
/* Copyright 2018 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing...
Java
src/main/java/com/google/swarm/sqlserver/migration/common/SqlDataType.java
GoogleCloudPlatform/dlp-rdb-bq-import
apache-2.0
1,596
71
codeparrot/github-code
5e534500fea1820709697bc331766a3e02c186a514700f539f1fd21cd8fe3455
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Media; usin...
C#
CombatLibrary/Spells/SpaceBomb.cs
WindyDarian/Art-of-Destiny
apache-2.0
2,505
93
codeparrot/github-code
d70db31dfaa971c9d311f88a81fd2643d18074ddacaffbee83c913f77863a14d
/** * echarts组件:孤岛数据 * * @desc echarts基于Canvas,纯Javascript图表库,提供直观,生动,可交互,可个性化定制的数据统计图表。 * @author Kener (@Kener-林峰, linzhifeng@baidu.com) * */ define(function (require) { /** * 构造函数 * @param {Object} messageCenter echart消息中心 * @param {ZRender} zr zrender实例 * @param {Object} option 图表选项 ...
JavaScript
Public/Lib/echarts/chart/island.js
ghostry/Gadmin
apache-2.0
7,945
257
codeparrot/github-code
1d6cbe34fefe3f7d2eca847400fc09a4301b0269f89ccdead0eca4a279a9d2ae
/* * Copyright 2004-2013 the Seasar Foundation and the Others. * * 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 ...
Java
src/main/java/org/docksidestage/mysql/dbflute/bsentity/BsWhiteImplicitReverseFkRef.java
dbflute-test/dbflute-test-dbms-mysql
apache-2.0
10,962
265
codeparrot/github-code
77be808be9a27bdca2d135819dd84c3a8d9fce5ebb669251856ad1c2b025fa46
/** * Copyright (c) 2016 Lemur Consulting Ltd. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by appli...
Java
ontology/ontology-annotator/elasticsearch-ontology-annotator/es-ontology-annotator-es2.2/src/main/java/uk/co/flax/biosolr/elasticsearch/OntologyHelperBuilder.java
flaxsearch/BioSolr
apache-2.0
4,116
134
codeparrot/github-code
7d7b585650e4f67812206cf0628bd8dcd6a448d03cc0eb3ed6cca737f4006971
'use strict'; /** * @ngdoc function * @name freshcardUiApp.controller:TemplatesCtrl * @description * # TemplatesCtrl * Controller of the freshcardUiApp */ angular.module('freshcardUiApp') .controller('TemplatesCtrl', function ( $scope, $rootScope, $localStorage, $filter, $timeout, FileUploader, Organizati...
JavaScript
app/scripts/controllers/templates.js
BjoernKW/FreshcardUI
apache-2.0
4,492
165
codeparrot/github-code
d2781273e6fd23e49744a715986e23196cfd2c4399600b4181a862415aa97d53
/* * Copyright © 2009 HotPads (admin@hotpads.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
Java
datarouter-webapp-instance/src/main/java/io/datarouter/webappinstance/storage/webappinstancelog/DatarouterWebappInstanceLogDao.java
hotpads/datarouter
apache-2.0
3,350
92
codeparrot/github-code