max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
478 | <filename>tools/neko/include/neko_vm.h
/*
* Copyright (C)2005-2017 Haxe Foundation
*
* 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
* ... | 916 |
1,443 | <filename>users/andrew-shapton.json
{
"copyright": "<NAME>",
"url": "https://github.com/alshapton/Pyntel4004/blob/main/LICENSE",
"email": "<EMAIL>",
"format": "text",
"license": "mit",
"theme": "default",
"gravatar": false
} | 100 |
346 | #ifndef _IMP_ABOUTUS_H
#define _IMP_ABOUTUS_H
void RenderIMPAboutUs( void );
void ExitIMPAboutUs( void );
void EnterIMPAboutUs( void );
void HandleIMPAboutUs( void );
#endif
| 75 |
384 | <reponame>hejamu/gromacs
/*
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 2012,2014,2015,2016,2017 by the GROMACS development team.
* Copyright (c) 2018,2019,2020, by the GROMACS development team, led by
* <NAME>, <NAME>, <NAME>, and <NAME>,
* and including many others, as lis... | 6,715 |
365 | <gh_stars>100-1000
/*
* Copyright (c) 2007 Intel Corporation. All Rights Reserved.
*
* 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 ... | 4,201 |
2,151 | <reponame>zipated/src
// 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 GPU_IPC_SERVICE_DIRECT_COMPOSITION_CHILD_SURFACE_WIN_H_
#define GPU_IPC_SERVICE_DIRECT_COMPOSITION_CHILD_SURFACE_WIN_H_
#in... | 1,328 |
21,382 | <gh_stars>1000+
from ray.util.accelerators.accelerators import NVIDIA_TESLA_V100, \
NVIDIA_TESLA_P100, NVIDIA_TESLA_T4, NVIDIA_TESLA_P4, NVIDIA_TESLA_K80
__all__ = [
"NVIDIA_TESLA_V100", "NVIDIA_TESLA_P100", "NVIDIA_TESLA_T4",
"NVIDIA_TESLA_P4", "NVIDIA_TESLA_K80"
]
| 138 |
834 | # -*- coding:utf-8 -*-
from collections import OrderedDict
import torch.nn as nn
from torch.nn.modules.batchnorm import _BatchNorm
from ...cv_core import kaiming_init, constant_init
from ..utils import brick as vn_layer
from ..builder import BACKBONES
@BACKBONES.register_module()
class RRDarknet53(nn.Module):
# 用... | 1,571 |
530 | from .all_variable_usages_are_allowed import AllVariableUsagesAreAllowed
from .all_variable_uses_defined import AllVariableUsesDefined
from .all_variables_used import AllVariablesUsed
from .argument_names import ArgumentNames
from .argument_uniqueness import ArgumentUniqueness
from .directives_are_defined import Direct... | 1,044 |
608 | <reponame>favoritas37/qzxing<gh_stars>100-1000
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef ZXING_EXCEPTION_H
#define ZXING_EXCEPTION_H
/*
* Exception.h
* ZXing
*
* Copyright 2010 ZXing authors All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "Li... | 434 |
360 | package com.github.davidmoten.geo;
import org.openjdk.jmh.annotations.Benchmark;
import org.openjdk.jmh.annotations.Scope;
import org.openjdk.jmh.annotations.State;
@State(Scope.Benchmark)
public class Benchmarks {
private final LatLong centre = GeoHash.decodeHash("dre7");
@Benchmark
public void hashCon... | 210 |
852 | <reponame>ckamtsikis/cmssw
#include <map>
#include <string>
#include "TH1D.h"
#include "TH2D.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Utilities/interface/InputTag.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Parame... | 2,778 |
14,668 | <gh_stars>1000+
// 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.
#include "gpu/command_buffer/service/shared_image_backing_factory_gl_texture.h"
#include <list>
#include <utility>
#include "components/... | 3,585 |
846 | package com.dslplatform.json;
import org.junit.Assert;
import org.junit.Test;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
public class SkippingTest {
@CompiledJson
public static class Single {
public int x;
}
@CompiledJson
public static class SingleImmutable {
@J... | 1,837 |
483 | <reponame>yangchong211/YCRefreshView<gh_stars>100-1000
package org.yczbj.ycrefreshview.app;
import android.app.Activity;
import android.content.Context;
import android.content.res.AssetManager;
import android.graphics.Color;
import android.os.Build;
import android.view.Display;
import android.view.View;
import android... | 322 |
543 | <reponame>fredells/riiablo<gh_stars>100-1000
package com.riiablo.onet;
import java.nio.ByteBuffer;
public interface UnicastEndpoint<T> extends Endpoint<T> {
void sendMessage(ByteBuffer bb);
void sendMessage(Object qos, ByteBuffer bb);
}
| 87 |
432 | <filename>debugger/src/socsim_plugin/types_amba.h
/**
* @file
* @copyright Copyright 2016 GNSS Sensor Ltd. All right reserved.
* @author <NAME> - <EMAIL>
* @brief System Bus configuration types declaration.
*/
#ifndef __DEBUGGER_SOCSIM_TYPES_AMBA_H__
#define __DEBUGGER_SOCSIM_TYPES_AMBA_H__
#include <i... | 705 |
428 | <gh_stars>100-1000
class base
{
virtual int method(int);
};
class start : public base
{
virtual int method(int);
};
| 42 |
1,767 | package com.annimon.stream.intstreamtests;
import com.annimon.stream.IntStream;
import com.annimon.stream.function.IntConsumer;
import com.annimon.stream.function.IntSupplier;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public final class PeekTest {
@Test
public void testPeek() {
... | 541 |
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.apimanagement.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util... | 749 |
578 |
#pragma once
#include <infra/Config.h>
#include <infra/Forward.h>
#include <type/Forward.h>
#include <pool/Forward.h>
#ifndef TWO_WEBCL_EXPORT
#define TWO_WEBCL_EXPORT TWO_IMPORT
#endif
namespace two {
}
| 104 |
1,909 | <gh_stars>1000+
package org.knowm.xchange.simulated;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import org.knowm.xchange.ExchangeSpecification;
/**
* An instance of {@link AccountFactory} represents a single set of user accounts. A user account is
* identified by its {... | 231 |
2,151 | <gh_stars>1000+
/**************************************************************************
Copyright 2002 Tungsten Graphics Inc., Cedar Park, Texas.
All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),... | 2,374 |
714 | <reponame>Eliane1991/mybatis-generator-gui-extension<gh_stars>100-1000
package com.spawpaw.mybatis.generator.gui;
import com.spawpaw.mybatis.generator.gui.controller.BaseController;
import com.spawpaw.mybatis.generator.gui.util.Constants;
import java.util.Locale;
/**
* Created By <EMAIL> 2018.1.20
* Description:
... | 291 |
739 | from __pyjamas__ import JS, INT
class Set:
def __init__(self, data=None):
JS("""
@{{self}}['__object'] = {};
@{{self}}['update'](@{{data}});
""")
def add(self, value):
JS(""" @{{self}}['__object'][pyjslib['hash'](@{{value}})] = @{{value}};""")
def clear(self):
... | 1,284 |
1,326 | import org.mangosdk.spi.ProviderFor;
@ProviderFor(Object.class)
public class ProvidesClassTestClass {
}
| 37 |
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.
package org.chromium.chrome.browser.autofill_assistant.onboarding;
import android.content.Context;
import android.content.DialogInterface.OnDismissListen... | 1,289 |
534 | <gh_stars>100-1000
package mekanism.api.chemical.infuse;
import mekanism.api.chemical.IChemicalHandler;
import mekanism.api.chemical.IMekanismChemicalHandler;
import mekanism.api.chemical.ISidedChemicalHandler;
public interface IInfusionHandler extends IChemicalHandler<InfuseType, InfusionStack>, IEmptyInfusionProvid... | 207 |
310 | <filename>doma-processor/src/main/java/org/seasar/doma/internal/apt/processor/AbstractGeneratingProcessor.java
package org.seasar.doma.internal.apt.processor;
import java.lang.annotation.Annotation;
import java.util.Set;
import javax.annotation.processing.RoundEnvironment;
import javax.lang.model.element.TypeElement;
... | 720 |
337 | <reponame>qussarah/declare<gh_stars>100-1000
interface A {
public void foo();
}
abstract class C implements B {
@Override
public void <caret>foo() {
}
} | 68 |
310 | <reponame>dreeves/usesthis
{
"name": "XCAPTURE-1",
"description": "A USB-based video capture device.",
"url": "https://solarisjapan.com/products/xcapture-1-usb-3-0-hd-capture-unit"
} | 80 |
1,003 | package com.pixplicity.multiviewpager.sample.test;
import android.test.ActivityInstrumentationTestCase2;
import android.view.View;
import com.pixplicity.multiviewpager.MultiViewPager;
import com.pixplicity.multiviewpager.sample.PagerActivity;
import com.pixplicity.multiviewpager.sample.R;
public class PagerActivityT... | 358 |
1,674 | <reponame>ajmgh/polipo<gh_stars>1000+
/*
Copyright (c) 2003-2006 by <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, including without limitation the rights
to use, copy... | 726 |
45,293 | package test;
public final class Simple {
public Simple() { }
}
| 22 |
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 ... | 7,221 |
530 | <reponame>meghasfdc/jmc
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The contents of this file are subject to the terms of either the Universal Permissive License
* v 1.0 as shown at http://oss.oracle.com/license... | 1,106 |
3,402 | /*
* 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 ... | 939 |
2,890 | package com.github.ltsopensource.spring.boot;
import com.github.ltsopensource.core.cluster.AbstractJobNode;
import com.github.ltsopensource.core.cluster.NodeType;
import com.github.ltsopensource.core.commons.utils.CollectionUtils;
import com.github.ltsopensource.jobclient.JobClient;
import com.github.ltsopensource.job... | 923 |
675 | #pragma once
#include "../shader_node_glsl.h"
namespace Echo
{
#ifdef ECHO_EDITOR_MODE
class ShaderNodeGrayScale : public ShaderNodeGLSL
{
ECHO_CLASS(ShaderNodeGrayScale, ShaderNodeGLSL)
public:
ShaderNodeGrayScale();
virtual ~ShaderNodeGrayScale();
// name
virtual QString name() const override { retur... | 156 |
2,332 | import dash
import pandas as pd
import pathlib
import dash_html_components as html
import dash_core_components as dcc
from dash.dependencies import Input, Output
from dash.exceptions import PreventUpdate
from helpers import make_dash_table, create_plot
app = dash.Dash(
__name__,
meta_tags=[{"name": "viewport... | 5,002 |
5,166 | # Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# This file is 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/
#
# This file is dis... | 964 |
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,390 |
12,278 | // Copyright <NAME> 2007.
// Copyright <NAME> 2010.
// Use, modification and distribution are subject to 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)
// Note that this file contains quickbook mark-up as well as code
// and c... | 411 |
8,456 | package redis.clients.jedis.graph;
import java.util.HashMap;
import java.util.Map;
import redis.clients.jedis.CommandArguments;
import redis.clients.jedis.exceptions.JedisException;
import redis.clients.jedis.graph.GraphProtocol.GraphCommand;
import redis.clients.jedis.graph.GraphProtocol.GraphKeyword;
import redis.cl... | 763 |
521 | /* get localized short TIME format */
#include "../fb.h"
#include <langinfo.h>
int fb_DrvIntlGetTimeFormat( char *buffer, size_t len )
{
int do_esc = FALSE, do_fmt = FALSE;
char *pszOutput = buffer;
char achAddBuffer[2] = { 0 };
const char *pszAdd = NULL;
size_t remaining = len - 1, add_len = 0;
... | 1,838 |
347 | <reponame>jihwahn1018/ovirt-engine
package org.ovirt.engine.core.utils;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import java.util.Collection;
import java.util.Collections;
import ... | 1,598 |
664 | <reponame>adem4ik/LIII
#pragma once
#ifdef ALLOW_TRAFFIC_CONTROL
#include "traffic_limitation/InterceptingApplication.h"
#else
#include "qtsingleapplication/qtsingleapplication.h"
#endif // ALLOW_TRAFFIC_CONTROL
#include "utilities/translatable.h"
#include "utilities/utils.h"
class Application
#ifdef ALLOW_TRAFFIC... | 329 |
31,446 | {"version":3,"e2ee":{"value":false,"updatedTime":0},"activeMasterKeyId":{"value":"","updatedTime":0},"masterKeys":[]} | 34 |
319 | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
import sys
import torch
import torch.nn as nn
import torch.nn.functional as F
from models.networks.base_network import BaseNetwork
from models.networks.generator import AdaptiveFeatureGenerator, DomainClassifier, ReverseLayerF
from util.util impo... | 9,137 |
3,402 | <reponame>ApacheSourceCode/kylin<filename>core-metadata/src/main/java/org/apache/kylin/dimension/DimensionEncoding.java
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding c... | 1,012 |
555 | package japa.parser.ast.body;
import japa.parser.ast.expr.AnnotationExpr;
import java.util.List;
/**
* An element which can be the target of annotations.
*
* @author <NAME>
* @since July 2014
*/
public interface AnnotableNode {
public List<AnnotationExpr> getAnnotations();
}
| 95 |
543 | # Copyright (c) 2021, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 1,458 |
3,301 | <reponame>zhangjun0x01/Alink
package com.alibaba.alink.operator.common.tensorflow;
import org.apache.flink.api.common.typeinfo.TypeInformation;
import org.apache.flink.api.java.tuple.Tuple4;
import org.apache.flink.ml.api.misc.param.Params;
import org.apache.flink.table.api.TableSchema;
import org.apache.flink.types.R... | 1,405 |
3,102 | <filename>clang/test/CodeGen/arm-pcs.c
// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -triple arm-none-linux-gnueabi -emit-llvm -w -o - < %s | FileCheck %s
typedef int __attribute__((pcs("aapcs"))) (*aapcs_fn)(void);
typedef int __attribute__((pcs("aapcs-vfp"))) (*aapcs_vfp_fn)(void);
aapcs_fn bar;
int foo(aap... | 206 |
675 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2015 <NAME> <<EMAIL>>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at http://mozilla... | 625 |
406 | package org.broad.igv.htsget;
import htsjdk.tribble.Feature;
import htsjdk.variant.vcf.VCFHeader;
import org.broad.igv.feature.genome.Genome;
import org.junit.Test;
import java.util.Iterator;
import static org.junit.Assert.*;
public class HtsgetVariantSourceTest {
@Test
public void testGetHeader() throws E... | 623 |
852 | <filename>L1TriggerConfig/L1ScalesProducers/src/L1JetEtScaleOnlineProd.cc
// -*- C++ -*-
//
// Package: L1JetEtScaleOnlineProd
// Class: L1JetEtScaleOnlineProd
//
/**\class L1JetEtScaleOnlineProd L1JetEtScaleOnlineProd.h L1TriggerConfig/L1ScalesProducers/src/L1JetEtScaleOnlineProd.cc
Description: Online produ... | 3,778 |
345 | package com.github.theholywaffle.teamspeak3.commands;
/*
* #%L
* TeamSpeak 3 Java API
* %%
* Copyright (C) 2017 <NAME>, <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 wi... | 1,884 |
2,151 | // 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.
#include "base/at_exit.h"
#include "base/i18n/icu_util.h"
#include "content/browser/appcache/appcache_manifest_parser.h" // nogncheck
#include "url/gurl.... | 319 |
1,107 | <reponame>malxau/yori
/**
* @file ysetup/ysetup.c
*
* Yori shell GUI installer
*
* Copyright (c) 2018-2021 <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 restrictio... | 7,461 |
1,037 | <reponame>mutalisk999/bibi<filename>application/services/payment/wechat.py
# -*- coding: UTF-8 -*-
# File: __init__.py
# Author: SivaCoHan <<EMAIL>>
# Date: 2015-04-27
import time
import json
import qrcode
import hashlib
import urllib
import random
import requests
from xml.etree import ElementTree
from dict2xml import... | 8,508 |
2,151 | <reponame>kjthegod/chromium
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_OBSERVER_H_
#define CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATIO... | 244 |
731 | class HtmlGenerator:
def __init__(self, word):
self.domain = word
async def generatepreviousscanresults(self, previousscanresults):
try:
if previousscanresults[0] == 'No results':
html = '''
<h2><span style="color: #000000;"><strong>Previous scan report </strong></s... | 3,701 |
678 | /**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/ChatKit.framework/ChatKit
*/
#import <ChatKit/CKPreferredServiceManager.h>
@interface CKMessagesAppPreferredServiceManager : CKPreferredServiceManager {
}
- (unsigned)__optionsForConversation:(id)conversation; // 0... | 191 |
12,252 | <reponame>evtr/keycloak
/*
* Copyright 2021 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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 a... | 1,595 |
973 | //
// TM & (c) 2021 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
// All rights reserved. See LICENSE.txt for license.
//
#ifndef MATERIALX_CAMERA_H
#define MATERIALX_CAMERA_H
#include <MaterialXRender/Export.h>
#include <MaterialXCore/Types.h>
MATERIALX_NAMESPACE_BEGIN
/// Shared pointer to a Camera
us... | 2,201 |
12,004 | # coding=utf-8
# *** WARNING: this file was generated by test. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import _utilities
from . import outputs
__... | 10,073 |
852 | <reponame>ckamtsikis/cmssw
#include "DPGAnalysis/Skims/interface/TriggerMatchProducer.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "DataFormats/METReco/interface/MET.h"
typedef TriggerMatchProducer<reco::MET> trgMatchMETProducer;
DEFINE_FWK_MODULE(trgMatchMETProducer);
| 110 |
1,091 | /*
* Copyright 2019-present Open Networking Foundation
*
* 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 appli... | 765 |
823 | /**************************************************************************
Copyright (c) 2017 sewenew
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... | 3,938 |
1,338 | <reponame>Kirishikesan/haiku
/*
* Copyright 2012 Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* <NAME>, <EMAIL>
*/
#ifndef REPLYBUILDER_H
#define REPLYBUILDER_H
#include <SupportDefs.h>
#include "RPCCallbackReply.h"
#include "XDR.h"
class ReplyBuilder {
pub... | 364 |
895 | <filename>package.nls.ko.json<gh_stars>100-1000
{
"plantuml.exportCurrent.title": "현재 다이어그램 내보내기",
"plantuml.exportDocument.title": "현재 다이어그램 파일 내보내기",
"plantuml.exportWorkspace.title": "작업공간의 다이어그램 내보내기",
"plantuml.preview.title": "현재 다이어그램 미리보기",
"plantuml.URLCurrent.title": "현재 다이어그램에 대한 URL 생성하기",
"plantuml.U... | 2,328 |
4,145 | # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | 2,995 |
471 | <gh_stars>100-1000
/////////////////////////////////////////////////////////////////////////////
// Name: nativdlg.h
// Purpose: Native Windows dialog sample
// Author: <NAME>
// Modified by:
// Created: 04/01/98
// Copyright: (c) <NAME>
// Licence: wxWindows licence
//////////////////////////... | 350 |
621 | <filename>carina-webdriver/src/main/java/com/qaprosoft/carina/core/foundation/utils/appletv/RemoteControlKeyword.java
package com.qaprosoft.carina.core.foundation.utils.appletv;
public enum RemoteControlKeyword {
HOME("home"),
LEFT("left"),
RIGHT("right"),
UP("up"),
DOWN("down"),
MENU("menu"),
SELECT("sel... | 222 |
1,251 | <reponame>palerdot/BlingFire
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
#ifndef _FA_RSDFA_CA_H_
#define _FA_RSDFA_CA_H_
#include "FAConfig.h"
#include "FASecurity.h"
namespace BlingFire
{
///
/// client-side interface for Rabin-Scott NFA
... | 350 |
4,054 | <reponame>Anlon-Burke/vespa<filename>fsa/src/alltest/segmenter_test.cpp<gh_stars>1000+
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
/**
* @author <NAME>
* @date 2004/08/20
* @version $Id$
* @file segmenter_test.cpp
* @brief Test for the Segmenter... | 968 |
17,242 | <gh_stars>1000+
// Copyright 2019 The MediaPipe 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 app... | 1,036 |
1,083 | <reponame>agxmaster/polarphp<filename>include/polarphp/pil/optimizer/utils/Devirtualize.h
//===--- Devirtualize.h - Helper for devirtualizing apply -------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licen... | 1,919 |
1,780 | /**
* Created by G-Canvas Open Source Team.
* Copyright (c) 2017, Alibaba, Inc. All rights reserved.
*
* This source code is licensed under the Apache Licence 2.0.
* For the full copyright and license information, please view
* the LICENSE file in the root directory of this source tree.
*/
#include "CharacterSet... | 903 |
316 | <filename>tests/reference/ast-subroutine3b-98faad7.json<gh_stars>100-1000
{
"basename": "ast-subroutine3b-98faad7",
"cmd": "lfortran --show-ast --no-color {infile} -o {outfile}",
"infile": "tests/subroutine3b.f90",
"infile_hash": "0726b3cb8b3ba1a2fc624a4215146065a6ce9a6a0b460ebe40c172a5",
"outfile":... | 281 |
1,144 | <filename>backend/de.metas.handlingunits.base/src/main/java-gen/de/metas/handlingunits/model/X_M_HU_BestBefore_V.java
// Generated Model - DO NOT CHANGE
package de.metas.handlingunits.model;
import java.sql.ResultSet;
import java.util.Properties;
import javax.annotation.Nullable;
/** Generated Model for M_HU_BestBefo... | 1,035 |
602 | <reponame>jtgrabowski/stargate
/*
* Copyright The Stargate 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 ... | 511 |
5,129 | <reponame>aimore-globality/unilm
import faiss
import json
import logging
import numpy as np
import os
import torch
from src.pequod.data.xretrieval import load_and_cache_examples
from src.pequod.eval.evaluator import Evaluator
from src.pequod.eval.utils_retrieve import mine_bitext, bucc_eval
logger = logging.getLogg... | 3,320 |
868 | /*
* 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 ma... | 779 |
630 | <reponame>Anyz01/FeatureFu<filename>expr/src/main/java/com/linkedin/featurefu/expr/Expr.java<gh_stars>100-1000
/*
* Copyright 2015 LinkedIn Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License.
You may obtain a copy of
* the Li... | 583 |
460 | <reponame>dyzmapl/BumpTop
/*------------------------------------------------------------------------------
* Copyright (C) 2003-2006 <NAME> and the CLucene Team
*
* Distributable under the terms of either the Apache License (Version 2.0) or
* the GNU Lesser General Public License, as specified in the COPYING file... | 478 |
2,591 | <reponame>meisenla/liquibase
package liquibase.change.core;
import liquibase.change.ColumnConfig;
import liquibase.parser.core.ParsedNode;
import liquibase.parser.core.ParsedNodeException;
import liquibase.resource.ResourceAccessor;
public class LoadDataColumnConfig extends ColumnConfig {
private Integer index;
... | 884 |
4,772 | package example.service;
import example.repo.Customer1349Repository;
import org.springframework.stereotype.Service;
@Service
public class Customer1349Service {
public Customer1349Service(Customer1349Repository repo) {}
}
| 64 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-h382-3v8j-jf8j",
"modified": "2022-05-01T17:42:32Z",
"published": "2022-05-01T17:42:32Z",
"aliases": [
"CVE-2007-0222"
],
"details": "Directory traversal vulnerability in the EmChartBean server side component for Oracle Application Server 10g allows remote atta... | 720 |
348 | {"nom":"Senneville-sur-Fécamp","circ":"9ème circonscription","dpt":"Seine-Maritime","inscrits":670,"abs":319,"votants":351,"blancs":20,"nuls":5,"exp":326,"res":[{"nuance":"REM","nom":"<NAME>","voix":205},{"nuance":"FN","nom":"<NAME>","voix":121}]} | 97 |
375 | filename = os.path.join(os.path.dirname(os.path.abspath(__file__)), ".idaprobe")
with open(filename, "wb") as fd:
fd.write(b"WOO")
idc.Exit(-5)
| 70 |
344 | <reponame>ProEditor/VSCode_SourceAnalysis
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------... | 261 |
315 | <reponame>tharunkb/javamicroservice
package com.apssouza.listeners;
import com.apssouza.events.TodoServiceMethodInvokedEvent;
import com.apssouza.monitors.TodoServiceMethodInvokedStore;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.event.EventListener;
import org.spr... | 239 |
682 | <reponame>pengwei1024/JsBridge
package com.apkfuns.jsbridgesample.module;
import android.widget.Toast;
import com.apkfuns.jsbridge.module.JSBridgeMethod;
import com.apkfuns.jsbridge.module.JsModule;
/**
* Created by pengwei on 2017/6/13.
*/
public class MultiLayerModule2 extends JsModule {
@Override
publi... | 201 |
377 | <filename>inception/inception-api-dao/src/main/java/de/tudarmstadt/ukp/clarin/webanno/api/dao/casstorage/CasPersistenceUtils.java
/*
* Licensed to the Technische Universität Darmstadt under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* r... | 2,478 |
879 | <filename>plugin/flatNetworkProvider/src/main/java/org/zstack/network/service/flat/FlatNetworkServiceValidator.java
package org.zstack.network.service.flat;
import org.zstack.core.ScatteredValidator;
import org.zstack.header.apimediator.StopRoutingException;
import java.lang.reflect.Method;
import java.util.List;
/*... | 331 |
831 | /*
* Copyright (C) 2019 Square, 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 agre... | 518 |
773 |
import os
import time
import signal
import socket
import logging
import SocketServer
import base
logger = logging.getLogger(__name__)
class BaseTCPHandler(SocketServer.BaseRequestHandler):
def generate_response(self, size):
""" This generates a wrong HTTP request, Content-Length is higher
... | 1,546 |
346 | <filename>src/game/HelpScreen.h
#ifndef _HELP_SCREEN__H_
#define _HELP_SCREEN__H_
//enum used for the different help screens that can come up
enum HelpScreenID
{
HELP_SCREEN_NONE = -1,
HELP_SCREEN_LAPTOP,
HELP_SCREEN_MAPSCREEN,
HELP_SCREEN_MAPSCREEN_NO_ONE_HIRED,
HELP_SCREEN_MAPSCREEN_NOT_IN_ARULCO,
HELP_SCREEN... | 680 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.