max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
2,577 | <reponame>jkamon/camunda-bpm-platform<gh_stars>1000+
/*
* 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 fi... | 618 |
5,250 | /* 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... | 989 |
379 | <gh_stars>100-1000
package com.oim.test;
import org.hamcrest.Matchers;
import emoji4j.Emoji;
import emoji4j.EmojiUtils;
/**
* @author XiaHui
* @date 2017年5月29日 上午11:23:07
*/
public class EmojiTest {
public static void main(String[] args) {
// TODO Auto-generated method stub
Emoji e = EmojiUtils.getEmoji("😂... | 689 |
691 |
/*
pbrt source code is Copyright(c) 1998-2016
<NAME>, <NAME>, and <NAME>.
This file is part of pbrt.
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 copyr... | 25,028 |
349 | /*******************************************************************************
* Copyright 2011, 2012, 2013 fanfou.com, Xiaoke, Zhang
*
* 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,850 |
363 | <filename>tower_cli/cli/action.py<gh_stars>100-1000
# Copyright 2017, Ansible by Red Hat
# <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/licen... | 1,374 |
1,144 | <gh_stars>1000+
package org.adempiere.server.rpl.imp;
import java.text.MessageFormat;
import java.util.List;
import java.util.Properties;
import org.adempiere.exceptions.AdempiereException;
import org.adempiere.server.rpl.IImportProcessor;
import org.adempiere.server.rpl.IReplicationProcessor;
import org.adempiere.se... | 2,153 |
373 | <filename>cas/src/main/java/com/dianrong/common/uniauth/cas/service/support/StaffInfo.java<gh_stars>100-1000
package com.dianrong.common.uniauth.cas.service.support;
/**
* 员工信息model.
*/
public class StaffInfo {
private String staffNo;
private String staffName;
private String useEmail;
private String crmE... | 364 |
344 | /**********************************************************************
Copyright(c) 2019 Arm 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... | 3,247 |
2,329 | <gh_stars>1000+
package clinit;
public class One2 {
public static int i = 7;
public static String run() {
return Integer.toString(i);
}
}
| 53 |
778 | // | / |
// ' / __| _` | __| _ \ __|
// . \ | ( | | ( |\__ `
// _|\_\_| \__,_|\__|\___/ ____/
// Multi-Physics
//
// License: BSD License
// Kratos default license: kratos/license.txt
//
// Main authors: <NAME>
//
//
// System includes
// External inc... | 1,629 |
2,577 | /*
* 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 to you under the Apache License,
* Version 2.0; y... | 487 |
711 | package com.java110.vo.api.resourceOrder;
import com.java110.vo.MorePageVo;
import java.io.Serializable;
import java.util.List;
public class ApiResourceOrderVo extends MorePageVo implements Serializable {
List<ApiResourceOrderDataVo> resourceOrders;
public List<ApiResourceOrderDataVo> getResourceOrders() {... | 169 |
1,405 | package android.support.v4.content;
import android.content.Context;
import android.content.Intent;
/* loaded from: classes.dex */
class ContextCompatHoneycomb {
ContextCompatHoneycomb() {
}
/* JADX INFO: Access modifiers changed from: package-private */
public static void startActivities(Context conte... | 126 |
454 | package io.vertx.up.annotations;
import java.lang.annotation.*;
/**
* Enabled rule validation for current api
*/
@Target({ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface Codex {
}
| 78 |
1,847 | <filename>src/ProducerEventProcessor/GrpcClientCaptureEventCollectorTest.cpp<gh_stars>1000+
// Copyright (c) 2021 The Orbit 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 <gmock/gmock.h>
#include <grpcpp/grpcpp.h>
#include ... | 1,890 |
859 | <filename>logparser/AEL/__init__.py
from .AEL import * | 21 |
571 | package com.univocity.trader.indicators;
import com.univocity.trader.candles.Candle;
import com.univocity.trader.indicators.base.SingleValueIndicator;
import com.univocity.trader.indicators.base.TimeInterval;
import com.univocity.trader.strategy.Indicator;
public class RealBodyIndicator extends SingleValueIndicator {... | 331 |
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... | 2,088 |
1,292 | <reponame>mgrundy/sikuli<gh_stars>1000+
/*
* Copyright 2010-2011, Sikuli.org
* Released under the MIT License.
*
*/
package org.sikuli.script;
import java.util.*;
import java.io.File;
import java.io.IOException;
import java.awt.AWTException;
import org.sikuli.script.natives.FindInput;
import org.sikuli.script.nat... | 2,368 |
16,500 | <filename>src/sdk/src/libc/src/readdir.c
#include <dirent.h>
#include <unistd.h>
#include <errno.h>
struct dirent* readdir( DIR* dir ) {
int error;
if ( dir == NULL ) {
return NULL;
}
error = getdents( dir->fd, &dir->entry, sizeof( struct dirent ) );
if ( error == 0 ) {
retur... | 341 |
556 | <filename>utils/checkpoints.py
from pathlib import Path
from typing import Tuple, Dict, Any, Union
import torch
import torch.optim.optimizer
from models.deepmind_version import WaveRNN
from models.fast_pitch import FastPitch
from models.forward_tacotron import ForwardTacotron
from models.tacotron import Tacotron
def... | 657 |
3,519 | <reponame>artumino/Revive
#pragma once
#include "TextureBase.h"
class TextureGL :
public TextureBase
{
public:
TextureGL();
virtual ~TextureGL();
virtual void ToVRTexture(vr::Texture_t& texture);
virtual bool Init(ovrTextureType type, int Width, int Height, int MipLevels, int ArraySize,
ovrTextureFormat Forma... | 227 |
8,017 | /*
Copyright (c) 2019 Sogou, 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 writi... | 1,288 |
22,481 | """TotalConnect constants."""
DOMAIN = "totalconnect"
CONF_USERCODES = "usercodes"
CONF_LOCATION = "location"
# Most TotalConnect alarms will work passing '-1' as usercode
DEFAULT_USERCODE = "-1"
| 68 |
575 | // Copyright (c) 2011 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 NET_HTTP_HTTP_RESPONSE_BODY_DRAINER_H_
#define NET_HTTP_HTTP_RESPONSE_BODY_DRAINER_H_
#include <memory>
#include "base/macros.h"
#include "b... | 649 |
2,144 | /**
* 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,704 |
434 | <reponame>muellerc/aws-lambda-java-libs
/* Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. */
package com.amazonaws.services.lambda.runtime;
/**
*
* The context object allows you to access useful information available within
* the Lambda execution environment
*
*/
public interface Contex... | 685 |
8,232 | <filename>tests/std/tests/P1951R1_default_arguments_pair_forward_ctor/test.compile.pass.cpp
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include <memory>
#include <utility>
using namespace std;
void test() {
pair<int, unique_ptr<int>> p1{42, {}};
... | 221 |
21,382 | <reponame>linyiyue/ray
from ray import workflow
# Mock method to make a request.
def make_request(url: str) -> str:
return "42"
@workflow.step
def get_size() -> int:
return int(make_request("https://www.example.com/callA"))
@workflow.step
def small(result: int) -> str:
return make_request("https://www... | 331 |
746 | <gh_stars>100-1000
{
"__type": "DeleteContactCommand_30",
"_property": "contact",
"_parentPath": "/info",
"_oldValue": {
"name": "Example Org",
"url": "http://www.example.org",
"email": "<EMAIL>"
}
}
| 93 |
14,668 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "storage/browser/quota/quota_database.h"
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include <tuple>
#include <vector>
#include... | 13,364 |
3,102 | // RUN: %clang -target arm-none-gnueabi -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-DEFAULT
// RUN: %clang -target arm-none-gnueabi -mno-neg-immediates -### %s 2>&1 | FileCheck %s
// RUN: %clang -target aarch64-none-gnueabi -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-DEFAULT
// RUN: %clang -target aarch64-no... | 196 |
1,780 | package com.work.storage.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;
/**
* Program Name: springcloud-nacos-seata
* <p>
* Description:
* <p>
*
* @author zhangjianwei
* @version 1.0
* @date 2019/8/28 4:05 PM
*/
@Data
@Accessors(chain =... | 164 |
1,398 | #ifndef CONFLUO_TEST_BITMAP_ARRAY_TEST_H_
#define CONFLUO_TEST_BITMAP_ARRAY_TEST_H_
#include "container/bitmap/bitmap_array.h"
#include "bit_utils.h"
#include "gtest/gtest.h"
using namespace confluo;
class BitmapArrayTest : public testing::Test {
public:
const uint64_t kArraySize = (1024ULL * 1024ULL); // 1 KByt... | 643 |
328 | package com.dragon.flow.mapper.privilege;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dragon.flow.model.privilege.LoginLog;
import org.springframework.stereotype.Repository;
/**
* @program: flow
* @description: 登录日志
* @author: Bruce.Liu
* @create: 2021-03-23 22:52
**/
@Repository
public in... | 139 |
371 | /*
* Copyright (C) 2018 xuexiangjys(<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 applicable la... | 6,306 |
4,140 | /*
* 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 ... | 642 |
1,751 | <reponame>simplixcurrency/simplix<filename>external/unbound/validator/val_nsec3.h
/*
* validator/val_nsec3.h - validator NSEC3 denial of existence functions.
*
* Copyright (c) 2007, NLnet Labs. All rights reserved.
*
* This software is open source.
*
* Redistribution and use in source and binary forms, with or ... | 5,039 |
640 | /*
* Graphics Profiles
*
* Meta-language to pack graphics instructions.
* A first byte holds the command in the first nibble,
* and a 'dither level' parameter in the second half.
* When necessary two or four bytes for coordinate follow.
*
*
* $Id: gfxprofile.h,v 1.4 2009-12-02 13:20:58 stefano Exp $
*/
... | 659 |
2,441 | /*
* 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... | 503 |
4,772 | <reponame>Balkerm/spring-data-examples
package example.service;
import example.repo.Customer227Repository;
import org.springframework.stereotype.Service;
@Service
public class Customer227Service {
public Customer227Service(Customer227Repository repo) {}
}
| 76 |
965 | void CComPtrDemo()
{
HRESULT hr = CoInitialize(NULL);
// Declare the smart pointer.
CComPtr<IGraphBuilder> pGraph;
// Use its member function CoCreateInstance to
// create the COM object and obtain the IGraphBuilder pointer.
hr = pGraph.CoCreateInstance(CLSID_FilterGraph);
if(FAILED(hr)){... | 453 |
3,897 | /*******************************************************************************
* DISCLAIMER
* This software is supplied by Renesas Electronics Corporation and is only
* intended for use with Renesas products. No other uses are authorized. This
* software is owned by Renesas Electronics Corporation and is protected un... | 2,811 |
16,831 | {
"requests": {
"host": "https://t5.mindtake.com",
"basePrefix": "/tag/cid/",
"baseSuffix": "Service=${service}&Category=${category}&Url=${sourceUrl}&Device=${device}&uid=${random}",
"pageview": "${host}${basePrefix}${code}/track.gif?${baseSuffix}"
},
"transport": {
"beacon": false,
"xhrpo... | 160 |
1,600 | <reponame>beam2d/chainercv
from __future__ import division
import numpy as np
from chainercv.utils.mask.mask_to_bbox import mask_to_bbox
from chainercv.visualizations.colormap import voc_colormap
from chainercv.visualizations import vis_image
def vis_instance_segmentation(
img, mask, label=None, score=None,... | 2,694 |
1,281 | <filename>deepfence_backend/models/node_tags.py
from sqlalchemy.sql import func
from config.app import db
from sqlalchemy.schema import UniqueConstraint
class NodeTags(db.Model):
id = db.Column(db.Integer, primary_key=True)
node_name = db.Column(db.String(200), nullable=False, server_default="", default="")
... | 792 |
1,136 | <gh_stars>1000+
//
// OCTForkEvent.h
// OctoKit
//
// Created by <NAME> on 12/25/14.
// Copyright (c) 2014 GitHub. All rights reserved.
//
#import "OCTEvent.h"
// A user forked a repository.
@interface OCTForkEvent : OCTEvent
// The name of the repository created by forking (e.g., `user/Mac`).
@property (nonatom... | 137 |
442 | #This file is part of ElectricEye.
#SPDX-License-Identifier: Apache-2.0
#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 un... | 11,911 |
381 | #! /usr/bin/env python
"""
Produces a logfile.gnumeric file which contains the data extracted from the
logfile generated with the PYPYLOG env variable.
Run your program like this::
$ PYPYLOG=gc-collect,jit-mem:logfile pypy your-program.py
This will produce "logfile", containing information about the memory used ... | 2,798 |
6,115 | #include "WorldSimApi.h"
#include "common/common_utils/Utils.hpp"
#include "AirBlueprintLib.h"
#include "TextureShuffleActor.h"
#include "common/common_utils/Utils.hpp"
#include "Weather/WeatherLib.h"
#include "DrawDebugHelpers.h"
#include "Runtime/Engine/Classes/Components/LineBatchComponent.h"
#include "Runtime/Engin... | 20,005 |
17,143 | <reponame>emilhe/dash<gh_stars>1000+
import os
import shutil
from difflib import unified_diff
import pytest
# noinspection PyProtectedMember
from dash.development._py_components_generation import (
generate_class_string,
generate_class_file,
)
from . import _dir, has_trailing_space
# Import string not includ... | 822 |
1,435 | <reponame>dupontz/libcloud<gh_stars>1000+
from libcloud.compute.types import Provider
from libcloud.compute.providers import get_driver
OpenStack = get_driver(Provider.OPENSTACK)
driver = OpenStack('your_auth_username', 'your_auth_password',
ex_tenant_name='mytenant',
ex_force_au... | 182 |
7,931 | /*
* Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library.
*
* The GNU LIBICONV Library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; eit... | 3,304 |
19,438 | /*
* Copyright (c) 2021, <NAME> <<EMAIL>>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
extern "C" void wait_cycles(int n);
// CPU initialization functions
extern "C" [[noreturn]] void return_from_el2();
extern "C" [[noreturn]] void return_from_el3();
| 104 |
1,125 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | 719 |
777 | <filename>ui/views/controls/button/vector_icon_button.cc
// 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.
#include "ui/views/controls/button/vector_icon_button.h"
#include "ui/gfx/color_palette.h"
#incl... | 903 |
427 | <reponame>Polidea/SiriusObfuscator
// RUN: %clang_cc1 -std=c++98 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
// RUN: %clang_cc1 -std=c++11 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
// RUN: %clang_cc1 -std=c++14 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
// RUN: %clang_cc1 -s... | 4,680 |
32,544 | <gh_stars>1000+
package com.baeldung.immutable.prehash;
import org.immutables.value.Value;
@Value.Immutable(prehash = true)
public abstract class Person {
abstract String getName();
abstract Integer getAge();
}
| 75 |
1,091 | <reponame>zacfrulloni/Rust-Full-Stack
import webbrowser as web
import tweepy
import click as cli
import sys
sys.path.append("..")
from settings import consumer_key, consumer_secret, access_token, access_token_secret
def to_github(payload: str):
response = input("Do you really want to verify the result at GitHub?... | 986 |
5,766 | //
// Connector.h
//
// Definition of the Connector class.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef Data_Test_Connector_INCLUDED
#define Data_Test_Connector_INCLUDED
#include "Poco/Data/Connector.h"
namespace Po... | 429 |
7,482 | /*
* Copyright (c) 2020-2020, BLUETRUM Development Team
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef AB32VG1_HAL_SDIO_H__
#define AB32VG1_HAL_SDIO_H__
#include "ab32vg1_hal_def.h"
struct sdio_init
{
uint32_t clock_power_save; /*!< Specifies whether SDMMC Clock output is enabled or
... | 537 |
369 | // Copyright (c) 2017-2022, Mudita <NAME>.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include <application-settings/windows/BaseSettingsWindow.hpp>
namespace app::settingsInterface
{
class ConnectionSettings;
}; // namespace app::settingsInterface
... | 364 |
2,338 | // RUN: %check_clang_tidy -std=c++11 %s modernize-make-unique %t -- -- -I %S/Inputs/modernize-smart-ptr
#include "unique_ptr.h"
// CHECK-FIXES: #include "unique_ptr.h"
void f() {
auto my_ptr = std::unique_ptr<int>(new int(1));
// CHECK-FIXES: auto my_ptr = std::unique_ptr<int>(new int(1));
}
| 127 |
2,044 | <reponame>HGF/grpc-spring-boot-starter
package org.lognet.springboot.grpc.security;
public interface AuthenticationSchemeRegistry {
AuthenticationSchemeRegistry register(AuthenticationSchemeSelector selector);
}
| 64 |
990 | <reponame>hdcpereira/example-code-2e
from unicodedata import name
SKIN1 = 0x1F3FB # EMOJI MODIFIER FITZPATRICK TYPE-1-2 # <1>
SKINS = [chr(i) for i in range(SKIN1, SKIN1 + 5)] # <2>
THUMB = '\U0001F44d' # THUMBS UP SIGN 👍
examples = [THUMB] # <3>
examples.extend(THUMB + ... | 277 |
14,668 | <filename>chrome/test/chromedriver/log_replay/client_replay_test.py
#!/usr/bin/env python
# Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Tests for the client_replay.py script.
To run tests, just call ... | 3,825 |
190,993 | <reponame>EricRemmerswaal/tensorflow
/* Copyright 2020 The TensorFlow 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
U... | 2,310 |
313 | <reponame>740326093/-<filename>YBL365/Class/ShopCar/TakeOrder/ViewModel/YBLTakeOrderViewModel.h
//
// YBLTakeOrderViewModel.h
// YBL365
//
// Created by 乔同新 on 2017/3/6.
// Copyright © 2017年 乔同新. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "YBLOrderConfirmModel.h"
#import "YBLAddressModel.h"
... | 591 |
608 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.battery.metrics.memory;
import static com.facebook.battery.metrics.core.Utilities.checkNotNull;
import andro... | 1,041 |
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,417 |
348 | <gh_stars>100-1000
{"nom":"Patornay","circ":"2ème circonscription","dpt":"Jura","inscrits":129,"abs":65,"votants":64,"blancs":2,"nuls":0,"exp":62,"res":[{"nuance":"LR","nom":"M<NAME>","voix":41},{"nuance":"MDM","nom":"Mme <NAME>","voix":21}]} | 101 |
5,169 | <filename>Specs/1/b/8/RBKmoneyPaymentsSDK/1.0.0/RBKmoneyPaymentsSDK.podspec.json
{
"name": "RBKmoneyPaymentsSDK",
"version": "1.0.0",
"homepage": "https://github.com/rbkmoney/payments-ios-sdk",
"license": {
"type": "Apache License, Version 2.0",
"file": "LICENSE"
},
"authors": "RBKmoney",
"summary... | 520 |
9,782 | /*
* 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... | 766 |
344 | #ifndef GUARD_EVOLUTION_SCENE_H
#define GUARD_EVOLUTION_SCENE_H
#include "global.h"
void __attribute__((long_call)) BeginEvolutionScene(struct Pokemon* mon, u16 speciesToEvolve, bool8 canStopEvo, u8 partyID);
void __attribute__((long_call)) EvolutionScene(struct Pokemon* mon, u16 speciesToEvolve, bool8 canStopEvo, u8... | 189 |
788 | <gh_stars>100-1000
import operator
import numpy as np
from copy import deepcopy
import math
from networks import Network
from tools.utils import sigmoid, xml_format, dominates
class Genotype(object):
"""A container for multiple networks, 'genetic code' copied with modification to produce offspring."""
NET_D... | 12,516 |
348 | <filename>docs/data/leg-t2/001/00102202.json
{"nom":"Lagnieu","circ":"2ème circonscription","dpt":"Ain","inscrits":4881,"abs":2488,"votants":2393,"blancs":92,"nuls":52,"exp":2249,"res":[{"nuance":"LR","nom":"<NAME>","voix":1598},{"nuance":"MDM","nom":"Mme <NAME>","voix":651}]} | 116 |
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 HEADLESS_PUBLIC_UTIL_FONTCONFIG_H_
#define HEADLESS_PUBLIC_UTIL_FONTCONFIG_H_
#include "headless/public/headless_export.h"
namespace headless {
... | 226 |
572 | <reponame>BrunoPontesLira/live-de-python<filename>codigo/Live154/exemplo_02.py
from collections import deque
from time import sleep
def contador(name, stop):
cont = 1
while cont <= stop:
yield name, cont
cont += 1
sleep(.1)
def contador_regressivo(name, start):
while start >= 1:
... | 514 |
3,041 | # SPDX-License-Identifier: (Apache-2.0 OR MIT)
import unittest
import orjson
class CircularTests(unittest.TestCase):
def test_circular_dict(self):
"""
dumps() circular reference dict
"""
obj = {}
obj["obj"] = obj
with self.assertRaises(orjson.JSONEncodeError):
... | 395 |
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.
import os
import random
import string
import subprocess
import time
from absl import flags
from chrome_ent_test.infra.core import EnterpriseTestCase
FLAGS ... | 3,146 |
3,680 | <filename>pxr/imaging/hgi/shaderFunction.h
//
// Copyright 2020 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. ... | 1,173 |
634 | <filename>modules/web/web-platform-impl/src/main/java/consulo/web/startup/WebContainerStartup.java
/*
* Copyright 2013-2019 consulo.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... | 1,531 |
412 | /*******************************************************************\
Module: ANSI-C Language Type Checking
Author: <NAME>, <EMAIL>
\*******************************************************************/
/// \file
/// ANSI-C Language Type Checking
#include "designator.h"
#include <ostream>
void designatort::print(... | 191 |
1,694 | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>.
//
#import <objc/NSObject.h>
#import "NSCoding-Protocol.h"
@class NSArray, NSString, WCArrowDownIconStyle;
@interface WCADCanvasInfo : NSObje... | 1,253 |
372 | /*
* DISTRHO Plugin Framework (DPF)
* Copyright (C) 2012-2015 <NAME> <<EMAIL>>
*
* 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... | 4,274 |
637 | <filename>app/src/main/java/com/unclezs/novel/app/main/views/home/AnalysisView.java
package com.unclezs.novel.app.main.views.home;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.bean.copier.CopyOptions;
import com.jfoenix.controls.JFXNodesList;
import com.unclezs.novel.analyzer.core.model.AnalyzerRule;
imp... | 5,205 |
722 | //
// CustomStyleViewController.h
// demo
//
// Created by <EMAIL> on 2017/10/30.
// Copyright © 2017年 <EMAIL>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface CustomStyleViewController : UIViewController
@end
| 81 |
377 | //------------------------------------------------------------------------------
// image.cc
// (C) 2020 Individual contributors, see AUTHORS file
//------------------------------------------------------------------------------
#include "render/stdneb.h"
#include "coregraphics/config.h"
#include "io/ioserver.h"
#incl... | 8,348 |
482 | package io.cattle.platform.storage.simulator.pool;
import io.cattle.platform.core.model.Image;
import io.cattle.platform.storage.pool.AbstractKindBasedStoragePoolDriver;
import io.cattle.platform.storage.pool.StoragePoolDriver;
public class SimulatorStoragePoolDriver extends AbstractKindBasedStoragePoolDriver impleme... | 229 |
429 | <gh_stars>100-1000
/*
* Copyright (c) 2009-2020, <NAME>. All Rights Reserved.
*
* This file is part of Efficient Java Matrix Library (EJML).
*
* 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 Licens... | 1,663 |
729 | <gh_stars>100-1000
/*
Copyright (c) 2009, protobuf-java-format
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this ... | 978 |
1,016 | <filename>integrations/nifi/nifi-nar-bundles/nifi-standard-services/nifi-core-service-bundle/nifi-core-service/src/main/java/com/thinkbiganalytics/nifi/v2/core/metadata/KyloProvenanceClientProvider.java
package com.thinkbiganalytics.nifi.v2.core.metadata;
/*-
* #%L
* thinkbig-nifi-core-service
* %%
* Copyright (C)... | 749 |
848 | /*
* Copyright 2019 Xilinx 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 ... | 2,507 |
799 | <reponame>janbiedermann/iodine<filename>ext/iodine/fiobject.c
/*
Copyright: <NAME>, 2017-2019
License: MIT
*/
/**
This facil.io core library provides wrappers around complex and (or) dynamic
types, abstracting some complexity and making dynamic type related tasks easier.
*/
#include <fiobject.h>
#define FIO_ARY_NAME... | 7,906 |
3,372 | /*
* Copyright (c) 2016. Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | 902 |
531 | /**
* Copyright © 2019 同程艺龙 (<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 applicable law or agre... | 1,729 |
4,054 | <reponame>Thendont/lwjgl
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
*/
#include <stddef.h>
#include <stdint.h>
#define DISABLE_WARNINGS() \
_Pragma("GCC diagnostic push") \
_Pragma("GCC diagnostic ignored \"-Wall\"") \
_Pragma("GCC diagnostic ignored \"-We... | 215 |
2,921 | <filename>blockchains/smartchain/assets/0x5507f52C96e64e5e5c3dF0Ea90d3515fc0c7d9dF/info.json<gh_stars>1000+
{
"name": "<NAME>",
"type": "BEP20",
"symbol": "GAX",
"decimals": 18,
"website": "https://getart.io/ ",
"description": "Getart is aiming to build a digital marketplace for non-fungible tok... | 282 |
1,338 |
const uint32 kWindowIconWidth = 13;
const uint32 kWindowIconHeight = 14;
const color_space kWindowIconFormat = B_RGBA32;
const unsigned char kWindowIconBits[] = {
0x78, 0x78, 0x78, 0xff, 0x78, 0x78, 0x78, 0xff, 0x78, 0x78, 0x78, 0xff, 0x78, 0x78, 0x78, 0xff,
0x78, 0x78, 0x78, 0xff, 0x78, 0x78, 0x78, 0xff, 0x78, 0x7... | 2,646 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.