max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
656 | # Generated by Django 3.0.5 on 2020-05-02 23:08
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('stock', '0034_auto_20200426_0602'),
]
operations = [
migrations.AlterField(
model_name='stockitem'... | 281 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-pwvg-w3wq-5886",
"modified": "2022-05-13T01:01:30Z",
"published": "2022-05-13T01:01:30Z",
"aliases": [
"CVE-2017-14481"
],
"details": "In the MMM::Agent::Helpers::Network::send_arp function in MySQL Multi-Master Replication Manager (MMM) mmm_agentd 2.2.1 (for S... | 481 |
640 |
__at (0x4000) char c = 1;
extern char b @ 0x7000;
extern int d @(0x8000) = 22;
__at (0x3000) int e = 8192;
static __at (0x500) char buf[] = "Hello there" ;
| 80 |
2,160 | <gh_stars>1000+
#!/usr/bin/env python3
from constructs import Construct
from cdk8s import App, Chart
from imports.io import jenkins
from imports.com import mattermost
class MyChart(Chart):
def __init__(self, scope: Construct, ns: str):
super().__init__(scope, ns)
jenkins.Jenkins(self, "jenkins",
... | 899 |
3,553 | <gh_stars>1000+
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#include <fluent-bit/flb_sds.h>
#include <fluent-bit/flb_aws_credentials.h>
#include <fluent-bit/flb_mem.h>
#include <fluent-bit/flb_info.h>
#include "aws_credentials_test_internal.h"
#define _TOSTRING(X) #X
#define TOSTRIN... | 6,535 |
903 | <filename>smithy-model/src/main/java/software/amazon/smithy/model/validation/node/IdRefPlugin.java
/*
* Copyright 2019 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 ... | 1,269 |
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... | 1,071 |
618 | /**********************************************************\
| |
| hprose |
| |
| Official WebSite: http://www.hprose.com/ |
| ... | 1,200 |
310 | {
"name": "Pingboard",
"description": "An org chart service.",
"url": "https://pingboard.com/"
}
| 37 |
14,793 | package com.github.binarywang.wxpay.bean.ecommerce;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* 普通支付 通知结果
* <pre>
* 文档地址:https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/e_transactions/chapter3_11.shtml
* </pre>
*/
@Data
@NoArgsConstructor
public class Partn... | 250 |
310 | package org.seasar.doma.it.dao;
import java.sql.SQLXML;
import org.seasar.doma.Dao;
import org.seasar.doma.Insert;
import org.seasar.doma.SQLXMLFactory;
import org.seasar.doma.Select;
import org.seasar.doma.it.entity.Product;
@Dao
public interface ProductDao {
@SQLXMLFactory
SQLXML createSQLXML();
@Insert
i... | 150 |
360 | <filename>src/include/utils/hll.h
/*
* Copyright (c) 2021 Huawei Technologies Co.,Ltd.
*
* openGauss is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL... | 5,067 |
2,728 | <gh_stars>1000+
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator... | 41,309 |
6,160 | /*
* 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 ... | 3,421 |
10,225 | <filename>test-framework/maven/src/main/java/io/quarkus/maven/it/RunAndCheckWithAgentMojoTestBase.java<gh_stars>1000+
package io.quarkus.maven.it;
import static org.assertj.core.api.Assertions.assertThat;
import static org.awaitility.Awaitility.await;
import java.io.File;
import java.io.FileNotFoundException;
import ... | 1,605 |
745 | <filename>src/composable_kernel/composable_kernel/include/utility/tuple_helper.hpp
#ifndef CK_TUPLE_HELPER_HPP
#define CK_TUPLE_HELPER_HPP
#include "functional4.hpp"
#include "tuple.hpp"
namespace ck {
template <typename... Ts>
struct is_known_at_compile_time<Tuple<Ts...>>
{
__host__ __device__ static constexpr ... | 1,071 |
1,442 | <filename>ion/src/device/n0110/shared/drivers/usb.cpp
#include <drivers/board.h>
#include <drivers/config/usb.h>
#include <drivers/usb.h>
namespace Ion {
namespace Device {
using namespace Regs;
namespace USB {
bool useAlternateFunctionVbus() {
return Board::pcbVersion() == 0;
}
void initVbus() {
if (useAltern... | 225 |
666 | <filename>CoordinatorLaoyutDemo/app/src/main/java/com/renyu/coordinatorlaoyutdemo/adapter/VideoListAdapter.java
package com.renyu.coordinatorlaoyutdemo.adapter;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.recyclerview... | 419 |
348 | {"nom":"Majastres","dpt":"Alpes-de-Haute-Provence","inscrits":21,"abs":5,"votants":16,"blancs":0,"nuls":1,"exp":15,"res":[{"panneau":"1","voix":12},{"panneau":"2","voix":3}]} | 77 |
11,356 | <gh_stars>1000+
/*=============================================================================
Copyright (c) 2001-2011 <NAME>
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)
=================================... | 15,620 |
1,601 | # -------------------------------------------------------------------------
#
# Part of the CodeChecker project, under the Apache License v2.0 with
# LLVM Exceptions. See LICENSE for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
# ---------------------------------------------------... | 246 |
995 | // tuple_io.hpp --------------------------------------------------------------
// Copyright (C) 2001 <NAME> (<EMAIL>)
// 2001 <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.t... | 3,743 |
1,988 | <gh_stars>1000+
/*
* X.509 Cert Path Validation
* (C) 2010-2011 <NAME>
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#ifndef BOTAN_X509_CERT_PATH_VALIDATION_H_
#define BOTAN_X509_CERT_PATH_VALIDATION_H_
#include <botan/pkix_enums.h>
#include <botan/x509cert.h>
#include <botan/certstor.h>... | 7,294 |
625 | /*
Copyright (c) 2017, <NAME>
Permission to use, copy, modify, and/or distribute this software
for any purpose with or without fee is hereby granted, provided
that the above copyright notice and this permission notice appear
in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH ... | 8,492 |
893 | package com.bytedance.android.aabresguard.commands;
import com.android.tools.build.bundletool.flags.Flag;
import com.android.tools.build.bundletool.flags.FlagParser;
import com.bytedance.android.aabresguard.BaseTest;
import com.bytedance.android.aabresguard.utils.FileOperation;
import org.junit.Test;
import java.io.... | 2,189 |
2,151 | <gh_stars>1000+
// 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.
#ifndef COMPONENTS_DOWNLOAD_PUBLIC_BACKGROUND_SERVICE_CLIENTS_H_
#define COMPONENTS_DOWNLOAD_PUBLIC_BACKGROUND_SERVICE_CLIENTS_H_
#includ... | 469 |
1,354 | /**
*
* Problem Statement-
* [Queue using Two Stacks](https://www.hackerrank.com/challenges/queue-using-two-stacks)
*
*/
package com.javaaid.hackerrank.solutions.datastructures.queues;
import java.util.Scanner;
import java.util.Stack;
/**
*
* @author <NAME>
*
*/
public class QueueUsingTwoStacks {
publ... | 563 |
374 | <reponame>RonRahaman/nekRS<gh_stars>100-1000
/******************************************************************************
* Copyright 1998-2019 Lawrence Livermore National Security, LLC and other
* HYPRE Project Developers. See the top-level COPYRIGHT file for details.
*
* SPDX-License-Identifier: (Apache-2.0 OR... | 3,005 |
6,034 | <reponame>ssSlowDown/onemall
package cn.iocoder.mall.managementweb.controller.permission.vo;
import cn.iocoder.common.framework.validator.InEnum;
import cn.iocoder.mall.systemservice.enums.permission.ResourceTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok... | 877 |
405 | #pragma once
#include <random>
#include <functional>
#include <map>
#include <string>
#include <cassert>
namespace moon
{
inline unsigned int rand()
{
std::random_device rd;
std::mt19937 gen(rd());
std::uniform_int_distribution<unsigned int> dis(1, std::numeric_limits<unsigned int>::max... | 987 |
2,338 | // Test without serialization:
// RUN: %clang_cc1 -triple wasm32-unknown-unknown -ast-dump %s \
// RUN: | FileCheck --strict-whitespace %s
// Test with serialization:
// RUN: %clang_cc1 -triple wasm32-unknown-unknown -emit-pch -o %t %s
// RUN: %clang_cc1 -triple wasm32-unknown-unknown -x c -include-pch %t -ast-dump-al... | 714 |
480 | /*
* Copyright [2013-2021], Alibaba Group Holding Limited
*
* 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... | 825 |
852 | <filename>PhysicsTools/PatExamples/test/MuonAnalyzer_cfg.py<gh_stars>100-1000
import FWCore.ParameterSet.Config as cms
process = cms.Process("RecoMuon")
# Messages
process.load("FWCore.MessageService.MessageLogger_cfi")
process.load("Configuration.StandardSequences.Geometry_cff")
process.load("Configuration.Standard... | 590 |
451 | /*
* Copyright 2019 WeBank
*
* 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 writi... | 1,016 |
337 | <filename>j2k/testData/fileOrElement/function/nativeMethods.java<gh_stars>100-1000
public class Foo {
private native final void nativeMethod();
public native final int getBar();
public native final void setBar(int bar);
} | 71 |
2,406 | <reponame>altran-cldnn/openvino<filename>tools/pot/tests/data/models/sparsity_example/sparsity_example.json<gh_stars>1000+
{
"name": "sparsity_example",
"framework": "tf",
"mo_args": {
"input_model": "$model_dir/sparsity_example/sparsity_example.pb"
}
}
| 108 |
2,542 | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
#include "Common... | 547 |
425 | <reponame>sstobbe/pimoroni-pico<gh_stars>100-1000
#include "breakout_paa5100.h"
////////////////////////////////////////////////////////////////////////////////////////////////////
// BreakoutPAA5100 Class
////////////////////////////////////////////////////////////////////////////////////////////////////
/***** Meth... | 1,448 |
14,668 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ANDROID_WEBVIEW_BROWSER_PERMISSION_PERMISSION_REQUEST_HANDLER_H_
#define ANDROID_WEBVIEW_BROWSER_PERMISSION_PERMISSION_REQUEST_HANDLER_H_
#includ... | 850 |
337 | class PasswordException(Exception):
pass
class NewPasswordException(Exception):
pass
class OperationError(Exception):
pass
class HostnameResolutionError(Exception):
pass | 54 |
521 | <filename>third_party/virtualbox/src/VBox/VMM/VMMR0/GMMR0Internal.h
/* $Id: GMMR0Internal.h $ */
/** @file
* GMM - The Global Memory Manager, Internal Header.
*/
/*
* Copyright (C) 2007-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbo... | 1,071 |
778 | <reponame>lkusch/Kratos<gh_stars>100-1000
#include "hdf5_application_variables.h"
namespace Kratos
{
}
| 48 |
5,079 | #!/usr/bin/env python
# -*- coding: windows-1251 -*-
# Copyright (C) 2005 <NAME>
from xlwt import *
wb = Workbook()
ws0 = wb.add_sheet('sheet0')
fnt1 = Font()
fnt1.name = 'Verdana'
fnt1.bold = True
fnt1.height = 18*0x14
pat1 = Pattern()
pat1.pattern = Pattern.SOLID_PATTERN
pat1.pattern_fore_colour = 0x16
brd1 = Bo... | 854 |
3,203 | package com.github.springbootdatadesensitization.desensitize.desensitizer.impl;
import com.github.springbootdatadesensitization.desensitize.desensitizer.AbstractDesensitizer;
/**
* 手机号脱敏
*
* @author Guide哥
* @date 2021/05/10 20:28
**/
public class MobileDesensitizer extends AbstractDesensitizer {
public Mobi... | 147 |
348 | <reponame>chamberone/Leaflet.PixiOverlay<filename>docs/data/leg-t2/080/08003222.json
{"nom":"Crécy-en-Ponthieu","circ":"3ème circonscription","dpt":"Somme","inscrits":1109,"abs":644,"votants":465,"blancs":49,"nuls":23,"exp":393,"res":[{"nuance":"LR","nom":"<NAME>","voix":229},{"nuance":"REM","nom":"M. <NAME>","voix":16... | 137 |
4,962 | /*
* Copyright 2014 - Present <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 1,090 |
678 | /**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/DataAccessExpress.framework/DataAccessExpress
*/
#import <DataAccessExpress/DataAccessExpress-Structs.h>
@class NSString;
@protocol DASearchQueryConsumer;
@interface DASearchQuery : NSObject {
int _state; // 4 = ... | 947 |
320 | // Copyright 2020 <NAME>
//
// The contents of this file may be used under the terms of
// the Apache License v2.0 with LLVM Exceptions.
//
// (See accompanying file LICENSE-Apache or copy at
// https://llvm.org/foundation/relicensing/LICENSE.txt)
//
// Alternatively, the contents of this file may be used under ... | 13,250 |
368 | <reponame>gta-chaos-mod/plugin-sdk<gh_stars>100-1000
/*
Plugin-SDK (Grand Theft Auto Vice City) source file
Authors: GTA Community. See more here
https://github.com/DK22Pac/plugin-sdk
Do not delete this comment block. Respect others' work!
*/
#include "CMousePointerStateHelper.h"
PLUGIN_SOURCE_FILE
PL... | 378 |
14,668 | // Copyright 2021 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/metrics/structured/ash_structured_metrics_recorder.h"
#include <memory>
#include <vector>
#include "base/callback.h"
#include "... | 1,364 |
518 | <gh_stars>100-1000
/*
* Copyright (c) 2010-2020 OTClient <https://github.com/edubart/otclient>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without li... | 1,790 |
466 | /*
* BeaEngine 4 - x86 & x86-64 disassembler library
*
* Copyright 2006-2010, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the F... | 849 |
450 | <filename>lib/Runtime/operator/reducel1.c
#include <onnc/Runtime/operator/reducel1.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include <math.h>
static inline void calculate_axis_dis(int32_t ndim, const int32_t * restrict dims, int32_t * restrict axis_dis){
int32_t base = axis_dis[ndim-1] = 1;... | 1,547 |
8,664 | <gh_stars>1000+
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft Corporation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
// Portions of... | 17,004 |
2,228 | /*
* Copyright 2018-2021 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... | 436 |
60,067 | from functools import reduce
import torch
import operator
from torch.fx.tensor_type import Dyn, is_consistent, TensorType, is_more_precise
from typing import Callable, Dict
from torch.fx.node import Target, Node
from torch.nn.modules.batchnorm import BatchNorm2d
from torch.nn.modules.conv import Conv2d
from torch.fx.ex... | 14,206 |
465 | # -*- coding: utf8 -*-
# Copyright (c) 2017-2021 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... | 1,046 |
10,245 | <filename>api/src/test/java/io/grpc/CompositeCallCredentialsTest.java
/*
* Copyright 2020 The gRPC 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
*
* http://www.apache.org... | 1,338 |
2,381 | package io.jenkins.plugins.casc;
import java.util.Set;
import org.junit.Rule;
import org.junit.Test;
import org.jvnet.hudson.test.JenkinsRule;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.hasSize;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertT... | 530 |
2,002 | <filename>dev/WindowsAppSDK_DLL/dllmain.cpp
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#include "pch.h"
#include <MddDetourPackageGraph.h>
#include <urfw.h>
#include <../Detours/detours.h>
static... | 954 |
365 | //
// LocalizationEditorTranslation.h
// SpriteBuilder
//
// Created by Viktor on 8/7/13.
//
//
#import <Foundation/Foundation.h>
@interface LocalizationEditorTranslation : NSObject <NSPasteboardWriting>
{
NSMutableDictionary* _translations;
}
- (id) initWithSerialization:(id)ser;
@property (nonatomic,copy) ... | 180 |
839 | <reponame>kimjand/cxf
[
["com.sun.xml.bind.marshaller.CharacterEscapeHandler"],
["com.sun.xml.bind.v2.schemagen.xmlschema.ComplexType"],
["com.sun.xml.bind.v2.schemagen.xmlschema.ContentModelContainer"],
["com.sun.xml.bind.v2.schemagen.xmlschema.LocalElement"],
["com.sun.xml.bind.v2.schemagen.xmlschema.Partic... | 529 |
6,989 | #if defined(__arm__)
#include "signal_arm.h"
#elif defined(__aarch64__)
#include "signal_arm64.h"
#elif defined(__powerpc__)
#include "signal_powerpc.h"
#elif defined(__i386__) || defined(__x86_64__)
#include "signal_x86.h"
#else
#error unexpected
#endif
| 110 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"Espinasse-Vozelle","circ":"3ème circonscription","dpt":"Allier","inscrits":697,"abs":350,"votants":347,"blancs":11,"nuls":36,"exp":300,"res":[{"nuance":"REM","nom":"<NAME>","voix":203},{"nuance":"LR","nom":"<NAME>","voix":97}]} | 111 |
348 | {
"source": "https://github.com/mozilla/ichnaea",
"version": "unknown",
"commit": "HEAD",
"build": "unknown"
}
| 55 |
2,984 | <filename>core/src/test/java/org/apache/calcite/rel/metadata/RelMdUtilTest.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 ownership.
* The ASF licenses thi... | 705 |
1,473 | /*
* Copyright 2019 NAVER 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... | 907 |
713 | <reponame>mrseal/infinispan
package org.infinispan.stream;
import org.infinispan.configuration.cache.ConfigurationBuilder;
import org.testng.annotations.Test;
/**
* @author <NAME> <<EMAIL>>
*/
@Test(groups = "functional", testName = "streams.SimpleParallelStreamTest")
public class SimpleParallelStreamTest ext... | 148 |
2,201 | """
Copyright (c) 2019 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wri... | 1,704 |
16,989 | <gh_stars>1000+
// Copyright 2019 The Bazel 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 ... | 2,596 |
5,651 | <reponame>matteoshen/example-code
"""
<NAME> - The Curse of the Excluded Middle
DOI:10.1145/2605176
CACM vol.57 no.06
"""
def less_than_30(n):
check = n < 30
print('%d < 30 : %s' % (n, check))
return check
def more_than_20(n):
check = n > 20
print('%d > 20 : %s' % (n, check))
return check
l =... | 219 |
2,313 | /*
* Copyright (c) 2017-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* ri... | 5,399 |
2,984 | /*
* 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 ... | 507 |
1,874 | # Copyright 2020 Red Hat, 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 o... | 558 |
5,169 | <gh_stars>1000+
{
"name": "CarpView",
"version": "0.0.1",
"summary": "custom View",
"description": "carp custom view",
"homepage": "https://github.com/Carpentry/CarpView",
"license": "MIT",
"authors": {
"Carp": "<EMAIL>"
},
"platforms": {
"ios": "8.0"
},
"source": {
"git": "https://git... | 201 |
2,151 | //
// Copyright 2016 The ANGLE 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.
//
// UseInterfaceBlockFields.h: insert statements to reference all members in InterfaceBlock list at
// the beginning of main. This is to work ar... | 337 |
1,538 | // 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... | 16,933 |
3,428 | <reponame>ghalimi/stdlib<gh_stars>1000+
{"id":"00730","group":"easy-ham-1","checksum":{"type":"MD5","value":"b2c9b979063d66d1a14f8d834a1c6dfa"},"text":"From <EMAIL> Mon Sep 23 22:47:47 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: yyyy<EMAIL>assass<EMAIL>int.org\nReceived: from localhost (jalapeno [127.0.0.1])\n\tby jma... | 1,085 |
310 | <gh_stars>100-1000
package agency.tango.databindingrxjava;
import android.databinding.DataBindingUtil;
import android.databinding.ObservableBoolean;
import android.databinding.ObservableField;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import a... | 757 |
364 | <reponame>spring-operator/reactive-streams-commons<filename>src/test/java/rsc/publisher/BlockingTest.java
package rsc.publisher;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test... | 397 |
1,463 | /*
+----------------------------------------------------------------------+
| Zan |
+----------------------------------------------------------------------+
| Copyright (c) 2016-2017 Zan Group <https://github.com/youzan/zan> |
| Copyright (c) 2012... | 12,304 |
333 | <reponame>JustinKyleJames/irods
/*** Copyright (c), The Regents of the University of California ***
*** For more information please refer to files in the COPYRIGHT directory ***/
/* rsApiHandler.h - header file rsApiHandler.c
*/
#ifndef RS_API_HANDLER_HPP
#define RS_API_HANDLER_HPP
#include "rods.h"
#... | 923 |
350 | <filename>src/4uqi/parser.h<gh_stars>100-1000
/*
* Copyright (C) 2005-2017 <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/LICENS... | 450 |
11,356 | <reponame>multi-os-engine/cinder-natj-binding<filename>deps/cinder/include/boost/geometry/algorithms/detail/overlay/append_no_duplicates.hpp<gh_stars>1000+
// Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2012 <NAME>, Amsterdam, the Netherlands.
// Use, modification and distribution is subj... | 615 |
3,215 | [{"type":"reply","destination_ip":"172.16.58.3","sent_bytes":56,"pattern":"0xabcd","timestamp":null,"response_bytes":64,"response_ip":"172.16.58.3","icmp_seq":1,"ttl":59,"time_ms":26.6,"duplicate":false},{"type":"reply","destination_ip":"172.16.58.3","sent_bytes":56,"pattern":"0xabcd","timestamp":null,"response_bytes":... | 1,707 |
3,348 | <filename>heron/schedulers/tests/java/org/apache/heron/scheduler/kubernetes/KubernetesControllerTest.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 owne... | 1,041 |
28,056 | package com.alibaba.json.bvt.bug;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.fastjson.JSON;
public class Bug_for_franklee77 extends TestCase {
public void test_0() throws Exception {
VO vo = JSON.parseObject("{\"id\":33}", VO.class);
Assert.assertEquals(33, vo.g... | 261 |
313 | //
// YBLAddGoodListService.h
// YBL365
//
// Created by 乔同新 on 2017/2/24.
// Copyright © 2017年 乔同新. All rights reserved.
//
#import "YBLBaseService.h"
@interface YBLAddGoodListService : YBLBaseService
@end
| 92 |
506 | // https://www.codechef.com/MARCH20A/problems/EGGFREE
#include <bits/stdc++.h>
using namespace std;
using ii = tuple<int, int>;
using si = set<int>;
using vi = vector<int>;
using vsi = vector<si>;
using vii = vector<ii>;
using vvii = vector<vii>;
struct part {
int i;
si vertices;
};
int n, m;
vi order, inv;
vsi ... | 1,356 |
2,532 | package android.example.com.visualizerpreferences.AudioVisuals;
/*
* 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:/... | 1,561 |
1,305 | /*
* Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
/* Generated By:JJTree: Do not edit this line. JDMAccess.java */
package com.sun.jmx.snmp.IPAcl;
cl... | 476 |
332 | /*
* Copyright 2014 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 354 |
524 | #pragma once
#include "../robusto_packet.h"
#include "../chat_info.h"
namespace core
{
namespace tools
{
class http_request_simple;
}
}
namespace core
{
namespace wim
{
class get_user_last_seen: public robusto_packet
{
virtual int32_t init_request(std::shared... | 372 |
15,577 | #pragma once
#include <memory>
#include <boost/noncopyable.hpp>
#include <Poco/Util/Application.h>
#include <mysqlxx/Query.h>
#include <mysqlxx/Exception.h>
#define MYSQLXX_DEFAULT_TIMEOUT 60
#define MYSQLXX_DEFAULT_RW_TIMEOUT 1800
/// Disable LOAD DATA LOCAL INFILE because it is insecure
#define MYSQLXX_DEFAULT_... | 2,378 |
347 | package org.ovirt.engine.core.common.utils.customprop;
import org.ovirt.engine.core.common.errors.EngineMessage;
import org.ovirt.engine.core.compat.StringFormat;
/**
* Errors reasons that may appear during custom properties validation
*/
public enum ValidationFailureReason {
INVALID_DEVICE_TYPE(
En... | 689 |
322 | /*
* 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,324 |
569 | <filename>ext/package-templates/extension.h
/*
* @@extname@@.h
*/
/* Prologue */
#ifndef GAUCHE_@@EXTNAME@@_H
#define GAUCHE_@@EXTNAME@@_H
#include <gauche.h>
#include <gauche/extend.h>
SCM_DECL_BEGIN
/*
* The following entry is a dummy one.
* Replace it for your declarations.
*/
extern ScmObj test_@@extname@... | 169 |
1,389 | <filename>legacy/examples/distribute_metapath2vec/data_process.py<gh_stars>1000+
# Copyright (c) 2019 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... | 1,829 |
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 ... | 1,452 |
450 | /*
* Copyright (C) 2008-2019 <NAME> <<EMAIL>>
* Copyright (C) 2008 <NAME> <<EMAIL>>
*
* Licence: wxWindows Library Licence, Version 3.1
*/
#include "testutil.h"
#include "valgrind.h"
#ifdef HAVE_ANDROID
# include "backend-linux/gumandroid.h"
#endif
#if defined (HAVE_WINDOWS) && defined (_DEBUG)
# include <crtdb... | 9,537 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.