max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
3,428 | <filename>lib/node_modules/@stdlib/datasets/spam-assassin/data/spam-1/00297.3350c2dbbb0272c27b2c7773d7012356.json
{"id":"00297","group":"spam-1","checksum":{"type":"MD5","value":"3350c2dbbb0272c27b2c7773d7012356"},"text":"From /aimcque/zzzzail.rcv/3/jma3d8281b2@freemail.nx.cninfo.net Sat Sep 14 16:20:56 2002\nReturn-P... | 1,185 |
1,062 | //
// Generated by class-dump 3.5b1 (64 bit) (Debug version compiled Dec 3 2019 19:59:57).
//
// Copyright (C) 1997-2019 <NAME>.
//
#import <objc/NSObject.h>
#import "TerminationHandler-Protocol.h"
@class MessageViewer, NSString, NSTimer;
@interface MailTimeMachineController : NSObject <TerminationHandler>
{
... | 1,151 |
679 | <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 license... | 7,485 |
435 | {
"copyright_text": "CC-BY-NC-SA 4.0",
"description": "<NAME>\n\nhttps://2020.pycon.org.au/program/DM7UVV\n\nWe've all done it. Setting up a Slack to chat to our colleagues when the proper system doesn't cut it. Forwarding a document from work to our personal email address so we can read it on the device we want to... | 876 |
956 | <filename>src/pal/linux/rte_atomic.h<gh_stars>100-1000
#ifndef RTE_ATOMIC_STUB_H
#define RTE_ATOMIC_STUB_H
/*
<NAME>
Cisco Systems, Inc.
*/
/*
Copyright (c) 2015-2015 Cisco Systems, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
... | 842 |
647 | <filename>include/trick/compat/sim_services/EchoJobs/include/EchoJobs.hh
#include "trick/EchoJobs.hh"
| 43 |
459 | /*
* This file is part of choco-solver, http://choco-solver.org/
*
* Copyright (c) 2021, IMT Atlantique. All rights reserved.
*
* Licensed under the BSD 4-clause license.
*
* See LICENSE file in the project root for full license information.
*/
package org.chocosolver.solver.constraints.extension.nary;
import ... | 467 |
5,169 | <gh_stars>1000+
{
"name": "BLLSudokuImageLayout",
"version": "0.1.0",
"summary": "A UI component display images with 'sudoku' style like 'nice' app.",
"description": "A UI component display images with the style like \"nice\" app. (类似【nice】app 首页列表中图片显示效果的 UI 组件】)",
"homepage": "https://github.com/light-bo/BL... | 316 |
2,958 | <reponame>blanexie/blade
package com.blade.ioc.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Automatic initInjection
*
* @author <a href="mailto:<EMAIL>" target="_blank">biezhi</a>
... | 160 |
1,056 | <filename>java/j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/jpqleditor/JPQLEditorController.java
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ... | 3,055 |
302 | <reponame>Yalantis/Watchface-Constructor<filename>mobile/src/main/java/com/yalantis/watchface/task/SendToDataLayerThread.java<gh_stars>100-1000
package com.yalantis.watchface.task;
import android.graphics.Bitmap;
import android.util.Log;
import com.google.android.gms.common.api.GoogleApiClient;
import com.google.andr... | 696 |
352 | <reponame>Troublor/crawljax
package com.crawljax.plugins.testcasegenerator.visualdiff.pageobjects;
import org.opencv.core.Mat;
public interface IPageObjectFactory {
PageObject makePageObject(Mat image, int x, int y, int width, int height);
}
| 83 |
560 | <reponame>kento-forest/heamy
# coding:utf-8
import random
import numpy as np
import pytest
from sklearn.model_selection import train_test_split
from sklearn.datasets import load_boston
from sklearn.linear_model import LinearRegression, LogisticRegression
from heamy.dataset import Dataset
from heamy.estimator import R... | 2,089 |
498 | <filename>NonBaseClass-MVVM-ReactiveObjc-master/FXXKBaseMVVM/NonBase/ViewModel/FKViewModelIntercepter.h
//
// FKViewModelIntercepter.h
// FXXKBaseMVVM
//
// Created by 梁宪松 on 2017/12/10.
// Copyright © 2017年 madao. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface FKViewModelIntercepter : NSObj... | 135 |
14,668 | <reponame>chromium/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 CHROME_BROWSER_APPS_APP_SERVICE_APP_SHORTCUT_ITEM_H_
#define CHROME_BROWSER_APPS_APP_SERVICE_APP_SHORTCUT_ITEM_H_
#in... | 432 |
743 | NAN_INT = 7535805
MIN_EMBEDDING = 4
EMBEDDING_SUFFIX = '_emb'
| 34 |
348 | {"nom":"Licq-Athérey","circ":"4ème circonscription","dpt":"Pyrénées-Atlantiques","inscrits":193,"abs":72,"votants":121,"blancs":8,"nuls":4,"exp":109,"res":[{"nuance":"REM","nom":"M. <NAME>","voix":56},{"nuance":"DVD","nom":"<NAME>","voix":53}]} | 101 |
1,600 | <filename>scripts/addons/RetopoFlow/addon_common/common/ui_linefitter.py
'''
Copyright (C) 2021 CG Cookie
http://cgcookie.com
<EMAIL>
Created by <NAME>, <NAME>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free... | 1,671 |
1,498 | <filename>src/main/java/com/spotify/docker/client/messages/LogConfig.java
/*-
* -\-\-
* docker-client
* --
* Copyright (C) 2016 Spotify AB
* --
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Lice... | 678 |
1,850 | package com.alibaba.jvm.sandbox.repeater.plugin.redis;
import com.alibaba.jvm.sandbox.api.event.Event;
import com.alibaba.jvm.sandbox.repeater.plugin.api.InvocationProcessor;
import com.alibaba.jvm.sandbox.repeater.plugin.core.impl.AbstractInvokePluginAdapter;
import com.alibaba.jvm.sandbox.repeater.plugin.core.model.... | 9,865 |
9,852 | {
"symbol-whitelist" : [
"Symfony\\Component\\EventDispatcher\\Event",
"Symfony\\Contracts\\EventDispatcher\\Event",
"Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface",
"null", "true", "false",
"static", "self", "parent",
"array", "string", "int", "float... | 430 |
1,185 | <filename>userspace/libraries/libc/src/functions/arch/crti.c
typedef void (*func_ptr)(void);
extern func_ptr __init_array_start[0], __init_array_end[0];
extern func_ptr __fini_array_start[0], __fini_array_end[0];
void _init(void) {
for (func_ptr* func = __init_array_start; func != __init_array_end; func++)
... | 196 |
1,072 | [
{"tracker": "https://google-analytics.com/ga.js", "site": "reddit.com", "req": {"type": "script"}, "result": {"action": "redirect", "firstParty": false, "reason": "matched rule - surrogate"}},
{"tracker": "https://google-analytics.com/ga.js", "site": "google.com", "req": {"type": "script"}, "result": {"action... | 187 |
599 | <reponame>laodiu/bk-bcs<gh_stars>100-1000
# -*- coding: utf-8 -*-
"""
Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community
Edition) available.
Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved.
Licensed under the MIT License (the "License... | 568 |
4,339 | <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 "Lic... | 1,344 |
563 | # python/example3.py -- running NanoGUI in detached mode
# (contributed by <NAME>)
#
# NanoGUI was developed by <NAME> <<EMAIL>>.
# The widget drawing code is based on the NanoVG demo application
# by <NAME>.
#
# All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the ... | 558 |
361 | <filename>galaxies/cert-eu-govsector.json
{
"description": "Cert EU GovSector",
"icon": "globe",
"name": "Cert EU GovSector",
"namespace": "misp",
"type": "cert-eu-govsector",
"uuid": "68858a48-b898-11e7-91ce-bf424ef9b662",
"version": 2
}
| 111 |
1,806 | <filename>apollo-environment/src/test/java/com/spotify/apollo/environment/ConfigUtilTest.java
/*
* -\-\-
* Spotify Apollo API Environment
* --
* Copyright (C) 2013 - 2015 Spotify AB
* --
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Li... | 1,025 |
336 | <reponame>poolqf/PQFCustomLoaders
//
// PQFBallDrop.h
// PQFCustomLoadersDemo
//
// Created by <NAME> on 6/3/15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "PQFLoader.h"
IB_DESIGNABLE
@interface PQFBallDrop : PQFLoader
/** Text label of the Loader. Hidden if text is nil ... | 409 |
318 | <reponame>kangzai228/learning-power
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# @Author : lisztomania
# @Date : 2021/1/28
# @Software : Pycharm
# @Version : Python 3.8.5
# @File : Url_Test.py
# @Function : 链接延迟测试
import time
import ssl
from socket import timeout
from urllib import request
from urllib.err... | 632 |
548 | from django.db import models
from django.db.models import permalink
from django.conf import settings
from basic.people.models import Person
class Genre(models.Model):
"""Genre model"""
title = models.CharField(max_length=100)
slug = models.SlugField(unique=True)
class Meta:
db_table = 'movie_... | 1,024 |
561 | /// Copyright 2016 Pinterest 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 t... | 2,778 |
3,579 | /*
* Copyright 2015, The Querydsl Team (http://www.querydsl.com/team)
*
* 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 ... | 2,532 |
323 | <reponame>PicoJr/StereoPipeline<filename>src/asp/Camera/PeruSatXML.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 Lice... | 1,736 |
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... | 808 |
341 | # -*- coding: utf-8 -*-
from __future__ import division
import numpy as np
from scipy import sparse
from pygsp import utils
logger = utils.build_logger(__name__)
class DifferenceMixIn(object):
@property
def D(self):
r"""Differential operator (for gradient and divergence).
Is computed by... | 5,834 |
476 | from .support import HPyTest
class TestTuple(HPyTest):
def test_Check(self):
mod = self.make_module("""
HPyDef_METH(f, "f", f_impl, HPyFunc_O)
static HPy f_impl(HPyContext *ctx, HPy self, HPy arg)
{
if (HPyTuple_Check(ctx, arg))
retur... | 1,669 |
796 | <filename>src/maple_me/src/me_alias_class.cpp
/*
* Copyright (c) [2019-2020] Huawei Technologies Co.,Ltd.All rights reserved.
*
* OpenArkCompiler is licensed under the Mulan PSL v1.
* You can use this software according to the terms and conditions of the Mulan PSL v1.
* You may obtain a copy of Mulan PSL v1 at:
*... | 1,359 |
2,059 | /*******************************************************************
* File automatically generated by rebuild_wrappers.py (v2.0.0.10) *
*******************************************************************/
#ifndef __wrappedlibxtstUNDEFS_H_
#define __wrappedlibxtstUNDEFS_H_
#endif // __wrappedlibxtstUNDEFS_H_
| 82 |
4,335 | <filename>components/ai/include/nnacl/int8/deconv.h
/**
* 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... | 806 |
1,797 | /*
Copyright (c) 2015-2016, Apple 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:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the followin... | 9,793 |
4,403 | package cn.hutool.poi.excel.cell.setters;
import cn.hutool.poi.excel.cell.CellSetter;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.RichTextString;
/**
* {@link RichTextString} 值单元格设置器
*
* @author looly
* @since 5.7.8
*/
public class RichTextCellSetter implements CellSetter {
priv... | 231 |
852 | #ifndef DQM_SiStripCommissioningClients_ApvTimingHistograms_H
#define DQM_SiStripCommissioningClients_ApvTimingHistograms_H
#include "DQM/SiStripCommissioningClients/interface/CommissioningHistograms.h"
#include "DQMServices/Core/interface/DQMStore.h"
class ApvTimingHistograms : public virtual CommissioningHistograms... | 192 |
409 | <gh_stars>100-1000
package rm.com.audiogram.holder;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import butterknife.BindView;
import butterknife.ButterKnife;
import rm.com.audiogram.R;
import rm.com.audiogram.entity.Record;
import rm.com.audiowave.AudioWaveV... | 274 |
1,104 | {
"Attributes": "Atributos",
"Body": "Cuerpo",
"Tech": "Tecnología",
"Heart": "Corazón",
"Mind": "Mente",
"Conditions": "Condiciones",
"Upset": "Disgustada/o",
"Scared": "Asustada/o",
"Exhausted": "Exhausta/o",
"Injured": "Herido/a",
"Broken": "Derrotada/o",
"Skills": "Ha... | 702 |
990 | #
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not us... | 667 |
1,125 | <filename>server/src/main/java/org/elasticsearch/index/fielddata/MultiGeoPointValues.java
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file t... | 715 |
1,350 | <reponame>minaremeli/adversarial-robustness-toolbox
# MIT License
#
# Copyright (C) The Adversarial Robustness Toolbox (ART) Authors 2020
#
# 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 witho... | 1,261 |
379 | // Copyright (c) 2020 PaddlePaddle 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... | 2,066 |
5,169 | <reponame>Gantios/Specs
{
"name": "AssertRequest",
"version": "0.1.0",
"summary": "Assert Request allows you to assert that your app is making the correct network request in a given situation, without any setup.",
"description": "Assert Request allows you to assert that your app is making the correct network re... | 449 |
1,121 | package com.flyco.systembardemo.ui.statusimmersive;
import android.content.Context;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.Toolbar;
import android.vi... | 1,018 |
543 | #
# Copyright (c) 2021, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | 2,220 |
732 | //
// DSCommentCell.h
// DSLolita
//
// Created by <NAME> on 15/6/3.
// Copyright (c) 2015年 samDing. All rights reserved.
//
#import <UIKit/UIKit.h>
@class DSCommentCellFrame;
@class DSCommentDetailView;
@interface DSCommentCell : UITableViewCell
+ (instancetype)cellWithTableView:(UITableView *)tableView;
@pro... | 176 |
450 | /*
* 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 ... | 1,331 |
315 | <filename>include/Tools/Code/Turbo/Post_processing_SISO/Scaling_factor/Scaling_factor.hpp
/*!
* \file
* \brief Class tools::Scaling_factor.
*/
#ifndef SCALING_FACTOR_HPP
#define SCALING_FACTOR_HPP
#include "Tools/Code/Turbo/Post_processing_SISO/Post_processing_SISO.hpp"
namespace aff3ct
{
namespace tools
{
/*!
* ... | 396 |
916 | package com.pancm.thread.concurrent.liveLock;
import java.util.Random;
public class Consumer implements Runnable {
private Drop drop;
public Consumer(Drop drop) {
this.drop = drop;
}
public void run() {
Random random = new Random();
// String message="";
// do{
// ... | 480 |
1,755 | /*
Copyright <NAME>.
Distributed under the OSI-approved BSD 3-Clause License.
See accompanying file Copyright.txt for details.
*/
#include <stdio.h>
/* Test KWIML header inclusion after above system headers. */
#include "test.h"
#include "../include/kwiml/abi.h"
#include "../include/kwiml/int.h"
int test_inclu... | 123 |
713 | <reponame>XSoyOscar/Algorithms
# # My initial solution, which is wrong.
# class Solution(object):
# def maxProfit(self, prices):
# """
# :type prices: List[int]
# :rtype: int
# """
# days = len(prices)
# if days < 2:
# return 0
# totalProfit = 0
#... | 2,449 |
664 | <reponame>adem4ik/LIII<gh_stars>100-1000
/*
Copyright (c) 2015, <NAME>
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,... | 932 |
826 | #pragma once
extern "C" {
#include <ngx_http.h>
}
#include <weserv/utils/status.h>
namespace weserv {
namespace nginx {
ngx_int_t ngx_weserv_return_error(ngx_http_request_t *r,
api::utils::Status status, ngx_chain_t *out);
} // namespace nginx
} // namespace weserv
| 152 |
582 | <reponame>Sphericone/archi<gh_stars>100-1000
/**
* This program and the accompanying materials
* are made available under the terms of the License
* which accompanies this distribution in the file LICENSE.txt
*/
package com.archimatetool.editor.diagram.figures.connections;
import org.eclipse.draw2d.Polyline... | 931 |
14,668 | <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.
#include "chrome/browser/ui/apps/chrome_app_window_client.h"
#include "chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_a... | 206 |
875 | /**
* 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... | 5,574 |
498 | <reponame>Patrick-Kladek/CocoaDebugKit
//
// CrossPlatformDefinitions.h
// CocoaDebugKit
//
// Created by <NAME> on 20.05.17.
// Copyright (c) 2017 <NAME>. All rights reserved.
//
#include <TargetConditionals.h>
#ifndef CocoaDebugKit_CrossPlatformDefinitions_h
#define CocoaDebugKit_CrossPlatformDefinitions_h
#i... | 1,116 |
2,529 | <gh_stars>1000+
#!/usr/bin/env python3
import os
import sys
def main(argv):
if len(argv) > 3:
log = argv[1]
fail_on = argv[2]
cmd = argv[3]
domain = argv[4]
if 'renewing' != cmd:
f1 = open(log, 'a+')
f1.write(f"{[argv[0], log, cmd, domain]}\n")
... | 378 |
881 | <reponame>gdubya/java
package com.structurizr.view;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
public class FontTests {
private Font font;
@Before
public void setUp() {
this.font = new Font();
}
... | 624 |
852 | import FWCore.ParameterSet.Config as cms
process = cms.Process("PROD")
process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
#Geometry
#
process.load("Configuration.Geometry.GeometryExtendedReco_cff")
#Magnetic Field
#
process.load("Configuration.StandardSequences.MagneticField_38T_cff")
# Output of events, etc.... | 782 |
6,969 | /**
*
* @author <NAME>(https://github.com/thecoder8890)
* Solution of https://www.hackerrank.com/challenges/welcome-to-java/problem
*
*/
public class WelcomeToJava {
public static void main(String[] args) {
System.out.println("Hello, World.");
System.out.println("Hello, Java.");
}
}
| 105 |
310 | <gh_stars>100-1000
{
"name": "<NAME>",
"description": "A content management system for slideshows.",
"url": "http://slideshowpro.net/"
} | 50 |
839 | <reponame>kimjand/cxf<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 Licens... | 1,787 |
8,092 | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 913 |
422 | import apps.common.func.InitDjango
from all_models_for_ui.models import Tb3UIGlobalText
from django.db import connection
from django.forms.models import model_to_dict
from apps.common.func.CommonFunc import *
from all_models.models.A0011_version_manage import TbVersionGlobalText
class PageObjectService(object):
@... | 258 |
716 | /*
* Copyright (c) 2014, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in
* the LICENSE file in the root directory of this source tree. An
* additional grant of patent rights can be found in the PATENTS file
* in the same directory.
*
*/
#include... | 1,080 |
14,668 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.feedback;
import org.chromium.chrome.browser.profiles.Profile;
import org.chromium.components.variations.VariationsAs... | 243 |
1,609 | #
# Copyright (c) 2009, Novartis Institutes for BioMedical Research 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 copyri... | 997 |
967 | #include <sys/types.h>
int seteuid(uid_t euid)
{
return 0;
}
int initgroups(const char *user, gid_t group)
{
return 0;
}
| 58 |
5,169 | <gh_stars>1000+
{
"name": "SCNRecorder",
"version": "2.3.0",
"summary": "A lags-free recorder of ARKit and SceneKit for iOS in Swift",
"homepage": "https://github.com/gorastudio/SCNRecorder",
"license": {
"type": "MIT",
"file": "LICENSE.md"
},
"authors": {
"<NAME>": "<EMAIL>"
},
"source": ... | 411 |
7,018 | <filename>android/sdk/src/main/java/com/tencent/mtt/hippy/uimanager/NativeGestureProcessor.java
/* Tencent is pleased to support the open source community by making Hippy available.
* Copyright (C) 2018 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "... | 2,527 |
373 | <reponame>ADLINK/edk2-platforms
/** @file
Header file for Virtual Keyboard driver.
Copyright (c) 2012 - 2020, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef _VIRTUAL_KEYBOARD_H_
#define _VIRTUAL_KEYBOARD_H_
#include <Uefi.h>
#include <Library/B... | 11,709 |
778 | <reponame>clazaro/Kratos<filename>applications/ParticleMechanicsApplication/custom_strategies/strategies/mpm_residual_based_newton_raphson_strategy.hpp
// | / |
// ' / __| _` | __| _ \ __|
// . \ | ( | | ( |\__ \.
// _|\_\_| \__,_|\__|\___/ ____/
// Multi-Physics
/... | 5,746 |
3,372 | <gh_stars>1000+
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* ... | 1,607 |
465 | # Copyright 2019 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.0
#
# Unless required by applicable law or ... | 1,466 |
347 | <reponame>hbraha/ovirt-engine<filename>backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/dc/InternalImportExternalNetworkCommand.java
package org.ovirt.engine.core.bll.network.dc;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
import javax.inject.Inj... | 1,374 |
435 | <gh_stars>100-1000
{
"description": "Keynote by <NAME>\u00e1l\n",
"duration": 3406,
"language": "eng",
"recorded": "2017-02-16",
"speakers": [
"<NAME>\u00e1l"
],
"thumbnail_url": "https://i.ytimg.com/vi/LSFG7Y2WM98/hqdefault.jpg",
"title": "[Keynote] (MY) OSS Life",
"videos": [
{
"type":... | 199 |
511 | <reponame>ziyik/TizenRT-1
/****************************************************************************
*
* Copyright 2021 Samsung Electronics 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 obtai... | 11,194 |
529 | <gh_stars>100-1000
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
////////////////////////////////////... | 545 |
392 | <gh_stars>100-1000
package io.logz.apollo.database;
public enum OrderDirection {
DESC,
ASC
}
| 43 |
1,657 | <reponame>mens-artis/Auto-PyTorch
import ConfigSpace
class BaseTrainingTechnique():
def __init__(self, training_components=None):
"""Initialize the training technique. Should be called in a fit Method of a Pipeline node.
Keyword Arguments:
training_components {dict} -- Maps a n... | 2,074 |
544 | {
"id": 5,
"from": 1600925481,
"to": 1601301350,
"type": 0,
"appversion": "7.5.286",
"title": "How is your experience using the updated Timer?",
"text": "Let us know in a 2-minute survey!",
"button": "Give feedback",
"url-mac": "https://forms.gle/QKX7datPDVV7axvu8",
"url-win": "h... | 197 |
461 | #ifndef __MONITOR_H__
#define __MONITOR_H__
#include "common.h"
enum { NEMU_STOP, NEMU_RUNNING, NEMU_END, NEMU_ABORT };
typedef struct {
int state;
vaddr_t halt_pc;
uint32_t halt_ret;
} NEMUState;
extern NEMUState nemu_state;
#endif
| 119 |
1,831 | /**
* Copyright (c) 2004-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "logdevice/common/work_model/WorkContext.h"
#include <gtest/gtest.h>
#inclu... | 450 |
679 | <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 license... | 2,285 |
1,350 | <gh_stars>1000+
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.maintenance.implementation;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Respo... | 1,014 |
1,283 | <filename>hikyuu_cpp/unit_test/hikyuu/indicator/test_Indicator.cpp<gh_stars>1000+
/*
* test_Indicator.cpp
*
* Created on: 2013-4-11
* Author: fasiondog
*/
#include "doctest/doctest.h"
#include <hikyuu/indicator/Indicator.h>
#include <hikyuu/indicator/crt/PRICELIST.h>
#include <hikyuu/indicator/crt/KDATA.h>... | 9,796 |
5,079 | <gh_stars>1000+
# -*- test-case-name: openid.test.test_xrires -*-
"""XRI resolution.
"""
from urllib import urlencode
from openid import fetchers
from openid.yadis import etxrd
from openid.yadis.xri import toURINormal
from openid.yadis.services import iterServices
DEFAULT_PROXY = 'http://proxy.xri.net/'
class ProxyR... | 1,787 |
2,761 | <reponame>ami-GS/msquic
#include <clog.h>
#ifdef BUILDING_TRACEPOINT_PROVIDER
#define TRACEPOINT_CREATE_PROBES
#else
#define TRACEPOINT_DEFINE
#endif
#include "quic_gtest.cpp.clog.h"
| 87 |
2,151 | // Copyright 2013 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/renderer/service_worker/web_service_worker_impl.h"
#include <utility>
#include "base/macros.h"
#include "content/common/service_worker... | 1,547 |
5,460 | import boto3
import json
import pytest
from botocore.exceptions import ClientError
from moto import mock_iot, mock_cognitoidentity
@mock_iot
def test_attach_policy():
client = boto3.client("iot", region_name="ap-northeast-1")
policy_name = "my-policy"
doc = "{}"
cert = client.create_keys_and_certifi... | 4,694 |
1,727 | package strings;
import java.util.Arrays;
import java.util.Random;
import java.util.stream.IntStream;
// DC3 linear time suffix array construction algorithm ("Linear Work Suffix Array Construction")
public class SuffixArrayDC3 {
static boolean leq(int a1, int a2, int b1, int b2) {
return a1 < b1 || a1 == ... | 3,446 |
735 | /*
* Copyright (C) 2006 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... | 7,335 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.