max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
1,442 | <reponame>didichuxing/delta<gh_stars>1000+
# Copyright (C) 2017 Beijing Didi Infinity Technology and Development Co.,Ltd.
# All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License a... | 6,032 |
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 ... | 758 |
2,996 | // Copyright 2021 The Terasology Foundation
// SPDX-License-Identifier: Apache-2.0
package org.terasology.engine.logic.behavior.asset;
import org.terasology.gestalt.assets.AssetData;
/**
* Every Group asset is described by a GroupData class.
* @see Group
*/
public class GroupData implements AssetData {
/**
... | 543 |
310 | //==============================================================
// Copyright Intel Corporation
//
// SPDX-License-Identifier: MIT
// =============================================================
#include <CL/sycl.hpp>
#include <sycl/ext/intel/fpga_extensions.hpp>
#include <iomanip>
#include <iostream>
// dpc_common.h... | 2,254 |
428 | /**
* Copyright 2008 - 2012
*
* 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 wr... | 10,606 |
471 | <reponame>dimagilg/commcare-hq<filename>corehq/apps/accounting/bootstrap/config/resellers_and_managed_hosting.py<gh_stars>100-1000
from decimal import Decimal
from corehq.apps.accounting.models import FeatureType, SoftwarePlanEdition
BOOTSTRAP_CONFIG = {
(SoftwarePlanEdition.MANAGED_HOSTING, False, False): {
... | 417 |
1,089 | @ParametersAreNonnullByDefault
package org.zalando.logbook.httpclient;
import javax.annotation.ParametersAreNonnullByDefault; | 38 |
1,475 | /*
* 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 ... | 1,207 |
310 | {
"name": "Envelope for iPad",
"description": "An iPad case.",
"url": "https://www.amazon.com/Belkin-Leather-Envelope-Sleeve-F8N377CW/dp/B003GAMD1K"
} | 67 |
668 | <reponame>arianpasquali/hbc<filename>hbc-core/src/main/java/com/twitter/hbc/httpclient/Connection.java<gh_stars>100-1000
/**
* Copyright 2013 Twitter, 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 ... | 713 |
2,231 | // Copyright 2020 The Defold Foundation
// Licensed under the Defold License version 1.0 (the "License"); you may not use
// this file except in compliance with the License.
//
// You may obtain a copy of the License, together with FAQs at
// https://www.defold.com/license
//
// Unless required by applicable law or agr... | 5,531 |
6,304 | /*
* Copyright 2021 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
package org.skia.androidkit;
import android.support.annotation.Nullable;
import java.lang.IllegalArgumentException;
public class LinearGradient extends Gradient {
public... | 785 |
6,443 | <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,128 |
1,006 | <gh_stars>1000+
/****************************************************************************
* arch/arm/src/samd5e5/hardware/sam_rstc.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional informat... | 1,105 |
634 | <filename>modules/base/platform-api/src/main/java/com/intellij/openapi/actionSystem/ActionGroupStub.java
/*
* Copyright 2013-2019 consulo.io
*
* 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 ... | 938 |
1,567 | #pragma once
#include "certain/db.h"
#include "certain/log.h"
#include "certain/monitor.h"
#include "certain/options.h"
#include "certain/plog.h"
#include "certain/route.h"
#include "utils/singleton.h"
#include "utils/thread.h"
namespace certain {
class ClientCmd;
class Wrapper : public Singleton<Wrapper>, public Th... | 619 |
358 | <reponame>FabienTaillon/sfpowerkit
{
"commandDescription": "This command is used in the lower environments such as ScratchOrgs , Development / System Testing Sandboxes, inorder to apply the changes made in the environment to retrieved profile, so that it can be deployed to the higher environments",
"folderFlagDescr... | 188 |
403 | /*
* Camunda Platform REST API
* OpenApi Spec for Camunda Platform REST API.
*
* The version of the OpenAPI document: 7.16.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.camu... | 992 |
5,896 | package com.fsck.k9.preferences.migrations;
import java.net.URI;
import android.database.sqlite.SQLiteDatabase;
import com.fsck.k9.helper.UrlEncodingHelper;
import com.fsck.k9.mail.filter.Base64;
import timber.log.Timber;
public class StorageMigrationTo2 {
public static void urlEncodeUserNameAndPassword(SQLit... | 2,651 |
3,189 | <filename>src/main/java/com/getkeepsafe/dexcount/treegen/workers/LegacyWorker.java
/*
* Copyright (C) 2015-2021 KeepSafe Software
*
* 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
*
* ... | 1,374 |
305 | <reponame>ShinomoriRinonn/saba
static const uint8_t mmd_ground_shadow_vert_spv_data[] = {
0x03,0x02,0x23,0x07,0x00,0x00,0x01,0x00,0x02,0x00,0x08,0x00,0x23,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x11,0x00,0x02,0x00,0x01,0x00,0x00,0x00,0x0b,0x00,0x06,0x00,
0x01,0x00,0x00,0x00,0x47,0x4c,0x53,0x4c,0x2e,0x73,0x74,0x64,0x2e,0x3... | 4,346 |
493 | <reponame>shaohua0116/ICLR2020-OpenReviewData
import numpy as np
import h5py
import string
# Meta data of papers
class PaperMeta(object):
def __init__(self, title, abstract, keyword, rating, url,
withdrawn, desk_reject, decision, author, # review=None,
review_len=None, meta_revi... | 4,806 |
1,338 | <reponame>Kirishikesan/haiku<gh_stars>1000+
/*
* Copyright 2018, <NAME>, <EMAIL>.
* Copyright 2007-2010, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* <NAME>, <EMAIL>
*/
static status_t
multi_audio_control_generic(cookie_type* cookie, uint32 op, void* arg, s... | 3,432 |
463 | """Test that a recursion error does not happen
https://github.com/PyCQA/astroid/issues/623
"""
from os import path
FIRST = path.normpath(path.dirname(path.realpath(__file__)))
SECOND = path.normpath(path.abspath(path.join(FIRST, "..")))
THIRD = path.normpath(path.abspath(path.join(SECOND, "..")))
FOURTH = path.join(T... | 125 |
14,668 | // 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.
#include "ui/views/accessibility/ax_tree_source_views.h"
#include <string>
#include <vector>
#include "ui/accessibility/ax_action_data.h"
#include "ui/a... | 2,019 |
5,896 | <reponame>allanfra/k-9
package com.fsck.k9.autocrypt;
import java.util.HashMap;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
@SuppressWarnings("WeakerAccess")
public class AutocryptHeaderTest {
static final HashMap<String, String> PARAMETERS = new HashMap<>();
static final String AD... | 923 |
1,538 | <filename>examples/ex_record.c
/* ex_record
*
* Press spacebar to begin and stop recording. Press 'p' to play back the
* previous recording. Up to five minutes of audio will be recorded.
*
* The raw sample data is saved to a temporary file and played back via
* an audio stream. Thus, minimal memory is used reg... | 5,330 |
325 | //aro-args -std=c11
#pragma GCC diagnostic warning "-Wc99-compat"
#define Ǻ 42
int fǿǿ(void) {
int Ǿ = Ǻ;
return Ǿ;
}
int bȁr(void) {
int ™ = 0;
return 0;
}
int bȁz(void) {
int a١ = 0;
int ١a = 0;
return 0;
}
int invisible = 0;
int homoglyph) = 1;
struct gǿǿd {
int ǿk;
};
struct ... | 606 |
938 | {
"type": "tconstruct:part_builder",
"pattern": "tconstruct:tough_handle",
"cost": 3,
"result": {
"item": "tconstruct:tough_handle"
}
} | 62 |
348 | <gh_stars>100-1000
{"nom":"Serre-Nerpol","circ":"9ème circonscription","dpt":"Isère","inscrits":250,"abs":160,"votants":90,"blancs":7,"nuls":0,"exp":83,"res":[{"nuance":"MDM","nom":"<NAME>","voix":50},{"nuance":"LR","nom":"<NAME>","voix":33}]} | 101 |
834 | <filename>tools/darknet/yolov3.py
# -*- coding:utf-8 -*-
from collections import OrderedDict
import torch.nn as nn
from mmdet.models.utils import brick as vn_layer
class YOLOV3(nn.Module):
# 用于递归导入权重
custom_layers = (vn_layer.Stage, vn_layer.Stage.custom_layers, vn_layer.HeadBody, vn_layer.Transition,
... | 3,348 |
746 | package org.protege.editor.owl.model.search.importer;
import org.protege.editor.owl.model.search.*;
import org.semanticweb.owlapi.model.OWLEntity;
import java.util.Set;
/**
* Author: <NAME><br>
* Stanford University<br>
* Bio-Medical Informatics Research Group<br>
* Date: 02/10/2012
*/
public class EntityIRISea... | 304 |
1,816 | <filename>src/masonite/orm/commands/__init__.py<gh_stars>1000+
from .DbShellCommand import DbShellCommand
| 38 |
429 | <gh_stars>100-1000
#ifndef TWOFISH_H
#define TWOFISH_H
#include "Common/Tcdefs.h"
#if defined(__cplusplus)
extern "C"
{
#endif
#ifndef u4byte
#define u4byte unsigned __int32
#endif
#ifndef u1byte
#define u1byte unsigned char
#endif
#ifndef extract_byte
#define extract_byte(x,n) ((u1byte)((x) >> (8 * n)))
#endif
... | 535 |
340 | <filename>data-structures/merge-two-sorted-linked-lists.py
"""
Merge two linked lists
head could be None as well for empty list
Node is defined as
class Node(object):
def __init__(self, data=None, next_node=None):
self.data = data
self.next = next_node
return back the head of the linked list ... | 576 |
565 | /*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2016 The PHP Group |
+--------------... | 2,155 |
764 | {
"symbol": "SST",
"account_name": "skillshareio",
"overview": {
"en": "SkillShare is a shared incentive platform to link human skills based on block chaining EOS technology. On killShare, users can share their skills that they are good at, help others and get token benefits, which fully reflects th... | 148 |
416 | /*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... | 5,645 |
6,098 | package hex.gam.GamSplines;
import water.MRTask;
import water.fvec.Chunk;
import water.fvec.Frame;
import water.fvec.NewChunk;
import water.util.ArrayUtils;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import static hex.gam.GAMModel.GAMParameters;
import static water.util.ArrayUtils.ma... | 5,748 |
3,001 | <filename>rosie/rosie/core/tests/test_core_init.py
import os
from unittest import TestCase
from unittest.mock import MagicMock, call, patch
import numpy as np
import pandas as pd
from rosie.core import Core
DATAFRAME = pd.DataFrame({'number': (1, 2), 'text': ('one', 'two')})
class TestCore(TestCase):
def setU... | 1,879 |
1,178 | <gh_stars>1000+
/*
* Copyright 2020 Makani Technologies LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | 2,025 |
363 | <reponame>LittleShrimp1987/frostmourne
package com.autohome.frostmourne.monitor.dao.mybatis.frostmourne.mapper.dynamic;
import static com.autohome.frostmourne.monitor.dao.mybatis.frostmourne.mapper.dynamic.RecipientDynamicSqlSupport.*;
import static org.mybatis.dynamic.sql.SqlBuilder.*;
import com.autohome.frostmourn... | 3,750 |
852 | #define METimeInterval_cxx
#include <assert.h>
#include <fstream>
#include <list>
#include <iostream>
#include <algorithm>
using namespace std;
#include <TString.h>
#include "METimeInterval.hh"
ClassImp( METimeInterval )
int METimeInterval::instances=0;
// public constructor
METimeInterval::METimeInterval( ME::Tim... | 1,901 |
5,823 | <filename>third_party/txt/tests/EmojiTest.cpp
/*
* Copyright (C) 2016 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/lic... | 1,804 |
348 | <filename>docs/data/leg-t2/055/05501011.json<gh_stars>100-1000
{"nom":"Andernay","circ":"1ère circonscription","dpt":"Meuse","inscrits":192,"abs":118,"votants":74,"blancs":8,"nuls":0,"exp":66,"res":[{"nuance":"UDI","nom":"M. <NAME>","voix":36},{"nuance":"REM","nom":"<NAME>","voix":30}]} | 119 |
376 | <filename>include/Nazara/OpenGLRenderer/OpenGLRenderPipelineLayout.hpp<gh_stars>100-1000
// Copyright (C) 2020 <NAME>
// This file is part of the "Nazara Engine - Renderer module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_OPENGLRENDERER_OPENGLRENDERPIPEL... | 1,173 |
2,231 | /*
***************************************************************************************************
**
** profile.cpp
**
** Real-Time Hierarchical Profiling for Game Programming Gems 3
**
** by <NAME> & <NAME>
**
***************************************************************************************************/
/... | 4,125 |
2,216 | # Copyright (c) OpenMMLab. All rights reserved.
from .transformer import GroupFree3DMHA
from .vote_module import VoteModule
__all__ = ['VoteModule', 'GroupFree3DMHA']
| 52 |
450 | /*
* Copyright (c) 2004, 2005, 2006 TADA AB - Taby Sweden
* Distributed under the terms shown in the file COPYRIGHT
* found in the root folder of this project or at
* http://eng.tada.se/osprojects/COPYRIGHT.html
*
* @author <NAME>
*/
#include <postgres.h>
#include <commands/portalcmds.h>
#include <executor/spi.h... | 3,610 |
405 | <filename>addons/metrics-server/categories.json
{
"name": "metrics-server",
"fulfills": ["Metrics"],
"requires": ["Container Runtime"],
"recommends": []
}
| 57 |
3,349 | <filename>providers/dns/ionos/internal/fixtures/remove_record_error.json
[
{
"code": "UNAUTHORIZED",
"message": "The customer is not authorized to do this operation."
},
{
"code": "RECORD_NOT_FOUND",
"message": "Record does not exist."
},
{
"code": "INTERNAL_SERVER_ERROR"
}
]
| 126 |
2,094 | <filename>libraries/optimization/include/OptimizationExample.h
////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Project: Embedded Learning Library (ELL)
// File: Example.h (optimization)
// Authors: <NAME>
//
////////////////////////////////////////////... | 914 |
6,342 | import requests
from allauth.socialaccount.providers.oauth2.views import (
OAuth2Adapter,
OAuth2CallbackView,
OAuth2LoginView,
)
from .client import UntappdOAuth2Client
from .provider import UntappdProvider
class UntappdOAuth2Adapter(OAuth2Adapter):
client_class = UntappdOAuth2Client
provider_id... | 396 |
308 | import unittest
from training.utils.utils import recursive_override
class TestTrainingUtils(unittest.TestCase):
def test_recursive_override(self):
base_dict = {"a": 1, "b": 2, "c": {
"x": 10, "y": 20, "z": {
"q": "q_str", "i": "i_str"
}
}}
ext_dict... | 451 |
325 | <filename>tst/stubs/oam/nvm_mock.c
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-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 wi... | 3,116 |
788 | """This module provides a dummy classifier, since in multi-label active learning
problem, it is common to see label being all zero in training set. We will let
this classifier handles this condition.
"""
import numpy as np
class DummyClf():
"""This classifier handles training sets with only 0s or 1s to unify the
... | 343 |
314 | <filename>mug/src/main/java/com/google/mu/function/CheckedConsumer.java
/*****************************************************************************
* Copyright (C) google.com *
* ------------------------------------------------------------------------- *
* Licensed u... | 746 |
361 | <gh_stars>100-1000
#include "voxgraph/backend/constraint/cost_functions/registration_cost_function.h"
#include <utility>
#include <minkindr_conversions/kindr_tf.h>
#include <voxblox/interpolator/interpolator.h>
#include "voxgraph/frontend/submap_collection/voxgraph_submap.h"
#include "voxgraph/tools/tf_helper.h"
na... | 5,747 |
542 | import torch
import numpy as np
from .layer import FeaturesLinear, MultiLayerPerceptron, FeaturesEmbedding
class FactorizationMachine(torch.nn.Module):
def __init__(self, reduce_sum=True):
super().__init__()
self.reduce_sum = reduce_sum
def forward(self, x):
"""
:param x: Flo... | 4,176 |
777 | <reponame>google-ar/chromium
// 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 "content/shell/common/layout_test/layout_test_switches.h"
#include "base/command_line.h"
#include "base/strings/str... | 753 |
673 | """
analyze
"""
from __future__ import absolute_import
from PySide import QtGui, QtCore
import logging
import operator
import arrow
from mcedit2.ui.analyze import Ui_analyzeDialog
from mcedit2.util.directories import getUserFilesDirectory
log = logging.getLogger(__name__)
class AnalyzeOutputDialog(QtGui.QDialog... | 2,668 |
631 | package com.neu.his.cloud.zuul.controller.sms;
import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import com.neu.his.cloud.zuul.common.CommonResult;
import com.neu.his.cloud.zuul.distribution.api.pc.sms.ApiPcSmsWorkloadDistributionService;
import com.neu.his.cloud.zuul.dto.sms.SmsWorkloadResult;
i... | 1,935 |
349 | /*
* group.h - Group (saved regular expressions).
*/
#ifndef SIRIDB_GROUP_H_
#define SIRIDB_GROUP_H_
#define PCRE2_CODE_UNIT_WIDTH 8
enum
{
GROUP_FLAG_INIT = 1<<0,
GROUP_FLAG_DROPPED = 1<<1,
};
typedef struct siridb_group_s siridb_group_t;
#include <vec/vec.h>
#include <siri/db/series.h>
#include <si... | 832 |
1,041 | package org.tests.model.survey;
import javax.persistence.*;
import java.util.List;
@Entity
public class Category {
@Id
public Long id;
String name;
public Category(String name) {
this.name = name;
}
@ManyToOne
@JoinColumn(name = "surveyobjectid")
private Survey survey;
@OneToMany(mappedBy = ... | 258 |
3,102 | // RUN: %clang_cc1 -triple=x86_64-pc-linux-gnu -fsyntax-only -DUNSIGNED -verify %s
// RUN: %clang_cc1 -triple=x86_64-pc-win32 -fsyntax-only -DSIGNED -verify %s
// RUN: %clang_cc1 -triple=x86_64-pc-linux-gnu -fsyntax-only -DUNSIGNED -DSILENCE -Wno-tautological-constant-out-of-range-compare -verify %s
// RUN: %clang_cc1 ... | 4,574 |
1,510 | <filename>exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/join/TestMergeJoinMulCondition.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 ... | 1,941 |
6,931 | <reponame>johncollinsai/post-high-frequency-data<filename>venv/lib/python3.8/site-packages/statsmodels/stats/tests/test_multi.py
'''Tests for multipletests and fdr pvalue corrections
Author : <NAME>
['b', 's', 'sh', 'hs', 'h', 'fdr_i', 'fdr_n', 'fdr_tsbh']
are tested against R:multtest
'hommel' is tested against R ... | 11,145 |
3,459 | <filename>retro/cores/nes/src/boards/8157.c
/* FCE Ultra - NES/Famicom Emulator
*
* Copyright notice for this file:
* Copyright (C) 2005 CaH4e3
*
* 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 Softwa... | 938 |
388 | /**
* Copyright (c) 2018, Mr.Wang (<EMAIL>) All rights reserved.
*/
package cn.wizzer.iot.mqtt.server.broker.server;
import cn.wizzer.iot.mqtt.server.broker.codec.MqttWebSocketCodec;
import cn.wizzer.iot.mqtt.server.broker.config.BrokerProperties;
import cn.wizzer.iot.mqtt.server.broker.handler.BrokerHandler;
impor... | 4,425 |
3,371 | <filename>ChipsLayoutManager/src/androidTest/java/com/beloo/widget/chipslayoutmanager/gravity/GravityModifierTest.java
package com.beloo.widget.chipslayoutmanager.gravity;
import android.graphics.Rect;
import com.beloo.widget.chipslayoutmanager.ParamsType;
import org.junit.Assume;
import org.junit.Before;
import or... | 644 |
2,219 | // 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 "net/reporting/reporting_cache_impl.h"
#include <algorithm>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include "base... | 17,860 |
917 | <filename>tests/platforms/iOS/xcode/mixin/test_select_target_device.py
from unittest import mock
import pytest
from briefcase.commands.base import BaseCommand
from briefcase.exceptions import BriefcaseCommandError, InvalidDeviceError
from briefcase.platforms.iOS.xcode import iOSXcodeMixin
from tests.utils import Dumm... | 4,601 |
1,338 | <filename>src/apps/debugger/user_interface/gui/utility_windows/WatchPromptWindow.cpp
/*
* Copyright 2012-2016, <NAME>, <EMAIL>.
* Distributed under the terms of the MIT License.
*/
#include "WatchPromptWindow.h"
#include <Alert.h>
#include <Button.h>
#include <LayoutBuilder.h>
#include <Menu.h>
#include <MenuField.... | 2,561 |
2,151 | <filename>rtc_base/experiments/rtt_mult_experiment_unittest.cc
/*
* Copyright 2018 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights... | 713 |
1,056 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 2,529 |
575 | // 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.
#include "third_party/blink/renderer/modules/background_fetch/background_fetch_update_ui_event.h"
#include "third_party/blink/renderer/bindings/core/v8/s... | 2,109 |
348 | {"nom":"Saint-Jean-de-Vaulx","circ":"2ème circonscription","dpt":"Isère","inscrits":465,"abs":247,"votants":218,"blancs":38,"nuls":5,"exp":175,"res":[{"nuance":"REM","nom":"<NAME>","voix":139},{"nuance":"FN","nom":"M. <NAME>","voix":36}]} | 96 |
1,184 |
import static org.junit.Assert.*;
import org.junit.Test;
public class LinearSearchTest {
@Test
public void TestLinearSearch() {
int testArray[] = {1,2,3,4,5,6};
int testElement1 = 4;
int testElement2 = 0;
int testElement3 = 33;
LinearSearch objectForLinearSearch = new Lin... | 272 |
1,545 | /*
*
* 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"); y... | 2,874 |
3,246 | package org.datatransferproject.types.common;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeName;
import org.datatransferproject.types.common.PaginationData;
/** Numeric pagination data. */
@JsonTypeName("org.... | 232 |
619 | /*
* Author: <NAME> <<EMAIL>>
* Copyright (c) 2017 Intel Corporation.
*
* The MIT License
*
* 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.
*
* SPDX-License-Identifier: MIT
*/
#pragma once
... | 4,342 |
496 | /*******************************************************************************
* Project: Nebula
* @file Tree.hpp
* @brief
* @author nebim
* @date: 2020-05-03
* @note
* Modify history:
******************************************************************************/
#ifndef SRC_CODEC_HTTP2_TR... | 270 |
1,093 | /*
* Copyright 2002-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 5,317 |
1,027 | from httpolice.citation import Citation
from httpolice.parse import (auto, case_sens, fill_names, literal, maybe_str,
pivot)
from httpolice.syntax.rfc3986 import host, port, scheme
from httpolice.syntax.rfc7230 import (comma_list, comma_list1, field_name,
... | 900 |
1,127 | <gh_stars>1000+
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <cmath>
#include <cstddef>
namespace ngraph {
namespace runtime {
namespace reference {
template <typename T>
void selu(const T* arg,
const T* alpha,
const T* lambda,
... | 343 |
719 | <gh_stars>100-1000
package com.googlecode.objectify.util.cmd;
import com.google.cloud.datastore.Datastore;
import com.google.cloud.datastore.Entity;
import com.google.cloud.datastore.FullEntity;
import com.google.cloud.datastore.Key;
import com.google.cloud.datastore.Query;
import com.google.cloud.datastore.QueryResul... | 751 |
440 | <reponame>antmd/CodePilot
//
// NSNumber+VersionComparison.h
// CodePilot
//
// Created by <NAME> on 3/19/10.
// Copyright 2010 Macoscope. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface NSNumber (VersionComparison)
+ (NSNumber *)numberWithVersionString:(NSString *)versionString;
+ (NSNumber *)numberWi... | 157 |
3,212 | /*
* 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 ... | 1,022 |
679 | <reponame>Grosskopf/openoffice<filename>main/svx/source/items/numinf.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 for a... | 2,245 |
324 | <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 "... | 2,279 |
1,442 | <reponame>VersiraSec/epsilon-cfw<filename>python/port/mod/turtle/modturtle.h<gh_stars>1000+
#include <py/obj.h>
mp_obj_t modturtle___init__();
void modturtle_gc_collect();
void modturtle_view_did_disappear();
mp_obj_t modturtle_reset();
mp_obj_t modturtle_forward(mp_obj_t px);
mp_obj_t modturtle_backward(mp_obj_t px... | 502 |
892 | <reponame>github/advisory-database
{
"schema_version": "1.2.0",
"id": "GHSA-p45c-2j4h-j2xg",
"modified": "2022-05-13T01:04:23Z",
"published": "2022-05-13T01:04:23Z",
"aliases": [
"CVE-2017-12734"
],
"details": "A vulnerability has been identified in LOGO! 8 BM (incl. SIPLUS variants) (All versions < V... | 528 |
312 | <filename>node_modules/nodegit/vendor/libgit2/include/git2/sys/hashsig.h
/*
* Copyright (C) the libgit2 contributors. All rights reserved.
*
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_sys_hashsig_h__
... | 1,013 |
448 | <filename>framework/codec/Android/jni/OutputBufferInfo.cpp
//
// Created by SuperMan on 2020/10/14.
//
#include <utils/Android/FindClass.h>
#include "OutputBufferInfo.h"
using namespace Cicada;
static jclass jOutputBufferInfoClass = nullptr;
static jfieldID jOutputBufferInfo_type = nullptr;
static jfieldID jOutputB... | 2,582 |
1,479 | <reponame>Dotykacka/ormlite-android
package com.j256.ormlite.android;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.math.BigDecimal;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import com.j256.ormlite.... | 2,248 |
1,611 | package com.bluejamesbond.text.sample.test;
/*
* Copyright 2015 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | 1,536 |
2,151 | <gh_stars>1000+
// 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 "chrome/browser/chromeos/app_mode/kiosk_app_manager.h"
#include <stddef.h>
#include <memory>
#include <utility>
#include "base... | 13,341 |
14,793 | package me.chanjar.weixin.open.bean.minishop;
import lombok.Data;
import java.io.Serializable;
import java.util.List;
@Data
public class MinishopShopCatList implements Serializable {
private static final long serialVersionUID = 8718853679902050471L;
private Integer errcode;
private String errmsg;
private ... | 112 |
892 | <filename>advisories/unreviewed/2022/05/GHSA-h963-8rp7-384f/GHSA-h963-8rp7-384f.json
{
"schema_version": "1.2.0",
"id": "GHSA-h963-8rp7-384f",
"modified": "2022-05-01T06:38:42Z",
"published": "2022-05-01T06:38:42Z",
"aliases": [
"CVE-2006-0306"
],
"details": "The DM Primer (dmprimer.exe) in the DM Dep... | 907 |
1,019 | package com.roncoo.education.system.service.feign;
import com.roncoo.education.system.feign.interfaces.IFeignSysRole;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.RequestBody;
import com.ron... | 519 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.