max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
6,989 | <filename>scipy/io/arff/__init__.py<gh_stars>1000+
"""
Module to read ARFF files, which are the standard data format for WEKA.
ARFF is a text file format which support numerical, string and data values.
The format can also represent missing data and sparse data.
See the `WEKA website
<http://weka.wikispaces.com/ARFF>... | 176 |
5,169 | <filename>Specs/e/b/8/FancyTextField/0.1.1/FancyTextField.podspec.json
{
"name": "FancyTextField",
"version": "0.1.1",
"summary": "Its the UITextField but prettier",
"description": "This TextField is really fancy! It will make your app look slick!",
"homepage": "https://github.com/gtdrag/FancyTextField",
"l... | 274 |
10,225 | @PersistenceUnit(PersistenceUnit.DEFAULT)
@PersistenceUnit("users")
@PersistenceUnit("inventory")
package io.quarkus.hibernate.orm.multiplepersistenceunits.model.annotation.shared;
import io.quarkus.hibernate.orm.PersistenceUnit; | 75 |
533 | <filename>test/saber/test_saber_activation.cpp
#include "saber/core/context.h"
#include "saber/core/tensor_op.h"
#include "saber/funcs/activation.h"
#include "saber/saber_types.h"
#include "test_saber_func.h"
#include "test_saber_base.h"
#include <vector>
#include<cmath>
using namespace anakin::saber;
int active = 1;
... | 4,099 |
2,996 | // Copyright 2021 The Terasology Foundation
// SPDX-License-Identifier: Apache-2.0
package org.terasology.engine.world.generation.facets.base;
import com.google.common.collect.Maps;
import org.joml.Vector3i;
import org.joml.Vector3ic;
import org.terasology.engine.world.block.BlockRegionc;
import org.terasology.engine... | 1,134 |
1,133 | //////////////////////////////////////
// <NAME>, NASA JPL/Caltech
// Copyright 2017
//////////////////////////////////////
// program for mosaicking multiple consecutive subswaths
// <NAME>, 03-JUN-2015
// JPL/Caltech
//////////////////////////////////////////////////////////////////
//update history
//... | 6,375 |
5,169 | {
"name": "ADAlertController",
"version": "1.0.0",
"summary": "ADAlertController 是一个与 UIAlertController 类似风格的 UI 控件",
"description": "ADAlertController 是一个与 UIAlertController 类似风格的 UI 控件,包含 Alert 和 ActionSheet 以及无边距的 ActionSheet(ADAlertControllerStyleSheet) 等 UI类型.与UIAlertController 有相似的 API.并支持自定义视图,以及优先级队列",
... | 385 |
5,169 | <gh_stars>1000+
{
"name": "shopAR",
"version": "1.5",
"summary": "shopAR enables retail-based iOS apps to easily integrate Augmented Reality product-viewing at the touch of a button.",
"screenshots": [
"./IMG_9023.JPG",
"./IMG_9024.JPG",
"./IMG_9025.JPG"
],
"description": "shopAR for iOS\n\nOver... | 813 |
1,738 | /*
* 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 software is governed by the License,
* or, if provided, by the license below or t... | 2,189 |
2,151 | <reponame>zipated/src
// 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.
#include "components/spellcheck/renderer/spellcheck_panel.h"
#include "base/bind.h"
#include "base/metrics/histogram_macros.h"
#inc... | 922 |
432 | <reponame>lambdaxymox/DragonFlyBSD
/*-
* Copyright (c) 1980, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of sou... | 902 |
799 | <reponame>diCagri/content<filename>Packs/PenfieldAI/Scripts/PenfieldAssign/PenfieldAssign_test.py
"""Base Script for Cortex XSOAR - Unit Tests file
Pytest Unit Tests: all funcion names must start with "test_"
More details: https://xsoar.pan.dev/docs/integrations/unit-testing
MAKE SURE YOU REVIEW/REPLACE ALL THE COMM... | 719 |
1,102 | /*
#include "actor.h"
#include "p_enemy.h"
#include "a_action.h"
#include "m_random.h"
#include "thingdef/thingdef.h"
*/
static FRandom pr_centaurdefend ("CentaurDefend");
//============================================================================
//
// A_CentaurDefend
//
//==========================... | 253 |
429 | /*
* Copyright (c) 2020, <NAME>. All Rights Reserved.
*
* This file is part of Efficient Java Matrix Library (EJML).
*
* 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.... | 1,155 |
5,411 | #include <StdInc.h>
#include <CoreConsole.h>
#include <GameInit.h>
#include <Error.h>
#include <MinHook.h>
#include <Hooking.h>
#include <nutsnbolts.h>
//
// Game reload code flow:
// 1. GameInit::KillNetwork
// 2. Triggers OnKillNetwork, where we'll set loading screen override and set the init state to 'reload sa... | 1,238 |
366 | from django.conf import settings
redis_host = None
redis_port = None
redis_db = None
redis_password = None
redis_socket = None
def get_redis_host():
global redis_host
if not redis_host:
redis_host = getattr(settings, 'SWAMP_DRAGON_REDIS_HOST', 'localhost')
return redis_host
def get_redis_port():... | 411 |
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... | 2,306 |
310 | {
"name": "ExpressVPN",
"description": "A VPN service.",
"url": "https://www.expressvpn.com/"
}
| 39 |
2,151 | <reponame>lianhuaren/webrtc
/*
* Copyright 2018 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... | 23,005 |
343 | <reponame>nzeh/syzygy<gh_stars>100-1000
// Copyright 2013 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE... | 2,453 |
424 | /*
* Copyright (c) 2011-2020 Contributors to the Eclipse Foundation
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
* which is available at https:... | 440 |
646 | <gh_stars>100-1000
"""Default command line arguments."""
from nboost.helpers import ListOrCommaDelimitedString
from nboost import PKG_PATH
host = '0.0.0.0'
port = 8000
uhost = '0.0.0.0'
uport = 9200
ussl = False
backlog = 100
verbose = False
query_delim = '. '
lr = 10e-3
max_seq_len = 64
bufsize = 2048
batch_size = ... | 445 |
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,044 |
72,551 | //===--- Tracing.cpp ------------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | 968 |
1,144 | package org.compiere.model;
import org.adempiere.model.ModelColumn;
import javax.annotation.Nullable;
/** Generated Interface for C_User_Role
* @author metasfresh (generated)
*/
@SuppressWarnings("unused")
public interface I_C_User_Role
{
String Table_Name = "C_User_Role";
// /** AD_Table_ID=541776 */
// int... | 1,615 |
332 | package io.github.quickmsg.common.ack;
import io.netty.util.HashedWheelTimer;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.TimeUnit;
/**
* @author luxurong
*/
public class TimeAckManager extends HashedWheelTimer implements AckManager {
private final Map<Long... | 324 |
372 | <reponame>mjhopkins/google-api-java-client-services
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | 4,654 |
19,529 | SZSE_TSS_DIALOG = 1
SZSE_TSS_PRIVATE = 2
SZSE_TSS_PUBLIC = 3
SZSE_TSS_QUERY = 4
SZSE_FTDC_OWNER_Per = 1
SZSE_FTDC_OWNER_Ex = 101
SZSE_FTDC_OWNER_Op = 102
SZSE_FTDC_OWNER_Institutional = 103
SZSE_FTDC_OWNER_Proprietary = 104
SZSE_FTDC_OWNER_Maker = 105
SZSE_FTDC_OWNER_Clear = 106
SZSE_FTDC_SIDE_Buy = '1'
SZSE_FTDC_SIDE_... | 753 |
1,603 | <filename>smoke-test/tests/test_stateful_ingestion.py<gh_stars>1000+
from typing import Any, Dict, Optional, cast
from datahub.ingestion.api.committable import StatefulCommittable
from datahub.ingestion.run.pipeline import Pipeline
from datahub.ingestion.source.sql.mysql import MySQLConfig, MySQLSource
from datahub.in... | 2,125 |
345 | /*
* Copyright 2016 HuntBugs contributors
*
* 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 ... | 1,218 |
473 | /*
* Copyright (c) 2015 Kaprica Security, 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 restriction, including without limitation the rights
* to use, copy, modify, mer... | 1,730 |
348 | {"nom":"Saint-Sauveur-de-Pierrepont","dpt":"Manche","inscrits":109,"abs":27,"votants":82,"blancs":10,"nuls":4,"exp":68,"res":[{"panneau":"2","voix":38},{"panneau":"1","voix":30}]} | 77 |
1,587 | package io.reflectoring.modules.mail;
import io.reflectoring.modules.mail.api.EmailNotificationService;
import org.mockito.Mockito;
import org.springframework.boot.test.context.TestConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Primary;
import static o... | 452 |
2,366 | /*
* =============================================================================
*
* Copyright (c) 2011-2018, The THYMELEAF team (http://www.thymeleaf.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... | 2,592 |
14,668 | // 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.
#include "chrome/browser/task_manager/providers/browser_process_task.h"
#include "chrome/browser/task_manager/task_manager_observer.h"
#include "chrome/g... | 587 |
1,604 | <reponame>matheus-eyng/bc-java
package org.bouncycastle.asn1;
import java.io.IOException;
import org.bouncycastle.util.Arrays;
import org.bouncycastle.util.Strings;
public abstract class ASN1GraphicString
extends ASN1Primitive
implements ASN1String
{
static final ASN1UniversalType TYPE = new ASN1Universa... | 1,507 |
339 | /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */
/**
* This program will demonstrate to change the passphrase for a
* private key file instead of creating a new private key.
* $ CLASSPATH=.:../build javac ChangePassphrase.java
* $ CLASSPATH=.:../build java ChangePassphrase private-key
* A passphr... | 849 |
2,759 | <reponame>Liang813/graphics
# Copyright 2020 The TensorFlow 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,618 |
892 | <reponame>github/advisory-database
{
"schema_version": "1.2.0",
"id": "GHSA-42mf-g9wr-grvh",
"modified": "2022-05-17T00:01:47Z",
"published": "2022-05-17T00:01:47Z",
"aliases": [
"CVE-2022-30778"
],
"details": "Laravel 9.1.8, when processing attacker-controlled data for deserialization, allows Remote ... | 372 |
852 | <gh_stars>100-1000
// BasicJet.cc
// <NAME>, UMd
#include <sstream>
//Own header file
#include "DataFormats/JetReco/interface/BasicJet.h"
using namespace reco;
BasicJet::BasicJet(const LorentzVector& fP4, const Point& fVertex) : Jet(fP4, fVertex) {}
BasicJet::BasicJet(const LorentzVector& fP4, const Point& fVertex... | 262 |
678 | /**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/IMCore.framework/Frameworks/IMTranscoding.framework/IMTranscoding
*/
#import <IMTranscoding/IMTranscoding-Structs.h>
#import <IMTranscoding/IMTranscodeController.h>
| 89 |
869 | <reponame>stjordanis/PyTables<gh_stars>100-1000
"""This script compares the speed of the computation of a polynomial for
different (numpy.memmap and tables.Expr) out-of-memory paradigms."""
from pathlib import Path
from time import perf_counter as clock
import numpy as np
import tables as tb
import numexpr as ne
exp... | 2,968 |
13,885 | <gh_stars>1000+
#include <stdlib.h>
#include <stdio.h>
#if defined(_WIN32) && _MSC_VER > 1200
#define STBIR_ASSERT(x) \
if (!(x)) { \
__debugbreak(); \
} else
#else
#include <assert.h>
#define STBIR_ASSERT(x) assert(x)
#endif
#define STBIR_MALLOC stbir_malloc
#define STBIR_FREE stbir_free
class stbir_co... | 18,558 |
30,785 | <reponame>DSYliangweihao/jadx
package jadx.tests.integration.inner;
import org.junit.jupiter.api.Test;
import jadx.NotYetImplemented;
import jadx.core.dex.nodes.ClassNode;
import jadx.tests.api.IntegrationTest;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.MatcherAssert.assertTha... | 571 |
376 | /**
* @file
*
* @version 1.0
* @date 2014/04/25
*
* @section DESCRIPTION
*
* No standard functions for these in glibc so rolling our own.
*/
#ifndef PACK_H__
#define PACK_H__
#include <stddef.h>
/* Public API *****************************************************************/
/**
* Convert a C string of ... | 216 |
648 | <gh_stars>100-1000
{"resourceType":"DataElement","id":"Provenance.target","meta":{"lastUpdated":"2017-04-19T07:44:43.294+10:00"},"url":"http://hl7.org/fhir/DataElement/Provenance.target","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"id":"Provenance.target","path":"Provenance.target","... | 432 |
348 | {"nom":"Sainte-Marie-de-Vatimesnil","dpt":"Eure","inscrits":183,"abs":28,"votants":155,"blancs":25,"nuls":1,"exp":129,"res":[{"panneau":"2","voix":71},{"panneau":"1","voix":58}]} | 76 |
737 | <reponame>etnrlz/rtbkit<gh_stars>100-1000
/* bid_request_parser.h -*- C++ -*-
<NAME>, 19 August 2014
Copyright (c) 2014 Datacratic Inc. All rights reserved.
Bid request parser interface
*/
#pragma once
namespace RTBKIT {
/**************************************... | 262 |
2,236 | // Authored by : tony9402
// Co-authored by : -
// Link : http://boj.kr/bb3cca54213d47268ddc82a82728f730
#include<bits/stdc++.h>
using namespace std;
int n, ans;
bool Y[22], DL[44], DR[44];
void dfs(int y, int cnt){
if(cnt == n){
ans++;
return;
}
for(int j=0;j<n;j++){
if(Y[j] || ... | 344 |
1,259 | <gh_stars>1000+
from rest_framework import serializers
from integrations.mixpanel.models import MixpanelConfiguration
class MixpanelConfigurationSerializer(serializers.ModelSerializer):
class Meta:
model = MixpanelConfiguration
fields = ("id", "api_key")
| 84 |
1,062 | <filename>MailHeaders/Catalina/MailFW/MFMessageDelivererDelegate-Protocol.h
//
// Generated by class-dump 3.5b1 (64 bit) (Debug version compiled Dec 3 2019 19:59:57).
//
// Copyright (C) 1997-2019 <NAME>.
//
#import <MailFW/NSObject-Protocol.h>
@class MFMessageDeliverer;
@protocol MFMessageDelivererDelegate <N... | 167 |
1,841 | <reponame>mitsuhiko/pipsi
import os
import sys
import pkg_resources
pkg = sys.argv[1]
prefix = sys.argv[2]
dist = pkg_resources.get_distribution(pkg)
if dist.has_metadata('RECORD'):
for line in dist.get_metadata_lines('RECORD'):
print(os.path.join(dist.location, line.split(',')[0]))
elif dist.has_metadata('... | 391 |
1,444 | <filename>Mage.Sets/src/mage/sets/ArenaNewPlayerExperience.java
package mage.sets;
import mage.cards.CardGraphicInfo;
import mage.cards.ExpansionSet;
import mage.cards.FrameStyle;
import mage.constants.Rarity;
import mage.constants.SetType;
/**
* @author JayDi85
*/
public final class ArenaNewPlayerExperience extend... | 2,211 |
966 | <reponame>dstoeckel/MOE
# -*- coding: utf-8 -*-
"""Request/response schemas for the MOE REST interface.
Contains schemas for each endpoint represented in :mod:`moe.views.rest`.
.. Warning:: Outputs of colander schema serialization/deserialization should be treated as
READ-ONLY. It appears that "missing=" and "defau... | 132 |
1,006 | <filename>include/nuttx/syslog/syslog_console.h
/****************************************************************************
* include/nuttx/syslog/syslog_console.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this... | 763 |
3,970 | // Copyright 2004-present Facebook. All Rights Reserved.
#import <Foundation/Foundation.h>
@interface TestProjectLibrary64bit : NSObject
- (void)randomMethod;
@end
| 50 |
372 | /*
* 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,417 |
525 | /*
* Copyright 2018 Odnoklassniki Ltd, Mail.Ru Group
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 1,883 |
321 | <gh_stars>100-1000
/**
* Most of the code in the Qalingo project is copyrighted Hoteia and licensed
* under the Apache License Version 2.0 (release version 0.8.0)
* http://www.apache.org/licenses/LICENSE-2.0
*
* Copyright (c) Hoteia, 2012-2014
* http://www.hoteia.com - http://twitter.com... | 1,834 |
7,482 | /*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2018/10/01 Bernard The first version
*/
#include <rthw.h>
#include <board.h>
#include <RV32M1_ri5cy.h>
typedef void (*irq_handler_t)(void);
extern c... | 313 |
1,615 | <gh_stars>1000+
package org.luaj.vm2;
import com.immomo.mls.UDTest;
import com.immomo.mls.wrapper.Register;
import org.junit.Test;
import java.io.File;
import static org.junit.Assert.*;
/**
* Created by Xiong.Fangyu on 2019-06-18
*/
public class IsolateTest extends BaseLuaTest {
private static final String ... | 330 |
1,056 | <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 file
* to you under the Apache License, Version 2.0 (the
* ... | 3,385 |
6,115 | <filename>MavLinkCom/src/impl/MavLinkTcpServerImpl.cpp
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "MavLinkTcpServerImpl.hpp"
#include "../serial_com/TcpClientPort.hpp"
using namespace mavlinkcom_impl;
MavLinkTcpServerImpl::MavLinkTcpServerImpl(con... | 342 |
887 | <reponame>joey00072/onnxjs<gh_stars>100-1000
{
"name": "add",
"version": "1.0.0",
"description": "A simple example which adds two Tensors and validates the result.",
"main": "index.js",
"scripts": {},
"author": "",
"license": "ISC",
"dependencies": {
"onnxjs": "^0.1.8",
"onnxjs-node": "^1.4.0"
... | 148 |
372 | /*
* 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 under t... | 1,645 |
23,439 | <gh_stars>1000+
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* 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 req... | 1,842 |
435 | /*
* 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 ... | 1,952 |
3,799 | <reponame>semoro/androidx
/*
* Copyright 2020 The Android Open Source Project
*
* 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
*
* ... | 2,424 |
338 | package com.tvd12.ezyfoxserver.setting;
import java.util.HashMap;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import lombok.Getter;
import lombok.S... | 453 |
2,100 | /*
* Copyright (C) 2017 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 agree... | 3,042 |
398 | # Copyright edalize contributors
# Licensed under the 2-Clause BSD License, see LICENSE for details.
# SPDX-License-Identifier: BSD-2-Clause
import logging
import os.path
from edalize.edatool import Edatool
logger = logging.getLogger(__name__)
class Radiant(Edatool):
argtypes = ['generic', 'vlogdefine', 'vlogpa... | 2,237 |
14,668 | <filename>ash/public/cpp/external_arc/message_center/arc_notification_item.h
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_PUBLIC_CPP_EXTERNAL_ARC_MESSAGE_CENTER_ARC_NOTIFICATION_ITEM_H_
#... | 1,227 |
601 | package events;
public class Connected {
public Connected() {
}
}
| 27 |
348 | {"nom":"Notre-Dame-d'Epine","circ":"2ème circonscription","dpt":"Eure","inscrits":71,"abs":35,"votants":36,"blancs":0,"nuls":1,"exp":35,"res":[{"nuance":"REM","nom":"<NAME>","voix":22},{"nuance":"FN","nom":"M. <NAME>","voix":13}]} | 97 |
450 | //===- InterpreterPass.h --------------------------------------------------===//
//
// The ONNC Project
//
// See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef ONNC_NVDLAM_TASKSUBMIT_PASS_H
#define ONNC_NVDLAM_TASKSUBMIT_... | 352 |
575 | // 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.
#include "ui/events/ozone/gamepad/gamepad_provider_ozone.h"
#include "base/macros.h"
#include "base/memory/singleton.h"
#include "ui/events/ozone/gamepad/... | 489 |
14,425 | <reponame>luoyuan3471/hadoop
/**
* 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, Versio... | 3,799 |
1,206 | """
The MIT License (MIT)
Copyright (C) 2017 <NAME> (<EMAIL>)
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 use... | 2,188 |
1,679 | <reponame>andysan/loramac-node
/*!
* \file sx1272Regs-LoRa.h
*
* \brief SX1272 LoRa modem registers and bits definitions
*
* \copyright Revised BSD License, see section \ref LICENSE.
*
* \code
* ______ _
* / _____) _ ... | 12,901 |
1,738 | /*
* 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 software is governed by the License,
* or, if provided, by the license below or t... | 2,374 |
399 | /*
*
* * 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
... | 9,760 |
2,134 | c.BinderHub.appendix = """
USER root
ENV BINDER_URL={binder_url}
ENV REPO_URL={repo_url}
RUN cd /tmp \
&& wget -q https://github.com/jupyterhub/binderhub/archive/master.tar.gz -O binderhub.tar.gz \
&& tar --wildcards -xzf binderhub.tar.gz --strip 2 */examples/appendix\
&& ./appendix/run-appendix \
&& rm -rf binderh... | 146 |
474 | <reponame>jacobp100/navigation<filename>NavigationReactNative/src/android/src/main/java/com/navigation/reactnative/NavigationBarView.java
package com.navigation.reactnative;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.view.ViewOutlineProvider;
import androidx.core.util.Po... | 1,250 |
399 | #include "stream_prototype_shim.h"
#include "bytes_view.h"
namespace Envoy {
namespace Python {
namespace StreamPrototype {
template <typename... Ts> std::function<void(Ts...)> makeShim(std::function<void(Ts...)> closure) {
return [closure](Ts... args) {
py::gil_scoped_acquire acquire;
closure(std::forward... | 786 |
934 | <filename>src/mongocxx/hint.hpp
// Copyright 2015 MongoDB 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... | 1,509 |
1,040 | //{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by dplaunch.rc
//
#define IDD_DIALOG1 101
#define IDD_LAUNCHERDIALOG 102
#define IDI_ICON1 102
#define IDC_HOSTRADIO 1000
#define IDC_JOINRADIO 1... | 633 |
831 | /*
* Copyright (C) 2015 The Android Open Source Project
*
* 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,041 |
716 | <filename>tools/flang1/flang1exe/symutl.c<gh_stars>100-1000
/*
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*
*/
/** \file
\brief Fortran symbol utilities.
... | 60,168 |
450 | "doc"
class Test:
"'No attribute (alias) found' warning should not be generated"
def __init__(self):
self.alias()
def real(self):
pass
alias = real
def rcParseTest(a = 10, b = 'ten', c = (5, 5)):
print '%s, %s, %s' % (a, b, str(c))
def a(i):
[0, 1, 3].index(i)
| 147 |
1,139 | <gh_stars>1000+
package com.journaldev.layoutsparttwo;
import android.app.Activity;
import android.os.Bundle;
/**
* Created by anupamchugh on 23/10/15.
*/
public class SecondActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState)... | 173 |
584 | package com.mercury.platform.ui.adr.components;
import com.mercury.platform.shared.config.Configuration;
import com.mercury.platform.shared.config.descriptor.FrameDescriptor;
import com.mercury.platform.shared.config.descriptor.adr.AdrComponentDescriptor;
import com.mercury.platform.shared.config.descriptor.adr.AdrPro... | 4,732 |
1,048 | <reponame>glebshevchukk/gradslam<filename>gradslam/version.py<gh_stars>1000+
# Export version number
__version__ = "0.1.0"
| 51 |
1,830 | /*
* Copyright © 2017 camunda services GmbH (<EMAIL>)
*
* 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... | 498 |
1,444 | package mage.cards.l;
import java.util.HashSet;
import java.util.Set;
import java.util.UUID;
import mage.abilities.Ability;
import mage.abilities.effects.OneShotEffect;
import mage.abilities.effects.common.ExileSpellEffect;
import mage.cards.Card;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage... | 1,725 |
26,932 | <reponame>OsmanDere/metasploit-framework
// Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved.
//
// This file is part of the VNC system.
//
// The VNC system is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// t... | 2,896 |
14,668 | <reponame>zealoussnow/chromium<gh_stars>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.
package org.chromium.net.impl;
import androidx.annotation.IntDef;
import org.chromium.net.InlineExecutionP... | 2,210 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-6xhr-5mv6-f4jf",
"modified": "2022-05-01T07:36:50Z",
"published": "2022-05-01T07:36:50Z",
"aliases": [
"CVE-2006-6301"
],
"details": "DenyHosts 2.5 does not properly parse sshd log files, which allows remote attackers to add arbitrary hosts to the /etc/hosts.de... | 683 |
1,350 | <reponame>Manny27nyc/azure-sdk-for-java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.loganalytics.models;
import com.azure.resourcemanager.loganalytics.fluent.models.Workspa... | 271 |
2,023 | <reponame>tdiprima/code
try:
from Tkinter import Entry, Frame, Label, StringVar
from Tkconstants import *
except ImportError:
from tkinter import Entry, Frame, Label, StringVar
from tkinter.constants import *
def hex2rgb(str_rgb):
try:
rgb = str_rgb[1:]
if len(rgb) == 6:
... | 2,430 |
852 | <gh_stars>100-1000
import FWCore.ParameterSet.Config as cms
etaRangeCaloJetSelector = cms.EDFilter( "EtaRangeCaloJetSelector",
src = cms.InputTag("hltCaloJetL1FastJetCorrected"),
etaMin = cms.double( -99.9 ), #2.4
etaMax = cms.double( +99.9 ), #2.4
)
| 114 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.