max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
435 | {
"copyright_text": null,
"description": "From humble beginnings in 2001, the SciPy library has grown into one of\nthe cornerstones of the scientific Python ecosystem, and it recently had\na milestone 1.0 release. In this talk I'd like to explore the road to\nthat 1.0 release, as well as some questions and ideas ab... | 469 |
743 | // Copyright 2021 Sony Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_LINUX_EMBEDDED_WINDOW_RENDERER_ELINUX_SHADER_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_EMBEDDED_WINDOW_RENDERER_ELINUX_SHADER_H_
... | 460 |
1,466 | <filename>java/main/com/facebook/profilo/config/Config.java<gh_stars>1000+
/**
* Copyright 2004-present, Facebook, Inc.
*
* <p>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
*
* <p>http://ww... | 1,123 |
14,668 | <reponame>zealoussnow/chromium<gh_stars>1000+
// 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.
#ifndef ASH_HUD_DISPLAY_CPU_GRAPH_PAGE_VIEW_H_
#define ASH_HUD_DISPLAY_CPU_GRAPH_PAGE_VIEW_H_
#include "ash... | 415 |
1,584 | <gh_stars>1000+
//===========================================================================
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//===========================================================================
#ifndef _INC_PROPKEY
#define _INC_PROPKEY
#ifndef DEFINE_API_PKEY
#... | 114,657 |
5,823 | <reponame>onix39/engine
// Copyright 2013 The Flutter 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 dev.flutter;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.test.runner.AndroidJUnitRunner... | 224 |
5,169 | {
"name": "SGExtension",
"version": "1.0.1",
"platforms": {
"ios": "8.0"
},
"license": "MIT",
"homepage": "https://github.com/iOSSinger",
"authors": {
"iOSSinger": "<EMAIL>"
},
"summary": "常用工具的小合集",
"source": {
"git": "https://github.com/iOSSinger/SGExtension.git",
"tag": "1.0.1"
... | 351 |
619 | /*
* Authors: <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
* Copyright (c) 2014 - 2016 Intel Corporation.
*
* This program and the accompanying materials are made available under the
* terms of the The MIT License which is available at
* https://opensource.org/licenses/MIT.
*
* SPD... | 499 |
1,255 | ''' Language parser for Python '''
from .code_reader import CodeReader, CodeStateMachine
from .script_language import ScriptLanguageMixIn
def count_spaces(token):
return len(token.replace('\t', ' ' * 8))
class PythonIndents: # pylint: disable=R0902
def __init__(self, context):
self.indents = [0]
... | 1,540 |
642 | <reponame>remaininlight/axiom
#include "MidiControl.h"
using namespace AxiomModel;
MidiControl::MidiControl(const QUuid &uuid, const QUuid &parentUuid, QPoint pos, QSize size, bool selected,
QString name, bool showName, const QUuid &exposerUuid, const QUuid &exposingUuid,
... | 537 |
533 | <gh_stars>100-1000
/* Copyright (c) 2018 Anakin Authors, 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.0
Unl... | 3,297 |
2,338 | // RUN: not %clang -std=c++98 %s -Wno-c++0x-compat -fsyntax-only 2>&1 | FileCheck -check-prefix=CXX98 %s
// RUN: not %clang -std=gnu++98 %s -Wno-c++0x-compat -fsyntax-only 2>&1 | FileCheck -check-prefix=GNUXX98 %s
// RUN: not %clang -std=c++03 %s -Wno-c++0x-compat -fsyntax-only 2>&1 | FileCheck -check-prefix=CXX98 %s
/... | 1,066 |
2,151 | <gh_stars>1000+
// 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.
// This is the list of data reduction proxy bypass actions and their values.
// These actions are specified in the Chrome-Proxy header. Fo... | 350 |
5,169 | {
"name": "Juliet",
"version": "0.0.2",
"summary": "A lightweight, extendable logging framework in Swift.",
"description": "A Simple lightweight, extendable logging framework",
"homepage": "https://github.com/corey-roguebit/juliet",
"license": "MIT",
"authors": {
"<NAME>": "<EMAIL>"
},
"social_med... | 264 |
453 | #include "timer.h"
#include <limits.h>
#include <std/memory.h>
#include <std/common.h>
#include <kernel/drivers/pit/pit.h>
#include <kernel/drivers/rtc/clock.h>
#include <kernel/syscall/sysfuncs.h>
#include <kernel/interrupts/int_notifier.h>
static int callback_num = 0;
static timer_callback_t callback_table[MAX_CALLB... | 920 |
1,139 | <reponame>ghiloufibelgacem/jornaldev<filename>Android/RecyclerViewGridLayoutManager/app/src/main/java/com/journaldev/recyclerviewgridlayoutmanager/DataModel.java
package com.journaldev.recyclerviewgridlayoutmanager;
/**
* Created by anupamchugh on 11/02/17.
*/
public class DataModel {
public String text;
... | 195 |
310 | <filename>gear/software/t/terminator.json
{
"name": "Terminator",
"description": "A terminal client.",
"url": "https://code.google.com/archive/p/jessies/wikis/Terminator.wiki"
} | 66 |
2,770 | <reponame>cninja1/streamalert
"""
Copyright 2017-present, Airbnb 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 la... | 1,585 |
1,299 | <reponame>hongdongni/RxNetty
/*
* Copyright 2015 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 ... | 589 |
948 | {
"name": "__MSG_appName__",
"version": "1.4.2",
"manifest_version": 2,
"description": "__MSG_appDescription__",
"author": "Jaeger <<EMAIL>>",
"homepage_url": "https://github.com/jae-jae/camtd",
"icons": {
"16": "images/default/icon-16.png",
"128": "images/default/icon-128.png"
},
"default_loc... | 483 |
1,694 | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>.
//
#import <UIKit/UITableViewCell.h>
@class UIImageView;
@interface MultiSelectTableViewCell : UITableViewCell
{
UIImageView *m_selectedIm... | 500 |
1,838 | <reponame>RussellM2020/maml_gps
import numpy as np
from rllab.core.serializable import Serializable
from rllab.envs.base import Step
from rllab.envs.mujoco.mujoco_env import MujocoEnv
from rllab.misc import autoargs
from rllab.misc.overrides import overrides
class InvertedDoublePendulumEnv(MujocoEnv, Serializable):
... | 1,019 |
1,178 | /* Copyright (c) 2008-2011 Freescale Semiconductor, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice... | 7,226 |
6,969 | <reponame>MLinesCode/The-Complete-FAANG-Preparation<gh_stars>1000+
class Solution:
def generateParenthesis(self, n):
ans = ['()']
for _ in range(2, n + 1):
new = set()
for s in ans:
for i in range(len(s)):
a = s[:i] + '()' + s[i:]
... | 225 |
2,151 | // 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.
#ifndef CHROME_BROWSER_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PRIVATE_DELEGATE_H_
#define CHROME_BROWSER_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PR... | 1,154 |
852 | <reponame>ckamtsikis/cmssw
#ifndef _DQM_SiTrackerPhase2_Phase2TrackerValidationUtil_h
#define _DQM_SiTrackerPhase2_Phase2TrackerValidationUtil_h
#include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "DQMServices/Core/interface/MonitorElement.h"... | 369 |
339 | <reponame>isuruuy429/product-ei
/*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) 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/... | 1,363 |
543 | /*
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 2,174 |
15,577 | #pragma once
#include <Core/Block.h>
#include <Formats/FormatSettings.h>
#include <Processors/Formats/IRowOutputFormat.h>
namespace DB
{
class WriteBuffer;
/** A stream for outputting data in tsv format.
*/
class TabSeparatedRowOutputFormat : public IRowOutputFormat
{
public:
/** with_names - output in the f... | 463 |
530 | <reponame>Yzubi/bladecoder-adventure-engine
package com.bladecoder.engine.ui.retro;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.scenes.scene2d.utils.BaseDrawable;
import com.bladecoder.engine.model.ActorRenderer;
public class RendererDrawable e... | 357 |
362 | <filename>Gfycat/src/main/java/net/danlew/gfycat/rx/MediaPlayerErrorOnSubscribe.java
package net.danlew.gfycat.rx;
import android.media.MediaPlayer;
import rx.Observable;
import rx.Subscriber;
import rx.android.MainThreadSubscription;
import static rx.android.MainThreadSubscription.verifyMainThread;
public class Med... | 463 |
3,200 | <gh_stars>1000+
/**
* 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 b... | 2,848 |
2,151 | <reponame>zipated/src
// Copyright (c) 2012 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 "media/base/video_decoder.h"
#include "media/base/video_frame.h"
namespace media {
VideoDecoder::VideoDecoder() = de... | 262 |
2,151 | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "streaming/cast/rtcp_common.h"
#include "absl/types/span.h"
#include "third_party/googletest/src/googletest/include/gtest/gtest.h"
namespace op... | 2,855 |
28,056 | package com.alibaba.json.bvt.issue_3100;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.json.bvtVO.一个中文名字的包.User;
import junit.framework.TestCase;
public class Issue3132 extends TestCase {
public void test_for_issue() throws Exception {
User user = new User();
user.setId(9);
u... | 174 |
1,511 | /*
*
* Copyright (C) 1996-2010, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: dcmimgle
*
* Author: <NAME>
... | 1,270 |
2,053 | /*
* Copyright 2015 the original author or authors.
* @https://github.com/scouter-project/scouter
*
* 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... | 2,329 |
577 | package org.fluentlenium.core.dom;
import org.fluentlenium.adapter.FluentAdapter;
import org.fluentlenium.core.components.ComponentInstantiator;
import org.fluentlenium.core.components.DefaultComponentInstantiator;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock... | 1,406 |
660 | <reponame>ashakhno/media-driver<filename>media_driver/agnostic/gen12/hw/vdbox/mhw_vdbox_avp_hwcmd_g12_X.cpp
/*
* Copyright (c) 2017-2020, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal ... | 11,441 |
575 | <filename>ui/events/win/keyboard_hook_win_base.h
// 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_WIN_KEYBOARD_HOOK_WIN_BASE_H_
#define UI_EVENTS_WIN_KEYBOARD_HOOK_WIN_BASE_H_
#include... | 1,099 |
984 | /*
* 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 applicable law or agreed to in wri... | 725 |
3,631 | /*
* Copyright 2018 Red Hat, Inc. and/or 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 app... | 475 |
2,031 | /**
* Non-metric Space Library
*
* Main developers: <NAME>, <NAME>, <NAME>, <NAME>, <NAME>
*
* For the complete list of contributors and further details see:
* https://github.com/nmslib/nmslib
*
* Copyright (c) 2013-2018
*
* This code is released under the
* Apache License Version 2.0 http://www.apache.org/l... | 1,950 |
2,294 | <gh_stars>1000+
"""
When mu is 0, the solutions remain around 0, regardless of sigma.
When mu is not 0, the mean of the solutions drift toward positive or negative,
proportional to the magnitude of mu.
The variance of the solutions increases linearly in time. The slope of the
increase is proportional to the std of th... | 93 |
2,939 | <gh_stars>1000+
#ifndef EIR_DIALECT_H
#define EIR_DIALECT_H
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "mlir/Dialect/StandardOps/IR/Ops.h"
#include "mlir/IR/Dialect.h"
#include "lumen/EIR/IR/EIRDialect.h.inc"
#endif // EIR_DIALECT_H
| 124 |
1,745 | <reponame>Milerius/bsf<gh_stars>1000+
/* Copyright (C) 2011-2014 <NAME> <<EMAIL>>
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 LIBSIMDPP_SIMDPP_DETAIL_INSN_STORE_H
#define LIBSIMD... | 2,419 |
3,102 | // REQUIRES: aarch64-registered-target
// -fopemp and -fopenmp-simd behavior are expected to be the same
// RUN: %clang_cc1 -triple aarch64-linux-gnu -target-feature +sve \
// RUN: -fopenmp -x c -emit-llvm %s -o - -femit-all-decls | FileCheck %s
// RUN: %clang_cc1 -triple aarch64-linux-gnu -target-feature +sve \
// ... | 600 |
372 | <gh_stars>100-1000
package io.mvpstarter.sample.injection.component;
import dagger.Subcomponent;
import io.mvpstarter.sample.features.detail.DetailActivity;
import io.mvpstarter.sample.features.main.MainActivity;
import io.mvpstarter.sample.injection.PerActivity;
import io.mvpstarter.sample.injection.module.ActivityMo... | 151 |
1,345 | <reponame>MaksHess/napari<filename>napari/components/_tests/test_world_coordinates.py
import warnings
import numpy as np
import pytest
from napari.components import ViewerModel
def test_translated_images():
"""Test two translated images."""
viewer = ViewerModel()
np.random.seed(0)
data = np.random.r... | 1,629 |
1,585 | package com.jaeger.ninegridimgdemo.activity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.Toolbar;
import com.jaeger.ninegridimageview.NineGridImageView;
import com.jaeger.ninegridimgdemo.R;
import com.j... | 2,122 |
739 | """
* Copyright 2007,2008,2009 <NAME>
* Copyright (C) 2009 <NAME> <<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... | 5,429 |
1,009 | <filename>src/aof_buf_queue.h<gh_stars>1000+
/*
* Copyright (c) 2017, Alibaba Group Holding Limited
* 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 mu... | 1,292 |
544 | //
// GooglePalette+Accents.h
// CrayonsExample
//
// Created by <NAME> on 03/12/2015.
// Copyright © 2015 orange in a day. All rights reserved.
//
#import "GooglePalette.h"
@interface GooglePalette (Accents)
@end
| 80 |
1,962 | package com.bolingcavalry.api;
import org.apache.flink.api.java.tuple.Tuple2;
import org.apache.flink.streaming.api.datastream.DataStream;
import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;
import java.util.ArrayList;
import java.util.List;
/**
* @author will
* @email <EMAIL>
* @date 20... | 726 |
3,066 | <filename>extensions/functions/src/test/java/io/crate/window/RankFunctionsIntegrationTest.java
/*
* Licensed to Crate.io GmbH ("Crate") under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. Crate licenses
* th... | 1,101 |
12,964 | /**
* An implementation of counting sort!
*
* <p>Run with:
*
* <p>$ ./gradlew run -Palgorithm=sorting.CountingSort
*
* @author <NAME>, <EMAIL>
*/
package com.williamfiset.algorithms.sorting;
public class CountingSort implements InplaceSort {
@Override
public void sort(int[] values) {
int minValue = In... | 560 |
3,673 | <gh_stars>1000+
// -*-C++-*-
#pragma once
#ifndef INCLUDEOS_ARCH_HEADER
#define INCLUDEOS_ARCH_HEADER
#include <cstddef>
#include <cstdint>
#include <cassert>
#include <ctime>
#include <string>
extern void __arch_poweroff();
extern void __arch_reboot();
extern void __arch_enable_legacy_irq(uint8_t);
extern void __a... | 525 |
648 | {"resourceType":"DataElement","id":"Composition.section.text","meta":{"lastUpdated":"2015-10-24T07:41:03.495+11:00"},"url":"http://hl7.org/fhir/DataElement/Composition.section.text","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"path":"Composition.section.text","short":"Text summary of... | 231 |
1,059 | /* SPDX-License-Identifier: BSD-2-Clause */
#include <tilck/common/basic_defs.h>
#include <tilck/kernel/kb.h>
struct list kb_devices_list = STATIC_LIST_INIT(kb_devices_list);
void register_keyboard_device(struct kb_dev *kb)
{
list_add_tail(&kb_devices_list, &kb->node);
}
void register_keypress_handler(struct key... | 710 |
515 | <reponame>jkjt/ezdxf
# Created: 30.04.2011, 2018 rewritten for pytest
# Copyright (C) 2011-2019, <NAME>
# License: MIT License
import pytest
from io import StringIO
from ezdxf.lldxf.tags import Tags, DXFTag
from ezdxf.lldxf.extendedtags import ExtendedTags
from ezdxf import DXFKeyError, DXFValueError
from ezdxf.lldxf.... | 4,910 |
1,602 | <gh_stars>1000+
#include "bswap.h"
#include <stdio.h>
#include <stdint.h>
#include <assert.h>
static
void check(void* b, int len, char* match)
{
char* buf = (char*) b;
int i;
int v;
int m;
for( i = 0; i < len; i++ ) {
v = buf[i];
v &= 0xff;
m = match[i];
m &= 0xff;
printf("%02x ", v);
... | 698 |
362 | <filename>scripts/docker_interactive.py<gh_stars>100-1000
"""
Example script for running a python program on a docker image.
Usage example:
python scripts/docker_interactive.py avi
"""
from __future__ import print_function
import argparse
import os
from os.path import abspath, dirname, realpath
import doodad as ... | 774 |
744 | <reponame>laowch/GithubTrends<filename>app/src/main/java/com/laowch/githubtrends/ui/AboutActivity.java
package com.laowch.githubtrends.ui;
import android.os.Bundle;
import android.text.Html;
import android.widget.TextView;
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.AdView;
import c... | 379 |
552 | #pragma once
#include <glibmm/refptr.h>
#include <gtkmm/builder.h>
#include <gtkmm/fontbutton.h>
#include <gtkmm/flowbox.h>
#include <gtkmm/radiobutton.h>
#include <gtkmm/paned.h>
#include <gtkmm/searchentry.h>
#include <gtkmm/treeview.h>
#include <gtkmm/treestore.h>
#include <gtkmm/treemodelcolumn.h>
#include <gtkmm... | 1,074 |
3,457 | Array3d v(8,27,64);
cout << v.pow(0.333333) << endl;
| 30 |
348 | {"nom":"<NAME>","circ":"12ème circonscription","dpt":"Nord","inscrits":3565,"abs":2044,"votants":1521,"blancs":23,"nuls":8,"exp":1490,"res":[{"nuance":"REM","nom":"Mme <NAME>","voix":438},{"nuance":"FN","nom":"<NAME>","voix":312},{"nuance":"LR","nom":"Mme <NAME>","voix":192},{"nuance":"FI","nom":"<NAME>","voix":164},{"... | 269 |
1,251 | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
#ifndef _FA_RSNFA_RO_H_
#define _FA_RSNFA_RO_H_
#include "FAConfig.h"
#include "FARSNfaA.h"
#include "FAArray_cont_t.h"
#include "FANfaDelta_ro.h"
namespace BlingFire
{
class FAAllocatorA;
///
... | 961 |
1,444 | <reponame>J-VOL/mage
package mage.cards.e;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.AsEntersBattlefieldAbility;
import mage.abilities.effects.OneShotEffect;
import mage.abilities.effects.common.continuous.SetPowerToughnessSourceEffect;
import mage.cards.CardImpl;
import mage.ca... | 858 |
5,169 | {
"name": "FuliLibraryForH5",
"version": "1.4.1",
"summary": "FuliLibraryForH5是纳德集团旗下薪起程赋力SDKForH5,主要用语于钱包H5与原生交互所用",
"description": "博纳德集团旗下薪起程赋力SDKForH5,主要用语于钱包H5与原生交互所用,博纳德集团旗下薪起程赋力SDKForH5,主要用语于钱包H5与原生交互所用",
"homepage": "https://github.com/wenwugithub/FuliLibraryForH5",
"license": {
"type": "MIT",
... | 1,136 |
672 | <gh_stars>100-1000
/*
* 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... | 3,428 |
16,989 | /* gzjoin -- command to join gzip files into one gzip file
Copyright (C) 2004, 2005, 2012 <NAME>, all rights reserved
version 1.2, 14 Aug 2012
This software is provided 'as-is', without any express or implied
warranty. In no event will the author be held liable for any damages
arising from the use of this ... | 6,040 |
537 | <filename>src/application/app_centernet.cpp<gh_stars>100-1000
#include <builder/trt_builder.hpp>
#include <infer/trt_infer.hpp>
#include <common/ilogger.hpp>
#include "app_centernet/centernet.hpp"
using namespace std;
static const char* cocolabels[] = {
"person", "bicycle", "car", "motorcycle", "airplane",
"... | 1,866 |
1,738 | #ifndef CRYINCLUDE_EDITOR_CONTROLS_QROLLUPCTRL_H
#define CRYINCLUDE_EDITOR_CONTROLS_QROLLUPCTRL_H
/*
* 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 "Lice... | 1,296 |
7,892 | <reponame>joshrose/audacity
/* inverse.c -- compute the inverse of a sampled function */
/* CHANGE LOG
* --------------------------------------------------------------------
* 28Apr03 dm changes for portability and fix compiler warnings
*/
#include "stdio.h"
#ifndef mips
#include "stdlib.h"
#endif
#include "xli... | 3,300 |
668 | <gh_stars>100-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
... | 1,181 |
534 | package mekanism.common.lib.distribution;
import mekanism.common.lib.distribution.target.IntegerTarget;
import mekanism.common.util.EmitUtils;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.quicktheories.QuickTheory;
import org.quicktheories.WithQuickTheories;
import org.quickt... | 922 |
575 | <gh_stars>100-1000
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/sharing/sharing_service_proxy_android.h"
#include "base/android/callback_android.h"
#include "base/android/jn... | 1,546 |
746 | <reponame>tomassatka/OpenLineage
package io.openlineage.spark.agent;
import static org.assertj.core.api.Assertions.assertThat;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.openlineage.client.OpenLineage;
import io.openlineage.spark.agent.client.Op... | 2,502 |
1,305 | /*
* Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package javax.management;
/**
* Represents runtime exceptions thrown by MBean methods in
* the agen... | 702 |
1,540 | package test.configuration;
import static org.assertj.core.api.Assertions.assertThat;
import org.testng.TestNG;
import org.testng.annotations.Test;
import test.SimpleBaseTest;
public class SuiteFactoryOnceTest extends SimpleBaseTest {
@Test
public void suiteMethodsShouldOnlyRunOnce() {
TestNG tng = create(S... | 208 |
16,461 | <reponame>rudylee/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.
*/
#import <Foundation/Foundation.h>
#import "RNCConnectionState.h"
NS_ASSUME_NONNULL_BEGIN
@class RNCConnec... | 224 |
368 | <gh_stars>100-1000
/**
* @file file_reader.h
* @brief 读文件Wrapper类
* @author xiangwangfeng <<EMAIL>>
* @data 2011-4-27
* @website www.xiangwangfeng.com
*/
#pragma once
#include <xstring>
#include "global_defs.h"
NAMESPACE_BEGIN(Util)
//读文件Wrapper类
class FileReader
{
public:
FileReader(const std::wstrin... | 287 |
1,682 | /*
Copyright (c) 2012 LinkedIn Corp.
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... | 7,077 |
6,304 | <gh_stars>1000+
/*
* Copyright 2019 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "modules/skottie/src/effects/Effects.h"
#include "modules/skottie/src/Composition.h"
#include "modules/skottie/src/Layer.h"
#include "modules/skottie... | 4,220 |
2,174 | <gh_stars>1000+
package ceui.lisa.ui.behavior;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.OverScroller;
import androidx.annotation.NonNull;
import androidx.coordinatorlayout.widget.CoordinatorLayout;
import androidx.core.view.ViewCompat;
import ce... | 2,412 |
22,481 | """DataUpdateCoordinator for System Bridge."""
from __future__ import annotations
import asyncio
from collections.abc import Callable
from datetime import timedelta
import logging
from systembridge import Bridge
from systembridge.exceptions import (
BridgeAuthenticationException,
BridgeConnectionClosedExcepti... | 2,237 |
319 | /**
* Copyright (c) 2011, The University of Southampton and the individual contributors.
* 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 ... | 1,744 |
2,338 | //===-- Implementation header for nearbyintl --------------------*- 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
//
//===---------------------------... | 199 |
1,006 | /* Orx - Portable Game Engine
*
* Copyright (c) 2008-2021 Orx-Project
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this sof... | 3,933 |
308 | <reponame>shallow-ll/AntSpider
# -*- coding: utf-8 -*-
# Define here the models for your spider middleware
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/spider-middleware.html
import random
from scrapy import signals
from twisted.internet.error import TimeoutError
from douban.util import AGENT_L... | 3,355 |
3,151 | <reponame>Jeddunk/ripme
package com.rarchives.ripme.ripper.rippers;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.rarchives.ripme.ripper.AbstractSingl... | 873 |
3,882 | <gh_stars>1000+
import textwrap
from pytype import load_pytd
from pytype.pyi import parser
from pytype.pytd import mro
from pytype.pytd import visitors
from pytype.pytd.parse import parser_test_base
import unittest
class MroTest(parser_test_base.ParserTest):
"""Test pytype.pytd.mro."""
def test_dedup(self):
... | 910 |
364 | package io.agora.agora_rtc_engine_example;
import androidx.test.rule.ActivityTestRule;
import org.junit.Rule;
import org.junit.runner.RunWith;
import dev.flutter.plugins.e2e.FlutterRunner;
@RunWith(FlutterRunner.class)
public class MainActivityTest {
@Rule
public ActivityTestRule<MainActivity> rule =
... | 135 |
647 | <gh_stars>100-1000
package trick.sie.utils;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import javax.swing.event.TreeModelEvent;
import javax.swing.event.TreeModelListener;
import javax.swing.tree.TreePath;
import javax.... | 2,448 |
665 | <filename>testing/MLDB-2077_merge_single_ds.py<gh_stars>100-1000
#
# MLDB-2077_merge_single_ds.py
# <NAME>, 2016-12-07
# This file is part of MLDB. Copyright 2016 mldb.ai inc. All rights reserved.
#
from mldb import mldb, MldbUnitTest, ResponseException
class Mldb2077MergeSingleDs(MldbUnitTest): # noqa
@classme... | 592 |
60,067 | <reponame>Hacky-DH/pytorch
#include <utility>
class Relu : public NeuralNetOperator {
public:
Relu() : NeuralNetOperator(NNKind::Relu) {}
~Relu() {}
NOMNIGRAPH_DEFINE_NN_RTTI(Relu);
private:
};
class Conv : public NeuralNetOperator {
public:
Conv(
vector<int> kernelShape,
vector<int> pads = ... | 5,718 |
2,399 | <filename>Example/Pods/SJUIKit/SJUIKit/Base/SJBaseViewController.h<gh_stars>1000+
//
// SJBaseViewController.h
// SJUIKit_Example
//
// Created by 畅三江 on 2018/12/23.
// Copyright © 2018 <EMAIL>. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "SJBaseProtocols.h"
NS_ASSUME_NONNULL_BEGIN
@interface SJBaseVi... | 538 |
8,747 | <reponame>DCNick3/esp-idf
// Copyright 2017-2019 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
//... | 37,470 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-66mv-q8r2-hj8w",
"modified": "2022-05-13T01:46:48Z",
"published": "2022-05-13T01:46:48Z",
"aliases": [
"CVE-2017-6928"
],
"details": "Drupal core 7.x versions before 7.57 when using Drupal's private file system, Drupal will check to make sure a user has access ... | 585 |
679 | <reponame>Grosskopf/openoffice<filename>main/sc/source/core/data/markdata.cxx<gh_stars>100-1000
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work ... | 6,401 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.