max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
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"); you... | 1,680 |
364 | package rsc.subscriber;
import org.reactivestreams.Subscription;
import rsc.util.*;
import rsc.flow.Fuseable.*;
/**
* Base class for implementing intermediate fuseable operators.
*
* @param <T> the input value type
* @param <R> the output value type
*/
public abstract class BasicConditionalSubscriber<T, R> imp... | 1,049 |
372 | <reponame>kbore/pbis-open
/*
* Copyright © BeyondTrust Software 2004 - 2019
* 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/lic... | 5,103 |
313 | <gh_stars>100-1000
/*
* Copyright 2018 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 435 |
2,782 | package course.examples.contentproviders.contactslist;
import android.Manifest;
import android.app.ListActivity;
import android.content.ContentResolver;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.os.Bundle;
import android.provider.ContactsContract;
import android.widget.Ar... | 837 |
631 | <reponame>tradingsecret/beam_wallet
// Copyright 2018 The Beam Team
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requir... | 2,215 |
1,886 | <reponame>mananpal1997/cinder
from .opcodebase import Opcode
from .opcodes import opcode as base_opcode
opcode: Opcode = base_opcode.copy()
opcode.def_op("LOAD_METHOD_SUPER", 198)
opcode.hasconst.add(198)
opcode.def_op("LOAD_ATTR_SUPER", 199)
opcode.hasconst.add(199)
opcode.stack_effects["LOAD_METHOD_SUPER"] = -1
opc... | 145 |
2,561 | <reponame>jp-costa/examples<gh_stars>1000+
{
"description": "Copys core id to a keyword field for ML Partition",
"processors": [
{
"set": {
"field": "_source.system.core.core_id",
"value": "core_{{system.core.id}}"
}
}
]
} | 123 |
384 | <gh_stars>100-1000
package org.holoeverywhere.widget;
import java.util.ArrayList;
public class ExpandableListPosition {
public final static int CHILD = 1;
public final static int GROUP = 2;
private static final int MAX_POOL_SIZE = 5;
private static ArrayList<ExpandableListPosition> sPool =
... | 1,148 |
373 | /*
* #%L
* ACS AEM Commons Bundle
* %%
* Copyright (C) 2019 Adobe
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | 3,655 |
420 | import os
from blacksheep.server.env import EnvironmentSettings
def test_env_settings():
os.environ["APP_SHOW_ERROR_DETAILS"] = "1"
env = EnvironmentSettings()
assert env.show_error_details is True
os.environ["APP_SHOW_ERROR_DETAILS"] = "0"
env = EnvironmentSettings()
assert env.show_error... | 166 |
1,993 | <reponame>java-app-scans/brave
/*
* Copyright 2013-2020 The OpenZipkin 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 ... | 1,477 |
356 | <gh_stars>100-1000
/*
Reversing individual words of a given string, using stack data structures
Algorithm / approach:
- We iterate through the string, character-by-character.
- If the current character is an alphabet or number, we push it into the stack.
- If not, if it's a space or newline character, it indicates the ... | 573 |
2,354 | <filename>tool/opencl/clsrc_to_str.py
#!/usr/bin/python
#
# 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 Ap... | 1,138 |
2,389 | package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.Nested;
import java.lang.Integer;
import java.lang.Deprecated;
import io.kubernetes.client.fluent.BaseFluent;
import java.lang.Object;
import java.lang.Boolean;
/**
* Generated
*/
public class V1HorizontalPodAutoscalerSpecFluentImpl<... | 2,220 |
320 | //
// CSSFPSGraph.h
// CSSLayout
//
// Created by 沈强 on 2017/1/11.
// Copyright © 2017年 qiang.shen. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface FBFPSGraph : UIView
@property (nonatomic, assign, readonly) NSUInteger FPS;
@property (nonatomic, assign, readonly) NSUInteger maxFPS;
@property (nonatomi... | 190 |
4,036 | // Generated automatically from com.google.common.collect.StandardRowSortedTable for testing purposes
package com.google.common.collect;
import com.google.common.collect.RowSortedTable;
import com.google.common.collect.StandardTable;
import java.util.Map;
import java.util.SortedMap;
import java.util.SortedSet;
class... | 186 |
356 | from .time_dependent_solver import TimeSimulation
| 13 |
1,587 | package io.reflectoring.customer;
import io.reflectoring.customer.business.CustomerService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration
@ComponentScan
public class CustomerC... | 112 |
14,668 | // 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 MEDIA_BASE_CDM_CONFIG_H_
#define MEDIA_BASE_CDM_CONFIG_H_
#include <iosfwd>
#include <string>
#include "media/base/media_export.h"
namespace me... | 378 |
331 | <reponame>Lauzy/TicktockMusic
package com.freedom.lauzy.ticktockmusic.presenter;
import com.freedom.lauzy.interactor.ConfigManagerUseCase;
import com.freedom.lauzy.ticktockmusic.base.BasePresenter;
import com.freedom.lauzy.ticktockmusic.contract.SettingContract;
import javax.inject.Inject;
/**
* Desc : 设置
* Author... | 346 |
4,163 | """GLAAD."""
| 7 |
790 | <reponame>MiCHiLU/google_appengine_sdk<filename>lib/PyAMF-0.7.2/pyamf/adapters/tests/__init__.py
# Copyright (c) The PyAMF Project.
# See LICENSE.txt for details.
"""
File included to make the directory a Python package.
The test_*.py files are special in this directory in that they refer to the
top level module name... | 137 |
383 | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2018, CITEC Bielefeld
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following con... | 2,197 |
4,140 | <reponame>FANsZL/hive
/*
* 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 (t... | 760 |
432 | <gh_stars>100-1000
/*
* TUXLOAD.C
*
* (c)Copyright 2012 <NAME> <<EMAIL>>,
* this code is hereby placed in the public domain.
*
* As a safety the directory 'tmpfiles/' must exist. This program will
* create 500 x 8MB files in tmpfiles/*, memory map the files MAP_SHARED,
* R+W, make random modifications, and ... | 2,078 |
422 | <reponame>crypticspawn/BashSupport
package com.ansorgit.plugins.bash.editor.refactoring;
import com.ansorgit.plugins.bash.BashTestUtils;
import com.ansorgit.plugins.bash.lang.psi.api.BashFileReference;
import com.ansorgit.plugins.bash.lang.psi.api.command.BashIncludeCommand;
import com.intellij.openapi.extensions.Exte... | 1,227 |
812 | /*
* Password Management Servlets (PWM)
* http://www.pwm-project.org
*
* Copyright (c) 2006-2009 Novell, Inc.
* Copyright (c) 2009-2021 The PWM 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 ... | 919 |
504 | <filename>Library/Breadbox/Impex/RTF/groups.h<gh_stars>100-1000
#include "impdefs.h"
#include <Objects/Text/tCommon.h>
/* All functions which return a pointer must call GroupsUnlock() when done
with the pointer. The returned pointer may become invalid after calling
GroupsUnlock(). */
Boolean GroupsInit(void);
voi... | 458 |
3,586 | package com.datahub.gms.servlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
// Return a 200 for health checks
public class HealthCheck extends HttpServlet {
@Override
protected void doGet(HttpServletRequest req, HttpServletRe... | 123 |
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... | 2,081 |
533 | <gh_stars>100-1000
#include "framework/operators/fusion.h"
namespace anakin {
namespace ops {
/// TODO ... specialization other type of operator
#define INSTANCE_FUSION(Ttype, Ptype) \
template<> \
void Fusion<Ttype, Ptype>::operator()(OpContext<Ttype>& ctx, \
const std::vector<Tensor4dPtr<Ttype> >& ins, \
s... | 1,631 |
318 | import json
import pprint
import boto3
from .client import get_client
class CountFilter:
def __init__(self, complete):
self.complete = complete
def execute(self, listing, response):
if 'Count' in response:
if 'MaxResults' in response:
if response['MaxResults'] <= ... | 857 |
3,371 | <reponame>KrunalStrategyX/ChipsLayoutManager<filename>ChipsLayoutManager/src/main/java/com/beloo/widget/chipslayoutmanager/layouter/criteria/CriteriaRightAdditionalWidth.java<gh_stars>1000+
package com.beloo.widget.chipslayoutmanager.layouter.criteria;
import com.beloo.widget.chipslayoutmanager.layouter.AbstractLayout... | 323 |
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.
// ------------------------------------------------------------
#include <ktl.h>
#include <KTr... | 10,022 |
1,338 | <gh_stars>1000+
/*
* Copyright 2007, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* <NAME> <<EMAIL>>
*/
#ifndef LISTENER_ADAPTER_H
#define LISTENER_ADAPTER_H
#include "AbstractLOAdapter.h"
#include "Listener.h"
enum {
MSG_OBJECT_CHANGED = 'obch'
};
class ListenerAdapter : public List... | 197 |
1,094 | <reponame>pgmasters/pgbackrest<gh_stars>1000+
/***********************************************************************************************************************************
IO Write Interface Internal
*****************************************************************************************************************... | 640 |
575 | <reponame>sarang-apps/darshan_browser
#!/usr/bin/env python
# Copyright (c) 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.
from __future__ import print_function
import glob
import os
import sys
import unittest
if _... | 290 |
3,139 | <gh_stars>1000+
package com.jme3.audio.ios;
import com.jme3.audio.openal.EFX;
import java.nio.IntBuffer;
public class IosEFX implements EFX {
public IosEFX() {
}
@Override
public native void alGenAuxiliaryEffectSlots(int numSlots, IntBuffer buffers);
@Override
public native void alGenEffect... | 379 |
2,151 | /*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 822 |
414 | <reponame>Kanari-Digital/azure-storage-azcopy
import os
import unittest
import utility as util
class File_Sync_User_Scenario(unittest.TestCase):
def test_sync_single_file_to_file(self):
content_file_name_src = "test_1kb_file_sync_src.txt"
content_file_path_src = util.create_test_file(content_fil... | 1,644 |
3,203 | package github.javaguide.springbootscheduletask;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
@SpringBootApplication
@EnableScheduling
public class SpringbootScheduleTaskApplic... | 133 |
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 "extensions/browser/api/scripting/scripting_utils.h"
#include "content/public/browser/browser_context.h"
#include "extensions/browser/api/script... | 628 |
886 | /*
* Copyright (c) 2019 flow.ci
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 1,530 |
4,816 | <reponame>mehrdad-shokri/retdec
/**
* @file tests/bin2llvmir/optimizations/x86_addr_spaces/x86_addr_spaces_test.cpp
* @brief Tests for the @c x86_addr_spaces::optimize().
* @copyright (c) 2018 Avast Software, licensed under the MIT license
*/
#include "bin2llvmir/utils/llvmir_tests.h"
#include "retdec/bin2llvmir/optim... | 4,170 |
323 | <filename>springboot-elasticsearch/src/main/java/cn/huanzi/qch/springbootelasticsearch/itembyes/service/ItemByEsServiceImpl.java
package cn.huanzi.qch.springbootelasticsearch.itembyes.service;
import cn.huanzi.qch.springbootelasticsearch.common.pojo.PageInfo;
import cn.huanzi.qch.springbootelasticsearch.common.pojo.Re... | 2,398 |
1,144 | /*
* #%L
* de.metas.adempiere.adempiere.base
* %%
* Copyright (C) 2020 metas GmbH
* %%
* 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 Software Foundation, either version 2 of the
* License, or (at your opt... | 714 |
522 | <gh_stars>100-1000
package algs.model.searchtree;
import algs.debug.IGraphEntity;
import algs.model.list.DoubleLinkedList;
import algs.model.searchtree.states.StateStorageFactory;
/**
* A valid representation of the node within a search tree.
* <p>
* To enable extensibility, different Search Tree variations can st... | 1,181 |
990 | <reponame>CrazyHarb/antispy
/*
* Copyright (c) [2010-2019] <EMAIL> rights reserved.
*
* AntiSpy is licensed under the Mulan PSL v1.
* You can use this software according to the terms and conditions of the Mulan PSL v1.
* You may obtain a copy of Mulan PSL v1 at:
*
* http://license.coscl.org.cn/Mulan... | 1,482 |
416 | <reponame>Zi0P4tch0/sdks
//
// MPMediaLibrary.h
// MediaPlayer
//
// Copyright 2008 Apple, Inc. All rights reserved.
//
#import <MediaPlayer/MediaPlayerDefines.h>
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@class MPMediaEntity;
@class MPMediaQuery;
@class MPMediaPlaylist;
@class MPMediaPlaylistCrea... | 811 |
2,293 | <filename>CMSIS/NN/Tests/UnitTest/TestCases/TestData/conv_2/weights_data.h
/*
* Copyright (C) 2010-2021 Arm Limited or its affiliates.
*
* 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... | 621 |
3,227 | <reponame>ffteja/cgal
/*!
\ingroup PkgBooleanSetOperations2Concepts
\cgalConcept
A model of this concept represents a simple general polygon.
\cgalRefines `DefaultConstructible`
\cgalRefines `CopyConstructible`
\cgalRefines `Assignable`
\cgalGeneralizes `GeneralPolygon_2`
\cgalHasModel `GeneralPolygonSetTraits_2::... | 191 |
1,603 | import unittest
from datahub.utilities.urns.error import InvalidUrnError
from datahub.utilities.urns.notebook_urn import NotebookUrn
class TestNotebookUrn(unittest.TestCase):
def test_parse_urn(self) -> None:
notebook_urn_str = "urn:li:notebook:(querybook,123)"
notebook_urn = NotebookUrn.create_f... | 403 |
435 | <filename>write-the-docs-portland-2019/videos/lessons-learned-in-a-year-of-docs-driven-development-jessica-parsons.json
{
"copyright_text": null,
"description": "",
"duration": 1634,
"language": "eng",
"recorded": "2019-05-20",
"related_urls": [
{
"label": "Conference schedule",
"url": "http... | 301 |
523 | <reponame>JuanluMorales/cnl<gh_stars>100-1000
// Copyright <NAME> 2019.
// 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)
#if !defined(CNL_IMPL_NUM_TRAITS_FROM_VALUE_RECURSIVE_H)
#define C... | 403 |
681 | #include "driver2.h"
#include "time.h"
// [F]
void GetTimeStamp(char *buffer)
{
if (buffer)
sprintf(buffer, "%s %s", __DATE__, __TIME__);
}
| 68 |
816 | /* Copyright (c) 2018 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
#include "parser/MutateSentences.h"
namespace nebula {
std::string PropertyList::toString() const {
std::string buf... | 2,768 |
787 | <gh_stars>100-1000
# Copyright 2020 Soda
# 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 ... | 2,202 |
665 | /*
* This file is part of LibParserUtils.
* Licensed under the MIT License,
* http://www.opensource.org/licenses/mit-license.php
* Copyright 2007 <NAME> <<EMAIL>>
*/
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <parserutils/charset/mibenum.h>
#include <parserutils/charset/u... | 6,818 |
6,566 | package com.tencent.shadow.dynamic.host;
import android.app.Activity;
import android.app.Application;
import android.app.Service;
import android.content.Intent;
import android.os.Bundle;
import com.tencent.shadow.core.common.Logger;
import com.tencent.shadow.core.common.LoggerFactory;
import java.util.LinkedList;
im... | 1,473 |
2,118 | <filename>cds/intrusive/michael_set_nogc.h
// Copyright (c) 2006-2018 <NAME>
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef CDSLIB_INTRUSIVE_MICHAEL_SET_NOGC_H
#define CDSLIB_INTRUSIVE_MICHAEL_SET_NOGC_H
#incl... | 7,585 |
372 | /*
* 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 distributed under t... | 1,563 |
1,056 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package testGenerateJavaEE14;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.EJBHome;
import jav... | 212 |
1,350 | <reponame>Shashi-rk/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.relay.implementation;
import com.azure.core.http.rest.PagedIterable;
import com.azure.cor... | 8,113 |
933 | <reponame>ayzk/ft-caffe-public
/*
All modification made by Intel Corporation: © 2016 Intel Corporation
All contributions by the University of California:
Copyright (c) 2014, 2015, The Regents of the University of California (Regents)
All rights reserved.
All other contributions:
Copyright (c) 2014, 2015, the respecti... | 1,587 |
14,668 | // 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/extensions/api/permissions/permissions_api.h"
#include <memory>
#include "base/json/json_reader.h"
#include "base/json/json_wri... | 10,893 |
988 | /*
* 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 ... | 8,605 |
4,617 | /*
* 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
* distributed ... | 825 |
480 | <gh_stars>100-1000
/*
* 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
*
* Unl... | 26,399 |
339 | #pragma once
void make_crc_table(void);
unsigned long update_crc(unsigned long crc, unsigned char* buf, int len);
| 45 |
841 | <reponame>brunolmfg/resteasy<filename>testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/cdi/util/Counter.java
package org.jboss.resteasy.test.cdi.util;
import org.jboss.logging.Logger;
import java.util.concurrent.atomic.AtomicInteger;
import jakarta.ejb.Singleton;
import jakarta.enterprise.context.Ap... | 276 |
453 | package ru.krlvm.powertunnel.utilities;
import ru.krlvm.powertunnel.PowerTunnel;
import ru.krlvm.powertunnel.frames.LogFrame;
import java.io.Closeable;
import java.io.IOException;
import java.util.logging.*;
/**
* PowerTunnel Utilities
* Main utility class
*
* @author krlvm
*/
public class Utility {
/**
... | 1,048 |
10,225 | <reponame>mweber03/quarkus
package io.quarkus.kubernetes.client.runtime;
import javax.enterprise.inject.Produces;
import javax.inject.Singleton;
import io.fabric8.kubernetes.client.Config;
import io.quarkus.arc.DefaultBean;
import io.quarkus.runtime.TlsConfig;
@Singleton
public class KubernetesConfigProducer {
... | 203 |
14,668 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_RESOURCE_COORDINATOR_TAB_METRICS_LOGGER_H_
#define CHROME_BROWSER_RESOURCE_COORDINATOR_TAB_METRICS_LOGGER_H_
#include "chrome/brow... | 1,230 |
1,444 | <reponame>FateRevoked/mage<gh_stars>1000+
package mage.sets;
import mage.cards.ExpansionSet;
import mage.constants.Rarity;
import mage.constants.SetType;
public final class NewPhyrexia extends ExpansionSet {
private static final NewPhyrexia instance = new NewPhyrexia();
public static NewPhyrexia getInstance... | 8,012 |
474 | <gh_stars>100-1000
/* Copyright 2016 Samsung Electronics Co., LTD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | 478 |
321 | <gh_stars>100-1000
#include <_deps/crossguid/guid.hpp>
#include <iostream>
int main() {
std::cout << xg::newGuid().str() << std::endl;
return 0;
}
| 71 |
348 | {"nom":"<NAME>","circ":"1ère circonscription","dpt":"Eure","inscrits":650,"abs":321,"votants":329,"blancs":40,"nuls":5,"exp":284,"res":[{"nuance":"REM","nom":"<NAME>","voix":194},{"nuance":"FN","nom":"<NAME>","voix":90}]} | 87 |
1,102 | <reponame>johny-c/ViZDoom
/*
#include "templates.h"
#include "actor.h"
#include "info.h"
#include "s_sound.h"
#include "m_random.h"
#include "a_pickups.h"
#include "d_player.h"
#include "p_pspr.h"
#include "p_local.h"
#include "gstrings.h"
#include "gi.h"
#include "r_data/r_translate.h"
#include "thingdef/... | 13,671 |
2,151 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_FACTORY_H_
#define IOS_CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_FACTORY_H_
#include <memory>
#inclu... | 529 |
6,989 | <reponame>HeyLey/catboost<filename>library/netliba/v6/net_test.h
#pragma once
#include "udp_socket.h"
namespace NNetliba {
struct TUdpAddress;
// needed to limit simultaneous port testers to avoid limit on open handles count
extern TAtomic ActivePortTestersCount;
// need separate socket for each des... | 308 |
410 | #ifndef CARYLL_INCLUDE_TABLE_POST_H
#define CARYLL_INCLUDE_TABLE_POST_H
#include "table-common.h"
typedef struct {
// PostScript information
f16dot16 version;
f16dot16 italicAngle;
int16_t underlinePosition;
int16_t underlineThickness;
uint32_t isFixedPitch;
uint32_t minMemType42;
uint32_t maxMemType42;
uint... | 206 |
348 | {"nom":"Polliat","circ":"1ère circonscription","dpt":"Ain","inscrits":1909,"abs":969,"votants":940,"blancs":55,"nuls":11,"exp":874,"res":[{"nuance":"LR","nom":"<NAME>","voix":510},{"nuance":"MDM","nom":"<NAME>","voix":364}]} | 89 |
1,802 | <gh_stars>1000+
// Copyright 2014 <NAME>.
//
// Author: <NAME> (<EMAIL>)
//
// 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 rights
// ... | 1,697 |
323 | <reponame>jerryhe26/vnpy
#include "config.h"
#include <iostream>
#include <string>
#include <pybind11/pybind11.h>
#include <pybind11/functional.h>
#include <pybind11/stl.h>
#include <c2py/c2py.hpp>
#include "module.hpp"
#include "wrappers.hpp"
#include "generated_functions.h"
#include "oes_api/oes_api.h"
#include "m... | 5,657 |
764 | <reponame>641589523/token-profile<filename>erc20/0x8276ad69acdAacB17f981B780FDEF80b95f7e764.json
{"symbol": "PPT7","address": "0x8276ad69acdAacB17f981B780FDEF80b95f7e764","overview":{"en": "The token is being issued to incentivize social value and charity programs by distributing the token within members of the foundat... | 214 |
678 | /**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/ChatKit.framework/ChatKit
*/
#import <ChatKit/ChatKit-Structs.h>
#import <ChatKit/CKMediaObjectManager.h>
#import <ChatKit/CKLocationMediaObject.h>
#import <ChatKit/CKRecipientGenerator.h>
#import <ChatKit/CKMessageP... | 2,512 |
348 | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and ... | 5,025 |
409 | <reponame>tapir-dream/berserkJS<filename>src/selector.h
#ifndef SELECTOR_H
#define SELECTOR_H
#include <QObject>
#include <QDebug>
#include <QList>
#include <QMap>
#include <QString>
#include "monitordata.h"
#include "monitordatamap.h"
/**
* Selector 类
* 该类用来选择指定类型的未过滤数据,返回更小的数据集合。
*
* @author Tapir
* @date 201... | 851 |
3,508 | <reponame>Anshul1507/Leetcode
package com.fishercoder.solutions;
public class _389 {
public static class Solution1 {
public char findTheDifference(String s, String t) {
int[] counts = new int[128];
char[] schars = s.toCharArray();
char[] tchars = t.toCharArray();
... | 427 |
2,389 | <filename>fluent/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSubsetFluent.java<gh_stars>1000+
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.Nested;
import java.util.... | 3,654 |
545 | <reponame>TatianaJin/orc
/*
* 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... | 1,107 |
841 | /*
* Copyright (c) 2016 <NAME>
* Copyright (c) 2013-2016 the Civetweb developers
* Copyright (c) 2004-2013 <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... | 723 |
841 | <reponame>brunolmfg/resteasy
package org.jboss.resteasy.plugins.servlet.testapp;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
@Path("/path1")
public class Resource1 {
@GET
public String hello() {
return "Hello";
}
} | 105 |
305 | from typing import Dict, Optional, Tuple, List, TYPE_CHECKING
from ..exchange import ExchangeType
from ...config import InstrumentType
if TYPE_CHECKING:
# Circular import
from . import Instrument
class InstrumentDB(object):
"""instrument registration"""
def __init__(self) -> None:
self._by_n... | 1,078 |
435 | //
// Copyright (C) 2014 <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 ... | 702 |
2,577 | <reponame>mdsarfarazalam840/camunda-bpm-platform
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file t... | 510 |
5,169 | {
"name": "ARSlideShow",
"version": "1.0.0",
"summary": "An animating image slide show for iOS.",
"description": "An animating image slide show for iOS.",
"homepage": "https://github.com/aderussell/ARSlideShow",
"license": "MIT",
"authors": {
"aderussell": "<EMAIL>"
},
"social_media_url": "http://... | 248 |
696 | /*
* Copyright (C) 2020 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.product.index.type;
import com.opengamma.strata.collect.named.ExtendedEnum;
/**
* Market standard Ibor future conventions.
*/
public final class IborF... | 577 |
2,177 | <gh_stars>1000+
package org.nutz.mvc.upload;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.nutz.fi... | 1,739 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.