max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
348 | <gh_stars>100-1000
{"nom":"Condé-sur-Risle","circ":"3ème circonscription","dpt":"Eure","inscrits":458,"abs":238,"votants":220,"blancs":20,"nuls":2,"exp":198,"res":[{"nuance":"MDM","nom":"<NAME>","voix":105},{"nuance":"FN","nom":"M. <NAME>","voix":93}]} | 104 |
788 | <reponame>snoopdave/incubator-usergrid
/*
* 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... | 2,928 |
703 | #pragma once
#include <Foundation/Communication/Event.h>
#include <Foundation/Configuration/Singleton.h>
#include <Foundation/Types/Status.h>
#include <Foundation/Types/Uuid.h>
#include <ToolsFoundation/ToolsFoundationDLL.h>
class ezToolsProject;
class ezDocument;
struct ezToolsProjectEvent
{
enum class Type
{
... | 1,427 |
773 | <reponame>tsjensen/checkstyle-idea<filename>src/main/java/org/infernus/idea/checkstyle/toolwindow/CheckStyleToolWindowFactory.java
package org.infernus.idea.checkstyle.toolwindow;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.wm.ToolWindow;
import com.intellij.openapi.wm.ToolWindowFactory;
i... | 408 |
1,602 | /* $Source: bitbucket.org:berkeleylab/gasnet.git/gasnet_trace.c $
* Description: GASNet implementation of internal helpers
* Copyright 2002, <NAME> <<EMAIL>>
* Terms of use are as specified in license.txt
*/
#define GASNETI_NEED_GASNET_VIS_H 1
#define GASNETI_NEED_GASNET_COLL_H 1
#include <gasnet_internal.h>
#in... | 26,836 |
302 | <reponame>jacobkimmel/non-parametric-transformers<filename>npt/utils/plotting.py
from matplotlib import rcParams
from matplotlib import rc
import seaborn as sns
""""Set some global params and plotting settings."""
# Font options
rc('text', usetex=True)
# rcParams['pdf.fonttype'] = 42
# rcParams['ps.fonttype'] = 42
fs... | 700 |
1,033 | <filename>graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLExtendedScalarsInitializer.java<gh_stars>1000+
package graphql.kickstart.autoconfigure.web.servlet;
import graphql.scalars.ExtendedScalars;
import graphql.schema.GraphQLScalarType;
import java.lang.reflect.Modi... | 1,126 |
1,405 | <gh_stars>1000+
package QQPIM;
public final class LicenceInfoHolder {
public LicenceInfo value;
public LicenceInfoHolder() {
}
public LicenceInfoHolder(LicenceInfo licenceInfo) {
this.value = licenceInfo;
}
}
| 93 |
1,144 | // SPDX-License-Identifier: BSD-3-Clause
/*
* Clock drivers for Qualcomm APQ8016, APQ8096
*
* (C) Copyright 2015 <NAME> <<EMAIL>>
*
* Based on Little Kernel driver, simplified
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>
#include <errno.h>
#include <asm/io.h>
#include <linux/bitops.h>
#include ... | 1,607 |
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 ... | 741 |
1,108 | <filename>core/src/test/java/org/sql2o/QueryTest.java
package org.sql2o;
import org.junit.Test;
import javax.sql.DataSource;
import java.sql.SQLException;
import static org.mockito.Matchers.anyString;
import static org.mockito.Mockito.*;
/**
* Created by lars on 25.01.15.
*/
public class QueryTest {
/**
... | 416 |
852 | <filename>RecoJets/Configuration/python/RecoJetsGlobal_cff.py
import FWCore.ParameterSet.Config as cms
from RecoJets.Configuration.RecoJets_cff import *
from RecoJets.Configuration.JetIDProducers_cff import *
from RecoJets.Configuration.RecoTrackJets_cff import *
from RecoJets.Configuration.RecoJetAssociations_cf... | 1,033 |
2,151 | <gh_stars>1000+
# Copyright (c) 2011 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# Config file for various nacl compilation scenarios
#
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__... | 9,810 |
12,278 |
// Copyright <NAME> 2013.
// 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)
#ifndef BOOST_FIBERS_SPINLOCK_H
#define BOOST_FIBERS_SPINLOCK_H
#include <boost/config.hpp>
#include <boost/fiber... | 926 |
435 | <gh_stars>100-1000
{
"copyright_text": null,
"description": "",
"duration": 709,
"language": null,
"recorded": "2019-06-04",
"related_urls": [
{
"label": "Conference schedule",
"url": "https://pycon.org.il/2019/schedule/"
}
],
"speakers": [
"<NAME>"
],
"tags": [],
"thumbnai... | 264 |
5,169 | <filename>Specs/f/6/4/FloatingHearts/0.1.0/FloatingHearts.podspec.json
{
"name": "FloatingHearts",
"version": "0.1.0",
"summary": "Periscope-Like flowing hearts animation.",
"description": "Example showing how to recreate the floating hearts animation on Periscope.",
"homepage": "https://github.com/anysome/Fl... | 356 |
14,668 | /*
* Copyright (C) 2004, 2005, 2006, 2008 <NAME> <<EMAIL>>
* Copyright (C) 2004, 2005, 2006, 2007 <NAME> <<EMAIL>>
* Copyright (C) 2005 <NAME> <<EMAIL>>
* Copyright (C) 2009 <NAME> <<EMAIL>>
* Copyright (C) Research In Motion Limited 2009-2010. All rights reserved.
*
* This library is free software; you can redi... | 2,510 |
2,487 | /*
* Copyright (C) 2018 Zhejiang xiaominfo Technology CO.,LTD.
* All rights reserved.
* Official Web Site: http://www.xiaominfo.com.
* Developer Web Site: http://open.xiaominfo.com.
*/
package com.github.xiaoymin.knife4j.jfinal.plugin;
import com.github.xiaoymin.knife4j.jfinal.context.TagContext;
/***
*
* @sin... | 212 |
1,295 | <gh_stars>1000+
import sys
import json
import unittest
try:
from unittest.mock import MagicMock
except ImportError:
from mock import MagicMock
import botocore
##############
# Parameters #
##############
# Define the default resource to report to Config Rules
DEFAULT_RESOURCE_TYPE = 'AWS::::Account'
########... | 4,375 |
353 | <reponame>ibriano/Fossilize
/* Copyright (c) 2018 <NAME>
*
* 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, mo... | 1,258 |
1,615 | <filename>MLN-iOS/Example/Pods/Headers/Public/MLN/MLNTableViewAutoFitAdapter.h
//
// MLNTableViewAutoFitAdapter.h
//
//
// Created by MoMo on 2018/11/9.
//
#import "MLNTableViewAdapter.h"
NS_ASSUME_NONNULL_BEGIN
@interface MLNTableViewAutoFitAdapter : MLNTableViewAdapter
@end
NS_ASSUME_NONNULL_END
| 124 |
8,238 | #include <stdlib.h>
#include "erl_driver.h"
typedef struct _erl_drv_data ExitDrvData;
static ExitDrvData *exit_drv_start(ErlDrvPort port, char *command);
static void exit_drv_stop(ExitDrvData *data_p);
static void exit_drv_output(ExitDrvData *data_p, char *buf,
ErlDrvSizeT len);
static void ... | 585 |
3,095 | <reponame>liyuzhao/QWidgetDemo<filename>vlcdemo/vlc/vlc3/include64/plugins/vlc_opengl.h
/*****************************************************************************
* vlc_opengl.h: VLC GL API
*****************************************************************************
* Copyright (C) 2009 <NAME>
* Copyright (C) ... | 1,558 |
1,442 | #include <escher/toggleable_view.h>
namespace Escher {
void ToggleableView::setState(bool state) {
m_state = state;
markRectAsDirty(bounds());
}
}
| 59 |
336 | <reponame>tomwei7/LA104
#include "file/play.h"
#include "file/load.h"
#include "file/save.h"
class CSubmenuFile : public CSubMenu
{
public:
virtual TItem GetItem(int i)
{
switch (i)
{
case 0: return TItem{"Play", TItem::Default};
case 1: return TItem{"Save", TItem::Defau... | 726 |
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 "components/autofill_assistant/browser/actions/release_elements_action.h"
#include "base/test/gmock_callback_support.h"
#include "base/test/mock... | 1,186 |
3,986 | package com.xuexiang.xui.widget;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.ScrollView;
import java.util.ArrayList;
import java.util.List;
/**
* 可以监听滚动事件的 {@link ScrollView},并能在滚动回调中获取每次滚动前后的偏移量。
* <p>
* 由于 {@link ScrollView} 没有类似于 addOnScrollChangedListener 的方法可以监听滚... | 1,200 |
1,338 | <gh_stars>1000+
/*
* Copyright 2003-2013, <NAME>, <EMAIL>.
* Copyright 2008, <NAME> <<EMAIL>>
* Distributed under the terms of the MIT License.
*/
#include "Directory.h"
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <strings.h>
#include <unistd.h>
#include <new>
#include <StorageDefs.h>
... | 6,169 |
5,133 | <gh_stars>1000+
/*
* Copyright MapStruct Authors.
*
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package org.mapstruct.itest.spring;
import org.mapstruct.Mapper;
import org.mapstruct.MappingConstants;
import org.mapstruct.DecoratedWith;
import org.maps... | 207 |
465 | from builtins import object
import falcon
from monitorrent.settings_manager import SettingsManager
# noinspection PyUnusedLocal
class SettingsDeveloper(object):
def __init__(self, settings_manager):
"""
:type settings_manager: SettingsManager
"""
self.settings_manager = settings_ma... | 368 |
852 | <reponame>ckamtsikis/cmssw
import FWCore.ParameterSet.Config as cms
process = cms.Process("test")
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(10) )
process.source = cms.Source(
'PoolSource',
# CSA14 RECO
# fileNames = cms.untracked.vstring('root://eoscms.cern.ch//eos/cms/store/relval/CMS... | 1,102 |
4,293 | package com.github.pockethub.android.dagger;
import com.github.pockethub.android.ui.repo.UserRepositoryListFragment;
import com.github.pockethub.android.ui.user.UserCreatedNewsFragment;
import com.github.pockethub.android.ui.user.UserFollowersFragment;
import com.github.pockethub.android.ui.user.UserFollowingFragment;... | 249 |
372 | <filename>clients/google-api-services-youtube/v3/1.30.1/com/google/api/services/youtube/model/LiveChatUserBannedMessageDetails.java
/*
* 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,163 |
1,062 | <gh_stars>1000+
try:
try:
0/0
except Exception:
raise
except Exception as e:
print repr(e)
| 59 |
1,174 | // Copyright 2015-2016 Espressif Systems (Shanghai) PTE 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 required by app... | 7,587 |
1,053 | /**
* Copyright (c) 2004,2005 Hewlett-Packard Company
* All rights reserved
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notic... | 4,352 |
539 | <reponame>glenfe/microsoft.bond<gh_stars>100-1000
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
package org.bondlib;
import java.io.IOException;
import java.io.OutputStream;
import java.util.LinkedList;
/**
* Im... | 5,099 |
852 | <filename>MagneticField/GeomBuilder/src/printUniqueNames.h
#ifndef MagneticField_GeomBuilder_printUniqueNames_h
#define MagneticField_GeomBuilder_printUniqueNames_h
#include "BaseVolumeHandle.h"
namespace magneticfield {
/// Just for debugging...
void printUniqueNames(handles::const_iterator begin, handles::cons... | 115 |
823 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2017, IntoPIX SA
# Contact: <EMAIL>
# Author: <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 ... | 1,900 |
578 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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... | 4,516 |
328 | <filename>genrate_fragments/step3_split.py
# encoding=utf-8
'''
Step3: extract entity, type and predicate out of the original triple files and allocate ids
'''
entities = set()
types = set()
predicate = set()
with open('triple file here','r') as f:
i = 1
k = 0
for line in f.readlines():
tri = line[:-2].... | 633 |
60,067 | #include <torch/optim/schedulers/lr_scheduler.h>
namespace torch {
namespace optim {
LRScheduler::LRScheduler(torch::optim::Optimizer& optimizer) :
step_count_(0),
optimizer_(optimizer) {}
void LRScheduler::step() {
std::vector<double> learning_rates = get_lrs();
set_optimizer_lrs(learning_rates);
step_cou... | 466 |
7,482 | <reponame>rockonedege/rt-thread<filename>libcpu/risc-v/juicevm/interrupt.c
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2021/04/24 Juice The first version
*/
#include <rthw.h>
#include <board.h>... | 362 |
9,402 | /**
* \file
* Lazy initialization and cleanup utilities
*
* Authors: <NAME> <<EMAIL>>
*
* Copyright 2015 Xamarin, Inc. (www.xamarin.com)
* Licensed under the MIT license. See LICENSE file in the project root for full license information.
*/
#ifndef __MONO_LAZY_INIT_H__
#define __MONO_LAZY_INIT_H__
#include <g... | 2,082 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-593p-v3rw-wc95",
"modified": "2022-04-30T18:20:21Z",
"published": "2022-04-30T18:20:21Z",
"aliases": [
"CVE-2002-1010"
],
"details": "Lotus Domino R4 allows remote attackers to bypass access restrictions for files in the web root via an HTTP request appended wi... | 348 |
1,672 | #include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <google/protobuf/text_format.h>
#include <map>
#include <string>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#include "... | 21,697 |
435 | <reponame>jaguerraEmergya/jMetal<filename>jmetal-experimental/src/main/java/org/uma/jmetal/experimental/componentbasedalgorithm/example/multiobjective/nsgaii/NSGAIITSPExample.java<gh_stars>100-1000
package org.uma.jmetal.experimental.componentbasedalgorithm.example.multiobjective.nsgaii;
import org.uma.jmetal.experime... | 1,202 |
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... | 2,152 |
2,724 | <gh_stars>1000+
#import <UIKit/UIKit.h>
//! Project version number for PullToRefresh.
FOUNDATION_EXPORT double PullToRefreshVersionNumber;
//! Project version string for PullToRefresh.
FOUNDATION_EXPORT const unsigned char PullToRefreshVersionString[];
| 79 |
2,151 | <gh_stars>1000+
// 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 COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_FAKE_FORM_FETCHER_H_
#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_FAKE_FORM_FETCHER_H... | 1,308 |
523 | <gh_stars>100-1000
#pragma once
#include <string>
namespace mstch {
using delim_type = std::pair<std::string, std::string>;
class token {
public:
enum class type {
text, variable, section_open, section_close, inverted_section_open,
unescaped_variable, comment, partial, delimiter_change
};
token(const... | 397 |
1,844 | <reponame>gomez-javier-github/killbill
/*
* Copyright 2016 Groupon, Inc
* Copyright 2016 The Billing Project, LLC
*
* The Billing Project 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 ... | 2,389 |
4,126 | <reponame>nickc01/cuberite
// Globals.h
// This file gets included from every module in the project, so that global symbols may be introduced easily
// Also used for precompiled header generation in MSVC environments
// Compiler-dependent stuff:
#if defined(_MSC_VER)
// MSVC produces warning C4481 on the overri... | 1,409 |
335 | <reponame>Safal08/Hacktoberfest-1<filename>G/Geniculate_adjective.json
{
"word": "Geniculate",
"definitions": [
"Bent at a sharp angle."
],
"parts-of-speech": "Adjective"
} | 92 |
1,964 | from test_plus.test import TestCase
from bootcamp.news.models import News
class NewsModelsTest(TestCase):
def setUp(self):
self.user = self.make_user("test_user")
self.other_user = self.make_user("other_test_user")
self.first_news = News.objects.create(
user=self.user, content... | 515 |
348 | <filename>docs/data/leg-t2/036/03601128.json
{"nom":"Montierchaume","circ":"1ère circonscription","dpt":"Indre","inscrits":1289,"abs":726,"votants":563,"blancs":41,"nuls":14,"exp":508,"res":[{"nuance":"REM","nom":"<NAME>","voix":324},{"nuance":"FN","nom":"<NAME>","voix":184}]} | 110 |
421 | <gh_stars>100-1000
#!/usr/bin/python
# -*- coding: utf-8 -*-
from pocsuite.api.request import req #用法和 requests 完全相同
from pocsuite.api.poc import register
from pocsuite.api.poc import Output, POCBase
headers = {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3970.... | 1,342 |
4,345 | <reponame>sunlight2728/Coding-iOS
//
// EACodeReleaseAttachmentsOrReferencesCell.h
// Coding_iOS
//
// Created by Easeeeeeeeee on 2018/3/23.
// Copyright © 2018年 Coding. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "EACodeRelease.h"
typedef NS_ENUM(NSUInteger, EACodeReleaseAttachmentsOrReferencesCellTy... | 271 |
14,668 | <reponame>zealoussnow/chromium
// Copyright 2018 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 UI_EVENTS_KEYCODES_DOM_DOM_KEYBOARD_LAYOUT_MAP_H_
#define UI_EVENTS_KEYCODES_DOM_DOM_KEYBOARD_LAYOUT_MAP_H_
#inclu... | 290 |
3,200 | # Copyright 2020 Huawei Technologies Co., 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 required by applicable law or agreed to... | 3,063 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-7373-q85p-xf23",
"modified": "2022-05-13T01:01:58Z",
"published": "2022-05-13T01:01:58Z",
"aliases": [
"CVE-2018-3914"
],
"details": "An exploitable stack-based buffer overflow vulnerability exists in the retrieval of database fields in the video-core HTTP serv... | 465 |
323 | <filename>src/asp/IsisIO/IsisInterfaceSAR.h
// __BEGIN_LICENSE__
// Copyright (c) 2009-2013, United States Government as represented by the
// Administrator of the National Aeronautics and Space Administration. All
// rights reserved.
//
// The NGT platform is licensed under the Apache License, Version 2.0 (the
// ... | 804 |
1,666 | {
"targets": [
{
"target_name": "test_number",
"sources": [
"../entry_point.c",
"test_number.c"
]
}
]
}
| 90 |
397 | <reponame>PaulSandoz/capsule
/**
* Copyright (c) <NAME> <Centrum Wiskunde & Informatica> and Contributors.
* All rights reserved.
*
* This file is licensed under the BSD 2-Clause License, which accompanies this project
* and is available under https://opensource.org/licenses/BSD-2-Clause.
*/
package io.usethesour... | 732 |
375 | /*
* Copyright 2016 Nokia Solutions and Networks
* Licensed under the Apache License, Version 2.0,
* see license.txt file for details.
*/
package org.robotframework.ide.eclipse.main.plugin.project.editor.handlers;
import javax.inject.Named;
import org.eclipse.e4.core.di.annotations.Execute;
import org.eclipse.e4.... | 586 |
348 | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | 1,066 |
849 | <gh_stars>100-1000
/*
* Copyright 2016 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 applicabl... | 1,773 |
427 | <gh_stars>100-1000
/** Handling for cast nodes
* @file
*
* This source file is part of the Cone Programming Language C compiler
* See Copyright Notice in conec.h
*/
#include "../ir.h"
// Create node for recasting to a new type without conversion
CastNode *newRecastNode(INode *exp, INode *type) {
CastNode *nod... | 3,017 |
360 | <filename>CubeEngine/EngineSrc/Scene/SceneCuller.h
#pragma once
#include "Engine/EngineDef.h"
#include <functional>
#include <unordered_set>
#include <unordered_map>
#include "Rendering/RenderCommand.h"
#include "Rendering/RenderQueues.h"
#include <array>
namespace tzw {
class SceneCuller:public Singleton<SceneCuller>... | 226 |
9,782 | <reponame>sreekanth370/presto
/*
* 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 ... | 2,682 |
370 | from .f0 import interp1d
from .generic import (
adjust_frame_length,
adjust_frame_lengths,
delta_features,
inv_minmax_scale,
inv_mulaw,
inv_mulaw_quantize,
inv_preemphasis,
inv_scale,
meanstd,
meanvar,
minmax,
minmax_scale,
minmax_scale_params,
mulaw,
mulaw_qu... | 538 |
390 | <filename>applications/cli/commands/workflow/workflow.py<gh_stars>100-1000
#
# Copyright (c) 2019 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.... | 442 |
713 | <reponame>t-gergely/infinispan
package org.infinispan.test.fwk;
import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import org.infinispan.test.TestException;
/**
* Class that throws an exception on serialization or deserialization.
*
* @author <NAME>... | 673 |
460 | #include "../../tools/designer/src/lib/extension/default_extensionfactory.h"
| 28 |
190,993 | <gh_stars>1000+
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by app... | 842 |
335 | <reponame>Safal08/Hacktoberfest-1
{
"word": "Hamlet",
"definitions": [
"A small settlement, generally one smaller than a village, and strictly (in Britain) one without a church."
],
"parts-of-speech": "Noun"
} | 91 |
1,681 | <gh_stars>1000+
"""
Module that deals with managing the matplotlib backend for interactive
and/or animated plots created via `hypertools.plot` and
`hypertools.DataGeometry.plot`. Main functionality is contained in
`set_interactive_backend` (sole front-end function) and `manage_backend`
(decorator for `hypertools.plot`... | 13,850 |
938 | //===--------- EHFrameSupport.h - JITLink eh-frame utils --------*- C++ -*-===//
//
// 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
//
//===---------------------------... | 546 |
2,268 | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $Workfile: $
// $Date: $
//
//-----------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//===================================================================... | 903 |
1,755 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkGLTFWriterUtils.h
Copyright (c) <NAME>, <NAME>, <NAME>
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WIT... | 762 |
360 | <filename>yt/data_objects/tests/test_glue.py
import nose
from yt.config import ytcfg
from yt.testing import fake_random_ds, requires_module
def setup_func():
ytcfg["yt", "internals", "within_testing"] = True
@requires_module("glue.core")
@nose.with_setup(setup_func)
def test_glue_data_object():
ds = fake_r... | 158 |
3,084 | <filename>print/OEM Printer Customization Plug-in Samples/C++/oemprean/intrface.cpp
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
... | 21,049 |
435 | <filename>web-services/query/src/main/java/datawave/webservice/query/cache/QueryTraceCache.java
package datawave.webservice.query.cache;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import com.google.common.collect.Multimap;
import javax.annotation.PostConstruct;
import java.io.S... | 1,597 |
5,937 | <gh_stars>1000+
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//-----------------------------------------------------------------------------
//
//
// Descript... | 4,548 |
1,338 | <filename>src/system/boot/platform/openfirmware/mmu.cpp
/*
* Copyright 2003, <NAME>, <EMAIL>.
* All rights reserved. Distributed under the terms of the MIT License.
*/
#include <platform_arch.h>
#include <boot/platform.h>
#include <boot/stdio.h>
#include <platform/openfirmware/openfirmware.h>
#include <stdarg.h>
... | 385 |
14,668 | // 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 "chrome/browser/extensions/api/force_installed_affiliated_extension_apitest.h"
#include "base/files/file_path.h"
#include "base/json/json_writer... | 1,447 |
515 | <filename>Libs/DICOM/Widgets/ctkDICOMServerNodeWidget.h
/*=========================================================================
Library: CTK
Copyright (c) Kitware Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You ... | 925 |
348 | {"nom":"Sergines","circ":"3ème circonscription","dpt":"Yonne","inscrits":867,"abs":421,"votants":446,"blancs":22,"nuls":5,"exp":419,"res":[{"nuance":"FN","nom":"<NAME>","voix":212},{"nuance":"REM","nom":"Mme <NAME>","voix":207}]} | 91 |
338 | <reponame>wangtt03/raspberryjammod
__all__ = ['minecraft', 'block', 'entity', 'connection', 'vpython_colors', 'vpython_minecraft', 'settings', 'security']
| 51 |
16,461 | <reponame>anaskhraza/react-native<gh_stars>1000+
/**
* 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.
*
* @generated by codegen project: GeneratePropsJavaDelegate.js
*/
package com.facebook.r... | 635 |
777 | <filename>content/shell/browser/layout_test/layout_test_devtools_frontend.cc
// 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.
#include "content/shell/browser/layout_test/layout_test_devtools_frontend.h"
... | 2,124 |
440 | /*========================== begin_copyright_notice ============================
Copyright (C) 2017-2021 Intel Corporation
SPDX-License-Identifier: MIT
============================= end_copyright_notice ===========================*/
#include "common/EmUtils.h"
#ifndef DECLARE_IGC_GROUP
#define DECLARE_IGC_GROUP(gr... | 122 |
6,041 | package com.koushikdutta.async.wrapper;
import com.koushikdutta.async.AsyncSocket;
public interface AsyncSocketWrapper extends AsyncSocket, DataEmitterWrapper {
public AsyncSocket getSocket();
}
| 69 |
1,724 | #include <abi/Result.h>
#include <libjson/Json.h>
#include <libmath/MinMax.h>
#include <string.h>
#include "devfs/DevicesInfo.h"
#include "system/devices/Devices.h"
#include "system/interrupts/Interupts.h"
#include "system/node/Handle.h"
#include "system/scheduling/Scheduler.h"
FsDeviceInfo::FsDeviceInfo() : FsNode(H... | 852 |
1,611 | <gh_stars>1000+
import os
import docker
from lib.log import LogGetter
from retry.api import retry_call
def is_container_running(container):
container.reload()
if container.status != "running":
raise Exception
class DockerHelper(LogGetter):
def __init__(self):
self.client = docker.from_e... | 1,884 |
491 | <gh_stars>100-1000
/*
* Copyright (c) 2011 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 PATE... | 437 |
1,847 | <reponame>tufeigunchu/orbit
// Copyright (c) 2021 The Orbit 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 ORBIT_GL_VIEWPORT_H_
#define ORBIT_GL_VIEWPORT_H_
#include "CoreMath.h"
namespace orbit_gl {
// Defines a mapping ... | 720 |
1,080 | <gh_stars>1000+
//
// LSTPopViewQQView.h
// LSTPopView_Example
//
// Created by LoSenTrad on 2020/4/23.
// Copyright © 2020 <EMAIL>. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface LSTPopViewQQView : UIView
@end
NS_ASSUME_NONNULL_END
| 122 |
852 | import FWCore.ParameterSet.Config as cms
phase2_common = cms.Modifier()
| 26 |
603 | /******************************************************************************
* Multiverse 2 Copyright (c) the Multiverse Team 2011. *
* Multiverse 2 is licensed under the BSD License. *
* For more information please check the README.md file included *
... | 1,004 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.