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
8b4c507308092efc8cbf6911a26636e8cf777876d2102057fba772df2759141a
/** * 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
s4-comm/src/main/java/org/apache/s4/comm/zk/ZkTaskManager.java
s4/s4
apache-2.0
7,311
156
codeparrot/github-code
8fc8abc2f6bc556c1e178ca76786e76df65dba9ede26d3bae72d5776b99e24a8
package chatty.util.api; import chatty.Helper; import chatty.util.DateTime; import java.util.LinkedHashMap; import java.util.Locale; import java.util.logging.Logger; /** * Holds the current info (name, viewers, title, game) of a stream, as well * as a history of the same information and stuff like when the info wa...
Java
src/chatty/util/api/StreamInfo.java
Javaec/ChattyRus
apache-2.0
19,898
616
codeparrot/github-code
d5fbdc7470812146f34a22530dbfa7555319aeb9f80400247b4a43990a424dbb
/*********************************************************************************************** * * Copyright (C) 2016, IBL Software Engineering spol. s r. o. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a cop...
Java
src/main/java/com/iblsoft/iwxxm/webservice/ws/internal/IwxxmWebServiceImpl.java
iblsoft/iwxxm-validator
apache-2.0
2,770
63
codeparrot/github-code
f817e7f8ba633f2c119997837973f26078c9c7d5cd79ff2b88df045fdcd7264d
# Copyright 2011 WebDriver committers # Copyright 2011 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 ap...
Python
src/Selenium2Library/lib/selenium-2.8.1/py/selenium/webdriver/common/action_chains.py
hali4ka/robotframework-selenium2library
apache-2.0
7,157
198
codeparrot/github-code
4f55f988c357f5ea80568535afb302bd2eaffaba631701308b96fdefde4655f9
package org.jboss.resteasy.reactive.client.processor.beanparam; import static org.jboss.resteasy.reactive.common.processor.ResteasyReactiveDotNames.BEAN_PARAM; import static org.jboss.resteasy.reactive.common.processor.ResteasyReactiveDotNames.COOKIE_PARAM; import static org.jboss.resteasy.reactive.common.processor.Re...
Java
independent-projects/resteasy-reactive/client/processor/src/main/java/org/jboss/resteasy/reactive/client/processor/beanparam/BeanParamParser.java
quarkusio/quarkus
apache-2.0
9,998
183
codeparrot/github-code
b7b9eb785c8be7102f85636bcdb720b33a2f9a5caeebe88784f13d3022af52d6
Potree.TranslationTool = function(camera) { THREE.Object3D.call( this ); var scope = this; this.camera = camera; this.geometry = new THREE.Geometry(); this.material = new THREE.MeshBasicMaterial( { color: Math.random() * 0xffffff } ); this.STATE = { DEFAULT: 0, TRANSLATE_X: 1, TRANSLATE_Y: 2, TRANSLA...
JavaScript
Project/WPC/WPC_Viewer/src/utils/TranslationTool.js
idunshee/Portfolio
apache-2.0
6,194
245
codeparrot/github-code
5a5da3dd20be973c5947b1191c940b0e4f99f0e4b38d7cc833c7df0d72ee12e2
/* * 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/license...
Java
plugins/org.jkiss.dbeaver.ui.navigator/src/org/jkiss/dbeaver/ui/actions/GlobalPropertyTester.java
liuyuanyuan/dbeaver
apache-2.0
3,123
80
codeparrot/github-code
e35a3b7cd2c4caef4152b1df9a79c45a6fa6b2af451503adb67abef1256c7392
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="Create a life that you love."> <title>Are you trying to squeeze more into an ...
HTML
_site/2016/03/30/blog-march/index.html
akmacduff/akmacduff.github.io
apache-2.0
9,803
237
codeparrot/github-code
9fcf757fe8c142ec2ff13dde716b0d56070de51544455682d8a742d37afc8c55
package bwhatsapp import ( "encoding/gob" "encoding/json" "errors" "fmt" "os" "strings" qrcodeTerminal "github.com/Baozisoftware/qrcode-terminal-go" "github.com/Rhymen/go-whatsapp" ) type ProfilePicInfo struct { URL string `json:"eurl"` Tag string `json:"tag"` Status int16 `json:"status"` } func q...
GO
bridge/whatsapp/helpers.go
42wim/matterbridge
apache-2.0
3,689
164
codeparrot/github-code
bbbb27e5e98b2a9ee02417c2ed6b249ebfa5ab5917e869f9cb85ab77bb6bc0f1
'use strict'; var consoleBaseUrl = window.location.href; consoleBaseUrl = consoleBaseUrl.substring(0, consoleBaseUrl.indexOf("/console")); consoleBaseUrl = consoleBaseUrl + "/console"; var configUrl = consoleBaseUrl + "/config"; var auth = {}; var resourceBundle; var locale = 'en'; var module = angular.module('keycl...
JavaScript
themes/src/main/resources/theme/base/admin/resources/js/app.js
wildfly-security-incubator/keycloak
apache-2.0
99,144
2,681
codeparrot/github-code
a7511cfd44755348b6b6e090275ac278efc7209804ab327ef7fa6bc4b6616cd7
/* * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
Java
application/src/test/java/org/mifos/customers/persistence/CustomerPersistenceIntegrationTest.java
mifos/1.5.x
apache-2.0
73,142
1,311
codeparrot/github-code
a07e50fcfea19bd500db5898d4d5d861daef37f7551a7ed11a80cbc9b56370c1
using UnityEngine; using System.Collections; public class blockGenerator : MonoBehaviour { public int spawnRate = 1; private float timeSinceLastSpawn = 0; public GameObject oneCube; public int count; // Use this for initialization void Start () { //Debug.Log("ran cube creator"); count = 0; } // U...
C#
Assets/Resources/Scripts/blockGenerator.cs
josejlm2/HackTx2014
apache-2.0
936
39
codeparrot/github-code
5e3a55769b15beab09a795475c24bab1ca80645f4d615b2efc4f595f6ab3f181
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
C++
arangod/GeneralServer/RestHandler.cpp
m0ppers/arangodb
apache-2.0
3,855
134
codeparrot/github-code
9182f9038a37c9dca080646e611868340da38a5a0bd338b7dbd3f40cf29603b6
package com.box.boxjavalibv2.responseparsers; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import junit.framework.Assert; import org.apache.commons.io.IOUtils; import org.apache.http.Header; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import...
Java
BoxJavaLibraryV2/tst/com/box/boxjavalibv2/responseparsers/PreviewResponseParserTest.java
shelsonjava/box-java-sdk-v2
apache-2.0
3,189
77
codeparrot/github-code
cbcb2109881faa801259fc25f56b29ca4363e0d717e72baad529f1330e207f25
// Copyright (C) 2018 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 applicable ...
Java
java/com/google/gerrit/server/git/receive/ResultChangeIds.java
qtproject/qtqa-gerrit
apache-2.0
1,920
68
codeparrot/github-code
6df332221afd1a05aecb496512a30c032367e78a781e0601acac57455bad683d
package com.veneweather.android; import android.app.Fragment; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Adapte...
Java
app/src/main/java/com/veneweather/android/ChooseAreaFragment.java
Ackerm-Zed/veneweather
apache-2.0
9,212
279
codeparrot/github-code
5bc60cd449fe54e1210738f71b3797dbe1b4446d2bde5f91aa6ea5416dae2d84
#include "stdafx.h" #include "InputReader.h" #include "graph.h" #include <iostream> #include <string> using namespace std; InputReader::InputReader(const char* fileName, const char* stFileName) { in.open(fileName); if(!in.is_open()) { cout<<"Input file "<<fileName<<" doesn't exist!"<<endl; exit(1); } stIn....
C++
myFlow_caiwei/myFlow/InputReader.cpp
yuanmouren1hao/KeyEdge_Mining_On_UncertainGraph
apache-2.0
1,474
77
codeparrot/github-code
ca2963d79a00728fb72572ab50e94e26b8f9876285d63c6a17dec1b44db3fc4f
/* * 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/java/org/apache/ivy/core/pack/OsgiBundlePacking.java
jaikiran/ant-ivy
apache-2.0
1,656
48
codeparrot/github-code
06507ceae40706d66a9cf422bdf99b4e842e17992d4d238a7d661abd46a42add
package fr.openwide.core.wicket.more.markup.html.feedback; import java.util.ArrayList; import java.util.List; import org.apache.wicket.MarkupContainer; import org.apache.wicket.feedback.FeedbackMessage; import org.apache.wicket.markup.html.panel.FeedbackPanel; import org.apache.wicket.markup.html.panel.Panel; public...
Java
owsi-core/owsi-core-components/owsi-core-component-wicket-more/src/main/java/fr/openwide/core/wicket/more/markup/html/feedback/AbstractFeedbackPanel.java
openwide-java/owsi-core-parent
apache-2.0
1,314
51
codeparrot/github-code
3a58a019197a0d87ea25e4be6b34b5a2f861b600cb968410ad54f0b389b8e7c9
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | URI ROUTING | ------------------------------------------------------------------------- | This file lets you re-map URI requests to specific controller functions. ...
PHP
application/config/routes.php
woxxy/FoOlSlide
apache-2.0
2,388
63
codeparrot/github-code
fe75ec4084931b57f0d1f15553ae3ea5e11ee5faba40f6f466355863d88fd581
/* * EditorMouseMenu.java * * Created on March 21, 2007, 10:34 AM; Updated May 29, 2007 * * Copyright 2007 Grotto Networking */ package Samples.MouseMenu; import edu.uci.ics.jung.algorithms.layout.Layout; import edu.uci.ics.jung.algorithms.layout.StaticLayout; import edu.uci.ics.jung.graph.SparseMul...
Java
BayesGame/src/Samples/MouseMenu/EditorMouseMenu.java
ksotala/BayesGame
apache-2.0
3,984
89
codeparrot/github-code
2f8755f3e7a6fe61710ae2a6344902ad8e933d8efa6d4c743b7b8c1c989a5fa2
/** * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
Java
impl/src/main/java/org/kuali/rice/kew/docsearch/dao/impl/DocumentSearchDAOJdbcImpl.java
ua-eas/ua-rice-2.1.9
apache-2.0
8,999
177
codeparrot/github-code
56867ab11f312fcf5843baac9bf4345938021a17806939ebc5bd634d08563c40
/* * Copyright 2016 Alexander Severgin * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Java
src/main/java/eu/alpinweiss/filegen/util/generator/impl/AutoNumberGenerator.java
alpinweiss/filegen
apache-2.0
2,280
64
codeparrot/github-code
cf8c60cd6e774d834eafd86f326ea4d38c66f3cb58ddbbbf0c6524632af1f778
/** * <copyright> * </copyright> * * $Id$ */ package net.opengis.gml.provider; import java.util.Collection; import java.util.List; import net.opengis.gml.FeatureStyleType; import net.opengis.gml.GmlFactory; import net.opengis.gml.GmlPackage; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclip...
Java
de.hub.citygml.emf.ecore.edit/src/net/opengis/gml/provider/FeatureStyleTypeItemProvider.java
markus1978/citygml4emf
apache-2.0
10,661
315
codeparrot/github-code
1c0b582916dd4db4f40bc083b0e7309aa1c240e0c7771630ff68e8fe85aa8ed4
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
Python
gcpdiag/lint/gke/err_2021_001_logging_perm.py
GoogleCloudPlatform/gcpdiag
apache-2.0
1,986
52
codeparrot/github-code
9916b572d063625fee73e84b7756fd6990dae1c19338a087bc4c6875884bd74c
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
Java
aws-java-sdk-neptune/src/main/java/com/amazonaws/services/neptune/model/RemoveRoleFromDBClusterResult.java
aws/aws-sdk-java
apache-2.0
2,392
73
codeparrot/github-code
3bde98dd541756b10e1a96b9a68faa22f8d1d2f09fbd5f9a9e7273f62a324ff0
using System.Collections.Generic; namespace Microsoft.Xna.Framework.Graphics { internal partial class DXConstantBufferData { public string Name { get; private set; } public int Size { get; private set; } public List<int> ParameterIndex { get; private set; } public List<int> ...
C#
MonoGame/Tools/2MGFX/DXConstantBufferData.cs
jonathanpeppers/MonoGameOrientation
apache-2.0
1,652
53
codeparrot/github-code
5f514c464e5cb2a4e62d5f0369534605cd676f305427f847c4f8fb782863b0a5
package ru.istolbov; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * Test. * @author istolbov * @version $Id$ */ public class TurnTest { /** * Test turn back array. */ @Test public void whenWeTurnBackArray() { final int[] targetArra...
Java
chapter_001/src/test/java/ru/istolbov/TurnTest.java
istolbov/i_stolbov
apache-2.0
2,154
69
codeparrot/github-code
209f600dc9e561a47ff000012aaada3a5851c9ccb5486cf8a68e50897ced9ed6
""" Launcher functionality for the Google Compute Engine (GCE) """ import json import logging import os from dcos_launch import onprem, util from dcos_launch.platforms import gcp from dcos_test_utils.helpers import Host from googleapiclient.errors import HttpError log = logging.getLogger(__name__) def get_credentia...
Python
dcos_launch/gcp.py
dcos/dcos-launch
apache-2.0
4,208
105
codeparrot/github-code
6479d6580ea57989f0ab1475fd444253b8b5b52100866e3e40ded47ec636132a
/* jshint sub: true */ /* global exports: true */ 'use strict'; // ////////////////////////////////////////////////////////////////////////////// // / @brief node-request-style HTTP requests // / // / @file // / // / DISCLAIMER // / // / Copyright 2015 triAGENS GmbH, Cologne, Germany // / // / Licensed under the Apach...
JavaScript
js/common/modules/@arangodb/request.js
baslr/ArangoDB
apache-2.0
5,781
199
codeparrot/github-code
961ef0fc979d7c1448c5aad0aac5e7b89600654a57c96b84b800db64b3c9a6b5
#ifndef _TCUX11_HPP #define _TCUX11_HPP /*------------------------------------------------------------------------- * drawElements Quality Program Tester Core * ---------------------------------------- * * Copyright 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "Lice...
C++
framework/platform/X11/tcuX11.hpp
chadversary/deqp
apache-2.0
3,554
153
codeparrot/github-code
d8803fd03c5424e3d52704b1ac1cb88980512eb050aef7ffc7c896a688dc6afc
/** @author Admino Technologies Oy Copyright 2013 Admino Technologies Oy. All rights reserved. See LICENCE for conditions of distribution and use. @file @brief */ #pragma once #include "CloudRenderingPluginApi.h" #include "CloudRenderingPluginFwd.h" #include "IModule.h" class CLOUDRENDERI...
C
CloudRenderingPlugin/CloudRenderingPlugin.h
Adminotech/fiware-cloud-rendering-renderer
apache-2.0
800
44
codeparrot/github-code
9b8c5c3717f04fac5fc7b0199fa55a608c3f8d6ad7e2a545d40a59ded9b0e4d0
/* * 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...
C++
src/data/constructs/column.cpp
phrocker/sharkbite
apache-2.0
3,199
115
codeparrot/github-code
f25e62426931443f619e79b0f35493bf13b5d87c0715113be6d56a531a41f952
/* * Copyright 2022 Imply Data, 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 agree...
TypeScript
packages/eslint-plugin-immutable-class/src/rules/readonly-implicit-fields.spec.ts
implydata/immutable-class
apache-2.0
5,020
147
codeparrot/github-code
4db45d05f8e151e15e876432d28d52433f7418ac5862580018909e9ace728ea2
// Copyright 2017 The Nomulus Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
Java
core/src/main/java/google/registry/model/tld/Registry.java
google/nomulus
apache-2.0
40,835
1,053
codeparrot/github-code
7bbb0a6a39ccd612aaebcfa8359c5d6d5922e454dccaaff960d9f9a8dff9a66a
import java.util.Scanner; /** * @author Oleg Cherednik * @since 27.10.2017 */ public class Solution { static int[] leftRotation(int[] a, int d) { for (int i = 0, j = a.length - 1; i < j; i++, j--) swap(a, i, j); d %= a.length; if (d > 0) { d = a.length - d; ...
Java
Data Structures/Arrays/Left Rotation/Solution.java
oleg-cherednik/hackerrank
apache-2.0
1,184
51
codeparrot/github-code
e7d24458b82a6942c9bf69e97c863c656c4b26ee5790918339b368d9ff173b44
/** * Copyright 2016 Netflix, 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 w...
Java
src/main/java/io/reactivex/internal/operators/maybe/MaybeIgnoreElement.java
benjchristensen/RxJava
apache-2.0
2,368
87
codeparrot/github-code
ac9cb2d40f0291934c0e473245297a22ac924d88d82e1c59b62abfa726dbf655
/* * Copyright 2014–2018 SlamData 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 agr...
Scala
frontend/src/test/scala/quasar/frontend/logicalplan/LogicalPlanSpecs.scala
jedesah/Quasar
apache-2.0
6,632
164
codeparrot/github-code
8b17bd984c545fcb3761c4bb8c6cf9aab0d2b15246fdc03fbbf3c900907faa52
package com.intellij.util.xml.impl; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.NullableFactory; import com.intellij.openapi.util.text.StringUtil; import com.intellij.psi.XmlElementFactory; import com.intellij.psi.xml.XmlDocument; import com.intellij.psi.xml.XmlFile; import com.inte...
Java
xml-dom-impl/src/main/java/com/intellij/util/xml/impl/DomRootInvocationHandler.java
consulo/consulo-xml
apache-2.0
4,330
138
codeparrot/github-code
37b14c17fa8bd9d287794cbdbe5bfb792d07eb21ef4a5ca115cd591e2ba509c2
package dkalymbaev.triangle; class Triangle { /** * This class defines points a b and c as peacks of triangle. */ public Point a; public Point b; public Point c; /** * Creating of a new objects. * @param a is the length of the first side. * @param b is the length of the second side. * @param c is the...
Java
Chapter_001/src/main/java/dkalymbaev/triangle/Triangle.java
Damir2805/java-a-to-z
apache-2.0
783
35
codeparrot/github-code
6734edb67686943ff980f704abcba96759571e05d097f5452085001dab64ff2b
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta name="viewport" conte...
HTML
html/elisp/operation-objects/file.html
klose911/klose911.github.io
apache-2.0
37,182
752
codeparrot/github-code
5e77cc64b5d26265f2004a714133422aa815fc07e53aca38aa51b8e68a7a1e8f
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width" /> <link rel="shortcut icon" type="image/x-icon" href="../../../../../../../favic...
HTML
google_play_services/docs/reference/com/google/android/gms/games/multiplayer/package-summary.html
gudnam/bringluck
apache-2.0
33,552
791
codeparrot/github-code
5e7835953b2d8e6029b86473870e8cf6743909f1482b72c3c31ca9b81fdb6f34
package mesosphere.marathon.integration import mesosphere.marathon.api.v2.json.GroupUpdate import mesosphere.marathon.integration.setup.{ IntegrationFunSuite, IntegrationHealthCheck, SingleMarathonIntegrationTest, WaitTestSupport } import mesosphere.marathon.state.{ AppDefinition, PathId, UpgradeStrategy } import org....
Scala
src/test/scala/mesosphere/marathon/integration/GroupDeployIntegrationTest.scala
yp-engineering/marathon
apache-2.0
16,525
398
codeparrot/github-code
6f3e9c3fd123011bd2bc684896c62927f3d6911f1f213c91e2258d4df5d65e11
package com.linbo.algs.examples.queues; import java.util.Iterator; import com.linbo.algs.util.StdRandom; /** * Created by @linbojin on 13/1/17. * Ref: http://coursera.cs.princeton.edu/algs4/assignments/queues.html * RandomizedQueue: a double-ended queue or deque (pronounced "deck") is a * generalization of a sta...
Java
java/src/main/java/com/linbo/algs/examples/queues/RandomizedQueue.java
linbojin/algorithms
apache-2.0
4,619
180
codeparrot/github-code
14767cbebcb9a54e22444cbbd6c4f1b40261503d3b836f0d385e9b9ed81ab6d8
/* * 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/org/apache/xerces/impl/scd/SCDParser.java
RackerWilliams/xercesj
apache-2.0
21,399
489
codeparrot/github-code
f25f430115f10315712c6d9fc6da0f472b470a8c7025999819cfad520d010e8a
/* * Copyright 2013 Square, Inc. * Copyright 2016 PKWARE, 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 ...
Java
truth-android-appcompat/src/main/java/com/pkware/truth/androidx/appcompat/widget/SearchViewSubject.java
pkware/truth-android
apache-2.0
3,403
108
codeparrot/github-code
66ca50e258ceca142c2361437c011cc083f2f74651b38354005b6f17a12967e6
/******************************************************************************* * 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 t...
Java
src/main/java/com/github/am0e/jbeans/FieldInfo.java
am0e/commons
apache-2.0
7,111
224
codeparrot/github-code
5fecf210d4a4d1d8d6a34fe845b82c5127c99e975f64a9f9f25c613ade52bf51
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2014 Telefonica Investigación y Desarrollo, S.A.U # # This file is part of FI-WARE 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 Li...
Python
automatization_scripts/get_software_catalogue.py
telefonicaid/fiware-sdc
apache-2.0
4,110
126
codeparrot/github-code
f44b6c8fe2e51bf1ee60fddc9cffbef2f4eca7cf2a0b3debd36628bcb2707863
package org.corpus_tools.annis.gui.visualizers.component.tree; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; import static org...
Java
src/test/java/org/corpus_tools/annis/gui/visualizers/component/tree/AnnisGraphToolsTest.java
korpling/ANNIS
apache-2.0
2,637
74
codeparrot/github-code
b2d711e3fa64faeed3316b17fa143f4626075881a3549c0470a04fe2a8fd710c
// ---------------------------------------------------------------------------- // Copyright 2007-2011, GeoTelematic Solutions, Inc. // All rights reserved // ---------------------------------------------------------------------------- // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not...
Java
src/org/opengts/dbtypes/DTIPAddress.java
CASPED/OpenGTS
apache-2.0
3,318
113
codeparrot/github-code
4369cbe8768913eaed95ada4a30d89ecdf6379294eddb0ef3fee9cebe5c2c159
package com.mricefox.androidhorizontalcalendar.library.calendar; import android.database.Observable; /** * Author:zengzifeng email:zeng163mail@163.com * Description: * Date:2015/12/25 */ public class DataSetObservable extends Observable<DataSetObserver> { public boolean hasObservers() { synchronized (...
Java
library/src/main/java/com/mricefox/androidhorizontalcalendar/library/calendar/DataSetObservable.java
MrIceFox/AndroidHorizontalCalendar
apache-2.0
918
33
codeparrot/github-code
3b3cb511df23bff905541eae2403c3cecd73373099ad27764ae6e76e8dc8a8d4
/* * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
Java
langtools-classfile/src/org/eclipse/ceylon/langtools/classfile/TypeAnnotation.java
ceylon/ceylon
apache-2.0
23,331
658
codeparrot/github-code
da0cd31e9525db2b694f6fe15b7cdf640a421ea280c4642633fbe21b95f1b49b
package com.ticktick.testimagecropper; import java.io.File; import java.io.FileNotFoundException; import java.io.InputStream; import com.ticktick.imagecropper.CropImageActivity; import com.ticktick.imagecropper.CropIntent; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; im...
Java
TestImageCropper/src/com/ticktick/testimagecropper/MainActivity.java
msdgwzhy6/ImageCropper
apache-2.0
3,084
90
codeparrot/github-code
91cdb3ea18347dced14963cc5339d6fa81ced495c78be5acde17eb026620a44c
/* * 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
trunk/deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/BundleInfoImpl.java
boneman1231/org.apache.felix
apache-2.0
4,581
110
codeparrot/github-code
66e9ee47f7340d5298000393564c9478baef63a450b85cdb5055b7b1999238d6
# Copyright 2014-2015 Isotoma Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
Python
touchdown/aws/ec2/instance.py
yaybu/touchdown
apache-2.0
4,911
155
codeparrot/github-code
79971e57262c0ab5e7c19b6b6399e702e45a40e0ac033808d09ec8a8c9e27d32
package com.zlwh.hands.api.domain.base; public class PageDomain { private String pageNo; private String pageSize = "15"; private long pageTime; // 上次刷新时间,分页查询时,防止分页数据错乱 public String getPageNo() { return pageNo; } public void setPageNo(String pageNo) { this.pageNo = pageNo; } public String getPageSize...
Java
src/main/java/com/zlwh/hands/api/domain/base/PageDomain.java
javyuan/jeesite-api
apache-2.0
551
33
codeparrot/github-code
43ee076d1cfc0d5dfc4030c53c24080fdd6589fa681400630c136019d47dc14b
package com.squarespace.template.expr; import java.util.Arrays; /** * Token representing a variable name. Could hold a reference or * a definition. */ public class VarToken extends Token { public final Object[] name; public VarToken(Object[] name) { super(ExprTokenType.VARIABLE); this.name = name; ...
Java
core/src/main/java/com/squarespace/template/expr/VarToken.java
Squarespace/template-compiler
apache-2.0
594
31
codeparrot/github-code
47b6673a23d337e514dd90efa9ee89c1788a42cce1e854f25c28580d753f0dd2
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
Java
engine/src/org/pentaho/di/trans/steps/jsonoutput/JsonOutput.java
jjeb/kettle-trunk
apache-2.0
14,853
400
codeparrot/github-code
476e5af85120485690646d141c46e88acd4cd7e87daf1b745d9ca4cd729cc64a
package filodb.query.exec.rangefn import scala.util.Random import monix.execution.Scheduler.Implicits.global import monix.reactive.Observable import org.scalatest.concurrent.ScalaFutures import filodb.core.{MetricsTestData, MachineMetricsData => MMD} import filodb.core.query._ import filodb.memory.format.{ZeroCopyUT...
Scala
query/src/test/scala/filodb/query/exec/rangefn/InstantFunctionSpec.scala
filodb/FiloDB
apache-2.0
18,584
373
codeparrot/github-code
c7cb02449560aa8df96aa07a839e46f7ab7cb7cd8934bfd3fc89038fe482ebe3
define(["Log","FS"],function (Log,FS) {//MODJSL return function showErrorPos(elem, err) { var mesg, src, pos; if (!err) { close(); return; } var row,col; if (err.isTError) { mesg=err.mesg; src=err.src; pos=err.pos; row=err.row+1; col=err.col+1;...
JavaScript
war/js/ide/ErrorPos.js
hoge1e3/tonyuedit
apache-2.0
1,642
53
codeparrot/github-code
6c997d13beabfaa6c45a11b18c5a1e10ac9b3c3a530476017f70c858fc6b32b8
package io.indexr.query.expr.arith; import com.google.common.collect.Lists; import java.util.List; import io.indexr.query.expr.BinaryExpression; import io.indexr.query.expr.Expression; import io.indexr.query.types.DataType; public abstract class BinaryArithmetic extends Expression implements BinaryExpression { ...
Java
indexr-query-opt/src/main/java/io/indexr/query/expr/arith/BinaryArithmetic.java
shunfei/indexr
apache-2.0
1,684
69
codeparrot/github-code
d2ea94efc3e8889041178a2f5f3634efbd1ac971accfbbf955b1c5e7bc50c48f
package com.twitter.finagle.kestrel.unit import com.twitter.concurrent.{Broker, Offer} import com.twitter.conversions.time._ import com.twitter.finagle.kestrel._ import com.twitter.finagle.kestrel.net.lag.kestrel.thriftscala.Item import com.twitter.finagle.kestrel.protocol.{Command, _} import com.twitter.finagle.memca...
Scala
finagle-kestrel/src/test/scala/com/twitter/finagle/kestrel/unit/ClientTest.scala
yancl/finagle-6.22.0
apache-2.0
5,946
188
codeparrot/github-code
e5129a2859b97bc1c68e30064f60d50eb50cd43cbf74d9b6d1a944aa6248a3e6
/* * Copyright (C) 2016 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
library/core/src/androidTest/java/com/google/android/exoplayer2/text/tx3g/Tx3gDecoderTest.java
KiminRyu/ExoPlayer
apache-2.0
12,399
221
codeparrot/github-code
b8c51ca3d1cf1921f8529e67b1bf9b63ca329af52f0803834c91ba281d3009c7
<?php namespace Spann\Utils; use Slim\App; use Slim\Http\Environment; use Slim\Http\Headers; use Slim\Http\Request; use Slim\Http\RequestBody; use Slim\Http\Response; use Slim\Http\Uri; class WebTestClient { /** @var \Slim\App */ public $app; /** @var \Slim\Http\Request */ public $request; /*...
PHP
src/Spann/Utils/WebTestClient.php
spann/slim-test-utils
apache-2.0
3,257
119
codeparrot/github-code
eb76d74d3a77ab7005403d85876323b85c332b62e044401b6ab498aad222d908
"""Support for monitoring OctoPrint sensors.""" from __future__ import annotations from datetime import datetime, timedelta import logging from pyoctoprintapi import OctoprintJobInfo, OctoprintPrinterInfo from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorStateClass, ) f...
Python
homeassistant/components/octoprint/sensor.py
home-assistant/home-assistant
apache-2.0
7,576
248
codeparrot/github-code
a3f0ff559794a3132353743de6014a998e1d94d777ff5227406464a5e9af145f
const uint16 kRuleIdTable[] = { 42, // Functional "^(助詞|助動詞|動詞,非自立|名詞,非自立|形容詞,非自立|動詞,接尾|名詞,接尾|形容詞,接尾)" 1934, // Unknown "名詞,サ変接続" 2009, // FirstName "名詞,固有名詞,人名,名" 2010, // LastName "名詞,固有名詞,人名,姓" 2047, // Number "名詞,数,アラビア数字" 2049, // KanjiNumber "名詞,数,漢数字" 2, // WeakCompoundPrefix "^(接頭詞,名詞接...
C
src/out_ios/DerivedSources/Release/data_manager/testing/pos_matcher_data.h
kishikawakatsumi/Mozc-for-iOS
apache-2.0
9,438
282
codeparrot/github-code
03208494abe15b93d9ed7d4343501cfbebb5f2ca8418cf40af70525f8e1971dd
/* * 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
workspace/glaf-core/src/main/java/com/glaf/j2cache/CacheException.java
jior/glaf
apache-2.0
1,115
38
codeparrot/github-code
f6cdb528748c89724f20484580f70753ee68dc8445626797e5144ba14890bb00
/* * 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
presto-main/src/test/java/com/facebook/presto/tpch/TpchIndex.java
FlxRobin/presto
apache-2.0
2,063
52
codeparrot/github-code
6d5c8ba841a6842d15a41f77fb0112e61cac23917784d66b3a37c84b93425ee5
/* * Copyright 2018-present Open Networking Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
Java
core/net/src/test/java/org/onosproject/net/pi/impl/PiMulticastGroupTranslatorImplTest.java
kuujo/onos
apache-2.0
5,443
124
codeparrot/github-code
6a33e316e7df53c8f379ccf6d747e9fc42c2972d127a8311ac1de32171102f5c
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2021 Jeffrey Su & Suzhou Senparc Network Technology 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 ...
C#
src/Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Request/Event/GiftCard/RequestMessageEvent_GiftCard_Pay_Done.cs
mc7246/WeiXinMPSDK
apache-2.0
1,771
57
codeparrot/github-code
05e623030ad6363877bfa89da7bddf57572d449c580e4c6305f8c95c29e3c064
// snippet-sourcedescription:[ ] // snippet-service:[dynamodb] // snippet-keyword:[dotNET] // snippet-keyword:[Amazon DynamoDB] // snippet-keyword:[Code Sample] // snippet-keyword:[ ] // snippet-sourcetype:[full-example] // snippet-sourcedate:[ ] // snippet-sourceauthor:[AWS] // snippet-start:[dynamodb.dotNET.CodeExamp...
C#
.dotnet/example_code/DynamoDB/GettingStarted/old/UpdateItem_B/Program.cs
awsdocs/aws-doc-sdk-examples
apache-2.0
4,866
140
codeparrot/github-code
008fc5afbd44a1b60d895c835982e1ff023777fe441927bf52767c623b20066a
/*********************************************************************** * Copyright (c) 2013-2016 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 is ...
Scala
geomesa-accumulo/geomesa-accumulo-datastore/src/main/scala/org/locationtech/geomesa/accumulo/index/AccumuloQueryPlanner.scala
spandanagrawal/geomesa
apache-2.0
3,350
75
codeparrot/github-code
7466dc9e272acd179f7eb3725191ab960241d23f660bc968d4b5cd51d6515448
/* * 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
core/src/main/java/org/apache/accumulo/core/conf/AccumuloConfiguration.java
ivakegg/accumulo
apache-2.0
20,603
597
codeparrot/github-code
31195aa5e7ef07ae873ef81b6ea228fbb603726ce34d99948b2af3d7890f30b1
/** * Copyright (c) 2011 Jonathan Leibiusky * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merge, pu...
Java
api/java/src/main/java/com/navercorp/redis/cluster/RedisCluster.java
cl9200/nbase-arc
apache-2.0
23,864
732
codeparrot/github-code
cf56273fc1e2eed19630d77915b1d0db6fe09010a74a428adb5d178a2be03e04
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
Java
aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/GetMediaCapturePipelineRequestProtocolMarshaller.java
aws/aws-sdk-java
apache-2.0
2,781
64
codeparrot/github-code
e86b32450a31f8990d332c5154d40695eae158ff1d225a3eb242b3ffadd405c8
/** * @file stomp_planner_manager.cpp * @brief This defines the stomp planning manager for MoveIt * * @author Jorge Nicho * @date April 5, 2016 * @version TODO * @bug No known bugs * * @copyright Copyright (c) 2016, Southwest Research Institute * * @par License * Software License Agreement (Apache License) ...
C++
stomp_moveit/src/stomp_planner_manager.cpp
bmagyar/industrial_moveit
apache-2.0
4,704
158
codeparrot/github-code
11efa9a240ecca06cc576f8ee8227697c3eddc69ae55759c7a8f86f667ca7b4e
/** * Copyright (c) 2013, Redsolution LTD. All rights reserved. * * This file is part of Xabber project; you can redistribute it and/or * modify it under the terms of the GNU General Public License, Version 3. * * Xabber is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even ...
Java
app/src/main/java/com/itracker/android/data/roster/RosterContact.java
bigbugbb/iTracker
apache-2.0
3,496
146
codeparrot/github-code
646f734d70c77ae15d25b9792f1599d548e0452a90992c869a7a54d23ad86914
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
C++
paddle/fluid/operators/transpose_op.cc
baidu/Paddle
apache-2.0
11,179
297
codeparrot/github-code
4fb54552e0da9e7f3ce1c385716e3d568a754031a6fe5310edde7e273f581e8c
#region License Header /* * QUANTLER.COM - Quant Fund Development Platform * Quantler Core Trading Engine. Copyright 2018 Quantler B.V. * * 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:...
C#
Quantler/Scheduler/DateFunc.cs
Quantler/Core
apache-2.0
10,175
273
codeparrot/github-code
48019eaa5d7b4356c4385c555b01b2cd807a86ab163b69a15208f5fb2159cc50
/* * Copyright 2011-2015 The Trustees of the University of Pennsylvania * * 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 requir...
Java
parallel/src/main/java/edu/upenn/library/xmlaminar/parallel/SplittingXMLFilter.java
upenn-libraries/xmlaminar
apache-2.0
19,266
565
codeparrot/github-code
a90eee9d081662c9ac332265faf8636a3b8aa49be75d33030484039f6c0f7129
--- title: True Contentment subblog: yhwh tags: the good life --- Contentment is fairly universally agreed to be a virtue. We aspire to the ideal that regardless of our circumstances we are happy, and we understand that without a measure of this virtue there is no set of circumstances that will satisfy us. But what d...
Markdown
content/posts/2015-07-11-true-contentment.markdown
ohbadiah/nickmcavoy-dotcom
apache-2.0
4,115
41
codeparrot/github-code
b72dd8a6d5f402b5d95516f33653973e7e3a2c1d0a840aba0d8646a39e7782b3
// <copyright file="BatchModeBuffer.cs" company="ClrCoder project"> // Copyright (c) ClrCoder project. All rights reserved. // Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information. // </copyright> #if !NETSTANDARD1_0 && !NETSTANDARD1_1 namespace ClrCoder.Threading.C...
C#
src/ClrCoder/Threading/Channels/BatchModeBuffer/BatchModeBuffer.cs
dmitriyse/ClrCoder
apache-2.0
5,203
176
codeparrot/github-code
418d67aff302cb8c255bc629db638450ec41d31080db3dbf4942dd9dddb6d6da
package bamboo.crawl; import java.util.Date; import java.util.concurrent.TimeUnit; public class RecordStats { private static final Date MAX_TIME = new Date(System.currentTimeMillis() + TimeUnit.DAYS.toMillis(900)); private static final Date MIN_TIME = new Date(631152000000L); private long records; pr...
Java
ui/src/bamboo/crawl/RecordStats.java
nla/bamboo
apache-2.0
1,362
56
codeparrot/github-code
cfb407c879632115a38d8ca03b47f11ce4b4211d30664d4c968adbc90e43f7b1
/* * JBoss, Home of Professional Open Source. * Copyright 2014-2020 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 ...
JavaScript
ui/app/common/restclient/restclient.module.js
matedo1/pnc
apache-2.0
1,179
42
codeparrot/github-code
a9a098ad4b17084703358f6aa2007ad181c9ec6d9bc4fa5727daccd873a4c8f5
/* * 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
hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/util/InvertedIndexUtils.java
apache/incubator-asterixdb
apache-2.0
19,511
303
codeparrot/github-code
5f9cd4ffb9d9aebdfd882973f6eba0df3fa58efab267bb593b58f1f3e6e0935e
<!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="X-UA-Compatible" content="IE=Edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <t...
HTML
docs/new-pandas-doc/generated/pandas.DataFrame.quantile.html
datapythonista/datapythonista.github.io
apache-2.0
25,468
353
codeparrot/github-code
975664c6ebadb93134efac386d74b2c299deaf3c46600848b488f3b54bcb1ea2
/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
C++
modules/planning/open_space/trajectory_smoother/dual_variable_warm_start_slack_osqp_interface.cc
ApolloAuto/apollo
apache-2.0
17,011
525
codeparrot/github-code
0e8ba2caeaf0656882ca5c52d3828388c9b936baba98ae2831a27c095ef68d1b
{template "content","header"} {php $video_cache = getcache('video', 'video');} <link href="{CSS_PATH}vms/vms.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="{JS_PATH}cookie.js"></script> <div class="clr ct show_pg"> <div class="crumbs"><a href="{APP_PATH}">首页</a> <span id="play_titl...
HTML
phpcms/templates/default/content/show_videolist.html
johnshen/phpcms
apache-2.0
6,762
192
codeparrot/github-code
94d2089e41c0b96165a3bb7054ef104fe9d9d730882018c5e3094b2bd2a01f17
package info.bati11.wearprofile; import android.app.ActionBar; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.MenuItem; public class AboutActivity extends Activity { public static Intent createIntent(Context context) { ...
Java
mobile/src/main/java/info/bati11/wearprofile/AboutActivity.java
bati11/wear-profile
apache-2.0
964
37
codeparrot/github-code
6ddb57271b5e538a2ab5daebb041e525264126125c2572976dc6b43cc2fbddff
/* * Copyright 2010-2014 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 "l...
C#
sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/CreateRouteRequestMarshaller.cs
mwilliamson-firefly/aws-sdk-net
apache-2.0
3,470
89
codeparrot/github-code
631cb705600a36d08d733e910045bd5af0fc7ad251fb1fdc535fc95e6f1f1a4c
/* The MIT License Copyright (c) 2009 - 2014 Liam Devine Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
C
include/oolua/char_arrays.h
CollapsedTeam/CollapsedEngine
apache-2.0
2,025
55
codeparrot/github-code
690f813da4f53acbe4efb0f4c1b9119d646b643e9d4a396c245ddd85be903698
/* * Copyright 2002-2004 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...
Java
sandbox/src/org/springframework/beans/factory/support/DependencyInjectionAspectSupport.java
cbeams-archive/spring-framework-2.5.x
apache-2.0
10,662
313
codeparrot/github-code
35c21f8a393da31536b3099944e158886ccdeace51147d7fe2a337a0ff68df89
/* * Copyright Anatoly Starostin (c) 2017. */ package treeton.prosody.corpus; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import treeton.core.config.BasicConfiguration; import treeton.core.util.xml.XMLParser; import javax.xml.parsers.ParserConfigurationException; import java.i...
Java
dev/prosody/src/treeton/prosody/corpus/CorpusFolder.java
TreetonOrg/Treeton
apache-2.0
5,453
176
codeparrot/github-code
984394287c6d2df1deacc81896a2d9b14955c95576934fe8094ccfbe9462121d
package com.github.ruediste.c3java.invocationRecording; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.lang.annotation.ElementType; import org.junit.Before; import org.junit.Test; import com.google.common.reflect.TypeTo...
Java
src/test/java/com/github/ruediste/c3java/invocationRecording/MethodInvocationRecorderTest.java
ruediste/c3java
apache-2.0
2,917
87
codeparrot/github-code
51668a61d37a392e8413147c4c78e1c499e1e4c3c5c7c281c8ca6a9ec23ebf3b
package org.jfl2.fx.controller.menu; import javafx.application.Platform; import javafx.event.Event; import javafx.scene.Node; import javafx.scene.control.RadioButton; import javafx.scene.input.KeyEvent; import javafx.scene.input.MouseEvent; import lombok.extern.slf4j.Slf4j; import org.jfl2.core.util.Jfl2NumberUtils; i...
Java
src/main/java/org/jfl2/fx/controller/menu/MenuWindowManager.java
lei0229/jfl2
apache-2.0
6,451
257
codeparrot/github-code
c79111d4c9d0c3243a9e54dc408190e0a78cfab9ebba1ef7897550682e29cb74
/** * 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
config/config-tck/src/main/java/org/deephacks/tools4j/config/test/XmlStorageHelper.java
kristianolsson/tools4j
apache-2.0
2,047
58
codeparrot/github-code
4a8197bae0c325e6abfa7a836af1622d75eb300f02797b7499bb24a5c1d933cd
package gui.sub_controllers; import gui.GraphDrawer; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.collections.transformation.FilteredList; import javafx.collections.transformation.SortedList; import javafx.fxml.FXML; import javafx.scene.control.TableColumn; import ja...
Java
src/main/java/gui/sub_controllers/AnnotationTableController.java
ProgrammingLife2017/DynamiteAndButterflies
apache-2.0
8,434
244
codeparrot/github-code
e0716b416b66fdb9ff3b0111f28b76236da92e6ec3bfc37d31d64efa840ddd18
package liquibase.change.core; import liquibase.change.AbstractSQLChange; import liquibase.change.DatabaseChange; import liquibase.change.ChangeMetaData; /** * Allows execution of arbitrary SQL. This change can be used when existing changes are either don't exist, * are not flexible enough, or buggy. */ ...
Java
liquibase-core/src/main/java/liquibase/change/core/RawSQLChange.java
ArloL/liquibase
apache-2.0
2,252
47
codeparrot/github-code
c9eb7fc0dbe37404dd0a85ab8e2d31a570f7ce384085786439965506670b27dd
/* * 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
RangeBarSample/src/main/java/com/appyvet/rangebarsample/colorpicker/ColorPickerDialog.java
oli107/material-range-bar
apache-2.0
6,997
228
codeparrot/github-code
dbc4a858ff877818edac6bfd83fc1e9455d35681d197d9df92ad13ff93d4da0d
package com.lling.qiqu.commons; import java.io.Serializable; /** * @ClassName: ResponseInfo * @Description: http接口返回数据封装类 * @author lling * @date 2015-5-30 */ public class ResponseInfo implements Serializable{ private static final long serialVersionUID = 1L; private String code; private String desc; privat...
Java
app/src/main/java/com/lling/qiqu/commons/ResponseInfo.java
liuling07/QiQuYing
apache-2.0
655
39
codeparrot/github-code