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
19c096261f0bbcfd53d2105ee45eef19099927e0dd2c7ed432281091ac39f44b
/* * This file is part of jdbw (http://code.google.com/p/jdbw/). * * jdbw 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 version....
Java
src/main/java/com/googlecode/jdbw/server/mysql/MySQLDialect.java
mabe02/jdbw
lgpl-3.0
7,698
220
codeparrot/github-code
0238a02de8d8f2cb0e9890ab2d5c42d6d5dddbb1c8db724cd65749bbf34e408a
<!DOCTYPE html > <html> <head> <link rel="stylesheet" href="demos.css" type="text/css" media="screen" /> <script type="text/javascript" src="../libraries/RGraph.common.core.js" ></script> <script type="text/javascript" src="../libraries/RGraph.common.csv.js" ></script> <script type="text/javascript...
HTML
server/UIs/Tornado/static/scripts/RGraph/demos/vprogress-csv-reader.html
btgoodwin/apgRasPi
lgpl-3.0
1,793
51
codeparrot/github-code
635315b7aa5d959eabf6c02df91c78edc4fb09d0ce34b155c67b8f0ac7673aac
/** * Premium Markets is an automated stock market analysis system. * It implements a graphical environment for monitoring stock markets technical analysis * major indicators, for portfolio management and historical data charting. * In its advanced packaging -not provided under this license- it also includes : * S...
Java
premiumMarkets/pm-core/src/main/java/com/finance/pms/datasources/shares/TradingMode.java
premiummarkets/pm
lgpl-3.0
2,237
61
codeparrot/github-code
b03dfb2915ef9b4f21e0f80520b13cf5e067f591e64d659b568681f7bd8bc6ac
/* * jpegint.h * * Copyright (C) 1991-1997, Thomas G. Lane. * Modified 1997-2013 by Guido Vollbeding. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file provides common declarations for the various JPEG modules....
C
ThirdParty/jpeg/jpegint.h
AndyD87/CcOS
lgpl-3.0
17,593
427
codeparrot/github-code
ce0fe90670916bc8ea3bad2ec87ed7fc53133ce2c0a6674a057fba81e4b02097
/* * This file is part of qp42. * * qp42 -- An Implementation of qp solver on 42 intervals. * Copyright (C) 2012 by Janick Frasch, Hans Joachim Ferreau et al. * All rights reserved. * * qp42 is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License...
C
examples/example1_ltv.c
qpDUNES/qpDUNES-dev
lgpl-3.0
3,465
179
codeparrot/github-code
f467484c1311eb585d48f0cd61dfc7f6d1c06239c6c13c9c84a5c834b856ac60
// Copyright 2016 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
swarm/network/kademlia/address.go
dubaicoin-dbix/go-dubaicoin
lgpl-3.0
4,791
174
codeparrot/github-code
29b21134df46b2b7a6047d696f8bf4ab9014736ff0fab5dcb29d9caa1ca6dd40
//============================================================================ // I B E X // File : data.cpp // Author : Gilles Chabert // Copyright : Ecole des Mines de Nantes (France) // License : See the LICENSE file // Created ...
C++
examples/slam/data.cpp
msis/ibex-lib
lgpl-3.0
3,100
85
codeparrot/github-code
a236bd50d927576dcb73f2288466857bada9321a0b2c7ab151738c7c6570e50c
// // Copyright (C) University College London, 2007-2012, all rights reserved. // // This file is part of HemeLB and is provided to you under the terms of // the GNU LGPL. Please see LICENSE in the top level directory for full // details. // #ifndef HEMELBSETUPTOOL_BLOCK_H #define HEMELBSETUPTOOL_BLOCK_H #include ...
C
Tools/setuptool/HemeLbSetupTool/Model/Generation/Block.h
jenshnielsen/hemelb
lgpl-3.0
1,278
62
codeparrot/github-code
c087dce7100c44d0c753c2ea4252f20249e5da912c89a22e618ab6be885d6405
/** /* osgGIS - GIS Library for OpenSceneGraph * Copyright 2007-2008 Glenn Waldron and Pelican Ventures, Inc. * http://osggis.org * * osgGIS 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 ...
C++
src/osgGIS/OptimizerHints.cpp
jartieda/3dgis
lgpl-3.0
1,579
61
codeparrot/github-code
ea5c539b3aab4c3d711ac82ca84ddc816ef6267ae2a03e8c9bfb63242d981770
using System; using Framesharp.Domain; namespace FramesharpUniversity.Domain { public class Demonstration : IDomainObject { public virtual int DemonstrationId { get; set; } public virtual string SomeDescription { get; set; } public virtual int SomeNumber { get; set; } public...
C#
FramesharpUniversity.Domain/Demonstration.cs
ElmoLabs/FramesharpUniversity-CSharp
lgpl-3.0
2,005
65
codeparrot/github-code
6b1c4bc7dd969eb397395d489dfc6ff4e39443ca6582bd2be3c887b35a0a3cbc
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Threading.Tasks; namespace Microsoft.AspNet.Mvc.ModelBinding { public sealed class TypeConverterModelBinder : IModelBind...
C#
its/Mvc-dev_b245996949/src/Microsoft.AspNet.Mvc.Core/ModelBinding/TypeConverterModelBinder.cs
peterstevens130561/sonarlint-vs
lgpl-3.0
2,121
55
codeparrot/github-code
38c0533bde2bbbefbb4a6d9a70353a75ffc3d762a9bd61642774472ca625615e
/* * Copyright 2002 by Phillip Pan * * The contents of this file are subject to the Mozilla Public License Version 1.1 * (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.mozilla.org/MPL/ * * Software distributed under the Lice...
Java
app/src/main/java/com/lowagie/text/pdf/PdfPatternPainter.java
SafetyCulture/DroidText
lgpl-3.0
11,113
451
codeparrot/github-code
fc4720dc1451a5aab96cdc36b31afdecad51447a2a447be4cab920e26ec8133e
#ifndef THERMOMETER_GENERIC_PRIVATE_HPP_ #define THERMOMETER_GENERIC_PRIVATE_HPP_ /** * @file ThermometerGeneric_Private.h * @author Dipl.-Inf. Falk Schilling <falk.schilling.de@ieee.org> * @copyright LGPLv3 */ template< class Port, class DataModel > ThermometerGeneric<Port,DataModel>::ThermometerGeneric( Port &...
C
cpp_generic_final/Thermometer/ThermometerGeneric_Private.h
db8fs/mvc-tutorial
lgpl-3.0
2,425
105
codeparrot/github-code
3cd3a681f90d53166df6561a24accb7a6d9c547b36453a81ff8449314b73450a
/* 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/iotsitewise/describeportalresponse.cpp
pcolby/libqtaws
lgpl-3.0
3,386
107
codeparrot/github-code
68f23770ffbd0a5096bed09c70cc1cc8eee3d90f9cbe2f89b717494005e7b6b2
/* * Copyright 2010-2014 Bastian Eicher * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progr...
C#
src/Backend/Services/Feeds/FeedManager.cs
clawplach/0install-win
lgpl-3.0
15,643
352
codeparrot/github-code
93fb3231c42b9dfa925d318f7042551b6e3744414bd358660b9da8262d579eca
package brandon.tsai.travelledger; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.util.Log; import java.io.File; /** * Created by ty on 2015/7/8. */ public class DB { static SQLiteDatabase db;...
Java
app/src/main/java/brandon/tsai/travelledger/DB.java
BrandonTsai/TravelLedger
lgpl-3.0
10,526
345
codeparrot/github-code
7bbe4f4542e5ef24a1598d1a5a7c35be8ec39f0df92f48132fb8b7f318ff421b
/* biojava-adam Biojava and ADAM integration. Copyright (c) 2017-2022 held jointly by the individual authors. 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 Free Software Foundation; either versi...
Java
src/main/java/org/biojava/nbio/adam/convert/BiojavaStrandToBdgenomicsStrand.java
heuermh/biojava-adam
lgpl-3.0
2,511
70
codeparrot/github-code
3d07c09e6ef98c66d1e89647d18ad69a3d3f0aa1986b5382b77377d5044c8223
package nova.core.sound; import nova.core.render.Asset; import nova.core.util.Identifiable; /** * An object representing a sound. (including the modification to pitch and volume, etc...) * * @author skyem123 */ public class Sound extends Asset implements Identifiable { /** * Changes the pitch of the sound. ...
Java
src/main/java/nova/core/sound/Sound.java
Victorious3/NovaCore
lgpl-3.0
1,341
53
codeparrot/github-code
22a1c15c466284b74602e4f8e4c36e8273891b1310cab67753603ee2baa4f709
package gate.resources.img.svg; import java.awt.*; import java.awt.geom.*; import java.awt.image.*; import java.awt.image.BufferedImage; import java.io.IOException; import javax.imageio.ImageIO; /** * This class has been automatically generated using <a * href="http://englishjavadrinker.blogspot.com/search/label/S...
Java
src/main/java/gate/resources/img/svg/WindowNewIcon.java
GateNLP/gate-core
lgpl-3.0
11,600
317
codeparrot/github-code
7b35d6ce43fa1451532b67acc5ce2475043944ab893cc275f6feab7e0bf14456
/* * This file is part of lanterna (http://code.google.com/p/lanterna/). * * lanterna 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 lat...
Java
src/main/java/com/googlecode/lanterna/terminal/swing/SwingTerminalImplementation.java
nbzwt/lanterna
lgpl-3.0
5,367
154
codeparrot/github-code
c68abb11265e66e5ad8e0764c1f418a617c802a2d1816270c4fd8b60f97be3dc
/* vector.h, a C implementation for a templated vector ADT. * * Dedicated to Kanna Ishihara. * * Copyright (C) 2006-2009 Ronald Huizer * * 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 Free Software Founda...
C
src/vector.h
scrippie/libaosc
lgpl-3.0
15,530
484
codeparrot/github-code
047ea7271f8a5d6ce7cf3a1b6c6ddbe45a16c34b0d7bc65b8f1ad9bf60882ddc
package org.opennaas.extensions.genericnetwork.capability.statistics; /* * #%L * OpenNaaS :: OF Network * %% * Copyright (C) 2007 - 2014 Fundació Privada i2CAT, Internet i Innovació a Catalunya * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complianc...
Java
extensions/bundles/genericnetwork/src/main/java/org/opennaas/extensions/genericnetwork/capability/statistics/NetworkStatisticsCapability.java
dana-i2cat/opennaas
lgpl-3.0
5,161
147
codeparrot/github-code
b9dac06241713f30f8e07b545cd50c86754221960aeb3f9c5fa5a1fd89a9e532
// wcl_colorlib - portable color library // Copyright (C) <2007> Wei Hu <wei.hu.tw@gmail.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,...
C++
wcl_colorlib/include/subsampling_converter_plugin.hpp
Halajohn/wei-common-library
lgpl-3.0
3,332
106
codeparrot/github-code
fbb9f2b1f987d5f8cd522ec2615a355731bf748b79ca635db95bd571b4804fd6
# -*- coding: utf-8 -*- # # This file is part of the bliss project # # Copyright (c) 2016 Beamline Control Unit, ESRF # Distributed under the GNU LGPLv3. See LICENSE for more info. import sys import time import numpy import struct import logging import threading # tango imports import tango from tango import GreenMod...
Python
bliss/tango/servers/nanobpm_ds.py
tiagocoutinho/bliss
lgpl-3.0
19,010
509
codeparrot/github-code
57ba54743c19ea5e8db946379debe98f5c2757c602eb82c9f897432280870969
package cn.lnu.array; import java.util.Arrays; public class GetSlidingWindowMax { /** * ¸ø¶¨Ò»¸öÊý×éºÍ»¬¶¯´°¿ÚµÄ´óС£¬ÕÒ³öËùÓ묶¯´°¿ÚÀïÊýÖµµÄ×î´óÖµ¡£ ÀýÈ磬Èç¹ûÊäÈëÊý×é{2,3,4,2,6,2,5,1}¼°»¬¶¯´°¿ÚµÄ´óС3£¬ * ÄÇôһ¹²´æÔÚ6¸ö»¬¶¯´°¿Ú£¬ËûÃǵÄ×î´óÖµ·Ö±ðΪ{4,4,6,6,6,5}£» Õë¶ÔÊý×é{2,3,4,2,6,2,5,1}µÄ»¬¶¯´°¿ÚÓÐÒÔÏÂ...
Java
src/cn/lnu/array/GetSlidingWindowMax.java
mushroomgithub/JianZhiOfferJava
lgpl-3.0
1,695
52
codeparrot/github-code
08f564d746e06029c8705dbbc296f198f8a454aafe84719b0fb1928f8c85394a
if (typeof conf == 'undefined') var conf = {}; conf = { vars: { 'platform': 'Chrome' , 'wrapper': 'unknown' , 'version': '0.9.9.0' , 'codename': 'Ada' , 'consumer_key': 'U98ZKc9v0kThfKdZbn8NRQ' , 'consumer_secret': 'RcwCNFKsNFMHIf8D756QpWdZHAD1Vus2rbIrBjibtg' , 'column_max_width': 400 ...
JavaScript
data/js/conf.js
AshKyd/Hotot
lgpl-3.0
13,964
425
codeparrot/github-code
55a84e00430eac376574884fd6843c09505c01f1f0142474db94234a3bc24bc2
/* * JasperReports - Free Java Reporting Library. * Copyright (C) 2001 - 2013 Jaspersoft Corporation. All rights reserved. * http://www.jaspersoft.com * * Unless you have purchased a commercial license agreement from Jaspersoft, * the following license terms apply: * * This program is part of JasperReports. * ...
Java
src/net/sf/jasperreports/charts/base/JRBaseDataRange.java
sikachu/jasperreports
lgpl-3.0
3,851
142
codeparrot/github-code
6f04d73cd3dc39d2b43b147b2df5fd8c28a53786b0deca1af5d322da0ed1e7ea
/* lela/blas/level2-modular.h * Copyright 2011 Bradford Hovinen <hovinen@gmail.com> * * Implementations of level 2 BLAS interface for Z/p * ------------------------------------ * * This file is part of LELA, licensed under the GNU Lesser General * Public License version 3. See COPYING for more information. */ ...
C
lela/blas/level2-modular.h
Singular/LELA
lgpl-3.0
4,867
128
codeparrot/github-code
ced70130e0fd85de7249a64558dda1bf9f63748b401ba15276483c654aa85c14
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact 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...
Java
server/sonar-server/src/test/java/org/sonar/server/computation/task/projectanalysis/qualitymodel/RatingSettingsTest.java
Builders-SonarSource/sonarqube-bis
lgpl-3.0
5,426
128
codeparrot/github-code
2f53e2f074246f3f49705d64ff2493cf03192fc052a9c4b6773a711d3736118b
/* 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/wafregional/updateipsetrequest.h
pcolby/libqtaws
lgpl-3.0
1,369
51
codeparrot/github-code
a8ee653c29b07b94672feb5c371efae2c6b988cc978eef42d2b7cfec439d57e5
package org.setareh.wadl.codegen.builder; import org.setareh.wadl.codegen.generated.bo.*; import org.setareh.wadl.codegen.model.*; import javax.xml.namespace.QName; import java.util.ArrayList; import java.util.List; /** * @author: alexandre_godet * @since: MXXX */ public class ServicesModelBuilder { public s...
Java
src/main/java/org/setareh/wadl/codegen/builder/ServicesModelBuilder.java
agodet/wadlcodegenerator
lgpl-3.0
7,713
204
codeparrot/github-code
8ef85dec31897dac6ce5a932b3fd0e08f29e6d4b8c1930e2afbe7a1ac570e66c
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact 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...
JavaScript
server/sonar-web/src/main/js/apps/account/components/Home.js
joansmith/sonarqube
lgpl-3.0
3,080
87
codeparrot/github-code
72ce766835f83afd82652f89c4419c7bdcd80a6b49e6ee8a231f148de2ef1d81
/** * Copyright (c) <2012-2014>, Oleg Romanovskiy <shedarhome@gmail.com> aka Shedar * 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 t...
Java
src/main/java/org/modstats/reporter/v2/DataSender.java
EnderWizards/libsandstone
lgpl-3.0
11,322
242
codeparrot/github-code
1b1c6e19c14ab460610db3a9180c7198275cd36644842497138a18df465ec327
#include <iostream> #include <sstream> #include <stdexcept> #include <JnsIRBuilder.h> #include <Registers.h> #include <SMT2Lib.h> #include <SymbolicElement.h> JnsIRBuilder::JnsIRBuilder(uint64_t address, const std::string &disassembly): BaseIRBuilder(address, disassembly) { } void JnsIRBuilder::imm(AnalysisProce...
C++
src/ir/builders/JnsIRBuilder.cpp
zhuyue1314/Triton
lgpl-3.0
1,693
72
codeparrot/github-code
270268300f0aac8b3cc4da43162c3f994ffe960106534ee265f732d215722b01
<?php /* * * ____ _ _ __ __ _ __ __ ____ * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \ * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) | * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/ * |_| \___/ \___...
PHP
src/Server.php
iksaku/PocketMine-MP
lgpl-3.0
51,234
1,725
codeparrot/github-code
5d1aefe3cb9ed33ddecbe463e1fdca0a6c9ecbebaaa698e87e4b67adea89065c
package at.ac.tuwien.caa.docscan.logic; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; /** * A class used for loading and saving of settings that are accessed by multiple activities or need * to be stored in a static way (by making use of singleton). */ publi...
Java
app/src/main/java/at/ac/tuwien/caa/docscan/logic/Settings.java
TUWien/DocScan
lgpl-3.0
4,358
149
codeparrot/github-code
647b93acd1616b5415bcf9f56c062772f71558fbd42021e95474881b81158787
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact 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...
Java
sonar-plugin-api/src/main/java/org/sonar/api/web/page/Page.java
Builders-SonarSource/sonarqube-bis
lgpl-3.0
4,839
173
codeparrot/github-code
3fdc0fb422a6347fdc5986667a754bcf66ec771b4b837565f573633d4a815017
/* * Copyright (C) 2009-2012 Simon A. Berger * * This file is part of ivy_mike. * * ivy_mike 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 ...
C
src/ivymike/time.h
sim82/ivy_mike
lgpl-3.0
2,796
118
codeparrot/github-code
48a9b292f51f7bb71c793da7c75b252ab0fea68d335fe5bf9d91ec089046e05e
/* * 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...
TypeScript
server/sonar-web/src/main/js/apps/quality-gates/components/RenameQualityGateForm.tsx
Godin/sonar
lgpl-3.0
2,782
92
codeparrot/github-code
e53217e5f62a1c8e0ac22d22cb6d71fc18d0213e39bf53eb38b0a8d02484bee5
/* Copyright (C) 2013 Enzo Seraphim 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 2 of the License, or (at your option) any later version. This program is distribut...
Java
meta/org/obinject/meta/generator/CoordinateKeyGenerator.java
joaorenno/obinject
lgpl-3.0
18,790
424
codeparrot/github-code
b858767a1d7ae104cd1598fff520047f65da87c9dd6b02435564734e332947c9
package edu.cmu.EasyOrder_Android; /** * Created by yunpengx on 7/8/17. */ public class Dish { private String name; private String image; private double price; private int quantity; private double rate; private int id; public int getId() { return id; } public void setId...
Java
EasyOrder_Android/app/src/main/java/edu/cmu/EasyOrder_Android/Dish.java
louis-xu-ustc/EasyOrder_Android
lgpl-3.0
1,292
72
codeparrot/github-code
9533b59ba0c935c1edfc4d89b85f372d82c81621a3c6458e918661b8a958ef9b
# # This file is part of CasADi. # # CasADi -- A symbolic framework for dynamic optimization. # Copyright (C) 2010 by Joel Andersson, Moritz Diehl, K.U.Leuven. All rights reserved. # # CasADi is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Pub...
Python
documentation/examples/solvers/exacthessian.py
jgillis/casadi
lgpl-3.0
2,328
74
codeparrot/github-code
c04170bb68b8257a1e1d59f843146b6df01f32864eff208eceb7fa11d7c6f52e
//------------------------------------------------------------------------------ // Data vector - structures of Entry, SVector and DVector // // Copyright by del2z <delta.z@aliyun.com> //------------------------------------------------------------------------------ #ifndef _CACTUS_CORE_DATA_VECTOR_H_ #define _CACTUS_CO...
C
src/core/data_vector.h
del2z/cactus
lgpl-3.0
2,857
135
codeparrot/github-code
d22b9199668dbdf24437df75dcfb84ff8c264d3fd294d88d08cb6876ad591da8
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact 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...
Java
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v60/PopulateAnalysisUuidColumnOnCeActivity.java
Builders-SonarSource/sonarqube-bis
lgpl-3.0
2,130
55
codeparrot/github-code
4381e4c4765f32e6b66e1e936e0fc44221132d429f69bebf45a10e0276b598c7
/* * Copyright 2008-present, David Karnok & Contributors * The file is part of the Open Imperium Galactica project. * * The code should be distributed under the LGPL license. * See http://www.gnu.org/licenses/lgpl.html for details. */ package hu.openig.tools.ani; import hu.openig.core.MovieSurface; imp...
Java
src/hu/openig/tools/ani/AnimPlay.java
akarnokd/open-ig
lgpl-3.0
35,727
938
codeparrot/github-code
887678196c6c9f8db31a56ebdf07c5009e1cec213dc33b2af63fa503044c75c9
const dataUrl = "https://foxforumsinfo.herokuapp.com/stories"; //const dataUrl = "http://localhost:8080/stories"; $(document).ready(function () { console.log("requesting... "); $.ajax({ url: dataUrl, error: function (req, exception) { console.log(req.statusText); } })....
JavaScript
app/app.js
holly4/foxforumsinfo
unlicense
3,966
133
codeparrot/github-code
a2dd2febb8a95d419041f8397b84a67396ce265eed648953f5d730855d36ca7e
const fs = require('fs'); const gw2 = require(`${__dirname}/src/initialize.js`); const offsets = require(`${__dirname}/src/offsets.js`); const result = {}; /** * Start by trying to find the correct GW2 process * Terminates with an error if no process is found */ gw2((err, process, module, memory) => { if (err) ...
JavaScript
src/gw2/updater.js
karliky/machinima-studio
unlicense
7,206
189
codeparrot/github-code
989e2fcc686cd5503bedff3844ef985d67603c95b3f9a72d9e4acb4e6f47db41
/* ** 2016 March 13 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. */ package info.ata4.minecraf...
Java
src/main/java/info/ata4/minecraft/dragon/server/entity/ai/path/PathNavigateFlying.java
ata4/dragon-mounts
unlicense
1,044
38
codeparrot/github-code
ad36dfa339738d5dc76feb5e64e47690d959084691b84aeddf8806f01b831886
/* This is free and unencumbered software released into the public domain. */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #include "emitter.h" #include "../../jit/compiler.h" namespace { class compiler final : public machinery::jit::compiler { using emitter = machinery::arch::x86_emitter<buffer>; using reg6...
C++
src/machinery/arch/x86/compiler.cc
dryproject/machinery
unlicense
2,753
168
codeparrot/github-code
5a08ce84495db2a74c1712d7bfab1043baf55baf97f1128c352bfdde931b521e
import select, logging, threading, sys, ssl, errno, socket, platform, time from threadly import Scheduler, Clock from .stats import Stats from .stats import noExcept from .client import Client from .server import Server from .tcp import TCPClient, TCPServer from .udp import UDPServer try: xrange(1) except: xra...
Python
litesockets/socketexecuter.py
lwahlmeier/python-litesockets
unlicense
21,816
686
codeparrot/github-code
0a9989fe4c3d2c6273165721718c0ebef22faa7ed7eaee593d50998c8064c028
# -*- coding: utf-8 -*- import os.path from django.conf import settings from pybb.util import filter_blanks, rstrip_str PYBB_TOPIC_PAGE_SIZE = getattr(settings, 'PYBB_TOPIC_PAGE_SIZE', 10) PYBB_FORUM_PAGE_SIZE = getattr(settings, 'PYBB_FORUM_PAGE_SIZE', 20) PYBB_AVATAR_WIDTH = getattr(settings, 'PYBB_AVATAR_WIDTH'...
Python
src/pybb/defaults.py
orlenko/bccf
unlicense
3,811
95
codeparrot/github-code
0c68bcdccb0cd37bf42755e42627e732b9b8c6600efe5329689187ff90f1c452
#include <iostream> #include "models/pawnModel.h" #include "pawn.h" #include "board.h" #include "graphics.h" using namespace std; struct Obj { Point3 *vertices; long *v_idx; Point3 *normals; long *n_idx; Point2 *uvs; int num_faces; }; Obj pawnModel; pawn::pawn () { pawnModel.vertices = Cylinder0444_ve...
C++
pawn.cpp
dideler/divs
unlicense
1,610
73
codeparrot/github-code
3d2196a61f95d8689aab873ab5aa06c6984646c77e1b7f42e2f6e4b54e09188f
package test; import java.awt.Dimension; import org.terifan.raccoon.CompressionParam; import org.terifan.raccoon.Database; import org.terifan.raccoon.DatabaseOpenOption; import org.terifan.raccoon.annotations.Discriminator; import org.terifan.raccoon.TableParam; import org.terifan.raccoon.annotations.Column; import or...
Java
src/test/Test.java
terifan/Raccoon
unlicense
1,827
85
codeparrot/github-code
86fb2609bcd7ea78efc58120851bb77ddbbe81255575fe33408b2f9d032f919b
"""Timetable of buses operated by Uttar Pradesh State Road Transport Corporation (UPSRTC) """ from datetime import datetime import re import scraperwiki import lxml.html base_url = 'http://www.upsrtc.com/online/query/' services = dict() def find_by_text(element, selector, text): for a in element.cssselect(select...
Python
uttar_pradesh.py
sramana/rtc-schedule
unlicense
2,884
100
codeparrot/github-code
6ee43dfdb77068a290595c9db80ab1385ede54d7b9c6d09cfd96db8cfef76002
#include <iostream> #include <string> using std::cin; using std::cout; using std::endl; using std::string; int main() { cout << "Say something.." << endl; string something {}; // getline reads until \n but discards it and keeps whats in front while (getline(cin, something)) { for(auto ch : something) { if (...
C++
C++/C++ Primer 5th ed/Ch 3 - Strings, Vectors, and Arrays/all_chars_to_X.cc
Mugurell/Learning
unlicense
723
42
codeparrot/github-code
ec969151fb22bc12b58efab2840b727c01e978558d18a4ff8af1885dec1e6016
# This is free and unencumbered software released into the public domain. # # Anyone is free to copy, modify, publish, use, compile, sell, or distribute # this software, either in source code form or as a compiled binary, for any # purpose, commercial or non-commercial, and by any means. # # In jurisdictions that recog...
Python
tags.py
riceissa/static-site-generator
unlicense
7,669
257
codeparrot/github-code
0cf01c627b237aa9bd489096b9e791620a3dbc01d01e2cd5495b3c33d9b16d58
/* * This is free and unencumbered software released into the public domain. * * Anyone is free to copy, modify, publish, use, compile, sell, or distribute * this software, either in source code form or as a compiled binary, for any * purpose, commercial or non-commercial, and by any means. * * In jurisdiction...
Java
src/com/github/pffy/chinese/CedictReader.java
pffy/java-cedictreader
unlicense
3,113
113
codeparrot/github-code
18918a640153e9ef187775110dc6b388b85cdb82c7ab48306fbf1eed1baace6f
var common = { class: 'ct-axis-title ct-label', textAnchor: 'middle' }; var getXConfig = (chart) => { var x = chart.options.chartPadding.left + (chart.options.axisY.position === 'start' ? chart.options.axisY.offset : 0) + (chart.axisX.axisLength / 2); var y = chart.options.chartPadding.top + ...
JavaScript
lib/axis-title.js
panosoft/node-chartist
unlicense
2,044
59
codeparrot/github-code
8062d4ebd4110c1bd7a2f06bd238877ba5b6e23f770118db16b0b7413f0e4b55
const path = require('path'); exports.createPages = ({ boundActionCreators, graphql }) => { const { createPage } = boundActionCreators; const postTemplate = path.resolve('src/templates/post.tsx'); return graphql(` { allMarkdownRemark( sort: { order: DESC, fields: [frontmatter___date] } ...
JavaScript
gatsby-node.js
SShrike/website
unlicense
1,180
54
codeparrot/github-code
52a409c8dfb81cba3fff703a79696270b5991a84ee676d54675892311b6971df
#include "../debug.h" using namespace std; class LCA { public: vector<vector<int>> dp; vector<int> levels; int n,k,r; LCA() { } void fromParents(const vector<int> &parents) { n = parents.size(); for (k = 0; (1<<k) < n; k++) {} /* 1<<k >= n. => k >= max possible levels *...
C++
algo/segment_tree/lca.cc
seckcoder/lang-learn
unlicense
1,703
80
codeparrot/github-code
f39bf34f10560884a8d3a76c13acd76c47a14176f4c58da1746d2aa3b4deef6e
module Network.Haskoin.Node.Message ( Message(..) , MessageHeader(..) ) where import Control.DeepSeq (NFData, rnf) import Control.Monad (unless) import Control.Applicative ((<$>),(<*>)) import Data.Word (Word32) import Data.Binary (Binary, get, put) import Data.Binary.Get ( lookAhead , getByteString ,...
Haskell
Network/Haskoin/Node/Message.hs
nuttycom/haskoin
unlicense
6,001
162
codeparrot/github-code
de8b050e7d41aef8ac09842a386ff7a0820c0821b9a66c1874e6dfd4ef840a2d
#include "stdafx.h" #include "CppUnitTest.h" #include <vector> #include "../LibNistSts/BitSequence.h" #include "../LibNistSts/Parameters.h" #include "../LibNistSts/Test.h" #include "../LibNistSts/common/stat_fncs.h" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace libNISTtest { TEST_CLASS(Ran...
C++
TestLibNistSts/RandomExcursionsUnitTest.cpp
peterekepeter/lib-nist-sts
unlicense
1,550
59
codeparrot/github-code
325fa3870ef607c211021136afab17967bba02e29313f850f74e90365dbcfc55
<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Exporting Charts a...
HTML
face-web/src/main/webapp/static/fusionWidgets/Contents/ExportingImage/ECTerminology.html
cc14514/hq6
unlicense
17,927
235
codeparrot/github-code
a514ac0e90858948eee89e70c4a688706136c40677a3a808130a1c8d28745653
// JS for contemporary.org // scroll to content when you click - retrieved from http://www.sycha.com/jquery-smooth-scrolling-internal-anchor-links $(".scroll_to").click(function(event){ event.preventDefault(); $('html,body').animate({scrollTop:$(this.hash).offset().top}, 888); }); // Generally useful JS stuff $(d...
JavaScript
z-old/js/ookb_for_tc.js
bjornmeansbear/contemporary.ookb.co
unlicense
5,333
180
codeparrot/github-code
3293ff457ea64bf2a668c3dd808b06e2cda3c445e26687fb7e096c5f0bae0adf
// // Public domain. 2014. <cycad@greencams.net> // #include <assert.h> #include <malloc.h> #include <math.h> #include <string.h> #include <stdio.h> #include "spritz.h" static void sc_swap(SPRITZ_CONTEXT *ctx, size_t i, size_t j); static uint8_t sc_state(SPRITZ_CONTEXT *ctx, size_t i); static size_t gcd(size_t a, s...
C
spritz.c
cycad/spritz
unlicense
7,441
410
codeparrot/github-code
5397064e9947d265fa79ace959e7b7534fea99882f47e110d38ada8b1f8f8702
package main import ( "encoding/json" "fmt" "log" "net/http" "sync" "time" ) var xhrOutput *Json var lfgOutput *Json func init() { xhrOutput = &Json{ data: map[string]interface{}{ "channels": []string{}, }, cond: &sync.WaitGroup{}, } xhrOutput.cond.Add(1) xhrOutput.set("updated_at", time.Now().Uni...
GO
tools/team/json.go
apokalyptik/fof
unlicense
1,203
69
codeparrot/github-code
fcef2c94eb622bd6a45fc21d6f01b275a00f24cba9112e45a27cad9942f9acfc
using System; using UnityEngine; namespace UnityStandardAssets.Effects { public class Hose : MonoBehaviour { public float maxPower = 20; public float minPower = 5; public float changeSpeed = 5; public ParticleSystem[] hoseWaterSystems; public Renderer systemRenderer; ...
C#
Assets/Standard Assets/Utility/Hose.cs
goodmorningcmdr/misc-unity-stuff
unlicense
934
39
codeparrot/github-code
a5f6d0c354dc8ff4d0117dd1a1bee4db64ce5a9352946b884826e253abb3c9f1
using System.Collections.Generic; using SpaceInvaders.Helpers; namespace SpaceInvaders.Entities { internal class AlienColumn : PhysicalEntity { private List<Alien> aliens; public IEnumerable<Alien> Aliens { get { return aliens; } } private Alien firstAlien = null; public Alien FirstA...
C#
SpaceInvaders/Entities/AlienColumn.cs
Elideb/SpaceInvaders
unlicense
2,884
111
codeparrot/github-code
17d711e531b4ff7b13292151a11aaee61674d9e5a13b072729fac1db429ba080
package net.sekao.russian101; import android.graphics.Bitmap; import android.preference.PreferenceManager; import android.support.v4.view.PagerAdapter; import android.view.KeyEvent; import android.view.View; import android.view.ViewGroup; import android.widget.MediaController; import android.media.MediaPlayer...
Java
app/src/main/java/net/sekao/russian101/GalleryAdapter.java
oakes/Russian101
unlicense
5,759
261
codeparrot/github-code
2e1c2ec0f26054c69f14e8cfb298b06f094746c6d13646c1f402c74ad8705bde
#include <stdio.h> #include <stdlib.h> //node datatype typedef struct node_ptr { int number; struct node_ptr *next; } node; int main() { node *list = NULL; // list name node *n = NULL; // node name // 1. allocate HEAP memory for a node // 2. set the nodes number value in the node // ...
C
pset5/2021/sandbox/refresh.c
glennlopez/CS50.HarvardX
unlicense
873
51
codeparrot/github-code
6ee0718691e029d41101fe84823335bb45afeba16c099f45c3d8ca1c2d16fac1
package com.squareup.okhttp; public final class l { private final String a; private final String b; public l(String paramString1, String paramString2) { this.a = paramString1; this.b = paramString2; } public final String a() { return this.a; } public final String b() { return thi...
Java
allsrc/com/squareup/okhttp/l(1).java
clilystudio/NetBook
unlicense
1,085
52
codeparrot/github-code
e1c61e382e4c96021fffc0f1877ce599ffeadd0a4a22236474fb84d863bbd412
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Requisitos Complementares Nilseu Padilha (resumo do cap&#237;tulo 7 - &nbsp;Scott W. Ambler(2004) - The Object Primer - Agile Model-Driven Development With Uml 2.0 3rd ed. - Cambridge Universit...
HTML
docs/referencias/requisitos_complementares/requisitos_complementares/Requisitos Complementares.html
jeanlopes/ipsoo_projeto_n1
unlicense
21,827
484
codeparrot/github-code
8a976d8392a4db77ba77ae86c0de1067407c30174ccfb239076065b849ad7d57
using System; using System.ComponentModel; using System.Drawing; using System.Runtime.InteropServices; using System.Windows.Forms; namespace ProScan { public class DriveRatioCalcForm : Form { private GroupBox groupInstructions; private Label label1; private Label label2; private Label label3; private Butt...
C#
ProScan/ProScan/DriveRatioCalcForm.cs
testdoron/ProScan
unlicense
6,123
177
codeparrot/github-code
f163a7d88d8f4e6c398c6d7515fe79cd560cd56c28e16a5ccf4a370f0f150740
using System.Collections.Generic; using Turbo.Events.Model; namespace Turbo.Events.Reports.EventSequence { public class Fatty : IConsumer, IOnError, IOnEvent, IOnScopedEvent { private readonly IList<object> _events; public Fatty(IList<object> events) { _events =...
C#
src/Turbo/Events/Reports/EventSequence/Fatty.cs
mikalai-kardash/Turbo
unlicense
615
32
codeparrot/github-code
64854f1bb6c5ba3cd9558de561d113b96107fad473460b024ee844bc63ef4cdf
%% %% This is file `xkeyval.tex', %% generated with the docstrip utility. %% %% The original source files were: %% %% xkeyval.dtx (with options: `xkvtex') %% %% --------------------------------------- %% Copyright (C) 2004-2012 Hendri Adriaens %% --------------------------------------- %% %% This work may be distribu...
TeX
pacotes/glossaries/xkeyval.tex
luizsantos/qualificacaoIMEUSP
unlicense
25,158
847
codeparrot/github-code
3110810a9e1f1e135c951acba7b6b5bda7278c9d4d88bf971a80eb4f5ccb60a1
#ifndef PSTACK_H #define PSTACK_H //License: Public Domain //Author: elf //EMail: elf@iamelf.com //pointer stack #include <assert.h> typedef struct{ Byte **ppBegin; Byte **ppEnd; Byte **ppCur; }PStack; static inline void PStack_Initialize(PStack *pStack, Byte **ppBegin, Byte **ppEnd){ assert(ppBegin < ppEnd); ...
C
include/elf/PStack.h
elf0/elf.c
unlicense
1,121
55
codeparrot/github-code
3211b0738ce4de9ad0c1c32c7c90d53b37f1016cf3ee94df92d62b6d8dc99524
module init implicit none contains subroutine initialize() ! initialize mpi, fft's, vertical discretization ! and run preprocessor to find w+, w_ for w = w0 + b_w_ + b+w+ use mpicom use dim use flags use runparam use parameters use time use iofiles use formatstrings use de...
FORTRAN
src/init.f90
cadieux/lsbflow
unlicense
25,356
749
codeparrot/github-code
e14c0a53d0bbc6e57b9dfc6880652176725a85910d89962fc8ebdde0f9bba304
/* * Copyright (c) 2013, salesforce.com, inc. * All rights reserved. * Redistribution and use of this software 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...
Java
forcedroid/native/SampleApps/NativeSqlAggregator/src/com/salesforce/samples/nativesqlaggregator/MainActivity.java
marcus-bessa/MobileCampaign
unlicense
7,230
217
codeparrot/github-code
1fd0fa6a75518060f2f4dbacaf3ee656dbc6137cbd22c58809d572748b28f14a
#include <iostream> #include <vector> using namespace std; void swap(int & a, int & b) { int temp = a; a = b; b = temp; } void foo(vector<int> & v) { for (int i = v.size() - 1; i > 0; --i) { swap( v.at(i), v.at((i + 1) % v.size()) ); } } void print_vector(...
C++
vectors/p1.cpp
brownhead/ucr-cs10-problems
unlicense
617
42
codeparrot/github-code
823d0584bae0375ec592269de6ebdd7ff71ac1e8032b143b04e42ca40a4627a1
import Vector2 from "./vector2"; import Line2D from "./line-2d"; import Polygon from "./polygon"; export default class DirectedLineSegment2D { constructor(p1, p2) { if (p1.equals(p2)) throw new Error("Zero length line segment."); this.p1 = p1; this.p2 = p2; } reverse() { return new this.construct...
JavaScript
shared/src/directed-line-segment-2d.js
aqgts/aqgts.github.io
unlicense
4,279
97
codeparrot/github-code
7587bb638a183c48d995a0a006a94bd27172d3c6f5c7e92023d91c6d18561403
'use strict'; angular.module('libappApp') .service('ParseLinks', function () { this.parse = function (header) { if (header.length == 0) { throw new Error("input must not be of zero length"); } // Split parts by comma var parts = header.split(...
JavaScript
src/main/webapp/scripts/components/util/parse-links.service.js
nezuvian/Library-webapp
unlicense
1,246
36
codeparrot/github-code
7b020cbad06199f5044f83949e875ab47ca2f017f0ec68da9b25b748fdb03f94
/* * Copyright (C) 2013 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
ContactsList/app/src/main/java/com/example/android/contactslist/ui/ContactsListFragment.java
TimmySong/LearnAndroid
unlicense
42,737
936
codeparrot/github-code
47dff400e975ba5658ea178b05d7056a6bfaba4ced2fca2778a247676572126c
/* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, Realtek * All rights reserved. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED T...
C
USDK/component/common/mbed/targets/hal/rtl8195a/sys_api.c
pvvx/RTL00_WEB
unlicense
7,805
226
codeparrot/github-code
0c4981eaec83375d579c2e7c26e8841ff6a2ab18a49278d29899db351ad7d4a9
/* 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, software * distribut...
Java
modules/flowable5-test/src/test/java/org/activiti/examples/bpmn/mail/EmailSendTaskTest.java
motorina0/flowable-engine
apache-2.0
2,813
96
codeparrot/github-code
de764acc43950c6457040c2f49321db2c482314693e8fcae6e5c5b84ed4ff0d7
/* * 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 ...
Java
flink-runtime/src/test/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinatorRestoringTest.java
greghogan/flink
apache-2.0
39,435
938
codeparrot/github-code
b9dc12544d9a1caff7a649229b1d5dee8b6afc277a3433b34757f0b56bf10f2f
import chalk from 'chalk' import { blog } from '../fixtures/blog' import { getDMMF } from '../generation/getDMMF' import { DMMFClass, makeDocument, transformDocument } from '../runtime' chalk.level = 0 let dmmf describe('minimal where transformation', () => { beforeAll(async () => { dmmf = new DMMFClass(await ...
TypeScript
packages/client/src/__tests__/deepAndOr.test.ts
prisma/prisma
apache-2.0
2,462
107
codeparrot/github-code
09beac5d7d2e7fef84307555c5f013e1bf1a3a6bd146a48b2aa9fc3702e4da1e
package org.coursera.courier; import com.intellij.lang.BracePair; import com.intellij.lang.PairedBraceMatcher; import com.intellij.psi.PsiFile; import com.intellij.psi.tree.IElementType; import org.coursera.courier.psi.CourierTypes; import org.coursera.courier.schemadoc.psi.SchemadocTypes; import org.jetbrains.annotat...
Java
idea-plugin/src/org/coursera/courier/CourierBraceMatcher.java
coursera/courier
apache-2.0
2,195
55
codeparrot/github-code
e462e54dd03c23f752db432f7ba676a40be3c8ecd77fd233a77d79be476b4da9
/** * CARIS oscar - Open Spatial Component ARchitecture * * Copyright 2014 CARIS <http://www.caris.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/lic...
Java
src/main/java/com/caris/oscarexchange4j/theme/Cover.java
caris/OX4JS
apache-2.0
2,258
127
codeparrot/github-code
1ff8a3a354c1f072bcd65f4754ceb915c71926bb109f8666338b9382b2a8178d
<!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta http-equiv=Content-Type content="text/html;charset=utf-8"> <meta property="wb:webmaster" content="e635a420782119b7" /> <meta name="keywords" content="可穿戴,可穿戴设备,百度可穿戴设备,百度可穿戴,智能设备,智能可穿戴设备,超智能设备,百度智能设备,便携设备,便携智能设备,百度便携设备,...
HTML
store.baidu.com/cache/html/1808.html
jiangerji/my-utils
apache-2.0
16,307
351
codeparrot/github-code
3255a28fab4c1f4224a39d40d0ac40e35a4a66c078bc7820d68ff0cf9ea05a82
package com.ettrema.examples.db.resources; import com.bradmcevoy.http.Auth; import com.bradmcevoy.http.CollectionResource; import com.bradmcevoy.http.GetableResource; import com.bradmcevoy.http.PropFindableResource; import com.bradmcevoy.http.Range; import com.bradmcevoy.http.Request; import com.bradmcevoy.http.Reques...
Java
examples/milton-db-demo/src/main/java/com/ettrema/examples/db/resources/AllMakes.java
pymonger/milton
apache-2.0
3,104
113
codeparrot/github-code
6c505e9e68d442925570bd37cddde390c80222d5db326ef2148f8793f05a9185
// Copyright 2017 Xiaomi, 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
common/utils/func.go
jojohappy/falcon-plus
apache-2.0
1,534
47
codeparrot/github-code
876a53c8821ba139d1878e9cc90180a912eaffad882cfb7ee6333e1bf5ca014d
/* * Copyright 2010-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 "lice...
Java
aws-java-sdk-storagegateway/src/main/java/com/amazonaws/services/storagegateway/model/transform/ListGatewaysResultJsonUnmarshaller.java
trasa/aws-sdk-java
apache-2.0
3,201
87
codeparrot/github-code
11f2e167c35262f4d34e8aeaee2350978ab99675f4d47bb0205bf8902712f57c
/* * MinIO Cloud Storage, (C) 2018 MinIO, 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 la...
GO
pkg/madmin/encrypt.go
NitishT/minio
apache-2.0
3,764
143
codeparrot/github-code
70cb9a466f90bc40302fcdae55c4e34202efb4a7019181fdf059d61036abcd8d
/* * Copyright 2015 Szabolcs Balazs Beres. * * 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 ap...
Java
features/feature-with-config/features-bundle2/src/main/java/com/github/eszabre/osgi/features/bundle2/impl/Bundle2Impl.java
szberes/osgi
apache-2.0
1,337
43
codeparrot/github-code
a9f2a0914aa742e3112d56b8b5cdfb04f1083b5e12b931910d39b2c2df029fe0
var $$ = require('ui/styles').prop; var exports = { createAddressRow:function(/* JSON */ address){ var row = Ti.UI.createTableViewRow($$.viewRow); row.data = address; row.addEventListener('click', function(e){ /* e.rowData.data.latitude,e.rowData.data.longitudeにて 緯度経度情報を取得可能 */...
JavaScript
Resources/ui/ui.js
h5y1m141/20120125TiStudy
apache-2.0
1,403
52
codeparrot/github-code
e39ce36c004f66edb3b639099bce9eaa5017fcc0ab98e42ff84d753dcf37fe8d
package aws import ( "bufio" "errors" "fmt" "html/template" "os" "strconv" "strings" "github.com/apprenda/kismatic-provision/provision/plan" "github.com/spf13/cobra" ) type AWSOpts struct { EtcdNodeCount uint16 MasterNodeCount uint16 WorkerNodeCount uint16 LeaveArtifacts bool RunKismatic bool ...
GO
provision/aws/aws.go
apprenda/kismatic-provision
apache-2.0
11,764
398
codeparrot/github-code
757f303293a8e64bb8dd750c2e4a0216712df3e7fc1d7ed7afeeae18f4accb38
class Solution: def exist(self, board, word): """ :type board: List[List[str]] :type word: str :rtype: bool """ for i in range(0, len(board)): if not board: return False for j in range(0, len(board[0])): ...
Python
backtracking/79.py
MingfeiPan/leetcode
apache-2.0
1,039
31
codeparrot/github-code
bd48dbe568e9f485cef36400cfb2dc857634b0964781948befe6c72c6efc3465
#!/usr/bin/env bash # Look for config.json file FILE=".docker/build/config.json" if [ ! -f $FILE ]; then echo "File $FILE does not exist." fi # In case you want to build windows, change agentOS here to windows-nt if OSTYPE is not working agentOS=linux if [[ "$OSTYPE" == "cygwin" ]]; then agentOS=windows-nt fi ...
Shell
build_local.sh
project-everest/vale
apache-2.0
1,843
57
codeparrot/github-code
cfb067bf80053368a5d4f0cf40bf5c257d3f540c3538dee8e5bbb9651bc1ce43
/* * 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
src/wicket-core/src/main/java/org/apache/wicket/protocol/http/WebSession.java
afiantara/apache-wicket-1.5.7
apache-2.0
7,761
241
codeparrot/github-code
e6e5ce3a5a8c0323be4f4abc7871192c0b078494da06a4cc7f21e1bf848aeb29
/* * 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 ...
Scala
project/Build.scala
wowmsi/safe
apache-2.0
13,004
383
codeparrot/github-code