max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
1,743 | <reponame>IamSaurabh1/taurus
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
public class NotJUnittest {
public static void main(String[] args) {
}
} | 102 |
1,085 | <gh_stars>1000+
/*
* Copyright (C) 2017-2019 Dremio Corporation
*
* 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... | 4,301 |
575 | <filename>third_party/blink/renderer/platform/widget/input/prediction/filter_factory.cc<gh_stars>100-1000
// Copyright 2019 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.
#include "third_party/blink/renderer/platform/wi... | 1,289 |
611 | <reponame>AdamRiddick/PowerBI-Developer-Samples
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
// ----------------------------------------------------------------------------
package com.encryptcredentialsample.... | 759 |
348 | {"nom":"Froncles","circ":"2ème circonscription","dpt":"Haute-Marne","inscrits":1166,"abs":695,"votants":471,"blancs":31,"nuls":14,"exp":426,"res":[{"nuance":"LR","nom":"<NAME>","voix":260},{"nuance":"FN","nom":"<NAME>","voix":166}]} | 92 |
560 | <gh_stars>100-1000
/*
* Copyright (c) 2015 <NAME> <<EMAIL>>
* All Rights Reserved.
*/
package me.zhanghai.android.douya.ui;
import android.content.Context;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewpager.widget.ViewPager;
import android.util.AttributeSet;
import ... | 452 |
1,799 | package io.cucumber.spring.beans;
import org.springframework.stereotype.Component;
import java.util.concurrent.atomic.AtomicLong;
@Component
public class Belly {
private static final AtomicLong counter = new AtomicLong(0);
private final long instanceId = counter.incrementAndGet();
private int cukes = ... | 192 |
368 | /*
Plugin-SDK (Grand Theft Auto San Andreas) source file
Authors: GTA Community. See more here
https://github.com/DK22Pac/plugin-sdk
Do not delete this comment block. Respect others' work!
*/
#include "CBulletTrace.h"
// Converted from thiscall void CBulletTrace::Update(void) 0x721D70
void CBulletTrace... | 140 |
348 | {"nom":"Roinville-sous-Dourdan","circ":"3ème circonscription","dpt":"Essonne","inscrits":975,"abs":549,"votants":426,"blancs":35,"nuls":8,"exp":383,"res":[{"nuance":"REM","nom":"M<NAME>","voix":208},{"nuance":"FI","nom":"Mme <NAME>","voix":175}]} | 99 |
338 | package demo.catalog.coursera.org.courserademoapp.view;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
import demo.catalog.coursera.org.courserademoapp.R;
import demo.catalog.coursera.o... | 360 |
1,014 | {
"IBS.LS": {
"short_name": "IBERSOL,SGPS",
"long_name": "<NAME>.",
"summary": "Ibersol, S.G.P.S., S.A., through its subsidiaries, operates a network of restaurant units in Portugal, Spain, Italy, and Angola. The company operates restaurant units under various brands, including Pizza Hut... | 516 |
2,260 | <reponame>ecameracci/GamePlay
// Autogenerated by gameplay-luagen
#ifndef LUA_MESHPART_H_
#define LUA_MESHPART_H_
namespace gameplay
{
void luaRegister_MeshPart();
}
#endif
| 75 |
12,278 | <filename>3rdParty/boost/1.71.0/libs/smart_ptr/test/lwm_win32_cs_test.cpp
//
// lwm_win32_cs_test.cpp
//
// Copyright 2017 <NAME>
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#if defined(_WIN32) || defi... | 186 |
4,812 | <reponame>medismailben/llvm-project<filename>llvm/include/llvm/ExecutionEngine/OrcV1Deprecation.h
//===------ OrcV1Deprecation.h - Memory manager for MC-JIT ------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license informati... | 271 |
1,350 | /**
* Copyright Microsoft Corporation
*
* 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... | 10,337 |
341 | package travel2.entity;
import lombok.Data;
import lombok.ToString;
import java.util.Date;
/**
* @author fdse
*/
@Data
@ToString
public class TripAllDetailInfo {
private String tripId;
private Date travelDate;
private String from;
private String to;
public TripAllDetailInfo() {
//D... | 128 |
2,107 | <filename>module/bdev/ocf/utils.h
/*-
* BSD LICENSE
*
* Copyright (c) Intel Corporation.
* 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... | 1,045 |
425 | {"Sections":[{"Errors":[],"SectionType":"entitySection","Id":"entitySection_deviceTemperature","Body":"","Name":"deviceTemperature","Type":"[p1; child2]","SynonymsOrPhraseList":[],"Range":{"Start":{"Line":1,"Character":0},"End":{"Line":2,"Character":4}}},{"Errors":[],"SectionType":"entitySection","Id":"entitySection_de... | 159 |
1,144 | <filename>backend/de.metas.business/src/main/java/de/metas/invoice/service/IInvoiceBL.java<gh_stars>1000+
package de.metas.invoice.service;
import de.metas.adempiere.model.I_C_InvoiceLine;
import de.metas.bpartner.BPartnerId;
import de.metas.currency.Amount;
import de.metas.currency.CurrencyPrecision;
import de.metas.... | 6,315 |
1,056 | /*
* 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 ... | 2,306 |
4,696 | <reponame>HackerMac/itstack-demo-design
package org.itstack.demo.design;
public interface LotteryService {
LotteryResult doDraw(String uId);
}
| 54 |
2,406 | # Copyright (C) 2018-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
import logging as log
from re import match
import numpy as np
try:
import tensorflow.compat.v1 as tf_v1
# disable eager execution of TensorFlow 2 environment immediately
tf_v1.disable_eager_execution()
except ImportError:
... | 4,837 |
14,668 | // Copyright 2021 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.
#include "chromeos/dbus/fwupd/fwupd_client.h"
#include "ash/constants/ash_features.h"
#include "base/files/scoped_file.h"
#include "base/memory/scoped_re... | 4,760 |
5,411 | /*
* Entropy Source Using Intel's rdrand instruction
* (C) 2012 <NAME>
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#ifndef BOTAN_ENTROPY_SRC_RDRAND_H_
#define BOTAN_ENTROPY_SRC_RDRAND_H_
#include <botan/entropy_src.h>
namespace Botan {
/**
* Entropy source using the rdrand instructio... | 215 |
3,690 | #include <iostream>
#include <vector>
#include "solution.h"
using std::vector;
using vecIter = vector<int>::iterator;
ListNode *createLinkedList(vecIter beg, vecIter end)
{
ListNode *head = beg == end ? NULL : new ListNode(*beg++);
for (ListNode *cur = head; beg != end; cur = cur->next)
cur->next = new... | 451 |
1,475 | <reponame>steve-sienk/geode
/*
* 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... | 980 |
2,200 | <reponame>ang-jason/fip_powerx_mini_projects-foxtrot
= nonsense =
| 29 |
366 | <filename>azure-iot-device/azure/iot/device/common/alarm.py
# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# -------------------------... | 444 |
1,343 | #ifndef ANIME4KCPP_CORE_CPU_ACNET_HPP
#define ANIME4KCPP_CORE_CPU_ACNET_HPP
#include"CPUACNetProcessor.hpp"
namespace Anime4KCPP::CPU
{
class AC_EXPORT ACNet;
}
class Anime4KCPP::CPU::ACNet :public AC
{
public:
explicit ACNet(const Parameters& parameters);
void setParameters(const Parameters& parameters)... | 272 |
1,587 | package io.reflectoring.solid.isp;
class BurgerOrder implements IOrder {
@Override
public void orderBurger(int quantity) {
}
@Override
public void orderFries(int fries) {
throw new UnsupportedOperationException("No fries in Burger only order");
}
}
| 94 |
488 | // Copyright 2005,2006,2007 <NAME>, <NAME>
// $Id: GrammarIr.h,v 1.3 2008-08-23 13:46:57 gergo Exp $
/**************************************************************
* Author: <NAME>, 2005 *
***************************************************************/
#ifndef GRAMMARIR_H
#define GRAMM... | 3,348 |
4,772 | package example.repo;
import example.model.Customer378;
import java.util.List;
import org.springframework.data.repository.CrudRepository;
public interface Customer378Repository extends CrudRepository<Customer378, Long> {
List<Customer378> findByLastName(String lastName);
}
| 83 |
1,771 | <filename>thulac/manage/Punctuation.py
#coding: utf-8
from ..base.Dat import Dat
class Punctuation():
def __init__(self, filename):
self.__pDat = Dat(filename)
def adjustSeg(self, sentence):
if(not self.__pDat):
return
tmpVec = []
for i in range(len(sentence)):
if(i>=len(sentence)):
break
tmp =... | 831 |
12,887 | package com.zhisheng.data.sources.utils;
import com.zhisheng.common.model.MetricEvent;
import com.zhisheng.common.utils.GsonUtil;
import org.apache.kafka.clients.producer.KafkaProducer;
import org.apache.kafka.clients.producer.ProducerRecord;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties... | 883 |
1,056 | <reponame>timfel/netbeans
/*
* 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.... | 564 |
655 | // Defines the class behaviors for the application.
#include <StdAfx.h>
#include <UI/MyWinApp.h>
#include <UI/ParentWnd.h>
#include <core/mapi/cache/mapiObjects.h>
#include <core/utility/import.h>
#include <UI/Dialogs/ContentsTable/MainDlg.h>
#include <UI/mapiui.h>
#include <core/utility/registry.h>
// The one and on... | 690 |
5,788 | /*
* 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 ... | 1,916 |
359 | from keras.layers import LSTM as KERAS_LSTM
from keras.layers import Dense, Dropout
from keras.models import Sequential
from keras.optimizers import Adam
import numpy as np
from .dnn import DNN
class LSTM(DNN):
def __init__(self, model: Sequential, trained: bool = False) -> None:
super(LSTM, self).__init__... | 880 |
352 | <filename>sagify/template/sagify_base/lambda/lambda_handler.py
import json
import os
import boto3
sagemaker_client = boto3.client('sagemaker-runtime', region_name=os.environ.get('REGION_NAME'))
sqs_client = boto3.client('sqs', region_name=os.environ.get('REGION_NAME'))
def lambda_handler(event, context):
record... | 441 |
679 | <reponame>Grosskopf/openoffice<filename>main/sc/source/ui/inc/scuiasciiopt.hxx
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional in... | 2,730 |
568 | <reponame>jgtaylor123/novoda_spikes
package com.novoda.todoapp.views;
import android.content.Context;
import android.content.res.TypedArray;
import android.support.annotation.LayoutRes;
import android.support.design.widget.AppBarLayout;
import android.util.AttributeSet;
import android.view.View;
import com.novoda.tod... | 381 |
2,151 | // Copyright 2017 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.profiling_host;
import android.support.test.filters.MediumTest;
import org.junit.Assert;
import org.junit.Before;
im... | 1,321 |
759 | <filename>Map3D/map3d_with_bar3d.py<gh_stars>100-1000
from pyecharts import options as opts
from pyecharts.charts import Map3D
from pyecharts.globals import ChartType
from pyecharts.commons.utils import JsCode
example_data = [
("黑龙江", [127.9688, 45.368, 100]),
("内蒙古", [110.3467, 41.4899, 300]),
("吉林", [125... | 1,473 |
3,428 | {"id":"02067","group":"easy-ham-1","checksum":{"type":"MD5","value":"4d2f2b0ae64c68570f08423ed43ce845"},"text":"From <EMAIL> Mon Sep 30 13:43:55 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: yyyy<EMAIL>assin.taint.org\nReceived: from localhost (jalapeno [127.0.0.1])\n\tby jmason.org (Postfix) with ESMTP id 1C00916F16\n\... | 717 |
8,428 | <reponame>vishalbelsare/PySyft<gh_stars>1000+
# stdlib
from typing import Any
from typing import Optional
# third party
from nacl.signing import SigningKey
# syft absolute
from syft.core.common.message import ImmediateSyftMessageWithReply
from syft.core.io.address import Address
from syft.core.node.common.action.exce... | 412 |
520 | <reponame>pauliacomi/CoolProp
import sys, os
import json, CoolProp, sys
CP = CoolProp.CoolProp
CP.set_config_bool(CP.DONT_CHECK_PROPERTY_LIMITS, True)
def inject_hsanchor(fluid, i, json_data):
Tanchor = 1.1 * CoolProp.CoolProp.PropsSI('Tcrit', fluid)
rhoanchor = 0.9 * CoolProp.CoolProp.PropsSI('rhomolar_crit... | 2,471 |
448 | <reponame>kongjianneu/CicadaPlayer<filename>framework/drm/WideVineDrmHandler.h
//
// Created by SuperMan on 11/27/20.
//
#ifndef SOURCE_WIDEVINEDRMHANDLER_H
#define SOURCE_WIDEVINEDRMHANDLER_H
#include <jni.h>
#include <mutex>
#include "DrmHandler.h"
#include "DrmHandlerPrototype.h"
#define SESSION_STATE_ERROR (-1)
... | 1,120 |
1,405 | <gh_stars>1000+
package com.lenovo.feedback2.message.protocol;
public interface HeaderNames {
int getProtocolVersion();
}
| 43 |
1,600 | // example adapted from
// http://www.openmp.org/wp-content/uploads/openmp-examples-4.5.0.pdf page 85
void long_running_task(){
// do something
};
void loop_body(int i, int j){
// do something
};
void parallel_work() {
int i, j;
#pragma omp taskgroup
{
#pragma omp task
long_running_task(); // can exe... | 240 |
585 | {
"documentation": "https://solr.apache.org/guide/metrics-reporting.html",
"description": "Metrics history handler allows retrieving samples of past metrics recorded in the .system collection.",
"methods": [
"GET"
],
"url": {
"paths": [
"/cluster/metrics/history"
],
"params": {
"ac... | 229 |
323 | # -*- coding: utf-8 -*-
"""
Azure Functions Blob Trigger Python Sample
- Reading Zip archived files from Azure Blob Storage
"""
import os
import zipfile
# Read Input Zip file given from ENV variable named 'inputBlob'
zippath=os.environ['inputBlob']
print("Zip File Path: {}".format(zipfilepath))
# Read text files in... | 271 |
1,893 | <reponame>malywonsz/txtai
"""
Factory module
"""
from .sqlite import SQLite
class DatabaseFactory:
"""
Methods to create document databases.
"""
@staticmethod
def create(config):
"""
Create a Database.
Args:
config: database configuration parameters
... | 331 |
1,544 | <filename>evennia/scripts/__init__.py
"""
This sub-package holds the Scripts system. Scripts are database
entities that can store data both in connection to Objects and Accounts
or globally. They may also have a timer-component to execute various
timed effects.
"""
| 68 |
589 | <filename>inspectit.server/src/test/java/rocks/inspectit/server/influx/builder/eum/EUMCachingParentPointBuilderTest.java
package rocks.inspectit.server.influx.builder.eum;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
import static org.mockito.Mockito.mock;
import st... | 4,165 |
887 | <reponame>traversaro/gazebo
/*
* Copyright (C) 2012 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 1,282 |
324 | /*
* 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 ... | 1,840 |
854 | /*
* This file is part of Kintinuous.
*
* Copyright (C) 2015 The National University of Ireland Maynooth and
* Massachusetts Institute of Technology
*
* The use of the code within this file and all code within files that
* make up the software that is Kintinuous is permitted for
* non-commercial purposes onl... | 4,471 |
679 | /**************************************************************
*
* 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 y... | 4,317 |
1,431 | #!/usr/bin/env python3
from powerdnsadmin import create_app
if __name__ == '__main__':
app = create_app()
app.run(debug = True, host=app.config.get('BIND_ADDRESS', '127.0.0.1'), port=app.config.get('PORT', '9191'))
| 93 |
892 | <reponame>westonsteimel/advisory-database-github<filename>advisories/unreviewed/2022/05/GHSA-ghvg-2p2w-w2hx/GHSA-ghvg-2p2w-w2hx.json
{
"schema_version": "1.2.0",
"id": "GHSA-ghvg-2p2w-w2hx",
"modified": "2022-05-01T07:19:23Z",
"published": "2022-05-01T07:19:23Z",
"aliases": [
"CVE-2006-4520"
],
"detai... | 716 |
1,350 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.eventhubs.generated;
import com.azure.core.util.Context;
import com.azure.resourcemanager.eventhubs.fluent.models.EHNamespaceInn... | 1,961 |
1,428 | <filename>C++/swap_pointer.cpp
#include<iostream>;
using namespace std;
void swap(int *p1,int *p2)
{
int c=*p2;
*p2=*p1;
*p1=c;
}
int main()
{int x1,x2;
cin>>x1>>x2;
int *p1=&x1;
int *p2=&x2;
swap(p1,p2);
cout<<"x1"<<x1<<endl;
cout<<"x2"<<x2<<endl;
}
| 168 |
4,879 | <reponame>kudlav/organicmaps
#include "shaders/vulkan_program_params.hpp"
#include "drape/vulkan/vulkan_base_context.hpp"
#include "drape/vulkan/vulkan_gpu_program.hpp"
#include "drape/vulkan/vulkan_utils.hpp"
namespace gpu
{
namespace vulkan
{
namespace
{
uint32_t constexpr kUniformBufferSizeInBytes = 16 * 1024;
Vu... | 3,457 |
1,406 | #!/usr/bin/env python
"""Simple tagger service using CoreNLP.
Author: <NAME> <<NAME> se>
Version: 2012-04-18
"""
from argparse import ArgumentParser
from cgi import FieldStorage
from http.server import BaseHTTPRequestHandler, HTTPServer
from os.path import join as path_join
from os.path import dirname
from... | 997 |
348 | <filename>docs/data/leg-t2/014/01406559.json<gh_stars>100-1000
{"nom":"Saint-Aubin-des-Bois","circ":"6ème circonscription","dpt":"Calvados","inscrits":197,"abs":104,"votants":93,"blancs":3,"nuls":8,"exp":82,"res":[{"nuance":"REM","nom":"<NAME>","voix":70},{"nuance":"FN","nom":"<NAME>","voix":12}]} | 124 |
371 | <gh_stars>100-1000
/*
Copyright (c) 2014-2016 ideawu. All rights reserved.
Use of this source code is governed by a license that can be
found in the LICENSE file.
@author: ideawu
@website: http://www.cocoaui.com/
*/
#import "IView.h"
@class ILabel;
@interface ISelect : IView
@property (nonatomic, readonly)... | 222 |
473 | #include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <unistd.h>
#define MAGIC (0xdeadbeef)
int s = 0;
void sighandler(int sig)
{
s = MAGIC;
}
int main(int argc, char **argv)
{
int p;
p = getpid();
signal(SIGALRM, sighandler);
kill(p, SIGALRM);
if (s != MAGIC)
return EXIT_FAILURE;
printf ("p... | 170 |
1,275 | <reponame>AkshathPatkar/pinot
/**
* 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... | 2,070 |
806 | <gh_stars>100-1000
package org.grain.tcp;
public class TcpMsg {
public static String MINA_SERVER_CONNECTED = "MINA_SERVER_CONNECTED";
public static String MINA_SERVER_DISCONNECT = "MINA_SERVER_DISCONNECT";
public static String MINA_CLIENT_CREATE_CONNECT = "MINA_CLIENT_CREATE_CONNECT";
public static String MINA_CLI... | 136 |
333 | #ifndef L3_FILE_PUT_SINGLE_BUF_H__
#define L3_FILE_PUT_SINGLE_BUF_H__
#include "rodsDef.h"
#include "rcConnect.h"
#ifdef __cplusplus
extern "C"
#endif
int rcL3FilePutSingleBuf( rcComm_t *conn, int l1descInx, bytesBuf_t *dataObjInBBuf );
#endif
| 119 |
380 | # -*- coding: utf-8 -*-
"""
Database models for the task queue.
"""
import datetime
from trigger.conf import settings
from ..packages import peewee as pw
engine = settings.DATABASE_ENGINE
if not engine:
raise RuntimeError('You must specify a database engine in settings.DATABASE_ENGINE')
# We're hard-coding supp... | 1,530 |
1,444 | package mage.cards.f;
import mage.MageInt;
import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility;
import mage.abilities.common.delayed.ReflexiveTriggeredAbility;
import mage.abilities.costs.Cost;
import mage.abilities.costs.common.SacrificeSourceCost;
import mage.abilities.effects.common.CreateTokenE... | 796 |
679 | <reponame>Grosskopf/openoffice
/**************************************************************
*
* 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... | 2,320 |
590 | #ifndef __GRAPHIC_MATRIX_H__
#define __GRAPHIC_MATRIX_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <graphic/region.h>
/*
* | [a] [b] [0] |
* | [c] [d] [0] |
* | [tx] [ty] [1] |
*/
struct matrix_t {
double a; double b;
double c; double d;
double tx; double ty;
};
void matrix_init(struct ma... | 501 |
816 | /*
* 03/09/2013
*
* XmlOccurrenceMarker - Marks occurrences of the current token for XML.
*
* This library is distributed under a modified BSD license. See the included
* LICENSE file for details.
*/
package org.fife.ui.rsyntaxtextarea;
import java.util.ArrayList;
import java.util.List;
import javax.swing.tex... | 2,433 |
766 | /*
* Copyright 2013-2015 www.snakerflow.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 re... | 1,374 |
2,542 | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
namespace Servic... | 873 |
684 | /* 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... | 2,073 |
334 | /*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | 1,610 |
8,731 | /*
* Copyright (c) 2006-2007 <NAME> <<EMAIL>>
* Copyright (c) 2007-2012 <NAME> and <NAME>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* ... | 7,173 |
713 | Configuration config = new ConfigurationBuilder()
.persistence()
.addStore(CustomStoreConfigurationBuilder.class)
.build();
| 62 |
578 | <gh_stars>100-1000
/*
* Copyright (C) 2016 Red Hat, 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 app... | 1,320 |
1,056 | <filename>java/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/models/ThreadsTreeExpansionModel.java<gh_stars>1000+
/*
* 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
* rega... | 1,085 |
628 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import random
import logging
from faker import Faker
from django.core.management.base import BaseCommand
from osf.models import ReviewAction, Preprint, OSFUser
from osf.utils.workflows import DefaultStates, DefaultTriggers
logger... | 871 |
317 | /*
$Id$
*======================================================================
*
* DISCLAIMER
*
* This material was prepared as an account of work sponsored by an
* agency of the United States Government. Neither the United States
* Government nor the United States Department of Energy, nor Battelle,
* nor a... | 2,980 |
575 | // Copyright (c) 2011 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 CONTENT_PUBLIC_COMMON_PROFILING_H_
#define CONTENT_PUBLIC_COMMON_PROFILING_H_
#include "build/build_config.h"
#include "base/debug/profiler.... | 393 |
339 | /*
*Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
*WSO2 Inc. licenses this file to you under the Apache License,
*Version 2.0 (the "License"); you may not use this file except
*in compliance with the License.
*You may obtain a copy of the License at
*
*http://www.apache.org/licenses/LI... | 1,381 |
1,623 | #!/usr/bin/python
# -*- coding: utf-8 -*-
from apiclient import discovery
import logging
from oauth2client import client
import httplib2
from datetime import datetime, timedelta
import tools
from constants import SECURE_BASE
from settings.secrets import GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET
from oauth2client.client i... | 2,151 |
887 | <reponame>traversaro/gazebo<filename>gazebo/gui/model/LinkInspector.hh
/*
* Copyright (C) 2015 Open Source Robotics 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
*
* h... | 2,300 |
485 | <filename>tools/evuesimulator-20210326090615-8e30a0e/test/watch_demos/evue-dock-apps-writefile.json<gh_stars>100-1000
[[{"appIcon":"camera.bin","appName":"相机","appUrl":"evue-camera"},{"appIcon":"album.bin","appName":"相册","appUrl":"evue-album"},{"appIcon":"introduction.bin","appName":"健康","appUrl":"evue-music"},{"appIco... | 255 |
423 | // The MIT License (MIT)
// Copyright © 2015 AppsLandia. 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 limitation the rights
... | 1,252 |
1,652 | <filename>redis/redis-console/src/test/java/com/ctrip/xpipe/redis/console/service/migration/impl/MigrationProgressTest.java
package com.ctrip.xpipe.redis.console.service.migration.impl;
import com.ctrip.xpipe.redis.console.AbstractConsoleIntegrationTest;
import com.ctrip.xpipe.redis.console.controller.api.migrate.meta... | 728 |
5,169 | {
"name": "upraxis_ios_extensions",
"version": "0.1.0",
"summary": "All Upraxis Pods are here and easy access the extension to the other project",
"description": "TODO: Add long description of the pod here.",
"homepage": "https://github.com/mcnoquera/ios-extension",
"license": {
"type": "MIT",
"file... | 259 |
376 | <reponame>cjsmeele/Kvasir
#pragma once
#include <Register/Utility.hpp>
namespace Kvasir {
//SPI0
namespace Spi0Spi0Cr0{ ///<SPI0_CR0
using Addr = Register::Address<0x40004000,0x00000000,0x00000000,unsigned>;
///SPIEN
constexpr Register::FieldLocation<Addr,Register::maskFromRange(0,0),Reg... | 3,041 |
348 | {"nom":"Ginestas","circ":"1ère circonscription","dpt":"Aude","inscrits":1066,"abs":543,"votants":523,"blancs":47,"nuls":14,"exp":462,"res":[{"nuance":"REM","nom":"<NAME>","voix":282},{"nuance":"FN","nom":"<NAME>","voix":180}]} | 90 |
6,304 | <filename>src/third_party/skia/gm/daa.cpp<gh_stars>1000+
/*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm/gm.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkFont.... | 2,180 |
10,841 | <filename>immersionbar-sample/src/main/java/com/gyf/immersionbar/sample/receiver/NetworkBroadCastReceiver.java
package com.gyf.immersionbar.sample.receiver;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.ConnectivityManager;
import com.gyf.i... | 404 |
400 | /*
* vk_pipeline.cpp - Vulkan pipeline
*
* Copyright (c) 2018 Intel Corporation
*
* 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
... | 4,031 |
3,486 | package com.thinkaurelius.titan.diskstorage;
import com.thinkaurelius.titan.diskstorage.configuration.Configuration;
import com.thinkaurelius.titan.diskstorage.keycolumnvalue.scan.ScanJob;
import com.thinkaurelius.titan.diskstorage.keycolumnvalue.scan.ScanMetrics;
import java.io.IOException;
import java.util.concurre... | 178 |
1,001 | <reponame>yndu13/aliyun-openapi-python-sdk
# 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, V... | 1,573 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.