max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
4,197
# Copyright (C) 2022 Intel Corporation # # SPDX-License-Identifier: MIT import pytest from http import HTTPStatus from .utils.config import server_get class TestGetAnalytics: endpoint = 'analytics/app/kibana' def _test_can_see(self, user): response = server_get(user, self.endpoint) assert res...
363
375
<gh_stars>100-1000 /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER * * Copyright (c) 2016, Juniper Networks, Inc. All rights reserved. * * * The contents of this file are subject to the terms of the BSD 3 clause * License (the "License"). You may not use this file except in compliance * with t...
45,073
435
<gh_stars>100-1000 package datawave.webservice.common.exception; import javax.ejb.ApplicationException; import javax.ws.rs.core.Response; import datawave.webservice.result.BaseResponse; @ApplicationException(rollback = true) public class BadRequestException extends DatawaveWebApplicationException { private ...
178
3,710
<reponame>wofogen/tahoma2d /* lzo1x_9x.c -- implementation of the LZO1X-999 compression algorithm This file is part of the LZO real-time data compression library. Copyright (C) 2008 <NAME> Copyright (C) 2007 <NAME> Copyright (C) 2006 <NAME> Copyright (C) 2005 <NAME> Copyright (C) 2004 <NAME> Copy...
13,748
1,273
package org.broadinstitute.hellbender.utils; import org.apache.commons.math3.special.Gamma; /** * Wrapper class so that the log10Factorial array is only calculated if it's used */ public final class Log10FactorialCache extends IntToDoubleFunctionCache { private static final int CACHE_SIZE = 10_000; @Overri...
174
575
// Copyright 2020 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 "base/check_op.h" // check_op.h is a widely included header and its size has significant impact on // build time. Try not to raise this limit un...
802
1,073
<filename>mobius-core/src/test/java/com/spotify/mobius/EventSourceConnectableTest.java /* * -\-\- * Mobius * -- * Copyright (c) 2017-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 o...
1,303
5,169
{ "name": "GEOSwift", "version": "4.1.0", "swift_version": "5.0", "cocoapods_version": ">= 1.4.0", "summary": "The Swift Geographic Engine.", "description": "Easily handle a geographical object model (points, linestrings, polygons etc.) and related\ntopographical operations (intersections, overlapping etc.)...
364
32,544
package com.baeldung.dispatchservlet.listener; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; public class CustomListener implements ServletContextListener { Logger logger = LoggerFactory.getLogger(CustomListener.cl...
198
679
<filename>main/comphelper/source/property/propertycontainerhelper.cxx /************************************************************** * * 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...
7,433
311
<reponame>jurecuhalev/snowflake-connector-python<filename>src/snowflake/connector/result_set.py # # Copyright (c) 2012-2021 Snowflake Computing Inc. All rights reserved. # from collections import deque from concurrent.futures import Future from concurrent.futures.thread import ThreadPoolExecutor from logging import get...
3,709
407
package com.alibaba.sreworks.health.common.utils; import lombok.Builder; import lombok.Getter; import java.util.ArrayList; import java.util.List; /** * 通用工具类 *@author <EMAIL> *@date 2021/12/29 20:35 */ public class CommonTools { /** * 解析分步下标 * @param size 元素总数量 * @param step 步长 * @return...
607
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,683
1,016
<reponame>peter-ls/kylo<gh_stars>1000+ package com.thinkbiganalytics.nifi.v2.hdfs; /*- * #%L * thinkbig-nifi-hadoop-properties-v1.2 * %% * Copyright (C) 2017 ThinkBig Analytics * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licens...
565
2,542
{ "Default": { }, "Tests": [ { "Name": "FMScale_SP3R", "Type": "V2_DllTest", "Owners": "chuxin", "Environment": "Iaas", "ResourcesRequired": "Server:21;Group=Failover-Scale", "TestExecutionParameters": { "SetupType": "XCopy", "SetupTimeout": "3600", ...
328
1,093
/* * Copyright 2015-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...
1,902
307
<gh_stars>100-1000 #!/usr/bin/python # -*- coding: UTF-8 -*- """ @author: Bryan @file: send_mails.py @time: 2019/03/13 12:55 @desc: 发送邮件模块 """ import smtplib from email.header import Header from email.mime.text import MIMEText mail_receivers=["<EMAIL>","<EMAIL>"] class SendMail(object): def __init__(self): ...
1,107
681
{ "alias":"peteDeleteTop", "name":"A dataverse for testing", "affiliation":"Affiliation value", "contactEmail":"<EMAIL>", "permissionRoot":false, "description":"A dataverse that's added for testing purposes." }
82
344
# *********************************** # |docname| - gunincorn configuration # *********************************** # This file configures gunicorn to use Uvicorn to run FastAPI which runs the BookServer. # # See also the `gunicorn config docs <https://docs.gunicorn.org/en/stable/configure.html#configuration-file>`_. # #...
484
439
<gh_stars>100-1000 /* * Copyright (C) 2014 <NAME>. * * 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...
3,368
897
/* This program is about merging two Linked list. Here the user is going to enter values of first and second linked list. It will merge the two linked lists into one linked list by comparing the each and every node values and convert into one linked list. */ #include <stdio.h> #include <stdlib.h> struct Node { i...
1,326
335
{ "word": "Conjunction", "definitions": [ "A word used to connect clauses or sentences or to coordinate words in the same clause (e.g. and, but, if).", "The action or an instance of two or more events or things occurring at the same point in time or space.", "An alignment of two planets ...
150
892
{ "schema_version": "1.2.0", "id": "GHSA-94xh-2fmc-xf5j", "modified": "2021-10-08T21:15:35Z", "published": "2020-10-27T20:30:20Z", "aliases": [ "CVE-2020-7752" ], "summary": "command injection vulnerability", "details": "### Impact\ncommand injection vulnerability\n\n### Patches\nProblem was fixed w...
1,086
642
#pragma once #include <QtCore/QUuid> #include "Action.h" namespace AxiomModel { class SetNumRangeAction : public Action { public: SetNumRangeAction(const QUuid &uuid, double beforeMin, double beforeMax, uint32_t beforeStep, double afterMin, double afterMax, uint32_t afterSt...
602
666
<filename>wasp/src/main/java/com/orhanobut/wasp/utils/MimeTypes.java package com.orhanobut.wasp.utils; public final class MimeTypes { private MimeTypes() { // no instance } public static final String CONTENT_TYPE_FORM_URL_ENCODED = "application/x-www-form-urlencoded"; public static final String CONTENT_T...
146
2,494
<filename>deps/mozjs/incs/mozilla/IntegerPrintfMacros.h /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this ...
949
649
package net.thucydides.junit.internals; import org.junit.Test; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; public class WhenInvokingMethods { static class TestClass { pu...
522
1,431
/* ==================================================================== 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...
25,012
2,151
<reponame>fugu-helper/android_external_swiftshader<filename>third_party/LLVM/include/llvm/Analysis/DOTGraphTraitsPass.h<gh_stars>1000+ //===-- DOTGraphTraitsPass.h - Print/View dotty graphs-----------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the Univ...
847
460
<filename>trunk/win/Source/BT_FacebookWizard.h<gh_stars>100-1000 // Copyright 2012 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://...
453
1,442
<filename>apps/shared/toolbox_helpers.cpp #include "toolbox_helpers.h" #include <apps/i18n.h> #include <ion/unicode/utf8_decoder.h> #include <string.h> #include <assert.h> namespace Shared { namespace ToolboxHelpers { int CursorIndexInCommandText(const char * text) { UTF8Decoder decoder(text); size_t index = 0; ...
1,033
4,756
<reponame>wynr/libphonenumber // Copyright (C) 2012 The Libphonenumber 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 // // Unles...
231
319
<filename>sample/src/main/java/eu/f3rog/blade/sample/mvp/ui/activity/MvpMainActivity.java<gh_stars>100-1000 package eu.f3rog.blade.sample.mvp.ui.activity; import android.os.Bundle; import androidx.appcompat.app.AppCompatActivity; import blade.Blade; import blade.I; import butterknife.ButterKnife; import butterknife.O...
439
1,205
<filename>app/src/main/java/io/github/marktony/espresso/data/source/local/PackagesLocalDataSource.java /* * Copyright(c) 2017 lizhaotailang * * 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 ...
3,238
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. // ------------------------------------------------------------ #include "stdafx.h" using nam...
547
5,169
{ "name": "VCXWebRTC", "version": "0.9", "summary": "It is a GoogleWebRTC framework with version:1.0.136171", "homepage": "https://github.com/enablex/VCXWebRTC", "authors": { "enablex": "<EMAIL>" }, "license": { "type": "Apache-2.0", "file": "LICENSE" }, "platforms": { "ios": "9.0" }...
221
22,426
<filename>algorithms/strings/min_distance.py """ Given two words word1 and word2, find the minimum number of steps required to make word1 and word2 the same, where in each step you can delete one character in either string. For example: Input: "sea", "eat" Output: 2 Explanation: You need one step to make "sea" to "ea"...
362
18,012
/* * 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 ...
802
923
package core.controller; import java.awt.Color; import java.awt.Point; import core.controller.internals.AbstractMouseCoreImplementation; import utilities.Function; public class MouseCore extends AbstractMouseCoreImplementation { private AbstractMouseCoreImplementation m; protected MouseCore(AbstractMouseCoreImpl...
833
435
{ "copyright_text": null, "description": "Reproducibility and collaboration are difficult aspects of any business-based analytics, speaking from personal experience, where a project is likely shared between a technical analyst and a business analyst. This talk aims to show examples of how this can be improved throu...
303
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,933
7,482
<filename>bsp/CME_M7/StdPeriph_Driver/inc/cmem7_conf.h /** ***************************************************************************** * @file cmem7_conf.h * * @brief CMEM7 config file * * * @version V1.0 * @date 3. September 2013 * * @note * *************************...
1,055
910
/* * Copyright (c) 2021 VMware, Inc. * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to ...
7,033
1,199
// Some ideas of how to implement hierarchical ("sub-command") completion with // readline, where each sub-command can have its own completion options. // // This is a very simple implementation just to demonstrate a point. In a // realistic program things would be better factored out. Note that using // globals at lea...
1,553
2,743
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-08-25 06:52 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('contenttypes', '0002_remove_content_type_name'), ('...
616
669
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "core/framework/random_generator.h" namespace onnxruntime { namespace cuda { template <typename T> void DropoutKernelImpl(const cudaDeviceProp& prop, cudaStream_t stream, const int64_t N, ...
208
3,353
// // ======================================================================== // Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at // https://www.eclipse.org/...
539
370
<reponame>Jenny19880324/suitesparse-metis-for-windows<filename>SuiteSparse/GraphBLAS/Source/GrB_finalize.c<gh_stars>100-1000 //------------------------------------------------------------------------------ // GrB_finalize: finalize GraphBLAS //----------------------------------------------------------------------------...
261
568
<gh_stars>100-1000 package com.fincatto.documentofiscal.cte300.classes.nota; import com.fincatto.documentofiscal.DFBase; import com.fincatto.documentofiscal.validadores.DFStringValidador; import org.simpleframework.xml.Element; import org.simpleframework.xml.Namespace; import org.simpleframework.xml.Root; /** * @aut...
1,269
381
package org.apache.helix.monitoring.metrics.model; /* * 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 ...
583
527
/************************************************************************* * * Copyright 2016 Realm Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/lice...
15,189
16,461
<reponame>zakharchenkoAndrii/expo /* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <ABI43_0_0React/ABI43_0_0renderer/components/view/ViewEventEmitter.h> nam...
240
5,169
<gh_stars>1000+ { "name": "SwiftJokes", "version": "1.0.0", "summary": "An easy-to-use and hilarious joke provider.", "description": "A simple Cocoa Touch framework to asynchronously provide jokes from various sources.", "homepage": "https://github.com/Davidde94/SwiftJokes", "license": "MIT", "authors": {...
241
1,056
<filename>ide/xml.tax/lib/src/org/netbeans/tax/TreeObject.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 * regarding copyright ownership. The ASF licenses this...
4,765
6,289
<gh_stars>1000+ package com.wix.invoke.types; import org.apache.commons.lang3.reflect.MethodUtils; import java.lang.reflect.InvocationTargetException; /** * Created by rotemm on 20/10/2016. */ public class ObjectInstanceTarget extends Target { public ObjectInstanceTarget(Object value) { super(value)...
184
190,993
<filename>tensorflow/compiler/xla/pjrt/distributed/client.h /* Copyright 2020 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 requi...
2,235
4,213
<gh_stars>1000+ from pathlib import Path from parso.tree import search_ancestor from jedi.inference.cache import inference_state_method_cache from jedi.inference.imports import load_module_from_path from jedi.inference.filters import ParserTreeFilter from jedi.inference.base_value import NO_VALUES, ValueSet from jedi....
3,578
456
// SPDX-License-Identifier: BSD-3-Clause // Copyright (c) 2019-2020 <NAME> // All rights reserved. #include <djvScene3D/IPrimitive.h> #include <djvCore/UID.h> using namespace djv::Core; namespace djv { namespace Scene3D { std::vector<std::shared_ptr<Geom::TriangleMesh> > IPrimitive::_meshesDummy; ...
770
18,012
/* * 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 ...
5,397
5,607
package io.micronaut.docs.http.server.bind.type; import io.micronaut.http.HttpResponse; import io.micronaut.http.annotation.Controller; import io.micronaut.http.annotation.Get; import java.util.HashMap; import java.util.Map; @Controller("/customBinding") public class ShoppingCartController { // tag::method[] ...
242
305
<reponame>AgesX/llvm // RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-linux-pc %s // RUN: %clang_cc1 -fsyntax-only -verify -triple spir-unknown-unknown %s -DHAVE // RUN: %clang_cc1 -fsyntax-only -verify -triple armv7a-linux-gnu %s -DHAVE // RUN: %clang_cc1 -fsyntax-only -verify -triple aarch64-linux-gnu %s -DHAV...
279
6,989
# -*- coding: utf-8 -*- """ pygments.lexers._csound_builtins ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ # Opcodes in Csound 6.13.0 using: # python3 -c " # import re # from subprocess import Popen...
8,724
764
{ "website": "https://bloom.co/", "published_on": "2017-11-30", "links": { "reddit": "https://www.reddit.com/r/BloomToken/", "github": "https://github.com/hellobloom", "slack": "https://slack.hellobloom.io/", "telegram": "https://t.me/joinchat/FFWDdQ1hxqIg3jLe7zBVFQ", ...
457
984
<reponame>om-sharma/java-driver /* * Copyright DataStax, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
879
345
/*++ Copyright (c) Didi Research America. All rights reserved. Module Name: trace.h Author: <NAME>, 08-Feb-2017 Revision History: --*/ #ifndef __TRACE_DRIVER_H__ #define __TRACE_DRIVER_H__ // // Driver name and version // #define DRIVER_NAME "Kemon" enum driver_version { ...
623
777
// 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 ASH_COMMON_SHELF_SHELF_ITEM_TYPES_H_ #define ASH_COMMON_SHELF_SHELF_ITEM_TYPES_H_ #include <string> #include <vector> #include "ash/ash_export.h...
799
494
/** * Copyright 2013 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
2,963
1,165
/******************************************************************************* * Copyright 2018 T Mobile, 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. You may obtain a copy * o...
857
848
<filename>tools/Vitis-AI-Library/pointpillars_nuscenes/src/voxelize.hpp<gh_stars>100-1000 /* * Copyright 2019 Xilinx 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:/...
1,000
1,325
<reponame>NearlyTRex/BetterEnums<filename>example/8-representation.cc // This file was generated automatically. // Representation // // Let's go over some of the low-level properties of a Better Enum. This time, // we will declare a more unusual enum than the ones we have seen. #include <cassert> #include <iostream> ...
758
335
<gh_stars>100-1000 { "word": "Malpractitioner", "definitions": [ "A person who is guilty of malpractice." ], "parts-of-speech": "Noun" }
72
3,531
# # Creating a transition # props = [lv.STYLE.BG_COLOR, lv.STYLE.BORDER_COLOR, lv.STYLE.BORDER_WIDTH, 0] # A default transition # Make it fast (100ms) and start with some delay (200 ms) trans_def = lv.style_transition_dsc_t() trans_def.init(props, lv.anim_t.path_linear, 100, 200, None) # A special transition when g...
399
451
// File Automatically generated by eLiSe #include "StdAfx.h" #include "cEqAppui_GL__TerFix_M2CFour7x2.h" cEqAppui_GL__TerFix_M2CFour7x2::cEqAppui_GL__TerFix_M2CFour7x2(): cElCompiledFonc(2) { AddIntRef (cIncIntervale("Intr",0,14)); AddIntRef (cIncIntervale("Orient",14,20)); Close(false); } void cEqApp...
17,667
324
<filename>apis/ec2/src/main/java/org/jclouds/ec2/xml/DescribeAddressesResponseHandler.java /* * 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 l...
1,331
621
from lazydata.cli.commands.BaseCommand import BaseCommand from lazydata.config.config import Config from lazydata.storage.local import LocalStorage from lazydata.storage.remote import RemoteStorage class PushCommand(BaseCommand): def handle(self, args): config = Config() if "remote" in config.con...
212
1,738
<filename>dev/Gems/LmbrCentral/Code/Source/Rendering/FogVolumeComponent.cpp /* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this softw...
3,908
9,516
<filename>src/graph/subgraph.cc<gh_stars>1000+ /*! * Copyright (c) 2020 by Contributors * \file graph/subgraph.cc * \brief Functions for extracting subgraphs. */ #include "./heterograph.h" using namespace dgl::runtime; namespace dgl { HeteroSubgraph InEdgeGraphRelabelNodes( const HeteroGraphPtr graph, const ...
2,210
1,666
//----------------------------------------------------------------------------// // // // ozz-animation is hosted at http://github.com/guillaumeblanc/ozz-animation // // and distributed under the MIT License (MIT). ...
1,531
2,056
/* gdbm.h - The include file for dbm users. -*- c -*- */ /* This file is part of GDBM, the GNU data base manager, by <NAME>. Copyright (C) 1990, 1991, 1993, 2011 Free Software Foundation, Inc. GDBM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Lic...
2,741
372
/* * Copyright © BeyondTrust Software 2004 - 2019 * 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 * * Un...
16,936
2,996
<filename>engine/src/main/java/org/terasology/engine/rendering/nui/layers/mainMenu/UniverseWrapper.java<gh_stars>1000+ // Copyright 2021 The Terasology Foundation // SPDX-License-Identifier: Apache-2.0 package org.terasology.engine.rendering.nui.layers.mainMenu; import org.terasology.engine.rendering.world.WorldSetupW...
468
348
{"nom":"Varaize","circ":"3ème circonscription","dpt":"Charente-Maritime","inscrits":429,"abs":236,"votants":193,"blancs":6,"nuls":25,"exp":162,"res":[{"nuance":"REM","nom":"<NAME>","voix":104},{"nuance":"LR","nom":"<NAME>","voix":58}]}
92
381
// Update the VARIANT arg in docker-compose.yml to pick a Node.js version: 10, 12, 14 { "name": "RSSMonster", "dockerComposeFile": "docker-compose.yml", "service": "app", "runServices": ["app", "client", "db"], "workspaceFolder": "/workspace", // Set *default* container specific settings.json values on containe...
419
364
<reponame>matus-chochlik/oglplus // File include/oglplus/enums/ext/debug_output_severity.ipp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/oglplus/ext/debug_output_severity.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2019 <NAME>. //...
283
348
<filename>docs/data/leg-t2/055/05502164.json {"nom":"Douaumont","circ":"2ème circonscription","dpt":"Meuse","inscrits":6,"abs":4,"votants":2,"blancs":1,"nuls":0,"exp":1,"res":[{"nuance":"REM","nom":"<NAME>","voix":1},{"nuance":"FN","nom":"<NAME>","voix":0}]}
109
6,457
<reponame>Moktarino/librealsense<filename>src/device-calibration.h // License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2020 Intel Corporation. All Rights Reserved. #pragma once #include "types.h" #include "core/streaming.h" namespace librealsense { // This extension should allow generic c...
362
476
import json import os import sublime from . import log from .Common import Singleton __file__ = os.path.normpath(os.path.abspath(__file__)) __path__ = os.path.dirname(__file__) class SettingEventSource(object): def __init__(self): self._subscribers = {} def notify(self, evt_type, *evt_args, **evt...
1,184
686
<reponame>yakoder/java.watson-developer-cloud.java-sdk<filename>discovery/src/main/java/com/ibm/watson/discovery/v2/Discovery.java /* * (C) Copyright IBM Corp. 2019, 2021. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may o...
24,717
455
/* Copyright (c) 2003-2004, <NAME> * Copyright (c) 2004-2006, <NAME>, <NAME>. * Copyright (c) 2007-2019, The Tor Project, Inc. */ /* See LICENSE for licensing information */ /** * \file addsub.h * * \brief Header for addsub.c **/ #ifndef TOR_INTMATH_ADDSUB_H #define TOR_INTMATH_ADDSUB_H #include "lib/cc/torint...
176
19,438
<gh_stars>1000+ /* * Copyright (c) 2020, <NAME> <<EMAIL>> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include <AK/Forward.h> #include <LibGUI/Forward.h> #include <sys/types.h> namespace GUI { class FileIconProvider { public: static Icon icon_for_path(const String&, mode_t); static Icon ic...
232
9,782
/* * 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...
428
377
{ "(additional {{amount}} pending)": "", "Cancel": "Annulla", "Confirm Request": "Conferma richiesta", "Connected since {{created, LL}}": "Connessə dal {{created, LL}}", "Contact request sent and pending": { "": "Richieste di contatto inviate e in attesa." }, "Decline Request": "Rifi...
797
1,442
# Copyright (C) 2017 Beijing Didi Infinity Technology and Development Co.,Ltd. # 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/LI...
686
1,444
package mage.sets; import mage.cards.ExpansionSet; import mage.constants.Rarity; import mage.constants.SetType; /** * https://scryfall.com/sets/purl */ public class URLConventionPromos extends ExpansionSet { private static final URLConventionPromos instance = new URLConventionPromos(); public static URLCo...
646
326
<filename>tests/algorithms/test_util.py # stdlib import math # pydp absolute import pydp as dp def test_default_epsilon(): assert dp.util.default_epsilon() == math.log(3) def test_next_power_positive(): kTolerance = 1e-5 npp1 = dp.util.get_next_power_of_two(3.0) npp2 = dp.util.get_next_power_of_two...
1,361
921
# Copyright 2014-2016 Presslabs 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 applicable law or agreed to in wri...
4,516
480
<gh_stars>100-1000 /* * Copyright [2013-2021], 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 * * Unl...
3,364
1,780
#ifdef __OBJC__ #import <UIKit/UIKit.h> #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif #import "TrustKit.h" #import "TSKTrustKitConfig.h" #import "TSKPinningValidator.h" #import "TSKPinningValidatorCallback.h" #i...
186
852
<gh_stars>100-1000 // Globals: holds "global" variables such as the IMATH_TrackletCalculators #include "L1Trigger/TrackFindingTracklet/interface/Settings.h" #include "L1Trigger/TrackFindingTracklet/interface/Globals.h" #include "L1Trigger/TrackFindingTracklet/interface/imath.h" #include "L1Trigger/TrackFindingTracklet/...
889
763
package org.batfish.representation.cisco_nxos; import java.util.SortedMap; import java.util.TreeMap; import javax.annotation.Nonnull; /** An {@link ObjectGroup} of IP addresses. */ public final class ObjectGroupIpAddress extends ObjectGroup { public ObjectGroupIpAddress(String name) { super(name); _lines =...
217