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
0cc3af22fa2b33b99e9397307554b7f3070ce3b1034933ea7c327e2bf673d37b
/* * * ==================================================================== * 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/dev/amp/validator/visitor/InvalidRuleVisitor.java
ampproject/validator-java
apache-2.0
6,111
161
codeparrot/github-code
903edc82d9ddfe32c859562e8b7a7bcefc348cde5dbac7d21d80d7bdc9a417e4
package org.helianto.core.test; import org.helianto.core.domain.Entity; import java.util.ArrayList; import java.util.List; /** * Class to support <code>Entity</code> tests. * * @author Mauricio Fernandes de Castro */ public class EntityTestSupport { public static Entity entity = createEntity(); public...
Java
helianto-core/src/main/java/org/helianto/core/test/EntityTestSupport.java
iservport/helianto
apache-2.0
1,747
68
codeparrot/github-code
7aae644186ae684cabfbf49cf8ac724f42727439baa3fddc687fa8bd86a6b5c4
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MI...
Rust
src/librustc_unicode/u_str.rs
dwillmer/rust
apache-2.0
8,493
274
codeparrot/github-code
7ea89e19539b8614a4c2af00fdef03069d21c26df743217f74754092a338fcf4
//////////////////////////////////////////////////////////////////////////////// /// @brief any server /// /// @file /// This file contains a server template. /// /// DISCLAIMER /// /// Copyright 2014 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apac...
C++
arangod/Rest/AnyServer.cpp
thurt/arangodb
apache-2.0
16,704
588
codeparrot/github-code
d21485d943af7fb1882f299a8d1e32d26959b4eea59c541fc7babc4f48501865
package models.services import java.util.UUID import javax.inject.Inject import com.mohiva.play.silhouette.api.LoginInfo import com.mohiva.play.silhouette.impl.providers.CommonSocialProfile import models.User import models.daos.UserDAO import play.api.libs.concurrent.Execution.Implicits._ import scala.concurrent.Fut...
Scala
app/models/services/UserServiceImpl.scala
Biacco42/play-silhouette-mail-confirm-seed
apache-2.0
2,705
89
codeparrot/github-code
d69c53fa50c27429bd0d22e465078abafc814a53250aa0c0f7e8331a5a8b818c
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org) * * 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...
Java
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/dialogs/connection/ConnectionPageNetwork.java
serge-rider/dbeaver
apache-2.0
9,725
222
codeparrot/github-code
624c40d008feae74951476476cbbe252ab27fadf076ce640d521d87d8530194c
package mysql import ( "database/sql" "time" "crypto/md5" "encoding/hex" "github.com/cloudbirds/comments/closure-comments/store" ) type entityStore struct { db *sql.DB } func byte2string(in [16]byte) []byte { return in[:16] } // New create a new entity func (s *entityStore) New(title, url string, discover...
GO
closure-comments/store/mysql/entity.go
cloudbirds/comments
apache-2.0
2,557
101
codeparrot/github-code
6583c1d916a713d6da97a2f11abe17bc1e7367250725e8e9f9234e32876702e6
//-------------------------------------------------------------------------- // Description: // Belongs to class VecbosModule // // Wed Jul 11 16:09:46 CDT 2001, G.Velev fix a bug with W or Z selection and // add vegas read/write flag //------------------------------------------...
C++
pythia/generatorMods/src/VecbosModule_initializeTalkTo.cc
iamaris/CDFCodes
apache-2.0
11,152
282
codeparrot/github-code
2e44781aabfd4e7069845c1f9ddef93cc8dda37c31b6fbd21e879b7f4d21c512
/* * Copyright 2009-2015 xinjunli (micromagic@sina.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 requi...
Java
main/src/share/self/micromagic/util/CustomResultIterator.java
micromagic/eterna
apache-2.0
2,942
112
codeparrot/github-code
e3dcd919b961ef48ebaf353e521d90ea416679b61663018f171cde5f68a6836f
package cn.jianke.jkchat.data.dao; import android.content.Context; import com.jk.chat.gen.JkChatConversationDao; import org.greenrobot.greendao.query.QueryBuilder; import java.util.List; import cn.jianke.jkchat.domain.JkChatConversation; import cn.jianke.jkchat.domain.JkChatMessage; /** * @className: JkChatConversat...
Java
jkchat/src/main/java/cn/jianke/jkchat/data/dao/JkChatConversationDaoWrapper.java
leibing8912/QuickInquiry
apache-2.0
6,631
214
codeparrot/github-code
507748d55735fc8eacfd0c12c6156ca28415e0e9825f89625a1b63ae486d662c
package com.example.currentplacedetailsonmap.data; import java.io.Serializable; public class LocationInfo implements Serializable { private String placeid; private String lat; private String lng; private String vicinity; //addr private String tel; private String name; private String atype; private String ph...
Java
app/src/main/java/com/example/currentplacedetailsonmap/data/LocationInfo.java
jorseph/SearchRestaurant
apache-2.0
2,078
87
codeparrot/github-code
d4e74c7eecd3da4cdddf10541920d1514cfd77e580add7001f1ace488eec5f42
/* * Copyright (C) 2012 BMW Car IT GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
C
Capu/include/capu/os/MacOSX/X86_32/TcpServerSocket.h
bmwcarit/capu
apache-2.0
1,350
44
codeparrot/github-code
08295503b3e2e3fb249cc0778b43cd4d189cb37544c9c2e35015e967a8608304
package org.apache.rocketmq.spring.boot.handler.impl; import org.apache.rocketmq.client.consumer.listener.ConsumeOrderlyContext; import org.apache.rocketmq.common.message.MessageExt; import org.apache.rocketmq.spring.boot.event.RocketmqEvent; import org.apache.rocketmq.spring.boot.handler.AbstractRouteableMessage...
Java
src/main/java/org/apache/rocketmq/spring/boot/handler/impl/RocketmqEventMessageOrderlyHandler.java
vindell/spring-boot-starter-rocketmq
apache-2.0
1,844
47
codeparrot/github-code
e93043529d1849cbb332b9de3d5f6c67373f2ebac66a8f9a655614747d1d01b6
package weixin.popular.bean.paymch; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement(name = "xml") @XmlAccessorType(XmlAccessType.FIELD) public class MchBaseResult { protected String return_code; ...
Java
src/main/java/weixin/popular/bean/paymch/MchBaseResult.java
China-ls/wechat4java
apache-2.0
1,987
102
codeparrot/github-code
7d1759428a8a5630b263659b905e894e4ec8971f102231a56463f19e0d63a7e8
/*global define*/ define([ '../Core/combine', '../Core/Credit', '../Core/defaultValue', '../Core/defined', '../Core/defineProperties', '../Core/DeveloperError', '../Core/Event', '../Core/freezeObject', '../Core/isArray', '../Core...
JavaScript
Source/Scene/WebMapTileServiceImageryProvider.js
atrawog/360-flight-explorer
apache-2.0
19,958
467
codeparrot/github-code
c2e9e52d27efe7d41a680762b5ca4b933001866c28b543ab14fe3cf4033d7001
<html> <head> <script> function isEven(value){ return value % 2 == 0; } function canBeADirectTournament(value){ var data = Math.log(value)/Math.log(2); return data === parseInt(data); ...
HTML
algo.html
jermj/BeerPongTournament
apache-2.0
4,507
111
codeparrot/github-code
b0ae7a97b0b86ad4aedfaa2f56265384ef0c8999c7bd2dc954cb2e1ce59e36f1
create or replace package body AMB_UTIL as function generate_guid return varchar2 as begin return SYS_GUID(); end generate_guid; procedure print_clob(p_clob CLOB,p_style varchar2 default 'HTP') AS v_clob_length number:=DBMS_LOB.GETLENGTH(p_clob); v_offset number:=1; v_temp CLOB...
SQL
AMB/3-bussiness/utils/AMB_UTIL.body.sql
open-thinks/Apps4APEX
apache-2.0
2,451
90
codeparrot/github-code
11a1356d2309b98f18440b60b67ecc18c725a9d7c73b9d3fa8a661f06bc32e1a
/*******************************************ÉêÃ÷*************************************** ±¾Ç¶Èëʽ²Ù×÷ϵͳδ¾­ÊÚȨ£¬½ûÖ¹Ó¦ÓÃÓÚÈκÎÉÌÒµÓÃ; °æÈ¨ËùÓУ¬ÇÖȨ±Ø¾¿ http://www.trtos.com/ **************************************************************************************/ #include <..\USER\Prj_TP502T\UpgradeByGPRS.h> ...
C
USER/Prj_TP502T/UpgradeByGPRS.c
tongjinlv/trtos
apache-2.0
9,214
331
codeparrot/github-code
8741b7e963fe23670760f53e143cfe436547b377a5e3d70b0a8a27a020681413
/* * 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
core/src/main/scala/org/apache/spark/util/RpcUtils.scala
MrCodeYu/spark
apache-2.0
2,761
70
codeparrot/github-code
05082b59a8d531710b40a8b59bdbdc1892c1818fe2799d2128c249f59a5f7d01
/* Copyright 1996-2008 Ariba, 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...
Java
src/util/src/main/java/ariba/util/core/Crypto.java
pascalrobert/aribaweb
apache-2.0
9,878
347
codeparrot/github-code
96c3fad9d5fdf104ce9d07dee266bb4e38da16234ece5393f42036697be7aa39
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="Ionic makes it incredibly easy to build beautiful and interactive mobile apps using HTML5 and AngularJS."> <meta name="keywords" content="html5,ja...
HTML
_site/docs/1.0.0-rc.4/api/directive/menuClose/index.html
martinjbaker/ionic-site
apache-2.0
29,152
1,154
codeparrot/github-code
db83f6c96e3ee45c062c2e7bb0205eaf44c9a11ce972e2f42fbeb8991c069715
#!/usr/bin/env python3 # # Copyright (c) 2022 Roberto Riggio # # 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 applicabl...
Python
empower/managers/alertsmanager/alertshandler.py
5g-empower/empower-runtime
apache-2.0
2,382
90
codeparrot/github-code
2853be00bd8bf5d959b18b3cd1063849befe4390951f2d12e27269af20ea22e3
#include "Encryptor.hpp" #include "Global.hpp" #include <string> #ifdef ANDROID_PLATFORM #include <jni.h> #include <android_native_app_glue.h> #endif using namespace std; namespace MPACK { namespace Encryptor { #ifdef ANDROID_PLATFORM static ANativeActivity* mActivity = 0; static JavaVM* mJvm = 0; #endif ...
C++
jni/MPACK/Modules/Android/Encryptor/Encryptor.cpp
links234/MPACK
apache-2.0
3,194
126
codeparrot/github-code
d9a855c6897f83006ae330f92fef02c9cbb10e72570daca092f41c17fe0caa80
/* * 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
apm-sniffer/apm-sdk-plugin/motan-plugin/src/main/java/org/apache/skywalking/apm/plugin/motan/MotanConsumerInterceptor.java
hanahmily/sky-walking
apache-2.0
4,540
101
codeparrot/github-code
d55b43d3212fe7fd12894c9dc3c368a70dde931179dfefe4bdc20ba23744846d
<!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>Dependencies</title> <link ...
HTML
yue/dep/index.html
UniversalDependencies/universaldependencies.github.io
apache-2.0
11,307
465
codeparrot/github-code
694d8a5fe52ba2eeb3ab250ab302d32ea9c93a5486b7b2efa16001c103432caf
/* * Copyright 2010 the original author or 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 applica...
Java
model/src/main/groovy/org/eclipse/buildship/docs/model/SimpleClassMetaDataRepository.java
breskeby/sourcerer
apache-2.0
3,132
91
codeparrot/github-code
d98f4e13b9aa4e9d835a41abe5de898df6aeeb34fc4219fe7b36707f25813540
/* * 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
asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/aggregates/std/IntermediateStddevPopAggregateDescriptor.java
apache/incubator-asterixdb
apache-2.0
2,654
63
codeparrot/github-code
be440d222eb0c5c04f213e0767d03a82dd18f183f87bf4a728347eed04898835
// Package auth handles user management: creation, deletion, and authentication. package auth import ( "encoding/json" deis "github.com/deis/controller-sdk-go" "github.com/deis/controller-sdk-go/api" ) // Register a new user with the controller. // If controller registration is set to administratiors only, a vali...
GO
auth/auth.go
Joshua-Anderson/controller-sdk-go
apache-2.0
3,991
157
codeparrot/github-code
6a7622714f9ad38ce08a9d84066104ec207d37cb0acfdb3e8aecd687a5d216f1
// Package mqtt provides an mqtt broker package mqtt /* MQTT is a go-micro Broker for the MQTT protocol. This can be integrated with any broker that supports MQTT, including Mosquito and AWS IoT. Note: Because of the way the MQTT library works, when you unsubscribe from a topic it will unsubscribe all subscriber...
GO
broker/mqtt/mqtt.go
myodc/go-plugins
apache-2.0
4,642
249
codeparrot/github-code
70eaba94602a721d99eabd2d277fc608fef9114e08d3007c9a75cd42e68dc7b3
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
Java
benchmarks/src/main/java/io/druid/benchmark/TimeParseBenchmark.java
solimant/druid
apache-2.0
3,489
116
codeparrot/github-code
2271c51ba10d6a14a9514f9f149e6129338b3e49378139fbc464e3741f871361
/* * 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
src/main/java/com/glaf/core/util/DBUtils.java
gitee2008/glaf
apache-2.0
85,701
2,632
codeparrot/github-code
39ab3c31d3f81fcb4bb51ad62b571ba88288a4576ff83cd2ca8c029de1813591
<?php namespace App\Auth; use App\Models\Setting; use App\Socket\Constants; trait Settings { /** * @var array */ static $settings = [ Constants::SETTING_SAVE_LOCATION => true, Constants::SETTING_FORECAST_COUNT => 5 ]; /** * @param $identifier */ public functi...
PHP
server/app/Auth/Settings.php
badescutheodor/360forecast.ml
apache-2.0
2,786
119
codeparrot/github-code
60a0ed7c7e519c62e121763af338cc63f1d6b3505afea5006b3a2557a6ca39ff
/* The contents of this file are subject to the Health Level-7 Public * License Version 1.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.hl7.org/HPL/ * * Software distributed under the License is distributed on an "AS IS" ...
Java
hl7-javasig/src/org/hl7/types/impl/QSETPeriodicHullImpl.java
markusgumbel/dshl7
apache-2.0
4,182
134
codeparrot/github-code
f455d4bb9cb38bcf142b7611274d5e084c4856363ddeb7efa648130d46286127
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
core/src/main/java/org/elasticsearch/action/bulk/BulkRequest.java
wuranbo/elasticsearch
apache-2.0
25,029
568
codeparrot/github-code
e5c2d19eddb1170590434491fb2d25f8b6a17f8fe02c0f3ffa93ceda72c34e23
package org.intellimate.izou.sdk.events; import org.intellimate.izou.events.EventBehaviourControllerModel; import org.intellimate.izou.events.EventLifeCycle; import org.intellimate.izou.events.EventModel; import org.intellimate.izou.identification.Identification; import org.intellimate.izou.resource.ListResourceProvid...
Java
src/main/java/org/intellimate/izou/sdk/events/Event.java
intellimate/IzouSDK
apache-2.0
9,531
260
codeparrot/github-code
844d206f90772dbc34dc10ff934ed1504e02f1a5ffe8320de25fd87b09f37823
/* * Copyright 2016 Kejun Xia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
Java
library/android-mvc-test/src/main/java/com/shipdream/lib/android/mvc/view/viewpager/BaseTabFragment.java
kejunxia/AndroidMvc
apache-2.0
2,856
92
codeparrot/github-code
e4eb92ab53db21b9cf23ea9a3e7addd3de42e68033e53b1ce77bde515ed1088f
#默认选择是0.家电类下面的所有商品 #选择你要购买的物品,要结算请在物品编号最后加j,例如(1,2,3,j) 不结算的就不加j #购买多件商品按,(逗号)隔开,例如1,2,3,j(结算),不结算(1,2,3) import os shoop1=[ ("家电类"), ("衣服类"), ("手机类"), ("车类"), ] jiadianshoop=[ ("电冰箱",20000), ("彩电",2000), ("洗衣机",400), ("脸盆",30), ("牙刷",50) ] flag=True long=len(jiadianshoop) def f(): ...
Python
python基础2周/购物车作业改进.py
xiaoyongaa/ALL
apache-2.0
35,089
713
codeparrot/github-code
8169a3452d44a1254b504721239c679ca17b44a930d827ce595bacb7423dc79f
<?php namespace Admin\Controller; use Common\Controller\BaseController; class IndexController extends BaseController { public function indexGet(){ if($_SESSION[MODULE_NAME.'_token']) {//已登陆 $this->display("Index:index"); } else {//未登陆 $this->redirect("Index/login"); ...
PHP
Application/Admin/Controller/IndexController.class.php
jelly074100209/gg_admin
apache-2.0
849
32
codeparrot/github-code
12de49b6ade242413bf35cd30379ba5dfafd5ec625832427413f6314c0acc4d7
/* * ****************************************************************************** * Copyright 2014-2016 Spectra Logic Corporation. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"). You may not use * this file except in compliance with the License. A copy of the License i...
C++
test/metadata_tests.cpp
DenverM80/ds3_c_sdk
apache-2.0
17,057
447
codeparrot/github-code
c78e96dbfe53088db9905e4ff7203eef4f04e6d08896cd679f5e109c498415bb
package us.mcsw.minerad.blocks; import net.minecraft.block.ITileEntityProvider; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.IIcon; import net.minecraft.world.IBlockAccess; import ...
Java
src/main/java/us/mcsw/minerad/blocks/BlockMicrowave.java
Blaxcraft/MineRad
apache-2.0
1,325
50
codeparrot/github-code
e1941c5c819ed96ce985e4e9dd9d0f2fbc5e1ef13bdaa03bc14aa74ea35d9198
/* * Copyright (c) 2021 the Octant contributors. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ import { BehaviorSubject, Subscription } from 'rxjs'; import { PreferencesService } from './preferences.service'; import { Preferences } from '../../models/preference'; export class PreferencesEntry<T> { ...
TypeScript
web/src/app/modules/shared/services/preferences/preferences.entry.ts
vmware/octant
apache-2.0
1,765
66
codeparrot/github-code
7151d9f8041cfde4551ac317b7e5f7313f62af5e2d4025c098f6d16e37591e60
/** * Copyright 2020 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
TypeScript
web-ng/src/app/components/import-dialog/import-dialog.component.ts
google/ground-platform
apache-2.0
2,554
77
codeparrot/github-code
aefb869063ba4fa855727a98ebc107951514d191b887c365321848e97f489037
// Lexer.cpp // Copyright (c) 2014 - 2015, zhiayang@gmail.com // Licensed under the Apache License Version 2.0. #include <string> #include <ctype.h> #include <cassert> #include <iostream> #include "parser.h" #include "../utf8rewind/include/utf8rewind/utf8rewind.h" using string_view = std::experimental::string_view; ...
C++
source/Frontend/Parser/Lexer.cpp
adrian17/flax
apache-2.0
18,125
672
codeparrot/github-code
b676a039a09b4093c25a148602d524cd496cfc3f9eea51fe1a4eb74bc27bfb70
/* * 3D City Database - The Open Source CityGML Database * https://www.3dcitydb.org/ * * Copyright 2013 - 2021 * Chair of Geoinformatics * Technical University of Munich, Germany * https://www.lrg.tum.de/gis/ * * The 3D City Database is jointly developed with the following * cooperation partners: * * Virtua...
Java
impexp-core/src/main/java/org/citydb/core/operation/importer/filter/type/FeatureTypeFilter.java
3dcitydb/importer-exporter
apache-2.0
4,449
132
codeparrot/github-code
36836fcb0d4df75e9932603d426e6aff6959b8bba50e4fa54ee2a13885882342
/* * Copyright 2015 Manuel Fernández Pérez * * 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 appli...
Java
src/view/menu/ontology/OpenOntologyIRI.java
R2RMLManuelFernandez/R2RML
apache-2.0
12,983
435
codeparrot/github-code
d4018b803756430af4776334ec3b5a31f54763da4e4c50341aace7fc069296d7
-- -- General-purpose and highly scalable data loader -- -- One task to achieve : classification -- -- This script is inspired from an ImageNet loader (see https://github.com/facebook/fbcunn/tree/master/examples/imagenet). -------------------------------------------------------------------------------------------------...
Lua
dataset.lua
PierrotLC/CNN_classification
apache-2.0
16,319
492
codeparrot/github-code
26150c63b6123bbbfcb7fec810c2202b3479416987efcb68dddf87065c610bca
/* * Copyright 2010 The Apache Software Foundation * * 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 ...
Java
src/main/java/org/apache/hadoop/hbase/client/coprocessor/Exec.java
bcopeland/hbase-thrift
apache-2.0
4,921
129
codeparrot/github-code
9606b20b9f1a1e74be5d7f409aa2cd44638bc9144c101f1476de0e0507e737d9
/* * Copyright 2014-2015 itas group * * 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 t...
Java
xcnet-common/src/main/java/org/itas/xcnet/common/serialize/support/java/JavaObjectOutput.java
liuxing521a/xcnet
apache-2.0
2,595
117
codeparrot/github-code
0c03aff147c2cf9955c280246c4a6a38b507c8f17767673bdfdbd06cd1b54950
package mobilesafe.dda.com.activity; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.text.InputType; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; import com.dda.mobilesafe.utils.UI...
Java
app/src/main/java/mobilesafe/dda/com/activity/EnterPwdActivity.java
dengdunan/MobileSafe
apache-2.0
6,669
226
codeparrot/github-code
0e8042190dd4dd1a835381a8e304ba9c27afff7ac249047bb12071753f185ad8
/* * Copyright 2013 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 applicable law or agreed to ...
Java
java/src/com/google/template/soy/data/internal/AugmentedParamStore.java
yext/closure-templates
apache-2.0
2,522
74
codeparrot/github-code
41498c99e2f79c2431ad455c2f01560879de7ee480139535fc2910b4b1603c5f
/** * Copyright 2014 David L. Whitehurst * * 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
src/main/java/org/musicrecital/service/impl/RoleManagerImpl.java
dlwhitehurst/MusicRecital
apache-2.0
1,780
70
codeparrot/github-code
931f117120f321d4ce4984010fe8cc634d8e82d4d3f6fa202b08421574745f30
package com.acs.wave.router; import com.acs.wave.router.constants.ProtocolVersion; import com.acs.wave.router.constants.RedirectStatus; import com.acs.wave.router.functional.BodyWriter; import com.acs.wave.router.constants.ResponseStatus; import com.acs.wave.utils.ExceptionUtils; import java.util.Optional; import st...
Java
router/http/src/main/java/com/acs/wave/router/HTTPResponseBuilder.java
albertoteloko/wave-server
apache-2.0
3,696
128
codeparrot/github-code
016a3c4166dc2fd767de0862b511a8cc1ac42af69615b65a067ba6222934f8b3
/* * Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.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 ...
Java
server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/command/get/OServerCommandGetStaticContent.java
nengxu/OrientDB
apache-2.0
9,117
247
codeparrot/github-code
f1bd66bbb69f5c8533d19294f435206caffbcef008958bd9ac87d9684229ddd0
#ifndef CL_PROFILER_H #define CL_PROFILER_H #include <sys/time.h> #include <map> #include <memory> #include <iomanip> #include <iostream> #include <string> #include <utility> namespace clHelper { class clProfilerMeta { std::string name; double totalTime; int limit; std::vector<std::...
C
include/clUtil/clProfiler.h
xianggong/microbench
apache-2.0
8,068
292
codeparrot/github-code
607b580a58599e1dc510bfe5d9e303daf1961837155afbd3ed1e57c2ae484754
package net.argius.stew.command; import static java.sql.Types.*; import java.io.*; import java.sql.*; import net.argius.stew.*; /** * The Download command used to save selected data to files. */ public final class Download extends Command { private static final Logger log = Logger.getLogger(Download.class); ...
Java
src/net/argius/stew/command/Download.java
argius/Stew4
apache-2.0
6,380
191
codeparrot/github-code
11777c34b78d1494908c8e4de9c8da7c59bff3a4fec1c1356dd660c423ca8a7b
package cz.metacentrum.perun.wui.registrar.widgets.items; import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.ui.Widget; import cz.metacentrum.perun.wui.json.Events; import cz.metacentrum.perun.wui.model.beans.ApplicationFormItemData; import cz.metacentrum.perun.wui.registrar.client.resources.Peru...
Java
perun-wui-registrar/src/main/java/cz/metacentrum/perun/wui/registrar/widgets/items/PerunFormItem.java
ondrejvelisek/perun-wui
apache-2.0
3,923
129
codeparrot/github-code
d6d5ead185abc52b4f800febfd47cd59d938ff5589a2bcf329ec85ce30a0754d
package com.imooc.config; import com.imooc.controller.interceptor.handlers.OneInterceptor; import com.imooc.controller.interceptor.handlers.TwoInterceptor; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.springframewo...
Java
yard/skills/66-java/spboot/src/main/java/com/imooc/config/MyWebMvcConfigure.java
bbxyard/bbxyard
apache-2.0
1,166
32
codeparrot/github-code
04a94d793f43178eea335e456cf448c3deed3c5bf56fa821d9492f2310677d0d
/* * Copyright 2006-2012 The Scriptella Project Team. * * 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
tools/src/test/scriptella/tools/ant/EtlTemplateTaskTest.java
scriptella/scriptella-etl
apache-2.0
2,171
64
codeparrot/github-code
a5b2b4ba7a78f516c15dd73c6c1dcb3ea895c2feefc409864059ec27bb2af5ba
package com.kk.taurus.xfolder.bean; import java.io.Serializable; /** * Created by Taurus on 2017/5/12. */ public class StateRecord implements Serializable { private int focusPosition; private int scrollToPosition; private int offset; public int getFocusPosition() { return focusPosition; ...
Java
app/src/main/java/com/kk/taurus/xfolder/bean/StateRecord.java
jiajunhui/XFolder
apache-2.0
763
38
codeparrot/github-code
c50c05235743425fc673f80776f516315eacd74bbb90984be292ef09a02ecf98
<?php /* wppa_widgetfunctions.php /* Package: wp-photo-album-plus /* /* Version 4.5.1 /* */ // This function returns an array of photos that meet the current photo of the day selection criteria function wppa_get_widgetphotos($alb, $option = '') { global $wpdb; global $wppa_opt; $photos = false; /...
PHP
static/wp-photo-album-plus/wppa-widget-functions.php
ecomedproject/ecomedproject.github.io
apache-2.0
7,645
243
codeparrot/github-code
6b8c4cc6e19b6fb180e93b43122009d23461f9719ad0589ccbf1e302cf4df1e7
/*   Copyright 2018-2021 Prebid.org, 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 writing,...
C
PrebidMobile/PrebidMobileRendering/ORTB/PBMORTBFormat.h
prebid/prebid-mobile-ios
apache-2.0
1,762
48
codeparrot/github-code
0bc0720770caad33052bf32b46dc12d171fb2c877fb5cdf647d4d6543b998f1e
package jat.coreNOSA.gps; /* JAT: Java Astrodynamics Toolkit * * Copyright (c) 2003 National Aeronautics and Space Administration. All rights reserved. * * This file is part of JAT. JAT is free software; you can * redistribute it and/or modify it under the terms of the * NASA Open Source Agreement * * * T...
Java
src/jat/coreNOSA/gps/URE_Model.java
atmelino/JATexperimental
apache-2.0
6,016
210
codeparrot/github-code
579e809128158b62a2e79fe53a25ebbb7e6e02bb441f56ccfa0815563028ce39
/* * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/...
Java
components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/dao/PolicyManagementDAOFactory.java
charithag/carbon-device-mgt-framework
apache-2.0
6,767
182
codeparrot/github-code
8c4ea298abe5240f52b5dd6428b65cdba4cec765f491f03a485206fb3c1642d7
/* * Copyright 2009-2013 by The Regents of the University of California * 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 from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
Java
algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/properties/AbstractGroupingProperty.java
tectronics/hyracks
apache-2.0
3,116
87
codeparrot/github-code
49d31d7cbc2118a8bfa1e36352ce3c6176efe9de30e9d5099c7d57f8933b125c
from symbol.builder import add_anchor_to_arg from models.FPN.builder import MSRAResNet50V1FPN as Backbone from models.FPN.builder import FPNNeck as Neck from models.FPN.builder import FPNRoiAlign as RoiExtractor from models.FPN.builder import FPNBbox2fcHead as BboxHead from mxnext.complicate import normalizer_factory ...
Python
config/ms_r50v1_fpn_1x.py
TuSimple/simpledet
apache-2.0
10,314
346
codeparrot/github-code
6c97ab062c50e5fb4eab6deb5fae03b595e5e342c0818f0e4bb61771224d70b4
/* * Copyright 2008 JBoss 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...
Java
drools-core/src/main/java/org/drools/reteoo/RuleRemovalContext.java
bobmcwhirter/drools
apache-2.0
2,187
83
codeparrot/github-code
ae2ec3beaacdc85dfd7b49b29c9d6613de33a4b7a1e89fb29c9605292e0dc514
package com.cibuddy.hid.test; import com.codeminders.hidapi.ClassPathLibraryLoader; import com.codeminders.hidapi.HIDDeviceInfo; import com.codeminders.hidapi.HIDManager; import java.io.IOException; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Ignore; import org.junit.Test; /** * A simple ...
Java
drivers/hid/src/test/java/com/cibuddy/hid/test/HIDManagerTest.java
cibuddy/cibuddy
apache-2.0
2,419
72
codeparrot/github-code
8a875076df99b0ad0a314b83bbb0d0faef0e3bec3bbbf31a78ba9b9404926d74
/* * Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.product.swap; import java.io.Serializable; import java.time.LocalDate; import java.util.List; import java.util.Map; import java.util.NoSuchElementExcepti...
Java
modules/product/src/main/java/com/opengamma/strata/product/swap/RateCalculationSwapLeg.java
OpenGamma/Strata
apache-2.0
28,501
757
codeparrot/github-code
63d353125e2c1edccdb657371a10d026f7400e1ce2ebbd546c0385fb476b2fba
package com.uservoice.uservoicesdk.ui; import android.annotation.SuppressLint; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.net.Uri; import android.support.v4.app.FragmentActivity; import android.util.TypedValue; import android.view.View; import android.w...
Java
userVoiceSDK/src/main/java/com/uservoice/uservoicesdk/ui/Utils.java
goodev/android-discourse
apache-2.0
5,192
108
codeparrot/github-code
f0f657557510de19281bd050164a4c8fffc09334c6e787673dbb38341722984a
/* Copyright 2016 Mikolaj Stefaniak * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
Java
finsight-backend/src/main/java/pl/surreal/finance/transaction/resources/TransactionResource.java
mikouaj/finsight
apache-2.0
11,611
303
codeparrot/github-code
f7ec8f5160db0135d0148747269f3de5417b298dbd546b2573ee6bea8cc87144
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>FST - Agus Setiawan</title> <meta name="description" content="Keep track of the statistics from Agus Setiawa...
HTML
surfers/mqs/aset.html
chicofilho/fst
apache-2.0
11,170
285
codeparrot/github-code
a792d46a5ed102c0f9fc316ff456d7784a67f2a64f4121ea9caf34571acbd2aa
#!/usr/bin/python # ***************************************************************************** # # Copyright (c) 2016, EPAM SYSTEMS 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 # #...
Python
infrastructure-provisioning/src/general/scripts/aws/jupyter_configure.py
epam/DLab
apache-2.0
15,517
305
codeparrot/github-code
6fe057309ec315830f22bf3629714cae96e4d9a7545f2c6a6bc0b5e19cbe6d90
/* * Copyright (c) 2002-2018 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Fo...
Java
advanced/management/src/main/java/org/neo4j/management/HighAvailability.java
HuangLS/neo4j
apache-2.0
2,055
56
codeparrot/github-code
dafe01ef2cee09f17eaee9c312c54e4741d43f9e3118676a4dcedb7ba9e52e8f
/****************************************************************************\ * * * IFC (Iris Foundation Classes) Project * * http://github.com/haoxingeng/ifc * * ...
C
Include/ifc_xml_doc.h
haoxingeng/ifc
apache-2.0
10,548
317
codeparrot/github-code
266418188e3e248f045f9df9b98ca5c5fc32e54efb575c464a8122ff2abc0a6a
/* * Copyright (c) 2015-2016, Mostafa Ali (engabdomostafa@gmail.com) * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: Redistributions of source code must retain the above copyright * notice, ...
Java
src/main/java/ca/mali/customcontrol/DimensionsListController.java
EMostafaAli/HlaListener
apache-2.0
6,175
159
codeparrot/github-code
c08337171b398f249257c6ca9e67e53f31a33d08c60808e8130abf8550da75be
/* * OMX Video encoder * Copyright (C) 2011 Martin Storsjo * * This file is part of FFmpeg. * * FFmpeg 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.1 of the License, or (a...
C
NDKFFmpeg/jni/ffmpeg/libavcodec/omx.c
darlyhellen/oto
apache-2.0
37,337
933
codeparrot/github-code
6ff10e579c9cd1cfb12ad739206d8760f86337435529e0504b176e70f5d6bbed
/* * Copyright 2017 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 applicable law or agreed to ...
Java
clouddriver-kubernetes/src/main/java/com/netflix/spinnaker/clouddriver/kubernetes/provider/KubernetesModelUtil.java
duftler/clouddriver
apache-2.0
3,696
101
codeparrot/github-code
a262c28f5bc924a1b2567155841e60433341e9ea7162f6dec36d336b1dd7a710
app.controller('submissions', ['$scope', '$http', '$rootScope', 'globalHelpers', function ($scope, $http, $rootScope, globalHelpers) { $scope.stats = {}; $scope.getUrlLanguages = function(gitUrlId){ globalHelpers.getUrlLanguagesPromise(gitUrlId).then( function (response){ $scope.stats[git...
JavaScript
static/controllers/submissions.js
trobert2/gitRoulette
apache-2.0
2,774
84
codeparrot/github-code
d66844eb23e77c14cd31132a6c1a1b339c5ac1583313151085bbdb299ca03569
/** * 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"); yo...
Java
envs/se/src/test/java/org/apache/camel/cdi/se/MultiCamelContextReusedRouteTest.java
astefanutti/camel-cdi
apache-2.0
4,298
120
codeparrot/github-code
dfdc6be7bcdf87da863bb21595de31920ecada629aa12938bcf8b8705c137c73
/* * Copyright 2014 Radialpoint SafeCare Inc. 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 re...
Java
src/main/java/com/radialpoint/word2vec/Vectors.java
StephanieMak/word2vec-query-expansion
apache-2.0
4,960
172
codeparrot/github-code
fbf33a8ad8fd7e89b83835f7712486ec61edf629d090fdc2aebcd970c5aaad22
package io.skysail.server.queryfilter.parser; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; import org.osgi.framework.InvalidSyntaxException; import org.osgi.service.component.annotations.Component; import io.skysail.server.domain.jvm.FieldFacet; import io.skysail.ser...
Java
skysail.server.queryfilter/src/io/skysail/server/queryfilter/parser/LdapParser.java
evandor/skysail
apache-2.0
9,977
347
codeparrot/github-code
afe6caa17af18ab6f2f0de3bb7199ed9ea07dbbe6f0c8a7a125e14f6f42c4137
<?php /* * This file is part of the Disco package. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace bitExpert\Disco\Proxy\Configuration\MethodGenerator; use bitExpert\Disco\...
PHP
src/bitExpert/Disco/Proxy/Configuration/MethodGenerator/GetParameter.php
bitExpert/disco
apache-2.0
3,110
72
codeparrot/github-code
fe981631e3d1bebc70630d481a2bd84ab0c36921b6554e19343ca9f471ac9b81
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.policies; import java.util.Iterator; import org.eclipse.emf.ecore.EAnnotation; import org.eclipse.gef.commands.Command; import org.eclipse.gmf.runtime.diagram.core.commands.DeleteCommand; import org.eclipse.gmf.runtime.emf.commands.core.command.CompositeTr...
Java
esb/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/edit/policies/TransactionMediatorOutputConnectorItemSemanticEditPolicy.java
rajeevanv89/developer-studio
apache-2.0
3,894
113
codeparrot/github-code
02ddb2dfd4c444f59cae9241817de4acd33317f586aa5ef8df54df9051d0bb29
/* * Copyright 2011 France Telecom R&D Beijing Co., Ltd 北京法国电信研发中心有限公司 * * 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 * * Unl...
Java
src/main/java/org/springframework/social/weibo/api/impl/json/TrendsWrapperMixin.java
vergnes/spring-social-weibo
apache-2.0
1,401
43
codeparrot/github-code
2da110e4c8d48d984a00bb79be30d505298f280ab4a7c43ac02ebcd7debc870f
/** * Copyright 2016 JustWayward Team * <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 applicable law...
Java
MVP/BookReader-master/app/src/main/java/com/justwayward/reader/ui/fragment/FindFragment.java
weiwenqiang/GitHub
apache-2.0
3,435
110
codeparrot/github-code
4b98c9dec09cb803eed2333b563445a8a09b9d7754baf75bc3a7372dfd1642c1
package org.gradle.test.performance.mediummonolithicjavaproject.p281; public class Production5628 { private String property0; public String getProperty0() { return property0; } public void setProperty0(String value) { property0 = value; } private String property1; ...
Java
my-app/src/main/java/org/gradle/test/performance/mediummonolithicjavaproject/p281/Production5628.java
oehme/analysing-gradle-performance
apache-2.0
1,891
105
codeparrot/github-code
d10873460807a45d9da6747befa1474567a0dabcd059a4ab3cc65b495b856196
/*********************************************************************** * Copyright (c) 2013-2019 Commonwealth Computer Research, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and...
Scala
geomesa-kafka/geomesa-kafka-confluent/src/main/scala/org/locationtech/geomesa/kafka/confluent/ConfluentGeoMessageSerializer.scala
elahrvivaz/geomesa
apache-2.0
2,137
50
codeparrot/github-code
ae2907c05b49bc25b756fe29fc01249d8a0297163654ab6d30af8ced93b34b1e
<?php $current_user = Auth::getCurrentMember(); $name = $current_user->get('name'); ?><!doctype html> <html lang="<?php echo Config::getCurrentLanguage(); ?>"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"> <title>Statamic Control Panel<...
PHP
admin/themes/ascent/layouts/default.php
kwanpt/blog
apache-2.0
6,049
148
codeparrot/github-code
202c54b6aad46717da2a7b51dfae10e2ee989a335d5155ab2f1b5561b017f834
function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "St\u00F8rrelse"; txtLang[1].innerHTML = "Egenskaber"; txtLang[2].innerHTML = "Typografi"; txtLang[3].innerHTML = "Bredde"; txtLang[4].innerHTML = "Bredde styret af indhold"; txtLang...
JavaScript
2009 - Team D4 (IxGamer)/include/Editor/scripts/language/danish/table_edit.js
studiodev/archives
apache-2.0
2,072
59
codeparrot/github-code
2a60cc4e49d55c2b7b274b3bceda3738680873539bfc06d25eaa9ccff713c5fb
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org) * Copyright (C) 2011-2012 Eugene Fradkin (eugene.fradkin@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You...
Java
plugins/org.jkiss.dbeaver.ext.mysql/src/org/jkiss/dbeaver/ext/mysql/tools/MySQLScriptExecuteWizard.java
ruspl-afed/dbeaver
apache-2.0
3,895
125
codeparrot/github-code
5fc163e08039d50b17033df890883b9769aedd3081de442d2ac9393385e69084
/** * 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
library/src/test/java/com/datatorrent/lib/script/JavaScriptOperatorTest.java
skekre98/apex-mlhr
apache-2.0
2,038
63
codeparrot/github-code
bf8c007cae3d527d2e0f52c53efbd707f034fb3cd42062a287a5547612a55246
package com.baomidou.mybatisplus.test.plugins.paginationInterceptor; import java.io.Reader; import java.sql.Connection; import java.util.List; import org.apache.ibatis.io.Resources; import org.apache.ibatis.jdbc.ScriptRunner; import org.apache.ibatis.session.RowBounds; import org.apache.ibatis.session.SqlSession; imp...
Java
mybatis-plus/src/test/java/com/baomidou/mybatisplus/test/plugins/paginationInterceptor/PaginationInterceptorTest.java
nobdy/mybatis-plus
apache-2.0
3,471
101
codeparrot/github-code
59d72ba4b5ef4966cd23634e7d8cce59dd8b952bc47b06e27563a91d294b7fc4
class TabList { constructor (tabs, parentTaskList) { this.tabs = tabs || [] this.parentTaskList = parentTaskList } //tab properties that shouldn't be saved to disk static temporaryProperties = ['hasAudio', 'previewImage', 'loaded'] add (tab = {}, options = {}) { var tabId = String(tab.id || Mat...
JavaScript
js/tabState/tab.js
minbrowser/min
apache-2.0
5,073
201
codeparrot/github-code
0ec11199437b386738a4720dd3520f3647ee5407999070bee06786b395d22595
package au.com.mountainpass.hyperstate.core; import java.util.Map; import java.util.concurrent.CompletableFuture; import org.eclipse.jdt.annotation.Nullable; import org.springframework.core.ParameterizedTypeReference; import org.springframework.http.MediaType; import com.fasterxml.jackson.annotation.JsonIgnore; impo...
Java
hyperstate-core/src/main/java/au/com/mountainpass/hyperstate/core/Link.java
mountain-pass/hyperstate
apache-2.0
3,050
110
codeparrot/github-code
76a077e6de41856322aab4a96b8f5d9a8e92da382894a601d6d4f61889c60248
package com.hyd.redisfx; import com.hyd.fx.Fxml; import com.hyd.fx.app.AppLogo; import com.hyd.fx.app.AppPrimaryStage; import com.hyd.redisfx.fx.BackgroundExecutor; import com.hyd.redisfx.i18n.I18n; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Sc...
Java
src/main/java/com/hyd/redisfx/RedisFxApp.java
yiding-he/redisfx
apache-2.0
1,099
38
codeparrot/github-code
409cabae413ef48004f239b30c2fbded15728d9b0d126a2c7dc0a75642f2cb7f
package com.mdelsordo.rate_a_dog.util; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Rect; import android.net.Uri; import android.util.Log; import android.widget.Toast; import java.io.FileNotFoundException; import java.io.IOException; im...
Java
app/src/main/java/com/mdelsordo/rate_a_dog/util/BitmapHelper.java
mattdelsordo/Rate-A-Dog
apache-2.0
3,767
100
codeparrot/github-code
9361b183dcff1c91d6449d97d645ce8f6e0fd62d64f6e7a6383d5c5061e27dd8
package net.catchpole.B9.codec.transcoder; import net.catchpole.B9.codec.stream.BitInputStream; import net.catchpole.B9.codec.stream.BitOutputStream; import java.io.IOException; import java.util.HashMap; import java.util.Map; import java.util.Set; class MapTranscoder implements TypeTranscoder<Map>, FieldInterceptor<...
Java
src/main/java/net/catchpole/B9/codec/transcoder/MapTranscoder.java
slipperyseal/B9
apache-2.0
1,451
47
codeparrot/github-code
71adf40ee3829a2eeb5fd8b95534dfe72f447a95fcc2cf96b931f3ac4d5d16ef
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * 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 Lic...
C
third_party/gecko-10/win32/include/nsWhitespaceTokenizer.h
bwp/SeleniumWebDriver
apache-2.0
4,122
141
codeparrot/github-code
c81b76ba014153507788723774d72146fb6113e0b2e7c8cdb2ea7515e6c3a2ca
/** * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.sys.service.gbj; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.spr...
Java
src/main/java/com/thinkgem/jeesite/modules/sys/service/gbj/GbjUserSoldCommentsReplyService.java
GSSBuse/GSSB
apache-2.0
1,941
59
codeparrot/github-code
9add7257d91b33b0e8ef09c8df44858a2636ab6ef0ae7c35c9a61056f0e7be4f
/* * Copyright 2011-2012 Gregory P. Moyer * * 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 applicabl...
Java
protocol/src/main/java/org/syphr/mythtv/protocol/impl/Command63QueryRemoteEncoderCancelNextRecording.java
syphr42/libmythtv-java
apache-2.0
1,753
49
codeparrot/github-code