max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
348 | <gh_stars>100-1000
{"nom":"Bruyères","circ":"2ème circonscription","dpt":"Vosges","inscrits":1939,"abs":1084,"votants":855,"blancs":59,"nuls":30,"exp":766,"res":[{"nuance":"LR","nom":"<NAME>","voix":404},{"nuance":"REM","nom":"<NAME>","voix":362}]} | 103 |
3,508 | package com.fishercoder.solutions;
public class _313 {
public static class Solution1 {
public int nthSuperUglyNumber(int n, int[] primes) {
int[] ret = new int[n];
ret[0] = 1;
int[] indexes = new int[primes.length];
for (int i = 1; i < n; i++) {
... | 459 |
4,256 | import java.security.cert.CertificateFactory;
import java.security.cert.X509Certificate;
import java.security.KeyStore;
import java.io.FileInputStream;
import java.io.OutputStream;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import javax.net.ssl.SSLContext;
import javax.net.ssl.TrustManager... | 1,415 |
1,350 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.frontdoor.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
import com.azure.core.m... | 1,714 |
4,625 | // Copyright 2017 JanusGraph 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 law or agree... | 5,573 |
14,668 | // 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 "components/keyed_service/core/simple_dependency_manager.h"
#include "base/no_destructor.h"
#include "base/trace_event/trace_event.h"
#include "... | 720 |
445 | package me.wangyuwei.banner;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.support.v4.content.ContextCompat;
import android.util.AttributeSet;
import android.util.DisplayMetrics;
import android.view.View;
/**
* 作者: 巴掌 on 16/6/9 22:37
*/
public class Ba... | 982 |
12,278 | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
//
// This file implements the "bridge" between Java and C+... | 6,899 |
658 | /*
* Copyright (c) 2003 Sun Microsystems, 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:
*
* Redistribution of source code must retain the above copyright
* notice, this list of con... | 14,291 |
14,793 | <filename>weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/card/WxMpCardCodeCheckcodeResult.java
package me.chanjar.weixin.mp.bean.card;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder;
import java.io.Serializable;
import java.util.Lis... | 339 |
36,052 | <filename>src/unpatched-fonts/Noto/config.json
[Subtables]
ligatures: [
"Ligature Substitution lookup 14 subtable",
"Ligature Substitution lookup 15 subtable",
"Ligature Substitution lookup 16 subtable" ]
| 74 |
1,405 | <reponame>jarekankowski/pegasus_spyware<filename>sample4/decompiled_raw/assets/LenovoSafeWidget115/sources/com/lenovo/lps/reaper/sdk/a/a.java<gh_stars>1000+
package com.lenovo.lps.reaper.sdk.a;
/* loaded from: classes.dex */
public final class a {
private int a;
private String b;
private String c;
priva... | 818 |
1,775 | # Copyright (c) OpenMMLab. All rights reserved.
from .bottom_up_aic import BottomUpAicDataset
from .bottom_up_coco import BottomUpCocoDataset
from .bottom_up_coco_wholebody import BottomUpCocoWholeBodyDataset
from .bottom_up_crowdpose import BottomUpCrowdPoseDataset
from .bottom_up_mhp import BottomUpMhpDataset
__all_... | 176 |
5,766 | //
// ActiveRecord.h
//
// Library: ActiveRecord
// Package: ActiveRecord
// Module: ActiveRecord
//
// Copyright (c) 2020, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "Poco/ActiveRecord/ActiveRecord.h"
#include "Poco/NumberFormatter.h"
#incl... | 333 |
4,392 | /***************************************************************************
Copyright (c) 2021, The OpenBLAS Project
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... | 2,919 |
777 | // 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/chromeos/policy/active_directory_policy_manager.h"
#include <string>
#include <utility>
#include "base/logging.h"
#include "bas... | 1,399 |
5,422 | // -*- mode: objective-c -*-
@import Cocoa;
@interface ComplexModificationsAssetsOutlineViewDelegate : NSObject <NSOutlineViewDelegate>
@end
| 48 |
1,088 | /* Copyright 2020 Alibaba Group Holding Limited. 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... | 915 |
1,738 | <filename>dev/Gems/CloudGemMetric/v1/Code/Include/CloudGemMetric/MetricsAttribute.h
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates, or
* a third party where indicated.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "Licens... | 2,376 |
5,872 | {
"AD_DURATION": "Durada de l'anunci",
"AD_PROGRESS": "Anunci [AD_ON] de [NUM_ADS]",
"AD_TIME": "Anunci: [AD_TIME]",
"AUTO_QUALITY": "Automàtic",
"BACK": "Torna",
"CAPTIONS": "Subtítols",
"CAST": "Emet…",
"ENTER_LOOP_MODE": "Reprodueix en bucle el vídeo actual",
"ENTER_PICTURE_IN_PICTURE": "Entra al m... | 612 |
1,623 | <reponame>Erick-Mendez/Pangolin
#pragma once
#include <pangolin/platform.h>
#define GLdouble GLfloat
#define glClearDepth glClearDepthf
#define glFrustum glFrustumf
#define glColor4fv(a) glColor4f(a[0], a[1], a[2], a[3])
#define glColor3fv(a) glColor4f(a[0], a[1], a[2], 1.0f)
#define glColor3f(a,b... | 657 |
386 | <reponame>jkrude/charts<filename>src/main/java/eu/hansolo/fx/geometry/FlatteningPathIterator.java
/*
* Copyright (c) 2017 by <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
*
* ... | 3,521 |
5,169 | <reponame>Gantios/Specs
{
"name": "Forge",
"version": "1.0.0",
"summary": "Get up and rendering with Metal via Metalkit without worrying about triple buffering / semaphores",
"description": "Forge's Renderer class sets up triple buffering rendering so you don't have to. You also get nice Cinder / Processing / O... | 649 |
517 | <gh_stars>100-1000
/*
* Copyright (C) 2012.
* All rights reserved.
*/
package ro.isdc.wro.extensions.processor.css;
import ro.isdc.wro.extensions.processor.support.sass.RubySassEngine;
import ro.isdc.wro.model.resource.processor.ResourcePostProcessor;
import ro.isdc.wro.model.resource.processor.ResourcePreProcessor... | 394 |
3,897 | /* mbed Microcontroller Library
* Copyright (c) 2006-2020 ARM Limited
*
* SPDX-License-Identifier: Apache-2.0
*
* 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.apach... | 2,524 |
597 | <gh_stars>100-1000
package com.xiaojukeji.kafka.manager.service.utils;
import com.xiaojukeji.kafka.manager.common.entity.ResultStatus;
import com.xiaojukeji.kafka.manager.common.entity.pojo.ClusterDO;
import com.xiaojukeji.kafka.manager.service.config.BaseTest;
import org.testng.Assert;
import org.testng.annotations.T... | 4,242 |
868 | <reponame>AriCheng/flare
// Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clause License (the "License"); you may not use this
// file except in compliance with the License. You may obtain a copy of the
// License at
//
// https://opensource.org/licenses/BSD-... | 540 |
17,037 | # This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _AWS
class _Satellite(_AWS):
_type = "satellite"
_icon_dir = "resources/aws/satellite"
class GroundStation(_Satellite):
_icon = "ground-station.png"
class Satellite(_Satellite):
_icon = "satellite.png"
# Aliases
| 112 |
14,668 | <filename>chrome/browser/ash/base/file_flusher.cc
// 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/ash/base/file_flusher.h"
#include <algorithm>
#include <set>
#include "base/b... | 2,074 |
651 | <filename>pkix/src/main/java/org/spongycastle/pkcs/PKCS12SafeBagBuilder.java<gh_stars>100-1000
package org.spongycastle.pkcs;
import java.io.IOException;
import org.spongycastle.asn1.ASN1Encodable;
import org.spongycastle.asn1.ASN1EncodableVector;
import org.spongycastle.asn1.ASN1ObjectIdentifier;
import org.spongyca... | 1,099 |
691 | <reponame>kevcadieux/Sprout<filename>sprout/container/rebind_type.hpp
/*=============================================================================
Copyright (c) 2011-2019 <NAME>
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the Boost Software License, Version 1.0. (See accompanying
file L... | 338 |
23,220 | <gh_stars>1000+
package com.alibaba.otter.canal.store;
import java.util.List;
import org.springframework.util.CollectionUtils;
import com.alibaba.otter.canal.common.AbstractCanalLifeCycle;
import com.alibaba.otter.canal.meta.CanalMetaManager;
import com.alibaba.otter.canal.protocol.ClientIdentity;
import com.alibaba... | 1,766 |
852 | <gh_stars>100-1000
#include "SimG4Core/PhysicsLists/interface/HadronPhysicsQGSPCMS_FTFP_BERT.h"
#include "G4SystemOfUnits.hh"
#include "G4Threading.hh"
HadronPhysicsQGSPCMS_FTFP_BERT::HadronPhysicsQGSPCMS_FTFP_BERT(G4int)
: HadronPhysicsQGSPCMS_FTFP_BERT(
3. * CLHEP::GeV, 6. * CLHEP::GeV, 12. * CLHEP::Ge... | 501 |
432 | <reponame>hachreak/keras-maskrcnn
"""
Copyright 2017-2018 Fizyr (https://fizyr.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required b... | 863 |
1,526 | <reponame>webcoast-dk/mitogen
# Copyright 2019, <NAME>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the foll... | 2,989 |
348 | {"nom":"Villemanoche","circ":"3ème circonscription","dpt":"Yonne","inscrits":459,"abs":234,"votants":225,"blancs":13,"nuls":4,"exp":208,"res":[{"nuance":"REM","nom":"<NAME>","voix":106},{"nuance":"FN","nom":"<NAME>","voix":102}]} | 89 |
3,102 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null
/* This testcase doesn't actually test a bug, it's just the result of me
* figuring out the syntax for forward declaring a static variable. */
struct list {
int x;
struct list *Next;
};
static struct list B; /* Forward declare static */
static struct list A = { 7,... | 153 |
1,056 | <filename>enterprise/websvc.kit/test/qa-functional/src/org/netbeans/modules/ws/qaf/JEE6MavenEjbWsValidation.java<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
* reg... | 956 |
1,909 | <reponame>grmkris/XChange
package org.knowm.xchange.bl3p.service.params;
import org.knowm.xchange.currency.Currency;
import org.knowm.xchange.service.trade.params.TradeHistoryParamCurrency;
import org.knowm.xchange.service.trade.params.TradeHistoryParamPaging;
public class Bl3pTradeHistoryParams implements TradeHisto... | 587 |
474 | <reponame>iwanghang/EvilsLive
package com.thinkkeep.videolib.model.video;
/**
* Created by jsson on 17/3/16.
*/
public interface OnPreviewFrameListener {
/**
* 预览一帧视频回调
* @param data
* @param width
* @param height
*/
void onPreviewFrameListener(byte[] data, int width, int height);
}
| 142 |
1,093 | <filename>spring-integration-core/src/main/java/org/springframework/integration/config/AbstractEvaluationContextFactoryBean.java
/*
* Copyright 2018-2019 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 Lice... | 1,768 |
630 | /*
* Copyright (C) 2015, BMW Car IT GmbH
*
* Author: <NAME> <<EMAIL>>
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl... | 620 |
3,603 | /*
* 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 writing, software
* distribut... | 545 |
6,992 | <gh_stars>1000+
package core;
import org.junit.jupiter.api.Test;
public class HasOptionalTest {
@Test
public void test() {
HasOptional.doStuffWithOptionalDependency();
}
}
| 67 |
7,567 | <filename>sdk-overrides/include/stdlib.h
#ifndef _OVERRIDE_STDLIB_H_
#define _OVERRIDE_STDLIB_H_
#include_next "stdlib.h"
#include <stdbool.h>
#include "mem.h"
#define free os_free
#define malloc os_malloc
#define calloc(n,sz) os_zalloc(n*sz)
#define realloc os_realloc
#endif
| 151 |
794 | //
// CAClipboard.h
// CrossApp
//
// Created by Zhujian on 15-2-2.
// Copyright (c) 2014 http://www.9miao.com All rights reserved.
//
#ifndef __CrossApp__CAClipboard__
#define __CrossApp__CAClipboard__
#include <string>
#include "ccMacros.h"
NS_CC_BEGIN
class CC_DLL CAClipboard
{
public:
static std::string ... | 174 |
663 | <filename>druid/datadog_checks/druid/druid.py
# (C) Datadog, Inc. 2019-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
import requests
from datadog_checks.base import AgentCheck, ConfigurationError
from datadog_checks.base.errors import CheckException
class DruidCheck(AgentC... | 993 |
302 | /**
* * Copyright © 2015-2020 <a href="https://gitee.com/JeeHuangBingGui/JeeSpring">JeeSpring</a> All rights reserved..
*/
package com.jeespring.modules.sys.service;
import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import co... | 487 |
524 | {
"name": "react-keyframes",
"version": "1.0.0-canary.3",
"description": "Create frame-based animations in React",
"license": "MIT",
"source": "src/index.ts",
"main": "./dist/index.js",
"module": "dist/index.mjs",
"files": [
"dist"
],
"scripts": {
"build": "rm -rf dist && microbundle --exter... | 190 |
3,100 | <reponame>ehanoj/gdal
/******************************************************************************
*
* Project: GDAL
* Purpose: Implementation of a set of GDALDerivedPixelFunc(s) to be used
* with source raster band of virtual GDAL datasets.
* Author: <NAME> <<EMAIL>>
*
*************************... | 23,710 |
1,056 | <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
* ... | 31,613 |
666 | <gh_stars>100-1000
import sys
sys.path.append("../../")
from appJar import gui
with gui() as app:
app.addImage("a", "lb3.gif")
| 54 |
852 | <filename>L1Trigger/L1TMuonOverlapPhase1/src/Omtf/IOMTFEmulationObserver.cc
/*
* IOMTFEmulationObserver.cc
*
* Created on: Oct 12, 2017
* Author: kbunkow
*/
#include "L1Trigger/L1TMuonOverlapPhase1/interface/Omtf/IOMTFEmulationObserver.h"
IOMTFEmulationObserver::IOMTFEmulationObserver() {}
IOMTFEmulationO... | 146 |
956 | /* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2016-2020 Intel Corporation
*/
#ifndef __DLB_REGS_H
#define __DLB_REGS_H
#include "dlb_osdep_types.h"
#define DLB_MSIX_MEM_VECTOR_CTRL(x) \
(0x100000c + (x) * 0x10)
#define DLB_MSIX_MEM_VECTOR_CTRL_RST 0x1
union dlb_msix_mem_vector_ctrl {
struct {
u32 vec... | 28,119 |
432 | <gh_stars>100-1000
package us.parr.bookish.model;
public class InlineImage extends OutputModelObject {
public String src;
public InlineImage(String src) {
this.src = src;
}
}
| 64 |
303 | <filename>www/draw/metadata/1/1843.json
{"id":1843,"line-1":"Africa","line-2":"West Sahara","attribution":"©2014 Cnes/Spot Image, DigitalGlobe","url":"https://www.google.com/maps/@26.738712,-13.026609,16z/data=!3m1!1e3"} | 89 |
777 | <gh_stars>100-1000
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_SCHEME_CLASSIFIER_IMPL_H_
#define IOS_CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_SCH... | 364 |
522 | <reponame>dominico966/Spark
package org.jivesoftware.spark.otrplug.util;
/**
* OTRResources needed to load icons and language files into OTR plugin
*
* @author <NAME>
*/
import java.text.MessageFormat;
import java.util.PropertyResourceBundle;
import java.util.ResourceBundle;
import javax.swing.ImageIcon;
import... | 656 |
2,338 | <gh_stars>1000+
// Exercise some template issues. Should not produce errors.
// Forward declaration.
template<class T> class TemplateClass;
// Full declaration.
template<class T>class TemplateClass {
public:
TemplateClass() {}
private:
T Member;
};
// Template alias.
template<class T> using TemplateClassAlias =... | 95 |
742 | <filename>apps/point_cloud/image_common/camera_calibration_parsers/src/parse_wrapper.cpp
/*********************************************************************
* Software License Agreement (BSD License)
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that... | 1,010 |
1,144 | <reponame>legendecas/ShadowNode
/* Copyright 2015-present Samsung Electronics Co., Ltd. and other contributors
*
* 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.... | 2,136 |
1,190 | _base_ = './repvgg-B3_4xb64-autoaug-lbs-mixup-coslr-200e_in1k.py'
model = dict(backbone=dict(arch='D2se'))
| 56 |
918 | <reponame>yogi1324/gobblin<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 Lice... | 1,549 |
323 | <filename>springboot-admin-server/src/main/java/cn/huanzi/qch/springbootadminserver/SpringBootAdminServerApplication.java
package cn.huanzi.qch.springbootadminserver;
import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.Spr... | 311 |
2,690 | <reponame>PushyamiKaveti/kalibr<gh_stars>1000+
/******************************************************************************
* Copyright (C) 2013 by <NAME> *
* <EMAIL> *
* ... | 2,543 |
1,738 | <gh_stars>1000+
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the li... | 441 |
2,151 | <filename>content/public/test/android/javatests/src/org/chromium/content/browser/test/util/EqualityCriteria.java
// 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.
package org.chromium.content.browser.test... | 583 |
679 | <reponame>Grosskopf/openoffice
/**************************************************************
*
* 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... | 1,810 |
337 | <filename>idea/testData/refactoring/rename/renameKotlinPropertyWithGetterJvmNameToDefaultByGetterRef/before/test/JavaClient.java
package test;
class Test {
{
new A()./*rename*/getFoo();
new A().setFirst(1);
}
} | 99 |
1,333 | package org.xujin.moss.client.endpoint.dependency.analyzer;
import java.io.Serializable;
import java.util.List;
public class PomInfo implements Serializable {
public String groupId;
public String artifactId;
public String version;
public String location;
public long size;
public List<PomDepend... | 491 |
3,102 | <gh_stars>1000+
#ifndef SETJMP_H
#define SETJMP_H
typedef struct {
int x[42];
} jmp_buf;
#endif
| 51 |
335 | /*
Copyright (C) 2018 Quaternion Risk Management Ltd
All rights reserved.
This file is part of ORE, a free-software/open-source library
for transparent pricing and risk analysis - http://opensourcerisk.org
ORE is free software: you can redistribute it and/or modify it
under the terms of the Modified BSD License... | 1,530 |
6,304 | /*
* Copyright 2020 Google LLC.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/gpu/ops/AtlasInstancedHelper.h"
#include "src/gpu/BufferWriter.h"
#include "src/gpu/KeyBuilder.h"
#include "src/gpu/glsl/GrGLSLFragmentShaderBuilder.h"
#include... | 2,093 |
2,112 | /**
* Autogenerated by Thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#include "gen-py3/includes/metadata.h"
namespace a {
namespace different {
namespace ns {
::apache::thrift::metadata::ThriftMetadata includes_getThriftModuleMetadata() {
::apache::thrift::metadat... | 233 |
1,043 | package com.oath.micro.server.datadog.metrics;
import com.oath.micro.server.Plugin;
import cyclops.reactive.collections.mutable.SetX;
import java.util.Set;
/**
*
* Collections of Spring configuration classes (Classes annotated with @Configuration)
* that configure various useful pieces of functionality - such as ... | 179 |
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 ... | 3,836 |
356 | <filename>utils/utils.py
###################################################################
# File Name: utils.py
# Author: <NAME>
# mail: <EMAIL>
# Created Time: Tue 28 Aug 2018 04:57:29 PM CST
###################################################################
from __future__ import print_function
from __future__ i... | 1,294 |
682 | /**CFile***********************************************************************
FileName [cuddWindow.c]
PackageName [cudd]
Synopsis [Functions for variable reordering by window permutation.]
Description [Internal procedures included in this module:
<ul>
<li> cuddWindowR... | 14,052 |
1,477 | <reponame>jaxesn/eks-anywhere<filename>pkg/executables/testdata/kubectl_eksa_cluster.json
{
"apiVersion": "anywhere.eks.amazonaws.com/v1alpha1",
"kind": "Cluster",
"metadata": {
"annotations": {
"anywhere.eks.amazonaws.com/paused": "true",
"kubectl.kubernetes.io/last-applied-configuration": "{\"ap... | 1,446 |
324 | <filename>src/wchar/_towcase.h
#ifndef TOWCASE_H__
#define TOWCASE_H__
#include <wctype.h>
#ifdef __cplusplus
extern "C" {
#endif
wchar_t __towcase(wchar_t wc, int lower);
#ifdef __cplusplus
}
#endif
#endif // TOWCASE_H_
| 113 |
4,640 | # 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 u... | 935 |
2,400 | <filename>optaplanner-examples/src/main/java/org/optaplanner/examples/batchscheduling/domain/Batch.java
package org.optaplanner.examples.batchscheduling.domain;
import java.util.List;
import org.optaplanner.examples.common.domain.AbstractPersistable;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStrea... | 440 |
2,151 | <filename>src/cpp/server/load_reporter/load_reporting_service_server_builder_option.cc
/*
*
* Copyright 2018 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... | 409 |
751 | /* SPDX-License-Identifier: Apache-2.0
* Copyright(c) 2021 Cisco Systems, Inc.
*/
#ifndef __DAQ_VPP_H__
#define __DAQ_VPP_H__
#include <stdint.h>
#define DAQ_VPP_DEFAULT_SOCKET_FILE "snort.sock"
#define DAQ_VPP_DEFAULT_SOCKET_PATH "/run/vpp/" DAQ_VPP_DEFAULT_SOCKET_FILE
#define DAQ_VPP_INST_NAME_LEN 32
typede... | 747 |
2,107 | /*-
* BSD LICENSE
*
* Copyright (c) Intel Corporation.
* 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... | 1,364 |
312 | <filename>3rd_party/occa/tests/src/internal/lang/modes/openmp.cpp
#define OCCA_TEST_PARSER_TYPE okl::openmpParser
#include <occa/internal/lang/modes/openmp.hpp>
#include "../parserUtils.hpp"
void testPragma();
void testAtomic();
int main(const int argc, const char **argv) {
parser.settings["okl/validate"] = false;... | 1,262 |
1,011 | #ifndef __BinaryFileReaderWriter_H__
#define __BinaryFileReaderWriter_H__
#include <iostream>
#include <fstream>
#include "SPlisHSPlasH/Common.h"
#include <Eigen/Sparse>
namespace SPH
{
class BinaryFileWriter
{
public:
std::ofstream m_file;
public:
bool openFile(const std::string &fileName)
{
m_file.o... | 1,742 |
399 | <gh_stars>100-1000
package ioio.tests.torture;
import ioio.lib.api.IOIO;
import ioio.lib.api.IOIO.VersionType;
import ioio.lib.util.BaseIOIOLooper;
import ioio.lib.util.IOIOLooper;
import ioio.lib.util.android.IOIOActivity;
import ioio.tests.torture.ResourceAllocator.Board;
import android.content.Context;
import andr... | 1,551 |
5,249 | #!/usr/bin/env python3
#
# Copyright (c) 2021, NVIDIA CORPORATION. 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
#
# ... | 552 |
1,350 | <reponame>Manny27nyc/azure-sdk-for-java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.synapse.generated;
import com.azure.core.util.Context;
import com.azure.resourcemanager.... | 1,261 |
3,102 | // RUN: %clang_cc1 -std=c++11 %s -verify
// expected-no-diagnostics
constexpr int operator "" _a(const char *c) {
return c[0];
}
static_assert(operator "" _a("foo") == 'f', "");
void puts(const char *);
static inline void operator "" _puts(const char *c) {
puts(c);
}
void f() {
operator "" _puts("foo");
oper... | 133 |
879 | <gh_stars>100-1000
package org.zstack.sdk;
import org.zstack.sdk.MdevDeviceType;
import org.zstack.sdk.MdevDeviceState;
import org.zstack.sdk.MdevDeviceStatus;
import org.zstack.sdk.MdevDeviceChooser;
public class MdevDeviceInventory {
public java.lang.String uuid;
public void setUuid(java.lang.String uuid)... | 1,246 |
3,189 | <gh_stars>1000+
#include "test_common.h"
#include <evpp/event_loop.h>
#include <evpp/event_loop_thread.h>
#include <evpp/dns_resolver.h>
TEST_UNIT(testDNSResolver) {
for (int i = 0; i < 6; i++) {
bool resolved = false;
bool deleted = false;
auto fn_resolved = [&resolved](const std::vector ... | 1,459 |
422 | <reponame>anama25/LearnJava<filename>Lesson-19/Examples/CashRegisterDrawer/src/cashregisterdrawer/DrawerStatus.java
package cashregisterdrawer;
public enum DrawerStatus {
Open, Closed, Unknown
}
| 69 |
631 | package com.neu.his.cloud.api.pc.dto.sms;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
@Setter
@Getter
@ToString
public class SmsDeptAmountStatisticsResult implements Serializable {
List<String> dateOfSevenDa... | 209 |
1,975 | // Copyright 2009 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 952 |
868 | # Copyright The OpenTelemetry 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 law or agreed to in ... | 1,023 |
2,151 | <reponame>zipated/src
# -*- coding: utf-8 -*-
# Copyright 2015 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Module containing SDK builders."""
from __future__ import print_function
import datetime
from chromite... | 889 |
72,551 | <reponame>gandhi56/swift
//===--- ARCRegionState.h ---------------------------------------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
/... | 3,128 |
877 | // Test case for Issue #2082:
// https://github.com/typetools/checker-framework/issues/2082
import java.util.concurrent.Callable;
public class Issue2082 {
Callable foo = () -> 0;
}
| 64 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.