max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
1,486 | /* $OpenBSD: includes.h,v 1.54 2006/07/22 20:48:23 stevesk Exp $ */
/*
* Author: <NAME> <<EMAIL>>
* Copyright (c) 1995 <NAME> <<EMAIL>>, Espoo, Finland
* All rights reserved
* This file includes most of the needed system headers.
*
* As far as I am concerned, the code I have written for this s... | 1,638 |
846 | <filename>pettingzoo/classic/texas_holdem_no_limit_v6.py
from .rlcard_envs.texas_holdem_no_limit import env, raw_env
| 49 |
4,879 | <reponame>smartyw/organicmaps<filename>map/map_tests/gps_track_collection_test.cpp
#include "testing/testing.hpp"
#include "map/gps_track_collection.hpp"
#include "geometry/latlon.hpp"
#include "base/logging.hpp"
#include <chrono>
#include <ctime>
#include <map>
#include <utility>
using namespace std;
using namesp... | 2,872 |
479 | <reponame>balag91/gerrit
// Copyright (C) 2012 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
//
// Unles... | 2,732 |
7,409 | # Generated by Django 3.0.3 on 2020-04-04 11:45
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("posthog", "0039_populate_event_ip_property"),
]
operations = [
migrations.RemoveField(model_name="event", name="ip",),
]
| 116 |
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.billing.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.co... | 1,487 |
777 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "device/bluetooth/bluetooth_gatt_descriptor.h"
#include <stddef.h>
#include <vector>
#include "base/lazy_instance.h"
namespace device {
namesp... | 672 |
312 | <filename>core/sail/elasticsearch/src/main/java/org/eclipse/rdf4j/sail/elasticsearch/package-info.java
/**
* ElasticSearch index for the {@link org.eclipse.rdf4j.sail.lucene.LuceneSail}.
*/
package org.eclipse.rdf4j.sail.elasticsearch; | 95 |
626 | <reponame>RedNesto/SpongeForge
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated do... | 1,531 |
1,940 | #!/usr/bin/env python
# (c) 2014 <NAME> <<EMAIL>> (https://robwu.nl)
# Py2 and Py3-compatible
# Generate a Maxthon package for a given directory.
import os
import struct
import sys
def i2b(n):
"""
Converts an integer to a 32-bit little-endian binary representation.
"""
return struct.pack('<I', n)
de... | 2,432 |
473 | <gh_stars>100-1000
#!/usr/bin/env python
#
#
# Author: <NAME> <<EMAIL>>
#
# Copyright (c) 2015 Cromulence LLC
#
# 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 ... | 8,054 |
317 | <gh_stars>100-1000
//
// This file is distributed under the MIT License. See LICENSE for details.
//
#ifndef PTHREADTYPES_H
#define PTHREADTYPES_H
#define _BITS_PTHREADTYPES_H 1
/* Mutex types. */
enum {
PTHREAD_MUTEX_TIMED_NP,
PTHREAD_MUTEX_RECURSIVE_NP,
PTHREAD_MUTEX_ERRORCHECK_NP,
PTHREAD_MUTEX_ADAPTIVE_NP... | 513 |
1,199 | # coding=utf-8
# Copyright 2018 The Google AI Language Team 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 ... | 17,863 |
5,169 | {
"name": "MycocoapodRic",
"version": "0.0.1",
"summary": "Pod creado para hacer pruebas de pod publico",
"description": "Pod creado para hacer pruebas de pod publico parajwndjwndjknwejkdnwjkendkjwendjwndjewn",
"homepage": "https://github.com/richardrdz/mycocoapod",
"license": {
"type": "MIT",
"file... | 292 |
325 | package com.box.l10n.mojito.cli.filefinder.locale;
/**
* {@link LocaleType} implementation for Chrome extension. Use "_" in locale names.
*
* @author jaurambault
*/
public class ChromeExtJsonLocaleType extends AnyLocaleTargetNotSourceType {
public String getTargetLocaleRepresentation(String targetLocale) {
... | 122 |
393 | <reponame>kepozu/Jockey<gh_stars>100-1000
package com.marverenic.music.model;
import android.content.res.Resources;
import android.database.Cursor;
import android.os.Parcel;
import android.os.Parcelable;
import android.provider.MediaStore;
import androidx.annotation.NonNull;
import com.google.gson.annotations.Seriali... | 1,635 |
10,225 | <filename>test-framework/junit5-mockito/src/main/java/io/quarkus/test/junit/mockito/internal/ResetOuterMockitoMocksCallback.java
package io.quarkus.test.junit.mockito.internal;
import io.quarkus.test.junit.callback.QuarkusTestAfterAllCallback;
import io.quarkus.test.junit.callback.QuarkusTestContext;
public class Res... | 224 |
551 | {
"image": "https://user-images.githubusercontent.com/63795399/106517095-07c8c100-64fe-11eb-807a-64405ddb4db0.png",
"issueId": 297,
"name": "<NAME>",
"username": "shreyalive"
}
| 85 |
713 | package org.infinispan.cli.impl;
import org.aesh.command.CommandNotFoundHandler;
import org.aesh.command.shell.Shell;
/**
* @author <NAME> <<EMAIL>>
* @since 10.0
**/
public class CliCommandNotFoundHandler implements CommandNotFoundHandler {
@Override
public void handleCommandNotFound(String line, Shel... | 128 |
3,262 | <filename>angel-ps/core/src/main/java/com/tencent/angel/ipc/MLRPC.java
/*
* Tencent is pleased to support the open source community by making Angel available.
*
* Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you... | 2,950 |
925 | <reponame>SpectralDragon/View2ViewTransition
//
// View2ViewTransition.h
// View2ViewTransition
//
// Created by naru on 2016/08/29.
// Copyright © 2016年 naru. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for View2ViewTransition.
FOUNDATION_EXPORT double View2ViewTransitionVersionNum... | 179 |
634 | default_app_config = "zentral.core.incidents.apps.ZentralIncidentsAppConfig"
| 27 |
575 | <reponame>sarang-apps/darshan_browser<gh_stars>100-1000
# Copyright (c) 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.
"""Presubmit script for changes affecting chrome/chrome_cleaner/
See http://dev.chromium.org/dev... | 853 |
496 | #include "backend_visitor.h"
#include "ir.h"
#ifdef GPU
#include "backend/gpu/gpu_ir.h"
#endif
using namespace simit::ir;
namespace simit {
namespace backend {
void BackendVisitorBase::accept(const Expr& expr) {
expr.accept(this);
}
void BackendVisitorBase::accept(const Stmt& stmt) {
stmt.accept(this);
}
void... | 367 |
675 | <filename>vendor/Qt5.14.2/msvc2017/include/QtCore/5.14.2/QtCore/private/qendian_p.h<gh_stars>100-1000
/****************************************************************************
**
** Copyright (C) 2017 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtCore module of the Qt... | 1,860 |
1,235 | // stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#include "targetver.h"
#define HOLOJS_USE_JSRT
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
// Windows Header... | 391 |
2,151 | <reponame>zipated/src
// 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.
#ifndef CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_H_
#define CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_H_
#include <m... | 1,151 |
375 | package io.lumify.gdelt;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Map;
public class CAMEOCode {
private static Map<String, String> actorCodes = new HashMap<String, String>();
private sta... | 957 |
3,301 | package com.alibaba.alink.params.validators;
public class MaxValidator<T extends Comparable <T>> extends Validator <T> {
private static final long serialVersionUID = 3145207209654795987L;
T maxVal;
boolean rightInclusive = true;
boolean isNullValid = false;
public MaxValidator(T maxVal) {
this.maxVal = maxVal;... | 364 |
1,374 | <reponame>norzak/jsweet
package source.extension;
import static source.extension.A2.m;
public class A1 {
public static void main(String[] args) {
assert m() == 123;
assert A2.m() == 123;
}
}
| 79 |
348 | {"nom":"Dournon","circ":"3ème circonscription","dpt":"Jura","inscrits":102,"abs":55,"votants":47,"blancs":0,"nuls":2,"exp":45,"res":[{"nuance":"LR","nom":"<NAME>","voix":33},{"nuance":"MDM","nom":"<NAME>","voix":12}]} | 89 |
1,085 | <gh_stars>1000+
/*
* Copyright (C) 2017-2019 Dremio Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 531 |
5,279 | /*
* 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,655 |
528 | # IMPORTS
import re # noqa
# CONSTANTS
DNS1 = "8.8.8.8"
DNS2 = "8.8.4.4"
# FUNCTIONS/CLASSES
def dns_ip(dns="8.8.8.8"):
print(f"DNS Server: {dns}")
# MAIN FUNCTION
def main():
dns_ip()
dns_ip(dns="1.1.1.1")
print(DNS1)
print(DNS2)
if __name__ == "__main__":
main()
| 170 |
651 | #ifndef __STDC_WANT_LIB_EXT1__
#define __STDC_WANT_LIB_EXT1__ 1 // C11's bounds-checking interface.
#endif
#include <string.h>
#ifdef _WIN32
#include <Windows.h>
#endif
#ifdef __unix__
#include <strings.h>
#include <sys/param.h>
#endif
// C11's bounds-checking interface.
#if defined(__STDC_LIB_EXT1__)
#define HAVE_... | 673 |
565 | <filename>tests/testData/token-files/ryan_apr20.json
[
{
"decodedToken": {
"header": {
"alg": "ES256K",
"typ": "JWT"
},
"payload": {
"issuedAt": "2016-04-20T12:25:14.453734",
"claim": {
"account": [],
"accounts": [],
"@type": "Pe... | 849 |
755 | <filename>templates/Features/SettingsStorage/.template.config/it-IT.template.json
{
"author": "Microsoft",
"name": "Settings Storage",
"description": "L'impostazione dell'archiviazione semplifica l'archiviazione dei dati all'interno della cartella dei dati dell'applicazione.",
"identity": "wts.Feat.SettingsSto... | 115 |
401 | /*
* Copyright 2017 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* <http://www.apache.org/licenses/LICENSE-2.0>
*
* Unless required by applicable law or agreed to in wri... | 1,082 |
486 | <reponame>WeDoSoftware/jflex
// test: ccl-esc
package de.jflex.testcase.ccl_esc;
import static com.google.common.truth.Truth.assertThat;
import de.jflex.util.scanner.ScannerFactory;
import org.junit.Test;
/**
* bug-test for [".."] style character escapes (<a
* href="https://github.com/jflex-de/jflex/issues/48">#4... | 365 |
662 | #include <algorithm>
#include <iomanip>
#include <iostream>
#include <unordered_set>
#include "glog/logging.h"
#include "estimator.h"
#include "feature.h"
#include "geometry.h"
#include "group.h"
#include "tracker.h"
namespace xivo {
void Estimator::ProcessTracks(const timestamp_t &ts,
... | 5,211 |
5,169 | <reponame>Gantios/Specs<filename>Specs/0/0/7/UIDeviceComplete/2.7.5/UIDeviceComplete.podspec.json
{
"name": "UIDeviceComplete",
"version": "2.7.5",
"summary": "UIDevice extensions for device Model, Family, Screen size and more",
"description": "UIDevice is handy and serves a purpose but it does lack the ability... | 332 |
449 | # Copyright (c) OpenMMLab. All rights reserved.
from ..builder import ROTATED_DETECTORS
from .single_stage import RotatedSingleStageDetector
@ROTATED_DETECTORS.register_module()
class RotatedRetinaNet(RotatedSingleStageDetector):
"""Implementation of Rotated `RetinaNet.`__
__ https://arxiv.org/abs/1708.02002... | 366 |
6,989 | """
Solve the orthogonal Procrustes problem.
"""
from __future__ import division, print_function, absolute_import
import numpy as np
from .decomp_svd import svd
__all__ = ['orthogonal_procrustes']
def orthogonal_procrustes(A, B, check_finite=True):
"""
Compute the matrix solution of the orthogonal Procrus... | 926 |
14,668 | // Copyright 2020 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_UI_PASSWORDS_ACCOUNT_STORAGE_AUTH_HELPER_H_
#define CHROME_BROWSER_UI_PASSWORDS_ACCOUNT_STORAGE_AUTH_HELPER_H_
#include "base/call... | 979 |
1,738 | /*
* 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 license below or t... | 985 |
651 | <filename>jce/src/main/java/javax/crypto/spec/PBEParameterSpec.java
package javax.crypto.spec;
import java.security.spec.AlgorithmParameterSpec;
/**
* This class specifies the set of parameters used with password-based encryption (PBE), as defined in the
* <a href="http://www.rsa.com/rsalabs/pubs/PKCS/html/pkcs-5.h... | 549 |
494 | <gh_stars>100-1000
from .steamid import SteamId
from .steamprofile import SteamProfile
from .steamaccountuniverse import SteamAccountUniverse
from .steamaccounttype import SteamAccountType
| 80 |
1,056 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 1,425 |
412 | <filename>jbmc/regression/jbmc/removed_virtual_functions/List.java
public interface List<E> {
ListIterator<E> listIterator();
ListIterator<E> listIterator(int index);
}
| 63 |
678 | /**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/iTunesStore.framework/iTunesStore
*/
// iOSOpenDev: wrapped with define check (since occurs in other dumped files)
#ifndef __SecTrust__
#define __SecTrust__ 1
typedef struct __SecTrust SecTrust;
#endif
// iOSOpenDev... | 491 |
2,161 | <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
* ... | 4,761 |
511 | <filename>external/libcxx-test/std/containers/sequences/forwardlist/forwardlist.modifiers/resize_size.pass.cpp
/****************************************************************************
*
* Copyright 2018 Samsung Electronics All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");... | 1,300 |
672 | <filename>src/thresholds.h
/*
* Copyright (c) 2015 Apple Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use thi... | 3,414 |
388 | #pragma once
extern "C"
{
__declspec(dllexport) DWORD fork(_Out_ LPPROCESS_INFORMATION lpProcessInformation);
__declspec(dllexport) BOOL EnumerateProcessHandles(void(*callback)(HANDLE, POBJECT_TYPE_INFORMATION, PUNICODE_STRING));
__declspec(dllexport) BOOL MarkAllHandles();
__declspec(dllexport) BOOL SuspendOth... | 124 |
2,338 | <filename>lldb/utils/lui/eventwin.py<gh_stars>1000+
##===-- eventwin.py ------------------------------------------*- Python -*-===##
##
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH L... | 350 |
1,590 | {
"parameters": {
"api-version": "2020-08-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"virtualNetworkGatewayConnectionName": "vpngw",
"parameters": {
"vendor": "Cisco",
"deviceFamily": "ISR",
"firmwareVersion": "IOS 15.1 (Preview)"
}
},
"responses": {
... | 1,320 |
335 | <reponame>Safal08/Hacktoberfest-1<gh_stars>100-1000
{
"word": "Diagram",
"definitions": [
"A simplified drawing showing the appearance, structure, or workings of something; a schematic representation.",
"A figure composed of lines that is used to illustrate a definition or statement or to aid in... | 157 |
1,157 | /**
* @file mxs118.cpp bug mxs118 regression case ("Two monitors loaded at the same time result into not working
* installation")
*
* - Configure two monitors using same backend serves
* - try to connect to maxscale
* - check logs for warning
*/
#include <iostream>
#include <unistd.h>
#include <maxtest/testconn... | 195 |
575 | <filename>chrome/browser/ui/views/payments/error_message_view_controller.cc
// 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.
#include "chrome/browser/ui/views/payments/error_message_view_controller.h"
#... | 927 |
2,421 | <reponame>OpenHFT/Chronicle-Map<gh_stars>1000+
/*
* Copyright 2012-2018 Chronicle Map 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.org/license... | 1,664 |
12,278 | <reponame>randolphwong/mcsema<filename>boost/libs/math/test/test_nonfinite_trap.cpp
// Copyright (c) 2006 <NAME>
// Copyright (c) 2011 <NAME> To incorporate into Boost.Math
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE... | 2,874 |
1,553 | # coding=utf-8
import io
import logging
import re
from datetime import datetime
import dateutil.parser
import rarfile
from zipfile import ZipFile, is_zipfile
from rarfile import RarFile, is_rarfile
from babelfish import language_converters, Script
from requests import RequestException, codes as request_codes
from gu... | 6,113 |
10,225 | <gh_stars>1000+
package io.quarkus.it.jpa.h2.proxy;
public interface PetProxy {
String makeNoise();
}
| 44 |
507 | <gh_stars>100-1000
#pragma once
#include <Windows.h>
typedef struct Vector {
DWORD* memory;
UINT allocationCount;
UINT size;
INT sizeInBits;
} Vector;
// E8 ? ? ? ? 8B 16 (relative jump)
VOID Vector_ensureCapacity(Vector*, UINT);
// 56 FF 74 24 08
VOID Vector_resize(Vector*, UINT);
// E8 ? ? ? ? 8B... | 153 |
854 | <filename>Stackless/platf/switch_arm_thumb_gcc.h
#define SLP_STACK_REFPLUS 1
#define SLP_STACK_MAGIC 0
/* Use the generic support for an external assembly language slp_switch function. */
#define SLP_EXTERNAL_ASM
#ifdef SLP_EVAL
/* This always uses the external masm assembly file. */
#endif
| 106 |
1,444 | <gh_stars>1000+
package mage.cards.f;
import mage.MageInt;
import mage.abilities.common.BeginningOfUpkeepTriggeredAbility;
import mage.abilities.common.delayed.ReflexiveTriggeredAbility;
import mage.abilities.costs.common.SacrificeTargetCost;
import mage.abilities.effects.common.DamageTargetEffect;
import mage.abiliti... | 779 |
794 | [
{
"name": "Push message api",
"description": "感知GCM FCM推送",
"priority": 2,
"condition": "fcmPushMessageArrived == true && pkgName == \"org.telegram.plus\"",
"actions": [
"ui.showShortToast(\"Plus messenger 收到了推送,该干啥干啥\"));"
]
}
] | 144 |
924 | # $Id: mrt.py 29 2007-01-26 02:29:07Z jon.oberheide $
# -*- coding: utf-8 -*-
"""Multi-threaded Routing Toolkit."""
from __future__ import absolute_import
from . import dpkt
from . import bgp
# Multi-threaded Routing Toolkit
# http://www.ietf.org/internet-drafts/draft-ietf-grow-mrt-03.txt
# MRT Types
NULL = 0
START ... | 1,674 |
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.
package org.chromium.components.browser_ui.bottomsheet;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import s... | 4,963 |
713 | package org.infinispan.distribution.topologyaware;
import java.util.List;
import org.infinispan.Cache;
import org.infinispan.configuration.cache.CacheMode;
import org.infinispan.configuration.cache.ConfigurationBuilder;
import org.infinispan.configuration.global.GlobalConfigurationBuilder;
import org.infinispan.distr... | 3,326 |
1,261 | <filename>examples/canvas/canvas/app.py
import math
import sys
from travertino.constants import (
BLACK,
BLUE,
BOLD,
GREEN,
ITALIC,
NORMAL,
RED,
YELLOW,
)
import toga
from toga.fonts import (
CURSIVE,
FANTASY,
MESSAGE,
MONOSPACE,
SANS_SERIF,
SERIF,
SYSTEM,
)... | 9,889 |
510 | <filename>trustkit/src/main/java/com/datatheorem/android/trustkit/pinning/TrustManagerBuilder.java
package com.datatheorem.android.trustkit.pinning;
import android.os.Build;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.datatheorem.android.trustkit.TrustKit;
import com.datatheorem... | 1,270 |
741 | <gh_stars>100-1000
package com.sjhy.plugin.ui;
import com.fasterxml.jackson.core.type.TypeReference;
import com.intellij.ide.fileTemplates.impl.UrlUtil;
import com.intellij.openapi.options.Configurable;
import com.intellij.util.ExceptionUtil;
import com.sjhy.plugin.dict.GlobalDict;
import com.sjhy.plugin.dto.SettingsS... | 2,398 |
5,447 | """ SiamRPN train"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import argparse
import logging
import os
import time
import numpy as np
os.environ['MXNET_CUDNN_AUTOTUNE_DEFAULT'] = '0'
import mxnet as mx
from mx... | 6,257 |
573 | <reponame>EdwardBetts/UniversalSplitScreen
#pragma once
#include "stdafx.h"
#include <easyhook.h>
// ReSharper disable CppInconsistentNaming
extern "C" void __declspec(dllexport) __stdcall NativeInjectionEntryPoint(REMOTE_ENTRY_INFO* inRemoteInfo);
// ReSharper restore CppInconsistentNaming
| 101 |
323 | /*
* Copyright (c) 2007, Novell Inc.
*
* This program is licensed under the BSD license, read LICENSE.BSD
* for further information
*/
/*
* poolid_private.h
*
*/
#ifndef LIBSOLV_POOLID_PRIVATE_H
#define LIBSOLV_POOLID_PRIVATE_H
/* the size of all buffers is incremented in blocks
* these are the block values... | 177 |
578 | #include <infra/Api.h>
#include <jobs/Api.h>
#ifdef TWO_PLATFORM_EMSCRIPTEN
#include <emscripten.h>
#define DECL EMSCRIPTEN_KEEPALIVE
#else
#define DECL
#endif
extern "C" {
// JobSystem
two::Type* DECL two_JobSystem__type() {
return &two::type<two::JobSystem>();
}
void DECL two_JobSystem__destroy(two::JobSys... | 156 |
9,116 | <reponame>zhouhp007/AgentWeb
/*
* Copyright (C) Justson(https://github.com/Justson/AgentWeb)
*
* 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/LI... | 1,270 |
311 | {
"BaseAdapter.close": {
"raises": [
"NotImplementedError"
]
},
"BaseAdapter.send": {
"raises": [
"NotImplementedError"
]
},
"HTTPAdapter.cert_verify": {
"raises": [
"OSError"
]
},
"HTTPAdapter.get_connection": {
"raises": [
"InvalidProxyURL"
]
},
... | 309 |
1,490 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 1,342 |
809 | /**
* @file
*
* @date Feb 3, 2021
* @author <NAME>
*/
#ifndef SRC_KERNEL_TASK_RESOURCE_STDOUT_TASK_RESOURCE_STDOUT_H_
#define SRC_KERNEL_TASK_RESOURCE_STDOUT_TASK_RESOURCE_STDOUT_H_
#include <stdio.h>
struct task;
extern FILE *task_resource_sdtout(const struct task *task);
extern FILE *task_self_resource_sdtou... | 173 |
311 | <gh_stars>100-1000
package org.thunlp.hadoop;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapred.JobConf;
import org.apache.hadoop.mapred.SequenceFileInputFormat;
import org.apache.hadoop.mapred.SequenceFileOutputFormat;
public class TextMapReduceJobConf extends JobConf {
public TextMapReduceJobConf()... | 394 |
386 | <reponame>bradleyhenke/cortex
//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2010, Image Engine Design Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditio... | 1,840 |
14,668 | #!/usr/bin/env python3
#
# opus/read-sources-list.py
#
# Parses .mk files and extracts list of source files.
# Prints one line per source file list, with filenames space-separated.
import sys
if len(sys.argv) < 2:
sys.exit('Usage: {} sources_foo.mk [sources_bar.mk...]'.format(sys.argv[0]))
for input_fn in sys.argv... | 360 |
3,227 | #include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Surface_mesh.h>
#include <CGAL/Polygon_mesh_processing/connected_components.h>
#include <CGAL/Polygon_mesh_processing/IO/polygon_mesh_io.h>
#include <CGAL/boost/graph/Face_filtered_graph.h>
#include <boost/property_map/property_map.hpp>
#... | 859 |
982 | /*
* Socket object functions
*
* Copyright (c) 2019 Virtuozzo International GmbH
*
* 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
* notic... | 36,032 |
332 | <reponame>wwjiang007/spring-xd
/*
* Copyright 2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 2,232 |
389 | <filename>aspnet-core/modules/mvc/LINGYUN.Abp.AspNetCore.Mvc.Wrapper/LINGYUN/Abp/AspNetCore/Mvc/Wrapper/Localization/Resources/en.json<gh_stars>100-1000
{
"culture": "en",
"texts": {
"Wrapper:NotFound": "The requested resource was not found on the server."
}
} | 119 |
2,151 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/third_party/quic/core/quic_stream_sequencer.h"
#include <algorithm>
#include <cstdint>
#include <memory>
#include <utility>
#include <v... | 8,391 |
1,144 | package de.metas.tourplanning.api.impl;
/*
* #%L
* de.metas.swat.base
* %%
* Copyright (C) 2015 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
... | 2,151 |
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 ... | 1,256 |
480 | /*
* Copyright [2013-2021], Alibaba Group Holding Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 2,320 |
639 | <reponame>miaoruiyuan/HZExtend<gh_stars>100-1000
//
// NSURL+HZExtend.h
// ZHFramework
//
// Created by xzh. on 15/8/21.
// Copyright (c) 2015年 xzh. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSURL (HZExtend)
- (NSDictionary *)queryDic;
@end
NS_ASSUME_NONNULL_E... | 144 |
542 | from copy import deepcopy
from typing import List, Dict, Any, Optional, Iterable
import pandas as pd
native_tokens = {"ethereum": "ETH", "avalanche": "AVAX", "solana": "SOL"}
def flatten(items):
"""
Deep flatten any iterable item.
"""
for x in items:
if isinstance(x, Iterable) and not isinsta... | 1,666 |
831 | <reponame>phpc0de/idea-android<gh_stars>100-1000
/*
* Copyright (C) 2017 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/license... | 1,237 |
1,652 | <reponame>Gei0r/cquery
struct Type {};
static Type t;
/*
OUTPUT:
{
"includes": [],
"skipped_by_preprocessor": [],
"types": [{
"id": 0,
"usr": 13487927231218873822,
"detailed_name": "Type",
"short_name": "Type",
"kind": 23,
"declarations": [],
"spell": "1:8-1... | 527 |
373 | <filename>uniauth-server/src/main/java/com/dianrong/common/uniauth/server/synchronous/hr/bean/PersonList.java
package com.dianrong.common.uniauth.server.synchronous.hr.bean;
import com.dianrong.common.uniauth.server.data.entity.HrPerson;
/**
* 员工文件分析结果.
*/
public class PersonList extends AbstractAnaListResult<HrPer... | 171 |
5,813 | /*
* 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,262 |
587 | <reponame>kiranmai-sfdev/aura
/*
* Copyright (C) 2013 salesforce.com, 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
*
* ... | 8,487 |
846 | <reponame>Winner2015/compileflow<gh_stars>100-1000
package com.alibaba.compileflow.engine.process.preruntime.generator.impl.tbbpm;
import com.alibaba.compileflow.engine.definition.tbbpm.SubBpmNode;
import com.alibaba.compileflow.engine.process.preruntime.generator.code.ClassTarget;
import com.alibaba.compileflow.engin... | 971 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.