code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
/* Copyright 2018 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... | apark263/tensorflow | tensorflow/compiler/xla/service/gpu/cudnn_conv_algorithm_picker.h | C | apache-2.0 | 2,779 |
import { Http, Headers, Response, RequestOptions } from '@angular/http';
import { IConfig } from '../models/config.interface';
export class ConfigurationLoader {
private CONF: { [id: string] : IConfig } = {
"DEV": {
APP_URL: "http://localhost:3000/",
API_URL: "http://localhost:8089... | llarreta/larretasources | school-ui/src/main/webapp/src/app/services/configuration-loader.service.ts | TypeScript | apache-2.0 | 850 |
/*
* Copyright (c) 2008-2020, 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 ... | mdogan/hazelcast | hazelcast/src/test/java/com/hazelcast/spi/impl/operationservice/impl/Invocation_NestedRemoteTest.java | Java | apache-2.0 | 8,595 |
// 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.
package org.chromium.device.battery;
import org.chromium.base.Log;
import org.chromium.device.mojom.BatteryMonitor;
import org.chromium.device.mojom.Batt... | mogoweb/365browser | app/src/main/java/org/chromium/device/battery/BatteryMonitorImpl.java | Java | apache-2.0 | 2,111 |
/*
Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved.
The MySQL Connector/J is licensed under the terms of the GPLv2
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors.
There are special exceptions to the terms and conditions of the GPLv2 as it is appl... | shubhanshu-gupta/Apache-Solr | example/solr/collection1/lib/mysql-connector-java-5.1.32/src/com/mysql/jdbc/ResultSetMetaData.java | Java | apache-2.0 | 22,984 |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.10
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... | ryoenji/libgdx | extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/SWIGTYPE_p_btMatrix3x3.java | Java | apache-2.0 | 757 |
/*
* Copyright 2020 Spotify AB.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | spotify/scio | scio-elasticsearch/es7/src/main/scala/com/spotify/scio/elasticsearch/CoderInstances.scala | Scala | apache-2.0 | 3,702 |
## helm plugin list
list installed Helm plugins
### Synopsis
list installed Helm plugins
```
helm plugin list
```
### Options inherited from parent commands
```
--debug enable verbose output
--home string location of your Helm config. Overrides $HELM_HOME... | technosophos/k8s-helm | docs/helm/helm_plugin_list.md | Markdown | apache-2.0 | 938 |
/*
* 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... | davidkarlsen/camel | components/camel-cdi/src/test/java/org/apache/camel/cdi/test/InjectedEndpointTest.java | Java | apache-2.0 | 2,505 |
# Copyright 2017 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 applica... | chemelnucfin/tensorflow | tensorflow/python/autograph/impl/api_test.py | Python | apache-2.0 | 30,339 |
# Simple script used to easily search all packages in conda for their
# dependency requirements
# TODO also search through output of ldd
# TODO update conda info syntax for different channels
if [ -z "$CONDA_ROOT" ]; then
# TODO create our own environment
echo "Please set CONDA_ROOT so that I know where to search ... | xzturn/caffe2 | scripts/read_conda_versions.sh | Shell | apache-2.0 | 6,719 |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
export * from './slide-toggle-module';
export * from './slide-toggle';
export * from './mat-exports';
| tongpa/pypollmanage | pypollmanage/public/javascript/node_modules/@angular_ols/material/typings/slide-toggle/public_api.d.ts | TypeScript | apache-2.0 | 305 |
(function() {
function Message($firebaseArray) {
var ref = firebase.database().ref().child("messages");
var messages = $firebaseArray(ref);
return {
getByRoomId: function(roomId) {
return $firebaseArray(ref.orderByChild('roomId').equalTo(roomId));
}
};
}
... | benartw86/Bloc-Chat | dist/scripts/services/message.js | JavaScript | apache-2.0 | 429 |
<?php
/*
* 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 t... | googleapis/google-api-php-client-services | src/AlertCenter/MailPhishing.php | PHP | apache-2.0 | 2,507 |
package io.subutai.common.protocol;
import java.util.HashSet;
import java.util.Set;
import org.apache.commons.lang3.StringUtils;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.base.Preconditions;
import com.google.common.base.Strings;
/**
* P2P helper class
*/
public class P2PCon... | subutai-io/Subutai | management/server/subutai-common/src/main/java/io/subutai/common/protocol/P2PConnections.java | Java | apache-2.0 | 1,701 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.datastreams.rest;
import org.elasticsearch.cl... | nknize/elasticsearch | x-pack/plugin/data-streams/src/main/java/org/elasticsearch/xpack/datastreams/rest/RestPromoteDataStreamAction.java | Java | apache-2.0 | 1,299 |
/**
*
* Copyright 2003-2007 Jive Software 2020-2022 Florian Schmaus.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | igniterealtime/Smack | smack-extensions/src/main/java/org/jivesoftware/smackx/xdata/provider/DataFormProvider.java | Java | apache-2.0 | 19,524 |
// 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 w... | googleapis/go-genproto | googleapis/cloud/dialogflow/v2beta1/participant.pb.go | GO | apache-2.0 | 257,075 |
# Find nosetests; see shaderc_add_nosetests() from utils.cmake for opting in to
# nosetests in a specific directory.
if(NOT COMMAND find_host_package)
macro(find_host_package)
find_package(${ARGN})
endmacro()
endif()
if(NOT COMMAND find_host_program)
macro(find_host_program)
find_program(${ARGN})
endma... | antiagainst/shaderc | cmake/setup_build.cmake | CMake | apache-2.0 | 4,925 |
package com.sproutigy.commons.binary.impl;
import com.sproutigy.commons.binary.Binary;
import java.io.IOException;
import java.io.InputStream;
/**
* @author LukeAheadNET
*/
public abstract class AbstractStreamableBinary extends Binary {
public AbstractStreamableBinary() {
}
public AbstractStreamableB... | Sproutigy/Java-Commons-RawData | src/main/java/com/sproutigy/commons/binary/impl/AbstractStreamableBinary.java | Java | apache-2.0 | 1,186 |
/*
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 use this f... | miracl/amcl | version3/go/ROM_ANSSI_64.go | GO | apache-2.0 | 1,672 |
#pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_Mono_Security_Cryptography_SymmetricTrans1394030013.h"
// System.UInt32[]
struct UInt32U5BU5D_t59386216;
// System.Byte[]
struct ByteU5BU5D_t3397334013;
#ifdef... | WestlakeAPC/unity-game | Xcode Project/Classes/Native/mscorlib_System_Security_Cryptography_RijndaelTran1067822295.h | C | apache-2.0 | 8,451 |
using Aardvark.Base;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
// Important: .NET 4.5 contains full zip support.
namespace Aardvark.Base.Coder.Legacy
{
/// <summary>
/// Important: .NET 4.5 contains full zip support.
/// Read-Only access to ZipFiles.
/// </sum... | vrvis/aardvark.base | src/Aardvark.Base.IO/ZipFileContainer.cs | C# | apache-2.0 | 14,425 |
// SPDX-License-Identifier: Apache-2.0
// Copyright 2018 Authors of Cilium
package cmd
import (
"github.com/spf13/cobra"
)
// nodeCmd represents the node command
var nodeCmd = &cobra.Command{
Use: "node",
Short: "Manage cluster nodes",
}
func init() {
rootCmd.AddCommand(nodeCmd)
}
| tklauser/cilium | cilium/cmd/node.go | GO | apache-2.0 | 292 |
/*
* File: rtwtypes.h
*
* MATLAB Coder version : 2.6
* C/C++ source code generated on : 28-Aug-2015 10:33:25
*/
#ifndef __RTWTYPES_H__
#define __RTWTYPES_H__
#ifndef __TMWTYPES__
#define __TMWTYPES__
/*=======================================================================*
* Tar... | tn0432/ardrone2islabdriver | navdata_islab/transform_mag/rtwtypes.h | C | apache-2.0 | 4,905 |
/*
This file is part of the VRender library.
Copyright (C) 2005 Cyril Soler (Cyril.Soler@imag.fr)
Version 1.0.0, released on June 27, 2005.
http://artis.imag.fr/Members/Cyril.Soler/VRender
VRender is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as pub... | billhj/Etoile2015 | extern/QGLViewer/VRender/VRender.h | C | apache-2.0 | 3,902 |
/*
* 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 ... | ServiceComb/java-chassis | clients/service-center-client/src/main/java/org/apache/servicecomb/service/center/client/model/MicroserviceResponse.java | Java | apache-2.0 | 1,078 |
--TEST--
Decimal128: [basx055] strings without E cannot generate E in result
--DESCRIPTION--
Generated by scripts/convert-bson-corpus-tests.php
DO NOT EDIT THIS FILE
--FILE--
<?php
require_once __DIR__ . '/../utils/basic.inc';
$canonicalBson = hex2bin('180000001364000500000000000000000000000000303000');
$canonicalEx... | jmikola/mongo-php-driver | tests/bson-corpus/decimal128-4-valid-006.phpt | PHP | apache-2.0 | 1,056 |
/*
* Mesa 3-D graphics library
*
* Copyright (C) 1999-2008 Brian Paul All Rights Reserved.
*
* 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 l... | execunix/vinos | xsrc/external/mit/MesaLib/dist/src/mesa/swrast/s_depth.c | C | apache-2.0 | 23,229 |
/*
* Copyright (C) 2013 OTAPlatform
*
* 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... | kylinmoddev/android_packages_apps_KylinModUpdater | src/com/beerbong/otaplatform/ui/component/FolderPreference.java | Java | apache-2.0 | 6,741 |
import time
from headset import Headset
from stream import Stream
from common import Version, BytesStatus
class WirelessHeadset(Headset):
"""This class represents the wireless version of the mindwave
Args:
dev: device link
headset: the id of mindwave wireless version
It has the basic f... | jacquelinekay/gsoc-ros-neural | mindwave_driver/src/mindwave_driver/wireless_headset.py | Python | apache-2.0 | 2,166 |
// get the sample user connection
var connectionId = "cmis-sample-connection"
var cmisConnection = cmis.getConnection(connectionId)
if (cmisConnection == null) {
// if no connection exists, talk to the local server
cmisConnection = cmis.getConnection()
}
// get CMIS session
var cmisSession = cmisConnection.getSessio... | Alfresco/alfresco-ms-office-plugin | webscripts/org/alfresco/cmis/client/sample/cmisdocbrowser.get.js | JavaScript | apache-2.0 | 791 |
#!/usr/bin/python
#
# Copyright 2013 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 b... | caioserra/apiAdwords | tests/adspygoogle/dfp/dfp_utils_test.py | Python | apache-2.0 | 10,061 |
package io.searchbox.action;
import com.google.common.collect.LinkedHashMultimap;
import com.google.common.collect.Multimap;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import io.searchbox.annotations.JestId;
import io.searchbox.client.JestResult;
import io.search... | cogniteev/Jest | jest-common/src/main/java/io/searchbox/action/AbstractAction.java | Java | apache-2.0 | 10,395 |
# -*- coding: utf-8 -*-
"""Parser for Windows EventLog (EVT) files."""
import pyevt
from plaso import dependencies
from plaso.events import time_events
from plaso.lib import errors
from plaso.lib import eventdata
from plaso.lib import specification
from plaso.parsers import interface
from plaso.parsers import manager... | ostree/plaso | plaso/parsers/winevt.py | Python | apache-2.0 | 7,068 |
/*
* Copyright 2017 Rundeck, Inc. (http://rundeck.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | damageboy/rundeck | core/src/main/java/com/dtolabs/rundeck/core/execution/workflow/WorkflowStatusDataResult.java | Java | apache-2.0 | 811 |
#!/usr/bin/env python
"""A simple wrapper to send email alerts."""
from email import encoders
from email.mime.base import MIMEBase
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
import logging
import re
import smtplib
import socket
from grr.lib import config_lib
from grr.lib im... | pidydx/grr | grr/lib/email_alerts.py | Python | apache-2.0 | 5,328 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Thu Jan 18 00:59:44 GMT 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.apach... | apache/incubator-taverna-site | content/javadoc/taverna-server/org/apache/taverna/server/localworker/remote/class-use/RemoteFile.html | HTML | apache-2.0 | 13,384 |
/*
* Copyright 2011 CodeGist.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/licenses/LICENSE-2.0
*
* Unless required by applica... | kuFEAR/crest | core/src/main/java/org/codegist/crest/config/DefaultParamConfigBuilder.java | Java | apache-2.0 | 6,423 |
// Copyright 2018 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 applic... | GoogleCloudPlatform/google-cloud-visualstudio | GoogleCloudExtension/GoogleCloudExtensionUnitTests/Utils/ErrorHandlerUtilsTests.cs | C# | apache-2.0 | 3,965 |
<!-- This file is machine generated: DO NOT EDIT! -->
# Learn (contrib)
[TOC]
High level API for learning with TensorFlow.
## Estimators
Train and evaluate TensorFlow models.
- - -
### `class tf.contrib.learn.BaseEstimator` {#BaseEstimator}
Abstract BaseEstimator class to train and evaluate TensorFlow models.
C... | scenarios/tensorflow | tensorflow/g3doc/api_docs/python/contrib.learn.md | Markdown | apache-2.0 | 107,842 |
/** @file
GUID is for MTC variable.
Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found ... | google/google-ctf | third_party/edk2/MdeModulePkg/Include/Guid/MtcVendor.h | C | apache-2.0 | 952 |
# IMEI Module - Android [](http://gitt.io/component/ro.mihaiblaga.imei)
Titanium native module for getting a device's IMEI
## Usage
First, download a binary release from https://github.com/mihaiblaga89/ro.mihaiblaga.imei/blob/master/dist/ro.mihaiblaga.imei-android-1.1.0.zip
Then, ... | mihaiblaga89/ro.mihaiblaga.imei | documentation/index.md | Markdown | apache-2.0 | 1,512 |
/*
* 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 ... | zohar-mizrahi/flink | flink-runtime/src/test/java/org/apache/flink/runtime/jobgraph/JobTaskVertexTest.java | Java | apache-2.0 | 5,982 |
/**
* Copyright 2016 Netflix, Inc.
* <p/>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p/>
* http://www.apache.org/licenses/LICENSE-2.0
* <p/>
* Unless required by applicable law... | cs-ester-peixoto/docker-jenkins | hystrix-core/src/main/java/com/netflix/hystrix/metric/CachedValuesHistogram.java | Java | apache-2.0 | 5,382 |
define(
//begin v1.x content
{
"KES_symbol": "Ksh",
"USD_displayName": "Ndola ya Marekani",
"TZS_displayName": "Silingi ya Tanzania",
"ZMW_displayName": "Kwacha ya Zambia",
"MAD_displayName": "Dirham ya Moroko",
"NGN_displayName": "Naira ya Nijeria",
"ZWD_displayName": "Ndola ya Zimbabwe",
"SDG_displayName": "V... | abssi/poc-tijari | dojoLib/toolkit/dojo/dojo/cldr/nls/kam/currency.js | JavaScript | apache-2.0 | 2,324 |
package com.iauto.wlink.core.exception;
@SuppressWarnings("serial")
public class InvalidMessageRouterException extends MessageProcessException {
private static final String ERROR_CODE = "INVALID_MESSAGE_ROUTER";
public InvalidMessageRouterException() {
super( ERROR_CODE );
}
}
| xuxiaofei820825/wlink-server | wlink-core-integration-rabbitmq/src/main/java/com/iauto/wlink/core/exception/InvalidMessageRouterException.java | Java | apache-2.0 | 286 |
namespace Snippets4.Azure.Transports.AzureStorageQueues
{
using NServiceBus;
class Usage
{
public Usage()
{
#region AzureStorageQueueTransportWithAzure 5
Configure configure = Configure.With();
configure.UseTransport<AzureStorageQueue>();
#... | WojcikMike/docs.particular.net | Snippets/Snippets_4/Azure/Transports/AzureStorageQueues/Usage.cs | C# | apache-2.0 | 529 |
package org.jetbrains.plugins.scala.testingSupport.scalatest.scala2_11.scalatest2_2_1
import org.jetbrains.plugins.scala.SlowTests
import org.jetbrains.plugins.scala.testingSupport.scalatest.fileStructureView._
import org.junit.experimental.categories.Category
/**
* @author Roman.Shein
* @since 20.04.2015.
*/
@... | triplequote/intellij-scala | scala/scala-impl/test/org/jetbrains/plugins/scala/testingSupport/scalatest/scala2_11/scalatest2_2_1/Scalatest2_11_2_2_1_StructureViewTest.scala | Scala | apache-2.0 | 680 |
# Tensorflow Inception Model Chart
TensorFlow is an open source software library for numerical computation using data flow graphs.
* https://www.tensorflow.org/
My hope was to make TensorFlow more accessible by simplifying the following document -- https://tensorflow.github.io/serving/serving_inception.html
## Char... | GaneshSPatil/charts | incubator/tensorflow-inception/README.md | Markdown | apache-2.0 | 3,618 |
package com.beecavegames.poker.handlers;
import com.beecavegames.GameResponse;
import com.beecavegames.bjc.handlers.GameAction;
import com.beecavegames.common.TableException;
import com.beecavegames.dispatch.Param;
import com.beecavegames.poker.PokerTable;
import com.beecavegames.poker.PokerTablePlayer;
import lombok... | sgmiller/hiveelements | gameelements/src/main/java/poker/handlers/ImBackHandler.java | Java | apache-2.0 | 1,094 |
<!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" />
<title>XMLRendererTest xref</title>
<link type="text/c... | jasonwee/videoOnCloud | pmd/pmd-doc-5.5.1/xref-test/net/sourceforge/pmd/renderers/XMLRendererTest.html | HTML | apache-2.0 | 17,258 |
// Copyright 2012 the V8 project authors. 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 list of ... | mogoweb/webkit_for_android5.1 | v8/src/ast.h | C | apache-2.0 | 87,732 |
//
// MyScrollView.h
// MITMObjectSample
//
// Created by Георгий Малюков on 23.08.15.
// Copyright (c) 2015 Georgiy Malyukov. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MyScrollView : UIScrollView {
}
@end
| NRGRepo/MITMObject | Samples/MITMObjectSample/MITMObjectSample/Classes/View/MyScrollView.h | C | apache-2.0 | 250 |
/**
* Appcelerator Kroll - licensed under the Apache Public License 2
* see LICENSE in the root folder for details on the license.
* Copyright (c) 2009 Appcelerator, Inc. All Rights Reserved.
*/
#ifndef _APPLICATION_BINDING_H_
#define _APPLICATION_BINDING_H_
#include <kroll/kroll.h>
#include <map>
#include <vecto... | mital/kroll | modules/api/application_binding.h | C | apache-2.0 | 2,282 |
--TEST--
swoole_server: max_request
--SKIPIF--
<?php require __DIR__ . '/../include/skipif.inc'; ?>
--FILE--
<?php
require __DIR__ . '/../include/bootstrap.php';
use Swoole\Coroutine\Client;
use Swoole\Timer;
use Swoole\Event;
use Swoole\Server;
$pm = new SwooleTest\ProcessManager;
$counter = new swoole_atomic();
$p... | eaglewu/swoole | tests/swoole_server/max_request.phpt | PHP | apache-2.0 | 1,914 |
package fm.http.server
import scala.concurrent.{ExecutionContext, Future}
final class FilteredRequestRouterAndHandler(routerAndHandler: RequestRouterAndHandler, filter: RequestFilter) extends RequestRouterAndHandler {
final override def lookup(request: Request): Option[RequestHandler] = {
routerAndHandler.look... | frugalmechanic/fm-http | src/main/scala/fm/http/server/FilteredRequestRouterAndHandler.scala | Scala | apache-2.0 | 809 |
/**
* Copyright 2016 StreamSets Inc.
*
* Licensed under 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 Lice... | studanshu/datacollector | rabbitmq-lib/src/main/java/com/streamsets/pipeline/stage/destination/rabbitmq/Priority.java | Java | apache-2.0 | 1,434 |
/*
* Copyright (C) 2015 Square, 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 agre... | akshatknsl/keywhiz | server/src/main/java/keywhiz/service/daos/AclDAO.java | Java | apache-2.0 | 18,789 |
"""
(c) 2020 Kirk Byers <ktbyers@twb-tech.com>
(c) 2016 Elisa Jasinska <elisa@bigwaveit.org>
This file is part of Ansible
Ansible is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, ... | napalm-automation/napalm-ansible | napalm_ansible/modules/napalm_get_facts.py | Python | apache-2.0 | 9,930 |
package config
import (
"log"
"os"
"os/user"
"path/filepath"
"koding/klient/storage"
"koding/tools/util"
"github.com/boltdb/bolt"
)
// CurrentUser represents current user that owns the KD process.
//
// If the process was started with sudo, the CurrentUser represents
// the user that invoked sudo.
var Curren... | usirin/koding | go/src/koding/kites/config/cache.go | GO | apache-2.0 | 2,530 |
#!/bin/bash
# This file is sourced by build_crowbar.sh when you want to build Crowbar
# using Ubuntu 11.04 as the base OS. It includes all Ubuntu 11.04 specific
# build routines.
# OS information for the OS we are building crowbar on to.
OS=ubuntu
OS_VERSION=11.04
OS_TOKEN="$OS-$OS_VERSION"
OS_CODENAME=natty
. "$CR... | rhafer/crowbar | ubuntu-11.04-extra/build_lib.sh | Shell | apache-2.0 | 357 |
/*
Copyright 2016 Mozilla
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 distributed
u... | mozilla/tofino | app/ui/browser-modern/actions/page-actions.js | JavaScript | apache-2.0 | 4,988 |
package code
package model
import net.liftweb.mapper._
import net.liftweb.common._
import net.liftweb.sitemap.Loc._
import net.liftmodules.fobobs.mapper._
/**
* The singleton that has methods for accessing the database
*/
object User
extends User
with MetaMegaProtoUser[User]
with BootstrapMegaMetaProt... | karma4u101/FoBo-Demo | pimping-lift-advanced-bs3/src/main/scala/code/model/User.scala | Scala | apache-2.0 | 1,521 |
package org.springframework.security.oauth.consumer;
import java.util.HashMap;
import org.junit.Test;
import org.springframework.security.oauth.common.signature.HMAC_SHA1SignatureMethod;
import org.springframework.security.oauth.common.signature.SharedConsumerSecret;
import org.springframework.security.oauth.consumer... | semantico/spring-security-oauth | spring-security-oauth/src/test/java/org/springframework/security/oauth/consumer/TestGoogleOAuth.java | Java | apache-2.0 | 2,243 |
/**
* Copyright IBM Corp. 2016, 2018
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import React from 'react';
import { settings } from 'carbon-components';
const { prefix } = settings;
export default class TagSkeleton exte... | carbon-design-system/carbon-components-react | src/components/Tag/Tag.Skeleton.js | JavaScript | apache-2.0 | 431 |
/*
* CalendarService.java, Jun 30, 2014, izein
*
* Copyright (c) 2014 1&1 Internet AG, Karlsruhe. All rights reserved.
*/
/**
*
*/
package org.unitedinternet.cosmo.service;
import java.util.List;
import java.util.Map;
import java.util.Set;
import net.fortuna.ical4j.model.Calendar;
import net.fortuna.ical4j.m... | Eisler/cosmo | cosmo-api/src/main/java/org/unitedinternet/cosmo/service/CalendarService.java | Java | apache-2.0 | 2,346 |
/* TODO: CLEAN THIS SHIT UP
*
**/
function setupVoteClickHandlers() {
/**
* Assign click handlers to all voting buttons.
*/
$('.vote').click(function() {
var quote_id = $(this).data('quote_id');
var direction = '';
if($(this).attr('class').indexOf('down') >= 0) {
... | stesh/porick-flask | porick/static/js/voting.js | JavaScript | apache-2.0 | 3,009 |
// Copyright 2016 The Cockroach 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 ag... | cuongdo/cockroach | sql/returning.go | GO | apache-2.0 | 3,184 |
/*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... | lizhanhui/data_druid | processing/src/main/java/io/druid/segment/ZeroLongColumnSelector.java | Java | apache-2.0 | 1,383 |
package com.siberiadante.utilsample.adapter.widget;
import android.content.Context;
import android.view.ViewGroup;
import android.widget.TextView;
import com.siberiadante.androidutil.adapter.recycleradapter.SDBaseViewHolder;
import com.siberiadante.androidutil.adapter.recycleradapter.SDRecyclerViewAdapter;
import com... | SibreiaDante/SiberiaDanteLib | utilsample/src/main/java/com/siberiadante/utilsample/adapter/widget/SDRVAdapter.java | Java | apache-2.0 | 1,168 |
package cgeo.geocaching.utils;
import org.eclipse.jdt.annotation.NonNull;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.support.annotation.StringRes;
import java.io.File;
public class ShareUtils {
private ShareUtils() {
// utility class
}
... | SammysHP/cgeo | main/src/cgeo/geocaching/utils/ShareUtils.java | Java | apache-2.0 | 965 |
/*
* Copyright 2014 Open Networking Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | sonu283304/onos | core/common/src/test/java/org/onosproject/store/trivial/SimpleHostStore.java | Java | apache-2.0 | 9,200 |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | cedral/aws-sdk-cpp | aws-cpp-sdk-health/source/model/DescribeEventTypesRequest.cpp | C++ | apache-2.0 | 1,758 |
var echarts = require("../echarts");
var zrUtil = require("zrender/lib/core/util");
var axisPointerModelHelper = require("./axisPointer/modelHelper");
var axisTrigger = require("./axisPointer/axisTrigger");
require("./axisPointer/AxisPointerModel");
require("./axisPointer/AxisPointerView");
require("./axisPointer... | falost/falost.github.io | static/libs/echarts/lib/component/axisPointer.js | JavaScript | apache-2.0 | 1,704 |
package sangria.starWars
import sangria.execution.Executor
import sangria.marshalling.InputUnmarshaller
import sangria.schema._
import sangria.macros._
import sangria.starWars.TestSchema.{PrivacyError, StarWarsSchema}
import sangria.starWars.TestData.{CharacterRepo, FriendsResolver}
import sangria.util.FutureResultSup... | sangria-graphql/sangria | modules/core/src/test/scala/sangria/starWars/StarWarsQuerySpec.scala | Scala | apache-2.0 | 15,929 |
package net.stickycode.stereotype.primitive;
import net.stickycode.exception.PermanentException;
@SuppressWarnings("serial")
public class DataVolumesMustBeNaturalNumbersException
extends PermanentException {
public DataVolumesMustBeNaturalNumbersException(String value) {
super("Found '', but Data volumes m... | tectronics/stickycode | net.stickycode.stereotype/sticky-stereotype-primitive/src/main/java/net/stickycode/stereotype/primitive/DataVolumesMustBeNaturalNumbersException.java | Java | apache-2.0 | 427 |
/*
* Copyright 2000-2015 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... | msebire/intellij-community | platform/util/src/com/intellij/util/lang/MemoryResource.java | Java | apache-2.0 | 2,445 |
---
layout: vakit_dashboard
title: LOUISIANA, ABD için iftar, namaz vakitleri ve hava durumu - ilçe/eyalet seç
permalink: /ABD/LOUISIANA/BATON_ROUGE
---
<script type="text/javascript">
var GLOBAL_COUNTRY = 'ABD';
var GLOBAL_CITY = 'LOUISIANA';
var GLOBAL_STATE = 'BATON_ROUGE';
var lat = 72;
var lon = 21;
</s... | hakanu/iftar | _posts_/vakit/ABD/LOUISIANA/BATON_ROUGE/2017-02-01-BATON_ROUGE.markdown | Markdown | apache-2.0 | 330 |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | chiaming0914/awe-cpp-sdk | aws-cpp-sdk-apigateway/source/model/UpdateIntegrationResult.cpp | C++ | apache-2.0 | 3,871 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_162) on Fri Oct 11 15:55:39 PDT 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.apache.da... | DataSketches/DataSketches.github.io | api/pig/snapshot/apidocs/org/apache/datasketches/pig/hll/class-use/DataToSketch.html | HTML | apache-2.0 | 4,824 |
/*
* Copyright (C) 2015 Willi Ye
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | spezi77/KernelAdiutor-Mod | app/src/main/java/com/grarak/kerneladiutor/fragments/BaseFragment.java | Java | apache-2.0 | 2,105 |
<?php
/**
* This example gets custom targeting values for the given predefined custom
* targeting key. The statement retrieves up to the maximum page size limit of
* 500. To create custom targeting values, run
* CreateCustomTargetingKeysAndValuesExample.php. To determine which custom
* targeting keys exist, run Ge... | classano/googleads | examples/Dfp/v201403/CustomTargetingService/GetCustomTargetingValuesByStatementExample.php | PHP | apache-2.0 | 3,281 |
var searchData=
[
['num_5fof_5fetalon',['NUM_OF_ETALON',['../analizer_8h.html#a39d05713f9a15de04077b8bea7b13f44',1,'analizer.h']]],
['num_5fof_5fled',['NUM_OF_LED',['../analizer_8h.html#a2bdaf37b88fc3b0920fffa2b6166be22',1,'analizer.h']]],
['num_5fof_5fpoints',['NUM_OF_POINTS',['../analizer_8h.html#a864b43588aed0... | zvebabi/Analizer_LED_ms_HT | doxygen/html/search/defines_8.js | JavaScript | apache-2.0 | 362 |
function Node(id,_2,_3,_4,_5,_6,_7,_8,_9){
this.id=id;
this.pid=_2;
this.name=_3;
this.url=_4;
this.title=_5;
this.target=_6;
this.icon=_7;
this.iconOpen=_8;
this._io=_9||false;
this._is=false;
this._ls=false;
this._hc=false;
this._ai=0;
this._p;
}
function dTree(_a,_b){
this.config={target:null,folderLinks:true,useSel... | apache/cocoon | blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/dTree/dtree.js | JavaScript | apache-2.0 | 9,239 |
/* The following code was generated by JFlex 1.4.3 on 04/03/12 16:02 */
/**
* 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 fil... | apache/jena | jena-iri/src/main/java/org/apache/jena/iri/impl/LexerXHost.java | Java | apache-2.0 | 19,596 |
// Copyright 2014 the V8 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.
#include "src/code-factory.h"
#include "src/code-stubs.h"
#include "src/compilation-info.h"
#include "src/compiler.h"
#include "src/compiler/common-oper... | hkernbach/arangodb | 3rdParty/V8/v5.7.492.77/test/cctest/compiler/test-linkage.cc | C++ | apache-2.0 | 4,430 |
/**
* Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.market.curve.interpolator;
import static com.opengamma.strata.collect.TestHelper.assertSerialization;
import static org.testng.Assert.assertEquals;
imp... | jmptrader/Strata | modules/market/src/test/java/com/opengamma/strata/market/curve/interpolator/NaturalSplineCurveInterpolatorTest.java | Java | apache-2.0 | 3,461 |
"""Tests for the nut integration."""
import json
from unittest.mock import MagicMock, patch
from homeassistant.components.nut.const import DOMAIN
from homeassistant.const import CONF_HOST, CONF_PORT, CONF_RESOURCES
from homeassistant.core import HomeAssistant
from tests.common import MockConfigEntry, load_fixture
... | aronsky/home-assistant | tests/components/nut/util.py | Python | apache-2.0 | 1,446 |
/**
* easyXDM
* http://easyxdm.net/
* Copyright(c) 2009-2011, Øyvind Sean Kinsey, oyvind@kinsey.no.
*
* 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 wit... | stori-es/stori_es | dashboard/src/main/webapp/cors/easyXDM.min.js | JavaScript | apache-2.0 | 42,231 |
# -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2016-12-06 05:38
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api', '0002_hackathon_name'),
]
operations = [
migrations.AlterField(
... | andrewsosa/hackfsu_com | api/api/migrations/0003_auto_20161206_0538.py | Python | apache-2.0 | 458 |
/*
* ModSecurity, http://www.modsecurity.org/
* Copyright (c) 2015 - 2021 Trustwave Holdings, Inc. (http://www.trustwave.com/)
*
* 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
*
* If any of the fil... | SpiderLabs/ModSecurity | src/actions/no_audit_log.h | C | apache-2.0 | 1,152 |
/*
* 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 ... | shardingjdbc/sharding-jdbc | sharding-integration-test/sharding-jdbc-test/src/test/java/org/apache/shardingsphere/dbtest/cases/assertion/dml/DMLIntegrateTestCase.java | Java | apache-2.0 | 1,339 |
# 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... | nathanbjenx/cairis | cairis/core/ResponseParameters.py | Python | apache-2.0 | 1,469 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_45) on Tue Jul 28 07:43:47 CEST 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.togglz.core.metadata (T... | togglz/togglz-site | apidocs/2.2.0.Final/org/togglz/core/metadata/package-frame.html | HTML | apache-2.0 | 1,458 |
using Ploeh.AutoFixture;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Mendham.Testing.Builder.Test.TestObjects
{
[DefaultBuilder]
public class DerivedConstrainedInputObjectBuilder : Builder<DerivedConstrainedInputObject>
{
private strin... | Mendham/Mendham | test/Mendham.Testing.Builder.Test/TestObjects/DerivedConstrainedInputObjectBuilder.cs | C# | apache-2.0 | 1,114 |
//========================================================================
//
//File: $RCSfile: ShapeElement.java,v $
//Version: $Revision: 1.3 $
//Modified: $Date: 2013/01/10 22:43:53 $
//
//Copyright 2005-2014 Mentor Graphics Corporation. All rights reserved.
//
//=====================================... | HebaKhaled/bposs | src/com.mentor.nucleus.bp.ui.canvas.test/src/com/mentor/nucleus/bp/ui/canvas/test/model/ShapeElement.java | Java | apache-2.0 | 1,777 |
/* Copyright (C) 1996,1997,1998, 1999, 2000, 2001, 2002 UPM-CLIP */
#include "threads.h"
#include "datadefs.h"
#include "support.h"
#include "predtyp.h"
#include "task_areas.h"
#include "profile_defs.h"
#include <assert.h>
/* declarations for global functions accessed here */
#include "builtin_defs.h"
#include "wa... | leuschel/ecce | www/CiaoDE/ciao/engine/builtin.c | C | apache-2.0 | 6,235 |
/*
* 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... | saketh7/Jmeter | src/core/org/apache/jmeter/samplers/gui/AbstractSamplerGui.java | Java | apache-2.0 | 2,423 |
#ifndef __XN_PRIME_CLIENT_PROPS_H__
#define __XN_PRIME_CLIENT_PROPS_H__
#include <PrimeSense.h>
enum
{
/**** Device properties ****/
/* XnDetailedVersion, get only */
LINK_PROP_FW_VERSION = 0x12000001, // "FWVersion"
/* Int, get only */
LINK_PROP_VERSIONS_INFO_COUNT = 0x12000002, // "VersionsInfoCount"
/* Gene... | gaborpapp/Cinder-NI-nolibs | include/PSLink.h | C | apache-2.0 | 5,988 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.