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 |
|---|---|---|---|---|---|
/**
******************************************************************************
* @file stm32f7xx_hal_uart.c
* @author MCD Application Team
* @brief UART HAL module driver.
* This file provides firmware functions to manage the following
* functionalities of the Universal Asynchron... | mbedmicro/mbed | targets/TARGET_STM/TARGET_STM32F7/STM32Cube_FW/STM32F7xx_HAL_Driver/stm32f7xx_hal_uart.c | C | apache-2.0 | 119,588 |
/*
* Copyright 2000-2014 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... | akosyakov/intellij-community | plugins/gradle/src/org/jetbrains/plugins/gradle/action/GradleExecuteTaskAction.java | Java | apache-2.0 | 9,266 |
/*
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | mdeinum/spring-boot | spring-boot-project/spring-boot-cli/src/test/java/org/springframework/boot/cli/compiler/grape/AetherGrapeEngineTests.java | Java | apache-2.0 | 9,073 |
0.0.2 / 2012-12-12
==================
* fix single quotes
| tartanguru/alexa-google-search | src/node_modules/x-ray/node_modules/x-ray-parse/node_modules/format-parser/History.md | Markdown | apache-2.0 | 63 |
package x;
class Ref {
String ref;
void foo() {
String f= "blah" + "ref" + "blah" + "ref"+ref;
}
} | jwren/intellij-community | java/java-tests/testData/psi/search/findUsages/findUsagesMustNotSwallow/x/Ref.java | Java | apache-2.0 | 111 |
// Generated by esidl 0.2.1.
// This file is expected to be modified for the Web IDL interface
// implementation. Permission to use, copy, modify and distribute
// this file in any software license is hereby granted.
#ifndef ORG_W3C_DOM_BOOTSTRAP_FLOAT64ARRAYIMP_H_INCLUDED
#define ORG_W3C_DOM_BOOTSTRAP_FLOAT64ARRAYIM... | LambdaLord/es-operating-system | escort/src/typedarray/Float64ArrayImp.h | C | apache-2.0 | 1,558 |
/**
* 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... | sbyoun/i-mapreduce | src/contrib/hive/cli/src/java/org/apache/hadoop/hive/cli/MetadataProcessor.java | Java | apache-2.0 | 2,074 |
/*
* 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 ... | yelshater/hadoop-2.3.0 | spark-core_2.10-1.0.0-cdh5.1.0/src/main/scala/org/apache/spark/partial/ApproximateActionListener.scala | Scala | apache-2.0 | 3,425 |
/*
* Copyright 2013, Google Inc. 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 conditions ... | mdakin/engine | sky/engine/core/css/parser/CSSParserValuesTest.cpp | C++ | bsd-3-clause | 3,520 |
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Orchard.Med... | Cphusion/Orchard | src/Orchard.Web/Modules/Orchard.Media/Properties/AssemblyInfo.cs | C# | bsd-3-clause | 1,357 |
<!DOCTYPE html>
<meta charset="utf-8">
<title>Testing Available Space in Orthogonal Flows / ICB / tall height scroller</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
<link rel="help" href="https://www.w3.org/TR/css-writing-modes-3/#orthogonal-auto">
<link rel="match" href="referen... | chromium/chromium | third_party/blink/web_tests/external/wpt/css/css-writing-modes/available-size-009.html | HTML | bsd-3-clause | 2,372 |
using Orchard.ContentManagement.MetaData;
using Orchard.Data.Migration;
namespace Orchard.Search {
public class SearchDataMigration : DataMigrationImpl {
public int Create() {
SchemaBuilder.CreateTable("SearchSettingsPartRecord", table => table
.ContentPartRecord()
... | BankNotes/Web | src/Orchard.Web/Modules/Orchard.Search/Migrations.cs | C# | bsd-3-clause | 832 |
// Filename: littleEndian.h
// Created by: drose (09Feb00)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You should... | toontownfunserver/Panda3D-1.9.0 | include/littleEndian.h | C | bsd-3-clause | 1,195 |
// 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.
package org.chromium.chrome.browser.tab;
import android.test.suitebuilder.annotation.SmallTest;
import org.chromium.base.ThreadUtils;
import org.chromiu... | guorendong/iridium-browser-ubuntu | chrome/android/javatests_shell/src/org/chromium/chrome/browser/tab/SadTabTest.java | Java | bsd-3-clause | 1,799 |
// Filename: queuedConnectionListener.h
// Created by: drose (09Feb00)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license.... | matthiascy/panda3d | panda/src/net/queuedConnectionListener.h | C | bsd-3-clause | 2,475 |
/* http://localhost:1843/modern/theme-base/sass/src/scroll/Indicator.scss:1 */
.x-scroll-indicator {
position: absolute;
z-index: 3;
background-color: #000;
opacity: 0.5;
border-radius: 3px;
margin: 2px;
}
/* http://localhost:1843/modern/theme-base/sass/src/scroll/Indicator.scss:11 */
.x-scroll-... | sqlwang/DeviceManagementSystem | backend/webapp/ext/build/modern/theme-cupertino/resources/theme-cupertino-all-rtl-debug.css | CSS | bsd-3-clause | 157,783 |
// 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 ... | yesudeep/puppy | tools/google-closure-library/closure/goog/ui/popupmenu.js | JavaScript | mit | 15,404 |
# Symfony CMF Standard Edition
[](http://travis-ci.org/symfony-cmf/standard-edition)
[](https://packagist.org/packages/symfony-cmf/standard-edition)
[![... | GTheron/Clam | SYMFONY_CMF_README.md | Markdown | mit | 1,694 |
require 'test_helper'
class CreditCardTest < Test::Unit::TestCase
def setup
CreditCard.require_verification_value = false
@visa = credit_card("4779139500118580", :brand => "visa")
@solo = credit_card("676700000000000000", :brand => "solo", :issue_number => '01')
end
def teardown
CreditCard.req... | michaelherold/active_merchant | test/unit/credit_card_test.rb | Ruby | mit | 11,445 |
package aima.test.core.unit.probability.full;
import org.junit.Test;
import aima.core.probability.example.FullJointDistributionBurglaryAlarmModel;
import aima.core.probability.example.FullJointDistributionMeningitisStiffNeckModel;
import aima.core.probability.example.FullJointDistributionPairFairDiceModel;
import aim... | Iroxsmyth/Brisca-AI-2017 | src/test/java/aima/test/core/unit/probability/full/FullJointProbabilityModelTest.java | Java | mit | 2,305 |
module Arel
module Visitors
class Oracle12 < Arel::Visitors::ToSql
private
def visit_Arel_Nodes_SelectStatement o, collector
# Oracle does not allow LIMIT clause with select for update
if o.limit && o.lock
raise ArgumentError, <<-MSG
'Combination of limit and loc... | afuerstenau/daily-notes | vendor/cache/ruby/2.5.0/gems/arel-7.1.4/lib/arel/visitors/oracle12.rb | Ruby | mit | 1,744 |
require 'spec_helper'
describe Mailboxer do
it "should be valid" do
Mailboxer.should be_a(Module)
end
end
| div/mailboxer | spec/mailboxer_spec.rb | Ruby | mit | 115 |
<?php
/**
* @package boot
*/
if(!defined('PHP_VERSION_ID')){
$version = PHP_VERSION;
/**
* For versions of PHP below 5.2.7, the PHP_VERSION_ID constant, doesn't
* exist, so this will just mimic the functionality as described on the
* PHP documentation
*
* @link http://php.net/manual/en/funct... | eliksir/norske-webapps | www/symphony/lib/boot/bundle.php | PHP | mit | 1,065 |
// Copyright 2006 The Closure Library 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 requ... | AndrewBarton/WebParrot | transcoders/traceur/third_party/closure-library/closure/goog/i18n/numberformat.js | JavaScript | mit | 23,292 |
/*
* nghttp2 - HTTP/2 C Library
*
* Copyright (c) 2014 Tatsuhiro Tsujikawa
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the ri... | wzyboy/nghttp2 | src/h2load_session.h | C | mit | 1,979 |
import { Platform, Dimensions } from "react-native";
import variable from "./../variables/platform";
const deviceHeight = Dimensions.get("window").height;
export default (variables = variable) => {
const theme = {
flex: 1,
height: Platform.OS === "ios" ? deviceHeight : deviceHeight - 20
};
return theme... | tilap/tilapp | tilapp/src/theme/components/Container.js | JavaScript | mit | 325 |
// -*-c++-*-
/*!
\file cooperative_action.h
\brief cooperative action type Header File.
*/
/*
*Copyright:
Copyright (C) Hidehisa AKIYAMA
This code is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation... | cowhi/HFO | src/chain_action/cooperative_action.h | C | mit | 5,877 |
using System;
public static class Program {
public static int F () {
return 1;
}
public static void Main (string[] args) {
switch (F()) {
case 1:
Console.WriteLine("1");
switch (F()) {
case 1:
Console... | acourtney2015/JSIL | Tests/SimpleTestCases/NestedSwitchStatement.cs | C# | mit | 884 |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/ex3ndr/Develop/actor-platform/actor-apps/core/src/main/java/im/actor/model/api/rpc/RequestTerminateSession.java
//
#ifndef _APRequestTerminateSession_H_
#define _APRequestTerminateSession_H_
#include "J2ObjC_header.h"
#include "im/actor/model... | TimurTarasenko/actor-platform | actor-apps/core-async-cocoa/src/im/actor/model/api/rpc/RequestTerminateSession.h | C | mit | 1,687 |
// Copyright (c) 2020-2021 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <streams.h>
#include <test/fuzz/FuzzedDataProvider.h>
#include <test/fuzz/fuzz.h>
#include <test/fuzz/util.h>
#incl... | bitcoin/bitcoin | src/test/fuzz/autofile.cpp | C++ | mit | 2,170 |
define("rollbar", [], function() { return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(in... | joeyparrish/cdnjs | ajax/libs/rollbar.js/2.3.1/rollbar.named-amd.js | JavaScript | mit | 149,943 |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkVisibilitySort.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software ... | byvernault/xnat_osirix_plugin | src/OsiriXAPI.framework/Versions/Current/Headers/vtkVisibilitySort.h | C | mit | 4,819 |
var reporter_1 = require('./reporter');
function isTS14(typescript) {
return !('findConfigFile' in typescript);
}
exports.isTS14 = isTS14;
function getFileName(thing) {
if (thing.filename)
return thing.filename; // TS 1.4
return thing.fileName; // TS 1.5
}
exports.getFileName = getFileName;
function... | Gabriel0402/learn-typescript | step_additional_gulp/node_modules/gulp-typescript/release/tsapi.js | JavaScript | mit | 3,515 |
/*
* Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | FauxFaux/jdk9-jaxws | src/jdk.xml.bind/share/classes/com/sun/xml/internal/rngom/digested/DXMLPrinter.java | Java | gpl-2.0 | 19,385 |
/* Test the `vst4u32' ARM Neon intrinsic. */
/* This file was autogenerated by neon-testgen. */
/* { dg-do assemble } */
/* { dg-require-effective-target arm_neon_ok } */
/* { dg-options "-save-temps -O0" } */
/* { dg-add-options arm_neon } */
#include "arm_neon.h"
void test_vst4u32 (void)
{
uint32_t *arg0_uint3... | SanDisk-Open-Source/SSD_Dashboard | uefi/gcc/gcc-4.6.3/gcc/testsuite/gcc.target/arm/neon/vst4u32.c | C | gpl-2.0 | 671 |
/*
* Page cache for QEMU
* The cache is base on a hash of the page address
*
* Copyright 2012 Red Hat, Inc. and/or its affiliates
*
* Authors:
* Orit Wasserman <owasserm@redhat.com>
*
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level director... | dslutz/qemu | migration/page_cache.c | C | gpl-2.0 | 4,555 |
var class_mix_e_r_p_1_1_net_1_1_schemas_1_1_core_1_1_data_1_1_get_inventory_account_id_procedure =
[
[ "GetInventoryAccountIdProcedure", "class_mix_e_r_p_1_1_net_1_1_schemas_1_1_core_1_1_data_1_1_get_inventory_account_id_procedure.html#a346f026be35152cad36078d0d03b8650", null ],
[ "GetInventoryAccountIdProcedur... | mixerp6/mixerp | docs/api/class_mix_e_r_p_1_1_net_1_1_schemas_1_1_core_1_1_data_1_1_get_inventory_account_id_procedure.js | JavaScript | gpl-2.0 | 1,599 |
using System;
using Server.Items;
namespace Server.Mobiles
{
[CorpseName( "a sentinel spider corpse" )]
public class SentinelSpider : BaseCreature
{
[Constructable]
public SentinelSpider() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a Sentinel spider";
Body = 20;
... | mithril52/Comraich | Scripts/Mobiles/Normal/SentinelSpider.cs | C# | gpl-2.0 | 1,981 |
/*
* domain_event.h: domain event queue processing helpers
*
* Copyright (C) 2012-2014 Red Hat, Inc.
* Copyright (C) 2008 VirtualIron
* Copyright (C) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser... | huzhengchuan/libvirt | src/conf/domain_event.h | C | gpl-2.0 | 11,481 |
#line 1 "rx-decode.opc"
/* -*- c -*- */
/* Copyright (C) 2012-2016 Free Software Foundation, Inc.
Contributed by Red Hat.
Written by DJ Delorie.
This file is part of the GNU opcodes library.
This library is free software; you can redistribute it and/or modify
it under the terms of the GNU General Publi... | swigger/gdb-ios | opcodes/rx-decode.c | C | gpl-2.0 | 485,336 |
// -*- c++ -*-
//
// Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
// University Research and Technology
// Corporation. All rights reserved.
// Copyright (c) 2004-2005 The University of Tennessee and The University
// of ... | mads-bertelsen/McCode | support/MacOSX/openmpi/10.9/openmpi-1.6.5/include/openmpi/ompi/mpi/cxx/exception.h | C | gpl-2.0 | 2,249 |
/* Copyright (c) 2011-2014, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | moongtaeng/android_kernel_pantech_ef56s | drivers/power/qpnp-bms.c | C | gpl-2.0 | 126,236 |
// $Id: SOCK_Netlink.h 80826 2008-03-04 14:51:23Z wotte $
//=============================================================================
/**
* @file SOCK_Netlink.h
*
* $Id: SOCK_Netlink.h 80826 2008-03-04 14:51:23Z wotte $
*
* @author Robert Iakobashvilli <coroberti@gmail.com>
* @author Raz Ben Yehuda <ra... | skyne/NeoCore | dep/ACE_wrappers/ace/SOCK_Netlink.h | C | gpl-2.0 | 2,521 |
source_sh ${srcdir}/emulparams/elf64btsmip.sh
source_sh ${srcdir}/emulparams/elf_fbsd.sh
OUTPUT_FORMAT="elf64-tradbigmips-freebsd"
BIG_OUTPUT_FORMAT="elf64-tradbigmips-freebsd"
LITTLE_OUTPUT_FORMAT="elf64-tradlittlemips-freebsd"
| mattstock/binutils-bexkat1 | ld/emulparams/elf64btsmip_fbsd.sh | Shell | gpl-2.0 | 229 |
"""Tables, Widgets, and Groups!
An example of tables and most of the included widgets.
"""
import pygame
from pygame.locals import *
# the following line is not needed if pgu is installed
import sys; sys.path.insert(0, "..")
from pgu import gui
# Load an alternate theme to show how it is done. You can also
# speci... | danstoner/python_experiments | pgu/examples/gui5.py | Python | gpl-2.0 | 1,996 |
/***
This file is part of systemd.
Copyright 2010 Lennart Poettering
systemd is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later ve... | mbiebl/systemd | src/basic/extract-word.c | C | gpl-2.0 | 11,544 |
/*
* acsi_slm.c -- Device driver for the Atari SLM laser printer
*
* Copyright 1995 Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive for
* more details.
*
*... | jmesmon/linux-2.4.37.y | drivers/block/acsi_slm.c | C | gpl-2.0 | 26,681 |
<?php // $Id: user_bulk_display.php,v 1.1.2.1 2007/11/13 09:02:12 skodak Exp $
require_once('../../config.php');
require_once($CFG->libdir.'/adminlib.php');
$sort = optional_param('sort', 'fullname', PARAM_ALPHA);
$dir = optional_param('dir', 'asc', PARAM_ALPHA);
admin_externalpage_setup('userbulk');
$return = $CF... | damasiorafael/inppnet | cursos/admin/user/user_bulk_display.php | PHP | gpl-2.0 | 2,415 |
<?php // $Id$
/**#@+
* Authorize.net payment methods.
*
* Credit Card (cc)
* eCheck (echeck)
*/
define('AN_METHOD_CC', 'cc');
define('AN_METHOD_ECHECK', 'echeck');
/**#@-*/
/**#@+
* Order status used in enrol_authorize table.
*
* NONE: New order or order is in progress. TransactionID hasn't received yet.
... | XSCE/moodle-xs | enrol/authorize/const.php | PHP | gpl-2.0 | 3,275 |
/* { dg-compile } */
typedef int __attribute__((vector_size(16))) v4si;
typedef float __attribute__((vector_size(16))) v4sf;
v4si
toint (v4sf a)
{
v4si out = (v4si){ (int)a[0], (int)a[1], (int)a[2], (int)a[3] };
return out;
}
/* { dg-final { scan-assembler-times "vcfeb\t%v24,%v24,0,5" 1 } } */
v4sf
tofloat (v4s... | Gurgel100/gcc | gcc/testsuite/gcc.target/s390/arch13/fp-signedint-convert-1.c | C | gpl-2.0 | 488 |
/*--------------------------------------------------------------------*/
/*--- Platform-specific syscalls stuff. syswrap-ppc32-linux.c ---*/
/*--------------------------------------------------------------------*/
/*
This file is part of Valgrind, a dynamic binary instrumentation
framework.
Copyright (... | svn2github/Valgrind3 | coregrind/m_syswrap/syswrap-ppc32-linux.c | C | gpl-2.0 | 43,702 |
/*
* This file is part of libbluray
* Copyright (C) 2010 William Hahne
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) a... | xucp/mpc_hc | src/thirdparty/LAVFilters/src/libbluray/src/libbluray/bdj/java/org/bluray/ti/PlayItem.java | Java | gpl-3.0 | 979 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | thinkyhead/Marlin | Marlin/src/pins/ramps/pins_FELIX2.h | C | gpl-3.0 | 1,688 |
/*
* 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... | liyouchang/webrtc-qt | webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_masking_model.h | C | gpl-3.0 | 2,827 |
/* God I hate Microsoft! */
#header #cart {
width: 400px;
}
#header #cart .heading {
position: relative;
right: 172px;
margin-right: 0px;
}
#header #cart .content {
}
.success, .warning, .attention, .information {
position: relative;
}
.success .close, .warning .close, .attention .close, .information .close {
... | atpshxc/shcoyee | mobile/catalog/view/theme/new/stylesheet/ie7.css | CSS | gpl-3.0 | 419 |
/**
* Copyright (C) 2009, 2010 SC 4ViewSoft SRL
*
* 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... | pabloem/Anki-Android | src/org/achartengine/util/IndexXYMap.java | Java | gpl-3.0 | 2,564 |
.tipsy {
padding: 5px;
position: absolute;
z-index: 100000;
cursor: default;
}
.tipsy-inner {
padding: 5px 8px 4px 8px;
/*background-color: #e8f2f8;*/
background-color: #fff;
border: solid 1px #a7d7f9;
color: #000;
max-width: 15em;
border-radius: 4px;
/*
-moz-box-shadow: 0px 2px 8px #cccccc;
-webkit-box-s... | Electro-Light/ElectroLight-WebSite | wiki/resources/src/jquery.tipsy/jquery.tipsy.css | CSS | gpl-3.0 | 1,539 |
-----------------------------------
-- Area: Lufaise Meadows
-- NPC: Jemmoquel, R.K.
-- Outpost Conquest Guards
-- @pos -542.418 -7.124 -53.521 24
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");... | nesstea/darkstar | scripts/zones/Lufaise_Meadows/npcs/Jemmoquel_RK.lua | Lua | gpl-3.0 | 3,331 |
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<script src="/resources/testharness.js"></script>
<title>Restrictions on return value from `async_test`</title>
</head>
<body>
<script>
function makeTest(...bodies) {
const closeScript = '<' + '/script>';
let src = `
<!DOCTYPE HTML>
<html>
<head>
<title>Doc... | asajeffrey/servo | tests/wpt/web-platform-tests/resources/test/tests/unit/async-test-return-restrictions.html | HTML | mpl-2.0 | 3,823 |
class ChangeCountsOnImports < ActiveRecord::Migration
def change
change_table :imports do |t|
t.remove :success_count
t.remove :fail_count
t.integer :row_count, default: 0
end
end
end
| davidleach/onebody | db/migrate/20150827000058_change_counts_on_imports.rb | Ruby | agpl-3.0 | 214 |
/*
* ProActive Parallel Suite(TM):
* The Open Source library for parallel and distributed
* Workflows & Scheduling, Orchestration, Cloud Automation
* and Big Data Analysis on Enterprise Grids & Clouds.
*
* Copyright (c) 2007 - 2017 ActiveEon
* Contact: contact@activeeon.com
*
* This library is free software: y... | laurianed/scheduling | rest/rest-cli/src/main/java/org/ow2/proactive_grid_cloud_portal/cli/cmd/rm/GetTopologyCommand.java | Java | agpl-3.0 | 2,520 |
/*
* Copyright (C) 2015 Dato, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distribu... | fmacias64/Dato-Core | src/fault/query_object.hpp | C++ | agpl-3.0 | 6,813 |
--?!MAP=556
assert(include("SethekkHalls.lua") , "Failed to load SethekkHalls.lua")
local mod = require("DUNGEON_AUCHINDOUN.INSTANCE_SETHEKK_HALLS")
assert(mod)
module(mod._NAME..".DARKWEAVER_SYTH",package.seeall)
local self = getfenv(1)
function OnCombat(unit,_,mTarget)
self[tostring(unit)] = {
shock = math.random... | arcemu-ng/arcemu | src/scripts/lua/LuaBridge/AUCHINDOUN/SETHEKK_HALLS/syth.lua | Lua | agpl-3.0 | 4,429 |
/**
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER within this package.
*/
#ifndef _SYSTEMTOPOLOGY_H_
#define _SYSTEMTOPOLOGY_H_
#include <apiset.h>
#include <apisetcconv.h>
#include <minwindef.h>
#include <minwinbase.h>
#ifdef __cplusplus
extern "C" {
#e... | sdlBasic/sdlbrt | win32/mingw/i686-w64-mingw32/include/systemtopologyapi.h | C | lgpl-2.1 | 641 |
// This line keeps the nasty error message away (FireFox Bug)
//DWREngine.setMethod(DWREngine.IFrame);
var wsNamesMap = {};
function setFavourite(name, type, image){
var img = image.src;
var isFavourite;
if (img.substring(img.length-12, img.length) == 'unactive.gif') {
isFavourite = false;
} e... | JoeCarlson/intermine | intermine/webapp/main/resources/webapp/js/imdwr.js | JavaScript | lgpl-2.1 | 32,913 |
/*
Copyright (C) 2005, 2005 Alexander Kellett <lypanov@kde.org>
2008 Rob Buis <buis@kde.org>
This file is part of the WebKit project
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by t... | pocketbook-free/browser | webkit-1.2.5/WebCore/svg/SVGImageLoader.cpp | C++ | lgpl-2.1 | 1,812 |
/*
* 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 ... | adessaigne/camel | components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/SpringAdviceWithTwoRoutesContextScopedOnExceptionTest.java | Java | apache-2.0 | 1,462 |
/*
Copyright 2012 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 in writing, software
di... | ginabythebay/camlistore | pkg/throttle/throttle.go | GO | apache-2.0 | 2,800 |
/**
* Copyright (c) 2014, 2016, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
"use strict";var l={"SPM":["SPM","Saint-Pierre en Miquelon"],"CYM":["CYM","Caymaneilanden"],"DOM":["DOM","Dominicaanse Republiek"],"VGB":["VGB","Maagdeneilanden, V.K."],"TCA":["TCA","Turks- en Caico... | JDT2016-Hackathon/hr | src/main/resources/static/js/libs/oj/v2.0.1/resources/internal-deps/dvt/thematicMap/resourceBundles/NorthAmericaCountriesBundle_nl.js | JavaScript | apache-2.0 | 676 |
// @strict: true
// Repro from #20196
type A = {
a: (x: number) => string
};
type B = {
a: (x: boolean) => string
};
function call0(p: A | B) {
p.a("s"); // Error
}
function callN<T extends A | B>(p: T) {
p.a("s"); // Error
var a: T["a"] = p.a;
a(""); // Error
a("", "", "", "")... | domchen/typescript-plus | tests/cases/compiler/functionCallOnConstrainedTypeVariable.ts | TypeScript | apache-2.0 | 333 |
/* Prefer faster, non-thread-safe stdio functions if available.
Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify | retrography/scancode-toolkit | tests/cluecode/data/ics/bison-lib/unlocked-io.h | C | apache-2.0 | 208 |
/*
* Copyright 2016-present 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 appli... | donNewtonAlpha/onos | apps/test/flow-perf/src/main/java/org/onosproject/flowperf/package-info.java | Java | apache-2.0 | 717 |
package com.thinkaurelius.titan.graphdb.schema;
import com.thinkaurelius.titan.core.Cardinality;
import com.thinkaurelius.titan.core.Multiplicity;
import org.apache.tinkerpop.gremlin.structure.Direction;
/**
* @author Matthias Broecheler (me@matthiasb.com)
*/
public abstract class RelationTypeDefinition extends Sch... | CYPP/titan | titan-core/src/main/java/com/thinkaurelius/titan/graphdb/schema/RelationTypeDefinition.java | Java | apache-2.0 | 785 |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.Owin.Host.HttpListener.RequestProcessing
{
internal sealed partial c... | HongJunRen/katanaproject | src/Microsoft.Owin.Host.HttpListener/RequestProcessing/CallEnvironment.cs | C# | apache-2.0 | 4,376 |
// 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 CSSTokenizer_h
#define CSSTokenizer_h
#include "core/CoreExport.h"
#include "core/css/parser/CSSParserToken.h"
#include "core/html/parser/InputSt... | zero-rp/miniblink49 | third_party/WebKit/Source/core/css/parser/CSSTokenizer.h | C | apache-2.0 | 3,601 |
-include ../tools.mk
all: $(call STATICLIB,foo) $(call STATICLIB,bar)
$(RUSTC) main.rs
$(call RUN,main)
| Ryman/rust | src/test/run-make/no-duplicate-libs/Makefile | Makefile | apache-2.0 | 108 |
using System;
using System.Diagnostics;
using System.Resources;
using System.Windows;
using System.Windows.Markup;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using TwoButtons.WinPhone.Resources;
namespace TwoButtons.WinPhone
{
public partial class App : Applicati... | YOTOV-LIMITED/xamarin-forms-book-preview-2 | Chapter06/TwoButtons/TwoButtons/TwoButtons.WinPhone/App.xaml.cs | C# | apache-2.0 | 9,050 |
/*
* Copyright 2000-2009 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... | ingokegel/intellij-community | java/java-psi-api/src/com/intellij/psi/PsiArrayInitializerMemberValue.java | Java | apache-2.0 | 1,101 |
/*
* 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 ... | AndreasAbdi/jackrabbit-oak | oak-remote/src/main/java/org/apache/jackrabbit/oak/remote/http/handler/SearchSpecificRevisionHandler.java | Java | apache-2.0 | 1,621 |
/*
* (C) 2007-2012 Alibaba Group Holding Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | fool-persen/Metamorphosis | metamorphosis-server-wrapper/src/main/java/com/taobao/metamorphosis/metaslave/SlaveZooKeeper.java | Java | apache-2.0 | 5,108 |
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright The ZAP Development Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ... | jorik041/zaproxy | src/org/zaproxy/zap/view/ContextCreateDialog.java | Java | apache-2.0 | 3,203 |
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | reem/rust | src/librustc/middle/traits/object_safety.rs | Rust | apache-2.0 | 13,456 |
class HerokuToolbelt < Formula
desc "Everything you need to get started with Heroku"
homepage "https://toolbelt.heroku.com/other"
url "https://s3.amazonaws.com/assets.heroku.com/heroku-client/heroku-client-3.37.1.tgz"
sha256 "a9d7ecface5363a945498b3d274533c4436c6f6529852939a0835620a415d420"
head "https://gith... | ingmarv/homebrew | Library/Formula/heroku-toolbelt.rb | Ruby | bsd-2-clause | 760 |
cask "rotki" do
version "1.23.0"
sha256 "ae2dd080a3ea85991dbf9a6efc2efe98ed6dae4774df4d3ca42f781c092d70d2"
url "https://github.com/rotki/rotki/releases/download/v#{version}/rotki-darwin_x64-v#{version}.dmg",
verified: "github.com/rotki/rotki/"
name "Rotki"
desc "Portfolio tracking and accounting tool"
... | nrlquaker/homebrew-cask | Casks/rotki.rb | Ruby | bsd-2-clause | 553 |
# simple __init__.py
from .pidSVG import *
| ptosco/rdkit | rdkit/sping/SVG/__init__.py | Python | bsd-3-clause | 44 |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Z... | altira/AltiraIDE | vendor/zendframework/zendframework/tests/ZendTest/Authentication/Adapter/Http/TestAsset/BasicAuthObjectResolver.php | PHP | bsd-3-clause | 1,126 |
#!/bin/bash
fw_depends crystal
crystal deps install
crystal server-postgres.cr &
| F3Community/FrameworkBenchmarks | frameworks/Crystal/moonshine/setup-postgres.sh | Shell | bsd-3-clause | 84 |
/*
This file is part of the Console++ by Ivan De Marino <http://ivandemarino.me>.
Copyright (c) 2014, Ivan De Marino <http://ivandemarino.me>
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redis... | mxOBS/deb-pkg_trusty_phantomjs | src/ghostdriver/third_party/console++.js | JavaScript | bsd-3-clause | 8,754 |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (C) International Business Machines Corp., 2000-2004
*/
/*
* Module: jfs_mount.c
*
* note: file system in transition to aggregate/fileset:
*
* file system mount is interpreted as the mount of aggregate,
* if not already mounted, and mount of the sin... | rperier/linux | fs/jfs/jfs_mount.c | C | gpl-2.0 | 12,627 |
<?php
namespace Guzzle\Tests\Service\Command\LocationVisitor\Response;
use Guzzle\Service\Description\Parameter;
use Guzzle\Http\Message\Response;
use Guzzle\Service\Command\LocationVisitor\Response\BodyVisitor as Visitor;
/**
* @covers Guzzle\Service\Command\LocationVisitor\Response\BodyVisitor
*/
class BodyVisit... | jiteshtandel/04CP018_no_son | wp-content/themes/getknowtion/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/BodyVisitorTest.php | PHP | gpl-2.0 | 678 |
//
// ExtraTrackDetailsPage.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright (C) 2008 Novell, Inc.
//
// 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 res... | mono-soc-2011/banshee | src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/ExtraTrackDetailsPage.cs | C# | mit | 5,525 |
/**
* This class should not be used directly by an application developer. Instead, use
* {@link Location}.
*
* `PlatformLocation` encapsulates all calls to DOM apis, which allows the Router to be platform
* agnostic.
* This means that we can have different implementation of `PlatformLocation` for the different
*... | bluejaye/test | node_modules/angular2/es6/prod/src/router/location/platform_location.js | JavaScript | mit | 1,264 |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Bundle\SecurityBundle\Tests\Functional;
use Symfony\Component\H... | gonzalovilaseca/symfony | src/Symfony/Bundle/SecurityBundle/Tests/Functional/SwitchUserTest.php | PHP | mit | 4,639 |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | shahabhijeet/azure-sdk-for-net | src/SDKs/RecoveryServices.SiteRecovery/Management.RecoveryServices.SiteRecovery/Generated/Models/ReplicationProviderSpecificSettings.cs | C# | mit | 1,032 |
// Copyright (c) 2018-2021 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <map>
#include <dbwrapper.h>
#include <index/blockfilterindex.h>
#include <node/blockstorage.h>
#include <util/syst... | sstone/bitcoin | src/index/blockfilterindex.cpp | C++ | mit | 16,767 |
!function ($) {
$(function(){
map = new GMaps({
div: '#gmap_geocoding',
lat: 40.0000,
lng: -100.0000,
zoom: 4
});
map.addMarker({
lat: 40.0000,
lng: -100.0000,
title: 'Marker',
infoWindow: {
content: 'Info content here...'
}
});
$('#geocoding_form').submit(function(e){
e... | seekmas/makoto.refactor | web/note/js/maps/demo.js | JavaScript | mit | 721 |
<?php
return array(
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of t... | dprevite/laravel.io | resources/lang/en/validation.php | PHP | mit | 4,406 |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | DheerendraRathor/azure-sdk-for-net | src/SDKs/Batch/DataPlane/Azure.Batch/GeneratedProtocol/Models/JobScheduleExistsOptions.cs | C# | mit | 6,898 |
<?php
namespace SMW\Tests\Utils;
/**
*
* @group SMW
* @group SMWExtension
*
* @license GNU GPL v2+
* @since 2.0
*/
class StringBuilder {
private $string = '';
/**
* @since 2.0
*/
public function addnewLine() {
$this->string = $this->string . "\n";
return $this;
}
/**
* @since 2.0
*/
publ... | owen-kellie-smith/mediawiki | wiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/StringBuilder.php | PHP | mit | 548 |
html {
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-family: sans-serif;
line-height: 1.15;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
-ms-overflow-style: scrollbar;
-webkit-tap-highlight-color: transparent;
}
*,
*::before,
*::after {
-webkit-box-sizing: inheri... | dennismoon/ng-mdbootstrap | src/vendor/bootstrap/css/bootstrap-reboot.css | CSS | mit | 4,590 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.