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 |
|---|---|---|---|---|---|---|---|---|
e3102f7724fd64d08d78a53fa98279755690e79cc7a9a391153066316db2bddf | /*
* 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 ... | Scala | flink-scala/src/test/scala/org/apache/flink/api/operator/SelectByFunctionTest.scala | oscarceballos/flink-1.3.2 | apache-2.0 | 8,101 | 220 | codeparrot/github-code |
39124e837667459ec51286ebac784d1c23a1276fd8be7aa6c1a661bf1b07b986 | /*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "Licen... | Java | integration/src/it/java/org/pentaho/di/AllRegressionTestsIT.java | TatsianaKasiankova/pentaho-kettle | apache-2.0 | 5,034 | 113 | codeparrot/github-code |
702de9d9dfa411aeb12eafa6e76466d94e9ef68ed1fa8f6735469b32c7159b05 | package org.apereo.cas.throttle;
import lombok.RequiredArgsConstructor;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.text.StringEscapeUtils;
import org.apache.http.HttpStatus;
import javax.servlet.http.HttpServl... | Java | core/cas-server-core-authentication-throttle/src/main/java/org/apereo/cas/throttle/DefaultThrottledRequestResponseHandler.java | apereo/cas | apache-2.0 | 1,267 | 40 | codeparrot/github-code |
793d61c6bfffa1d3fd299d990907be9c73c7d5d3bece9ed62ba29f6587743654 | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.vcs.changes.committed;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij... | Java | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/RefreshIncomingChangesAction.java | goodwinnk/intellij-community | apache-2.0 | 1,441 | 39 | codeparrot/github-code |
815d723d6563f42494d7a7a8c83988698c5130d49cb97ff1d25cc9cc1c187b0b | /*----------------------------------------------------------------
Copyright (C) 2017 Senparc
文件名:GetAppListResult.cs
文件功能描述:获取应用概况列表返回结果
创建标识:Bemguin - 20150614
----------------------------------------------------------------*/
using System.Collections.Generic;
using Senparc.Weixin.Ent... | C# | src/Senparc.Weixin.QY/Senparc.Weixin.QY/AdvancedAPIs/App/AppJson/GetAppListResult.cs | down4u/WeiXinMPSDK | apache-2.0 | 1,057 | 43 | codeparrot/github-code |
f0bc22a60cbd758cd66158941255f9d6c819aec9091dba707876e86491706112 | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | C++ | tensorflow/lite/delegates/gpu/metal/kernels/max_unpooling.cc | kevin-coder/tensorflow-fork | apache-2.0 | 5,204 | 146 | codeparrot/github-code |
d9a4ba6513895f8c587579b9cc3d07debdcd58cdbdad44a47fc2b9e0cac35cba | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local username, password, ac, service
local ipv6, defaultroute, metric, peerdns, dns,
keepalive_failure, keepalive_interval, demand, mtu
username = section:taboption("gener... | Lua | protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua | chris5560/openwrt-luci | apache-2.0 | 4,037 | 136 | codeparrot/github-code |
5640c18836959932917735febd3591eb17b0766323c4f794590b8ac1727e30f3 | //===--- DiagnosticEngine.h - Diagnostic Display Engine ---------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | C | include/swift/AST/DiagnosticEngine.h | codestergit/swift | apache-2.0 | 27,238 | 810 | codeparrot/github-code |
8b2a2fef7814a5c7d70b2744d68b6f9ae773aabcd0a0ac4a88351ab15ace955b | /*
* Copyright (c) 2008-2021, Hazelcast, 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 required ... | Java | hazelcast/src/test/java/com/hazelcast/query/impl/predicates/OrPredicateTest.java | jerrinot/hazelcast | apache-2.0 | 3,107 | 82 | codeparrot/github-code |
269a8c6164ce9e3c1738f81b296018c02e728ce529ea1d68a290d86fddb7d150 | package com.github.dynamicextensionsalfresco.webscripts.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target({ ElementType.PARAMETER })
@Retention(RetentionPolicy.RUNTIME)
public @interface... | Java | annotations/src/main/java/com/github/dynamicextensionsalfresco/webscripts/annotations/RequestParam.java | vdewillem/dynamic-extensions-for-alfresco | apache-2.0 | 1,067 | 35 | codeparrot/github-code |
6e13df0f8bbe0ceb4593c888251166fac06a467689f25a5e650bd3ed34376af3 | /*
* 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 ... | JavaScript | traffic_portal/test/end_to_end/parameters/parameters-spec.js | hbeatty/incubator-trafficcontrol | apache-2.0 | 3,397 | 77 | codeparrot/github-code |
42213a9e1330f53792e83d45028bb88027ce6532fb91bad54e4f17468b8626ad | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.psi.util;
import com.intellij.psi.*;
import com.intellij.psi.tree.IElementType;
import com.intellij.util.ObjectUtils;
import org.jetbrains.annotations.Contra... | Java | java/java-psi-impl/src/com/intellij/psi/util/JavaPsiPatternUtil.java | allotria/intellij-community | apache-2.0 | 4,769 | 102 | codeparrot/github-code |
2a174a2335bd894feea6809aa28e123e145cde8317841355ad1e852b086a5691 | /*
* 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 no... | Java | test/unit/org/apache/cassandra/db/NameSortTest.java | odnoklassniki/apache-cassandra | apache-2.0 | 4,544 | 133 | codeparrot/github-code |
f46994a4a588659a05ad09f2d704a31ff50482ca5cd1b906ff817b870cd5d0b0 | /*
* Copyright (c) 2008-2021, Hazelcast, 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 required ... | Java | hazelcast/src/test/java/com/hazelcast/internal/cluster/impl/ChangeClusterStateTest.java | jerrinot/hazelcast | apache-2.0 | 3,124 | 80 | codeparrot/github-code |
aacfa44dcc1aca6603fc196150e8d5f470f1b25a63571817678ee2e3ed88dff4 | package com.pacoapp.paco.sensors.android.diagnostics;
import android.content.Context;
public class DiagnosticsReporter {
private DiagnosticReport report;
public DiagnosticReport runTests(Context context) {
report = new DiagnosticReport();
checkPhoneDateTimeAndTimeZone(report, context);
checkPhoneDe... | Java | Paco/src/com/pacoapp/paco/sensors/android/diagnostics/DiagnosticsReporter.java | google/paco | apache-2.0 | 2,519 | 88 | codeparrot/github-code |
6a262a23367efadcca4c0900b1a37067b3aa7c3f0b784b7f72997d9466fdc429 | package org.apache.mesos.chronos.scheduler.mesos
import org.apache.mesos.Protos._
import org.apache.mesos.chronos.scheduler.config.SchedulerConfiguration
import org.apache.mesos.chronos.scheduler.jobs.{Label, Parameter, Volume, _}
import org.apache.mesos.chronos.scheduler.jobs.constraints.{EqualsConstraint, LikeConstr... | Scala | src/test/scala/org/apache/mesos/chronos/scheduler/mesos/MesosTaskBuilderSpec.scala | motusllc/chronos | apache-2.0 | 3,771 | 104 | codeparrot/github-code |
ab63b7fbc30b15742787874b62f8ba461460c2f0c8d3356a4d73679c5cc007c5 | package org.batfish.representation.cisco_xr;
import java.io.Serializable;
import java.util.Objects;
import javax.annotation.Nullable;
import javax.annotation.ParametersAreNonnullByDefault;
@ParametersAreNonnullByDefault
public abstract class BgpAggregateNetwork implements Serializable {
private boolean _asSet;
... | Java | projects/batfish/src/main/java/org/batfish/representation/cisco_xr/BgpAggregateNetwork.java | dhalperi/batfish | apache-2.0 | 1,268 | 57 | codeparrot/github-code |
8120ee6de690d94119ab8937abac46158a3dc8761d73309e2d1d97a5e2d02271 | /*
* Copyright 2000-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | java/java-analysis-impl/src/com/intellij/codeInspection/AnonymousCanBeLambdaInspection.java | izonder/intellij-community | apache-2.0 | 24,050 | 562 | codeparrot/github-code |
76ea7ed904cc40d19291d40490ad0637ce21d777b9fb2d29573bde35ab8089d9 | <!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<title>MasterAddressTracker xref</title>
<link t... | HTML | docs/xref/org/apache/hadoop/hbase/MasterAddressTracker.html | axfcampos/hbase-0.94.19 | apache-2.0 | 9,598 | 94 | codeparrot/github-code |
07183421bd9cc8b97b48e6ef5ed5ad38837e3582442527e318407f43837b44ce | /**
* 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 | xbean-spring-v2b/src/test/java/org/apache/xbean/spring/example/RestaurantService.java | ebourg/geronimo-xbean | apache-2.0 | 2,275 | 86 | codeparrot/github-code |
b663f67e61b1bc6de47ceac2cf084fc2392685c4af35a5e862f878e68dbb27e7 | /*
* 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/main/java/io/prestosql/util/GraphvizPrinter.java | treasure-data/presto | apache-2.0 | 26,995 | 708 | codeparrot/github-code |
8d48f545ce5cc414dddf12dc462ee268a3ae5571bea91b7f37f47b0c5fa9a381 | // Copyright 2012 Cloudera Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wr... | C++ | be/src/util/webserver.cc | caseyching/Impala | apache-2.0 | 15,624 | 442 | codeparrot/github-code |
c6aa3e85556977229580426ea8e6f8d3d19936df0823f2329179a15451f6834d | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | Java | test/com/facebook/buck/features/js/JsBundleGenruleDescriptionTest.java | facebook/buck | apache-2.0 | 29,404 | 794 | codeparrot/github-code |
96639cf91416509ae121b760b95ac8fa38dcb3dd23b2b26fbcfb152e14064d3d | /**
* Copyright (c) 2015, Cloudera, Inc. All Rights Reserved.
*
* Cloudera, 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/licenses/LIC... | Scala | src/test/scala/com/cloudera/sparkts/DateTimeIndexUtilsSuite.scala | samklr/spark-timeseries | apache-2.0 | 2,935 | 86 | codeparrot/github-code |
192ee9c6f56224d7e9fa50a4fddf54c35d0cf6542abc342c6a06d7deb21fba13 | /*
* Copyright (c) 2008-2021, Hazelcast, 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 required ... | Java | hazelcast/src/test/java/com/hazelcast/config/HotRestartConfigTest.java | jerrinot/hazelcast | apache-2.0 | 1,454 | 42 | codeparrot/github-code |
679f214fe546a891a2cddafbeb00047ccf26f2d9d0b0e96a8647b71ad397b5a5 | /*
* =====================================================================================
*
* Filename: ukav_infobar.h
*
* Description: KAV infobar
*
* Version: 1.0
* Created: 2009/8/15 15:02:33
* Revision: none
* Compiler: gcc
*
* Author: huys (hys), huys0... | C | app/ukav/ukav_infobar.h | pranav-pointer/ulib-win | apache-2.0 | 2,679 | 123 | codeparrot/github-code |
d48d75c822c49756b3cb87f506a68175a77bf21197dc626ca569011f8c357ca2 | /*
* 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 | processing/src/test/java/org/apache/carbondata/processing/store/colgroup/ColGroupMinMaxTest.java | foryou2030/incubator-carbondata | apache-2.0 | 8,207 | 254 | codeparrot/github-code |
1eecc90a8b4e2fe7f33052411abec582122e317e7093f3dc9e4c4d53d6289dcb | /**
* 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 n... | Java | tseenliu/FedHDFS-hadoop-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmnode/RMNodeImpl.java | tseen/Federated-HDFS | apache-2.0 | 26,816 | 752 | codeparrot/github-code |
125a5bc4cc11e8d6ad9621c301a958856d900ba90fb948bcf008416a560efebf | /**
* Most of the code in the Qalingo project is copyrighted Hoteia and licensed
* under the Apache License Version 2.0 (release version 0.8.0)
* http://www.apache.org/licenses/LICENSE-2.0
*
* Copyright (c) Hoteia, 2012-2014
* http://www.hoteia.com - http://twitter.com/hoteia - contact@h... | Java | apis/api-core/api-core-common/src/main/java/org/hoteia/qalingo/core/web/mvc/viewbean/RetailerTagViewBean.java | eric-stanley/qalingo-engine | apache-2.0 | 1,218 | 56 | codeparrot/github-code |
644a0b391b9d8d23f21873a6b63b211b0633911c2f0e676a7d66281e8b421604 | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | C | third_party/proto/src/google/protobuf/compiler/csharp/csharp_primitive_field.h | kidaa/kythe | apache-2.0 | 2,941 | 74 | codeparrot/github-code |
e2799b6ba965b83cbbd5d5df313ce1199f63043a5f1ee74021aa7957641ad84c | package org.zstack.sdk;
import java.util.HashMap;
import java.util.Map;
import org.zstack.sdk.*;
public class GetMdevDeviceCandidatesAction extends AbstractAction {
private static final HashMap<String, Parameter> parameterMap = new HashMap<>();
private static final HashMap<String, Parameter> nonAPIParameter... | Java | sdk/src/main/java/org/zstack/sdk/GetMdevDeviceCandidatesAction.java | zstackorg/zstack | apache-2.0 | 3,089 | 105 | codeparrot/github-code |
089e284691e38bcd1d22dbd5bf5e588471d7967252ad4d48a665f3d875c33dad | /*
* Copyright 2014-2016 CyberVision, 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 o... | Java | client/client-multi/client-java-core/src/test/java/org/kaaproject/kaa/client/channel/DefaultMetaDataTransportTest.java | Oleh-Kravchenko/kaa | apache-2.0 | 2,140 | 54 | codeparrot/github-code |
a12a898c96fbed1a4398482bacd1daf8a31fb4825bb82521f59ace833b512684 | /*
* 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 | sdks/java/core/src/main/java/org/apache/beam/sdk/schemas/JavaFieldSchema.java | lukecwik/incubator-beam | apache-2.0 | 5,978 | 140 | codeparrot/github-code |
02b4b8c66be1aeacfbadefee3b4cda4811d75ff3a2fef8ee7ab9812239b03044 | package org.apache.ojb.otm;
/* Copyright 2002-2005 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... | Java | src/test/org/apache/ojb/otm/AddressDesc.java | kuali/ojb-1.0.4 | apache-2.0 | 2,031 | 101 | codeparrot/github-code |
02647c5a2bc38fa8984a66d1f665e6f419297b9cda02ad5d8cb55a3b6895592c | # ----------------------------------------------------------------------------
# Copyright 2014 Nervana 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
#
# http://www.apache.o... | Python | neon/models/model.py | ml-lab/neon | apache-2.0 | 2,293 | 67 | codeparrot/github-code |
cac5fd4a8d8af6744e48e39466fe3b07ad576af9cfd7a7585aad824b44112aac | /*
* Copyright 2000-2008 JetBrains s.r.o.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java | test/org/jetbrains/plugins/scala/lang/parser/ParserTest.java | triggerNZ/intellij-scala | apache-2.0 | 1,754 | 57 | codeparrot/github-code |
0a4b7279dd15bb47d8eea410967eb6e2f1e22fb69613ade147ba0f5068200b5c | <?php
final class ArcanistSettings extends Phobject {
private function getOptions() {
return array(
'default' => array(
'type' => 'string',
'help' => pht(
'The URI of a Phabricator install to connect to by default, if '.
'%s is run in a project without a Phabricator URI... | PHP | src/configuration/ArcanistSettings.php | aik099/arcanist | apache-2.0 | 10,787 | 344 | codeparrot/github-code |
6c9fb4a3192fb78ba7e24b58e79bc4fff99f21176ce3e35de575892696f89e22 | /*
* Copyright 2016 Google 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 required by appli... | Java | google-cloud-compute/src/test/java/com/google/cloud/compute/DiskTypeIdTest.java | shinfan/gcloud-java | apache-2.0 | 3,150 | 85 | codeparrot/github-code |
3e66e3c415aaec266ae76884ec510c24d5d96a5ef0f7bf4049519fd525600fa1 | /*
* Copyright 2014 Realm Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | Java | realm/realm-annotations-processor/src/test/resources/some/test/Simple.java | ShikaSD/realm-java | apache-2.0 | 1,975 | 85 | codeparrot/github-code |
7fa116e5d65da34bdf9dcbb9124f843aec9cd456634a10c8c3625c04c5abb2c6 | #! /usr/bin/env perl
# Copyright 2007-2016 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the OpenSSL license (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.org... | Perl | native_src/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/asm/sha1-armv4-large.pl | grpc/grpc-ios | apache-2.0 | 19,205 | 746 | codeparrot/github-code |
d4ed6fee60b11b47aebf2ca2944532b0a8828ad9886127db2282425622c89215 | /**
* 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 | smart-engine/src/main/java/org/smartdata/server/engine/cmdlet/agent/AgentCmdletService.java | duzhen1996/SSM | apache-2.0 | 2,338 | 72 | codeparrot/github-code |
5988cb8c300df7d7b4a854e25cc5e6bbc568a87263e29f16632856983ef3df1c | /*
* 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 | test/org/apache/pig/test/TestOptimizeLimit.java | hxquangnhat/PIG-ROLLUP-MRCUBE | apache-2.0 | 10,551 | 265 | codeparrot/github-code |
39926333ec6cfcf1e774b226338081a151fafd2c229029b677aa89eb23f25668 | # Copyright (c) 2014 Hewlett-Packard Development Company, L.P.
# 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/LICEN... | Python | networking_vsphere/utils/vim_session.py | Mirantis/vmware-dvs | apache-2.0 | 4,940 | 146 | codeparrot/github-code |
1d34501395da6dbeeabb895a47a88bc27d4458136b263f698b252aca48b69764 | package com.capitalone.dashboard.collector;
import com.capitalone.dashboard.datafactory.versionone.VersionOneDataFactoryImpl;
import com.capitalone.dashboard.misc.HygieiaException;
import com.capitalone.dashboard.model.Collector;
import com.capitalone.dashboard.model.Feature;
import com.capitalone.dashboard.repository... | Java | versionone-feature-collector/src/main/java/com/capitalone/dashboard/collector/StoryDataClient.java | durgadeviramadoss/Hygieia | apache-2.0 | 9,990 | 298 | codeparrot/github-code |
be4721559d7d33044e8dc1187ab03a80ecd0c9c1387113f77b77b7bf1992e5bc | /*
* 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/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/PigCombiner.java | kexianda/pig | apache-2.0 | 11,890 | 295 | codeparrot/github-code |
42a18a65a61bba953ab5a90b874a64dbde32f4aa6780093a3bbbc1a4530b5733 | package cgeo.geocaching.brouter.core;
import cgeo.geocaching.brouter.mapaccess.OsmNode;
import cgeo.geocaching.brouter.mapaccess.OsmPos;
import cgeo.geocaching.brouter.util.CheapRulerHelper;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
/**
* Container for link between two Osm nod... | Java | main/src/cgeo/geocaching/brouter/core/OsmPathElement.java | tobiasge/cgeo | apache-2.0 | 3,053 | 115 | codeparrot/github-code |
5d3c34a627744f6a1578a67c0c61d309a0cc6414d17218f63da439750756e8ff | /*
Derby - Class org.apache.derby.iapi.services.classfile.Attributes
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... | Java | java/org.apache.derby.engine/org/apache/derby/iapi/services/classfile/Attributes.java | apache/derby | apache-2.0 | 1,410 | 55 | codeparrot/github-code |
a8314ca1ffc84d57f71494a2bd6b779fb5b93c7adda558d6e736a31edbe448de | /*
* 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 | src/main/scala/org/apache/spark/examples/pythonconverters/AvroConverters.scala | shenbaise/mltoy | apache-2.0 | 5,049 | 146 | codeparrot/github-code |
10bb3f909846193d028abf90875f23e734312230d584e46927b2a78d1cb669c0 | /*
* Copyright 2017 Ericsson
*
* 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... | JavaScript | openstack_dashboard/static/app/core/trunks/actions/create.action.service.js | openstack/horizon | apache-2.0 | 4,762 | 150 | codeparrot/github-code |
42a744740476c3bce697c8c38843289036072c03e2ef57d5af91c0ce41cef25e | // Copyright 2017 PingCAP, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | GO | store/tikv/split_region.go | yangwenmai/tidb | apache-2.0 | 2,019 | 68 | codeparrot/github-code |
ced0acf2d5de90d9cfa213cdef357511eea9cba634e63f13aea1c5515fb86f7e | /*
* Licensed to ElasticSearch and Shay Banon 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... | Java | src/main/java/org/elasticsearch/index/query/BoolFilterBuilder.java | speedplane/elasticsearch | apache-2.0 | 5,080 | 155 | codeparrot/github-code |
5ae613f89323f66751ac4ad842928e879d9572b1a620ecbec2f4ab9ff12f92d5 | /*
* Copyright (c) 2014-2021 by The Monix Project Developers.
* See the project homepage at: https://monix.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache... | Scala | monix-reactive/shared/src/test/scala/monix/reactive/internal/operators/MiscCompleteSuite.scala | monixio/monix | apache-2.0 | 1,966 | 68 | codeparrot/github-code |
afcf4e0c706c003602745bde119aec01076d8372515504b4a1d2f2cc7b146a21 | package generic
import (
"fmt"
"reflect"
)
type Map interface {
IsEmpty() bool
Count() int
Keys() []interface{}
Has(key interface{}) bool
Except(keys []interface{}) Map
IsNil(key interface{}) bool
NotNil(key interface{}) bool
Get(key interface{}) interface{}
Set(key interface{}, value interface{})
Delete(... | GO | utils/generic/map.go | markstgodard/cli | apache-2.0 | 2,916 | 149 | codeparrot/github-code |
c663dd0b6f4f4a22b4a94a72807ad10967ff0aedd41be9d389d32353f53eb172 | /*
* 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 not ... | Java | geode-core/src/main/java/org/apache/geode/cache/query/internal/parse/ASTLiteral.java | pdxrunner/geode | apache-2.0 | 8,844 | 253 | codeparrot/github-code |
bc478103d455382e00534ae1b7e62fee68df74261d6b650e1688c18ca936f3fc | #include "map/purchase.hpp"
#include "web_api/utils.hpp"
#include "platform/http_client.hpp"
#include "platform/platform.hpp"
#include "coding/serdes_json.hpp"
#include "coding/sha1.hpp"
#include "coding/writer.hpp"
#include "base/assert.hpp"
#include "base/logging.hpp"
#include "base/stl_helpers.hpp"
#include "bas... | C++ | map/purchase.cpp | darina/omim | apache-2.0 | 12,301 | 399 | codeparrot/github-code |
00522b9355e2f61fe50382f1edd6b6112aa1571fd5068d56518f62be3bcfffec | <!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="JsDoc To... | HTML | docs/lib/symbols/google.system.core.InvalidCastException.html | gileze33/google-api-adwords-js | apache-2.0 | 12,728 | 419 | codeparrot/github-code |
c1464c962c1b246e305d4574f7e135a7927fc0a55d42b28bbe8bfcdb24f77c8d | /*
* Copyright (c) 2008-2018, Hazelcast, 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 required ... | Java | hazelcast/src/main/java/com/hazelcast/concurrent/atomiclong/operations/AtomicLongBackupAwareOperation.java | tufangorel/hazelcast | apache-2.0 | 1,288 | 48 | codeparrot/github-code |
d8db997d8d0a5d88c91c28f9d017d1356cf14c25d99110ba86971f956eeb1510 | /*
Copyright 2015 The Kubernetes 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 ag... | GO | ingress/controllers/nginx/nginx/main.go | k8s-packages-power/contrib | apache-2.0 | 2,608 | 108 | codeparrot/github-code |
e7ddb786517da00c2a13821ea3eadabebf07e982c9b7edde67fe6ea07dfe0a07 | /*
* 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/common/network/NetworkModule.java | strapdata/elassandra-test | apache-2.0 | 1,652 | 47 | codeparrot/github-code |
68377c7bf307047652b123c282e3f1df51d56aad81adc9d76ce977773a319d7b | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | Java | engine/src/main/java/org/camunda/bpm/engine/impl/form/handler/FormFieldValidationConstraintHandler.java | camunda/camunda-bpm-platform | apache-2.0 | 3,307 | 90 | codeparrot/github-code |
d7df22b84989ce0b69517341de1f32c764a3fbba296bcb525e1feffaa5173d10 | /** @file
@section license License
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, Versi... | C++ | plugins/experimental/remap_stats/remap_stats.cc | SolidWallOfCode/trafficserver | apache-2.0 | 8,599 | 270 | codeparrot/github-code |
23521658d699a267d0ced9f33950c17e9d0c79a245f83df029d494a9d87588af | /*
* 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 | server/src/main/java/org/elasticsearch/ingest/AbstractProcessor.java | gingerwizard/elasticsearch | apache-2.0 | 1,355 | 45 | codeparrot/github-code |
146be7257512c503cab05e29b671f4905b8f1f783502af8051b341e1a4bd8e88 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | modules/core/src/test/java/org/apache/ignite/platform/PlatformDeployServiceTask.java | NSAmelchev/ignite | apache-2.0 | 20,363 | 704 | codeparrot/github-code |
220a65fc9be35a77765fbac09e382b1a610878c8fa1df3a0674b819c177c73ed | from typing import Any, Dict, List
from django.utils.timezone import now as timezone_now
from zerver.data_import.import_util import build_user_profile
from zerver.models import UserProfile
class UserHandler:
'''
Our UserHandler class is a glorified wrapper
around the data that eventually goes into
z... | Python | zerver/data_import/hipchat_user.py | brainwane/zulip | apache-2.0 | 2,581 | 85 | codeparrot/github-code |
edf9caff80a247106048f5073b1368842e07ad90176630eb5b36aab454a1b906 | /*
* Copyright (c) 2015 Spotify AB.
*
* 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,... | Java | aggregation/cardinality/src/main/java/com/spotify/heroic/aggregation/cardinality/ReduceHyperLogLogPlusCardinalityBucket.java | lucilecoutouly/heroic | apache-2.0 | 2,636 | 88 | codeparrot/github-code |
40bd0f6babdaa5dc70eba164be4deafe2c0f9a47219c6908aec5825927073cb1 | package hip.ch4;
import org.apache.avro.Schema;
import org.apache.avro.file.DataFileWriter;
import org.apache.avro.generic.GenericData;
import org.apache.avro.generic.GenericDatumWriter;
import org.apache.avro.generic.GenericRecord;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
i... | Java | src/main/java/hip/ch4/AvroAccountFilesWrite.java | Hanmourang/hiped2 | apache-2.0 | 1,734 | 61 | codeparrot/github-code |
74fd508e35859cc364e6797b8ab8433a8e5d62b140ac58fe652aadc7135238ee | /*******************************************************************************
* Copyright (c) 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | Java | bps/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/expressions/AbstractExpressionEditor.java | chanakaudaya/developer-studio | apache-2.0 | 4,941 | 179 | codeparrot/github-code |
901be47686853d3b59b0833409d7eb8df8e0281d3bbd7de2cd2862f4ab2bc1e1 | /*
* 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/org/apache/harmony/security/fortress/Engine.java | JSDemos/android-sdk-20 | apache-2.0 | 7,771 | 212 | codeparrot/github-code |
c970bd1e17e9e3037ee2b7c103486b9c230bf29b14fced362e8b8acc8c4b8a88 | <header class="site-header" role="banner">
<script>
$(document).ready(function () {
// HEADER OPACITY LOGIC
function opacity_header() {
var value = "rgba(4,140,204," + ($(window).scrollTop() / 300 + 0.4) + ")"
$('.site-header').css("background-color", value)
}
$(window)... | HTML | docs/static_site/src/_includes/header.html | szha/mxnet | apache-2.0 | 5,121 | 108 | codeparrot/github-code |
7f20bcb455461ef880bf9ca3d088b9b376712e86fc5d7995c556d38b85a1737a | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Java | flink-table/flink-table-runtime-blink/src/test/java/org/apache/flink/table/dataformat/DecimalTest.java | fhueske/flink | apache-2.0 | 6,538 | 126 | codeparrot/github-code |
784ee95aacedc93a5885f0533405e0837fc66c28555b1b7291705c364a955da9 | /*
* Copyright 2010-2015 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... | Java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/transform/DeleteVpnGatewayRequestMarshaller.java | sdole/aws-sdk-java | apache-2.0 | 1,914 | 51 | codeparrot/github-code |
2264a40bc9872a479a021138fae25f6ab22deb2c6a9151c563cfb57511a514e6 | /**
* Created by Pasin Suriyentrakorn on 8/29/15.
* <p/>
* Copyright (c) 2015 Couchbase, Inc All rights reserved.
* <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://ww... | Java | src/main/java/com/couchbase/lite/support/action/Action.java | couchbase/couchbase-lite-java-core | apache-2.0 | 12,760 | 343 | codeparrot/github-code |
edb633d618630c3d8ca4ac1be4fd4852185980a41d6d7a16a69c916d292d1e86 | /*
Copyright 2012 The Camlistore Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | GO | pkg/sorted/postgres/postgreskv.go | mortenpi/camlistore | apache-2.0 | 4,168 | 144 | codeparrot/github-code |
3dd773588ef31c079ef41b74a07dca829581baade00b5fcc64ae9f4716f15198 | /*
* Copyright 2014 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... | C | src/ngx_gzip_setter.h | 0x0mar/ngx_pagespeed | apache-2.0 | 3,584 | 126 | codeparrot/github-code |
811de62f7708e8d10ba6119f87d1d3f316b583f194ea661b5a67d3b983de5ef4 | /*
Copyright 2014 The Kubernetes 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 ag... | GO | cmd/kubelet/app/plugins.go | whitmo/kubernetes | apache-2.0 | 3,498 | 78 | codeparrot/github-code |
ca7436b2232dcd1de2e13c9047133526425ced834af3662aaaf273f2f768f4cd | /*
* #%L
* Wisdom-Framework
* %%
* Copyright (C) 2013 - 2014 Wisdom Framework
* %%
* 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 | core/wisdom-api/src/test/java/org/wisdom/api/router/RawUriToRegexConversionTest.java | torito/wisdom | apache-2.0 | 7,603 | 190 | codeparrot/github-code |
2ccc96c6127149b721772a4a010620b5c3d71b0a8372e70c046ee4f1105e6545 | /*
* 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 | toStringBuilder/src/main/java/org/apache/commons/lang3/event/EventUtils.java | tdopires/cJUnit-mc626 | apache-2.0 | 5,958 | 132 | codeparrot/github-code |
8b8de7877dc92dbf744271eaec03e6d86f1678b3d453db5369b2010162f9a55b | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates.
*
* 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 | uberfire-extensions/uberfire-commons-editor/uberfire-commons-editor-client/src/main/java/org/uberfire/ext/editor/commons/client/htmleditor/HtmlEditorPresenter.java | karreiro/uberfire | apache-2.0 | 1,530 | 61 | codeparrot/github-code |
910b73912bb885e6d361f0260891a2246a5d51aa05dc7ac9c8d591deba1dc39e | package google
import (
"fmt"
"io/ioutil"
"net/url"
"regexp"
"strings"
"time"
"github.com/docker/machine/libmachine/log"
"github.com/docker/machine/libmachine/ssh"
raw "google.golang.org/api/compute/v1"
"errors"
"golang.org/x/oauth2"
"golang.org/x/oauth2/google"
"google.golang.org/api/googleapi"
)
// ... | GO | drivers/google/compute_util.go | xiaohui/machine | apache-2.0 | 9,561 | 402 | codeparrot/github-code |
f81ca55614ad91e6e8bd2f6cb55f30a1d08d6752373ab214d926e5347235b833 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef HeapAllocator_h
#define HeapAllocator_h
#include "platform/heap/Heap.h"
#include "platform/heap/Persistent.h"
#include "platform/heap/TraceTraits... | C | third_party/webrtc/include/chromium/src/third_party/WebKit/Source/platform/heap/HeapAllocator.h | ssaroha/node-webrtc | bsd-2-clause | 28,705 | 781 | codeparrot/github-code |
f8ea595f9951ab5092c7ff4b2e0819fa41c958f4378954bba095aba055ad678a | // #DROPZONE#
// This script implements the dropzone settings
/* globals Dropzone, django */
'use strict';
if (Dropzone) {
Dropzone.autoDiscover = false;
}
/* globals Dropzone, django */
django.jQuery(function ($) {
var dropzoneTemplateSelector = '.js-filer-dropzone-template';
var previewImageSelector = '... | JavaScript | data/static/filer/js/addons/dropzone.init.js | artcz/epcon | bsd-2-clause | 5,791 | 152 | codeparrot/github-code |
03ea8cab6c375b69e8aa23341b5545b3cb13d683e2cde2005e7eae31c9ec1329 | \hypertarget{namespacemotorcar}{\section{motorcar Namespace Reference}
\label{namespacemotorcar}\index{motorcar@{motorcar}}
}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item
class \hyperlink{classmotorcar_1_1Compositor}{Compositor}
\begin{DoxyCompactList}\small\item\em This class handles only the invoking the d... | TeX | doc/latex/namespacemotorcar.tex | d4l3k/motorcar | bsd-2-clause | 3,269 | 81 | codeparrot/github-code |
15450b706b5c13f33e0bcfc5b1440474e34b8db4da8d2bfecd0b5e8dd5354ae9 | class ZshCompletions < Formula
desc "Additional completion definitions for zsh"
homepage "https://github.com/zsh-users/zsh-completions"
url "https://github.com/zsh-users/zsh-completions/archive/0.31.0.tar.gz"
sha256 "6c1cccf6fd8c7d875145e357e3a46680b74013b6fc7b98724801126c072fc024"
head "https://github.com/zs... | Ruby | Formula/zsh-completions.rb | wolffaxn/homebrew-core | bsd-2-clause | 1,096 | 40 | codeparrot/github-code |
5490490257eb13c96c2edff12ed92ddddbb313bdc150e3b36fe80d2dd464cdca | package org.jcodec.movtool.streaming.tracks;
import java.io.IOException;
import java.nio.BufferOverflowException;
import java.nio.ByteBuffer;
import org.jcodec.codecs.h264.H264Encoder;
import org.jcodec.codecs.h264.H264Utils;
import org.jcodec.codecs.h264.encode.H264FixedRateControl;
import org.jcodec.codecs.h264.io.... | Java | src/main/java/org/jcodec/movtool/streaming/tracks/MPEGToAVCTranscoder.java | minseonahn/jcodec | bsd-2-clause | 3,716 | 108 | codeparrot/github-code |
2352d8216b2f62050e9ef35393d2bf83cc298f6051dc40408212323ca42b827a | /*
------- Strong random data generation on a Macintosh (pre - OS X) ------
-- GENERAL: We aim to generate unpredictable bits without explicit
user interaction. A general review of the problem may be found
in RFC 1750, "Randomness Recommendations for Security", and some
more discussion, of general and Mac-... | C++ | nginx/objs/lib/openssl-1.0.1g/MacOS/Randomizer.cpp | caidongyun/nginx-openresty-windows | bsd-2-clause | 17,300 | 477 | codeparrot/github-code |
bc9be8deee8674a6cfd02dbb5a730c1cabff7017514199dcddf7d69e78196773 | // Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-typedarray-typedarray
description: >
Use default ArrayBuffer constructor on undefined buffer.constructor.@@species
info: |
22.2.4.3 TypedArray ( typedArray )
T... | JavaScript | Jint.Tests.Test262/test/built-ins/TypedArrayConstructors/ctors-bigint/typedarray-arg/other-ctor-buffer-ctor-custom-species.js | sebastienros/jint | bsd-2-clause | 1,513 | 53 | codeparrot/github-code |
ee7219aec577d8d67220aaea207ce70fd36b425c8716ff659047ad2de4b24a07 | class Readline < Formula
desc "Library for command-line editing"
homepage "https://tiswww.case.edu/php/chet/readline/rltop.html"
url "https://ftp.gnu.org/gnu/readline/readline-7.0.tar.gz"
mirror "https://ftpmirror.gnu.org/readline/readline-7.0.tar.gz"
version "7.0.5"
sha256 "750d437185286f40a369e1e4f4764eda... | Ruby | Formula/readline.rb | phusion/homebrew-core | bsd-2-clause | 2,168 | 59 | codeparrot/github-code |
0123f076d15559910305c5bbecec7812a82768c239eda194477a1112f160394f | //===-- llc.cpp - Implement the LLVM Native Code Generator ----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C++ | llvm/tools/llc/llc.cpp | hoangt/ScaffCC | bsd-2-clause | 17,110 | 522 | codeparrot/github-code |
d30aaf436ee95e2269542de7da3001258b0b9f7c55588c52254a810470d707d8 | class Zookeeper < Formula
desc "Centralized server for distributed coordination of services"
homepage "https://zookeeper.apache.org/"
url "https://www.apache.org/dyn/closer.lua?path=zookeeper/zookeeper-3.5.7/apache-zookeeper-3.5.7.tar.gz"
mirror "https://archive.apache.org/dist/zookeeper/zookeeper-3.5.7/apache-... | Ruby | Formula/zookeeper.rb | aabdnn/homebrew-core | bsd-2-clause | 4,055 | 129 | codeparrot/github-code |
2bb4f815a006d48100176b97fbb0014880ad87879dc011beb71b4d06580df920 | /*
* Copyright 2019 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrQuadBuffer_DEFINED
#define GrQuadBuffer_DEFINED
#include "include/private/SkTDArray.h"
#include "src/gpu/geometry/GrQuad.h"
template<typename T>
class GrQuadBuffer {... | C | third_party/skia/src/gpu/geometry/GrQuadBuffer.h | endlessm/chromium-browser | bsd-3-clause | 15,473 | 370 | codeparrot/github-code |
5b4d65646d02aae4ec8427297c66e6c63c36bdf6ad1ffc4d123fbe2a6cf29ab1 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ScopedWindowFocusAllowedIndicator_h
#define ScopedWindowFocusAllowedIndicator_h
#include "core/dom/ContextLifecycleObserver.h"
#include "core/dom... | C | third_party/WebKit/Source/core/dom/ScopedWindowFocusAllowedIndicator.h | mxOBS/deb-pkg_trusty_chromium-browser | bsd-3-clause | 1,827 | 59 | codeparrot/github-code |
335d0ac5481103eccd87ef167744a56ce0fa99e8ae75340b0a02fe5f1d903d48 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.content.browser.input;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.ju... | Java | content/public/android/junit/src/org/chromium/content/browser/input/ThreadedInputConnectionTest.java | axinging/chromium-crosswalk | bsd-3-clause | 6,792 | 175 | codeparrot/github-code |
fef9538774ea8be344f098e61de3dae2156a730f945bd90cc8462ca7e28da0e3 | /*
* Copyright (c) 2016, InWorldz Halcyon Developers
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
... | C# | OpenSim/Grid/UserServer.Modules/JWTAuthenticator.cs | kf6kjg/halcyon | bsd-3-clause | 6,435 | 167 | codeparrot/github-code |
4755422c34788dc476bdb86a96aadacf2d79a0b8ed5f5b7733d76d8471da5a75 | package sflow
import (
"encoding/binary"
"errors"
"io"
"net"
)
var (
ErrNoSamplesProvided = errors.New("sflow: no samples provided for encoding")
)
type Encoder struct {
ip net.IP
subAgentId uint32
sequenceNum uint32
Uptime uint32
}
// NewEncoder returns a new sFlow encoder.
func NewEncoder(... | GO | encoder.go | Preetam/sflow | bsd-3-clause | 1,643 | 94 | codeparrot/github-code |
c263832a5ef0f55e8ca41e37d28c62be3364bb8f772a5acab13efb82fabe5baa | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | PHP | library/Zend/Form/Decorator/Description.php | lortnus/zf1 | bsd-3-clause | 5,279 | 200 | codeparrot/github-code |
845a412798b41f7b72516416e26ae4cddd9b53b95fd3bc9daf63d51435e9a06b | //
// MCOIMAPSession.h
// mailcore2
//
// Created by Matt Ronge on 1/31/13.
// Copyright (c) 2013 MailCore. All rights reserved.
//
#ifndef MAILCORE_MCOIMAPSESSION_H
#define MAILCORE_MCOIMAPSESSION_H
#import <Foundation/Foundation.h>
#import <MailCore/MCOConstants.h>
@class MCOIMAPFetchFoldersOperation;
@class ... | C | src/objc/imap/MCOIMAPSession.h | rlaferla/mailcore2 | bsd-3-clause | 28,942 | 712 | codeparrot/github-code |
d1de3736dc4bdf00041968ff0196f98eb7f82e922098da956047091552455084 | /* sbt -- Simple Build Tool
* Copyright 2010 Mark Harrah
*/
package sbt
import java.io.{File, PrintWriter}
final case class GlobalLogging(full: Logger, backed: ConsoleLogger, backing: GlobalLogBacking)
final case class GlobalLogBacking(file: File, last: Option[File], newLogger: (PrintWriter, GlobalLogBacking) => G... | Scala | util/log/src/main/scala/sbt/GlobalLogging.scala | harrah/xsbt | bsd-3-clause | 1,312 | 30 | codeparrot/github-code |
a3afbc094a2c0205c2354d33aa1c7499e213d4a3c695969ac28fdc666f122b0d | /*
* Copyright (c) 2008-2011 by Jan Stender,
* Zuse Institute Berlin
*
* Licensed under the BSD License, see LICENSE file for details.
*
*/
package org.xtreemfs.mrc.operations;
import org.xtreemfs.foundation.pbrpc.generatedinterfaces.RPC.POSIXErrno;
import org.xtreemfs.mrc.MRCRequest;
import org.x... | Java | java/servers/src/org/xtreemfs/mrc/operations/GetXLocListOperation.java | jswrenn/xtreemfs | bsd-3-clause | 3,874 | 104 | codeparrot/github-code |
cb72805671a1f4aa1fd3174a6f472710509c74db0aa4031ee7f0c66c1b487745 | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | C++ | modules/audio_device/ios/audio_device_ios.cc | AOSPU/external_chromium_org_third_party_webrtc | bsd-3-clause | 62,488 | 1,878 | codeparrot/github-code |
81170cdfac7f04bcd7d0580c9fc9c7dcb9d8908e1b8e62e550de244ced4d3511 | <?php
/**
* Pimcore
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://www.pimcore.org/license
*
* @category Pimcore
* @package Object
* @copyright Copyr... | PHP | pimcore/models/Object/Data/ObjectMetadata/Resource.php | yasarkunduz/pimcore | bsd-3-clause | 4,033 | 117 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.