max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
510 | from textwrap import dedent
HEADER_ROW = -1
import_error_msg_template = dedent(
"""\
dependency packages for {0} not found.
you can install the dependencies with 'pip install pytablewriter[{0}]'
"""
)
| 78 |
458 | //@category CppClassAnalyzer
import cppclassanalyzer.data.ClassTypeInfoManager;
import cppclassanalyzer.data.ProgramClassTypeInfoManager;
import cppclassanalyzer.utils.CppClassAnalyzerUtils;
import ghidra.app.script.GhidraScript;
import ghidra.app.cmd.data.rtti.gcc.builder.AbstractTypeInfoProgramBuilder;
import ghidr... | 5,805 |
406 | <filename>src/main/java/org/broad/igv/sam/reader/SamIndexer.java
/*
* The MIT License (MIT)
*
* Copyright (c) 2007-2015 Broad Institute
*
* 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 Softwar... | 762 |
3,348 | /**
* 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... | 664 |
1,443 | {
"copyright": "<NAME>",
"url": "http://rezartisan.com",
"email": "<EMAIL>",
"format": "html",
"gravatar": true
}
| 53 |
839 | <reponame>kimjand/cxf<filename>rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/RPCOutInterceptorTest.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 copy... | 2,408 |
3,269 | <gh_stars>1000+
# Time: O(n)
# Space: O(1)
import collections
import string
class Solution(object):
def minDeletions(self, s):
"""
:type s: str
:rtype: int
"""
count = collections.Counter(s)
result = 0
lookup = set()
for c in string.ascii_lowercase:... | 283 |
721 | <gh_stars>100-1000
/*
* Copyright 2011, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, th... | 1,365 |
435 | <filename>MediumProject/Example/src3/subsrc2/f4.c
#include "f4.h"
int f4(int a, int b) { return a; } | 45 |
1,454 | <filename>test/WebJobs.Script.Tests.Integration/TestScripts/OutOfDateExtension/bin/extensions.json
{
"extensions":[
{ "name": "AzureStorage", "typeName":"Microsoft.Azure.WebJobs.Extensions.Storage.AzureStorageWebJobsStartup, Microsoft.Azure.WebJobs.Extensions.Storage, Version=3.0.10.0, Culture=neutral, PublicKe... | 294 |
348 | {"nom":"Saint-Jean-du-Corail-des-Bois","dpt":"Manche","inscrits":64,"abs":12,"votants":52,"blancs":8,"nuls":2,"exp":42,"res":[{"panneau":"1","voix":22},{"panneau":"2","voix":20}]} | 77 |
834 | #include <stdlib.h>
#include <setjmp.h>
#include <math.h>
#include <string.h>
#include "vm.h"
#include "gc.h"
#include "object.h"
#include "lib.h"
#include "string.h"
#include "exception.h"
static js_instruction_t insns[] = {
{ "undefined", OPERAND_NONE },
{ "ret", OPERAND_NONE },
{ "pushnum", O... | 16,903 |
2,174 | package ceui.lisa.standard;
import ceui.lisa.interfaces.ListShow;
import io.reactivex.Observable;
public abstract class Repository<Bean> {
public abstract Observable<ListShow<Bean>> initApi();
}
| 70 |
398 | <filename>credit/src/main/java/de/n26/n26androidsamples/credit/presentation/dashboard/InRepaymentCardViewEntity.java<gh_stars>100-1000
package de.n26.n26androidsamples.credit.presentation.dashboard;
import com.google.auto.value.AutoValue;
import android.support.annotation.NonNull;
@AutoValue
abstract class InRepayme... | 434 |
435 | <reponame>amaajemyfren/data<filename>pycon-ar-2016/videos/pyconar-2016-desempolvando-mi-vieja-raspberrypi.json<gh_stars>100-1000
{
"copyright_text": "Standard YouTube License",
"description": "PyconAR 2016 - Bah\u00eda Blanca\n\nDesempolvando mi vieja raspberryPi por Diego Ramirez\n\nAudience level: Principiante\n\... | 574 |
1,350 | <filename>sdk/billing/azure-resourcemanager-billing/src/main/java/com/azure/resourcemanager/billing/implementation/ValidateAddressResponseImpl.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azu... | 597 |
348 | <gh_stars>100-1000
{"nom":"Montaigut-le-Blanc","circ":"3ème circonscription","dpt":"Puy-de-Dôme","inscrits":665,"abs":382,"votants":283,"blancs":39,"nuls":13,"exp":231,"res":[{"nuance":"MDM","nom":"<NAME>","voix":132},{"nuance":"UDI","nom":"<NAME>","voix":99}]} | 111 |
663 | <filename>hazelcast/tests/test_check.py<gh_stars>100-1000
# (C) Datadog, Inc. 2020-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
import pytest
from .common import INSTANCE_MC_PYTHON
from .utils import assert_service_checks_ok
pytestmark = [pytest.mark.usefixtures('dd_enviro... | 199 |
432 | <gh_stars>100-1000
/*
* Copyright (c) 2018-2021 <NAME>, m00nbsd.net
* All rights reserved.
*
* This code is part of the NVMM hypervisor.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of... | 7,443 |
418 | <reponame>GIRIME262/3Dpose_ssl
#ifndef CAFFE_HEATMAP_HPP_
#define CAFFE_HEATMAP_HPP_
#include <string>
#include <vector>
#include <utility>
#include "caffe/layer.hpp"
#include "caffe/blob.hpp"
#include "caffe/data_transformer.hpp"
#include "caffe/layers/base_data_layer.hpp"
#include "caffe/internal_thread.hpp"
#inclu... | 556 |
2,151 | /*
* Copyright 2017 Google Inc. 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 applic... | 3,268 |
20,995 | <filename>third_party/jsoncpp/generated/version.h
// DO NOT EDIT. This file (and "version") is a template used by the build system
// (either CMake or Meson) to generate a "version.h" header file.
#ifndef JSON_VERSION_H_INCLUDED
#define JSON_VERSION_H_INCLUDED
#define JSONCPP_VERSION_STRING "1.9.0"
#define JSONCPP_VER... | 346 |
3,508 | <filename>src/main/java/com/fishercoder/solutions/_1352.java
package com.fishercoder.solutions;
import java.util.ArrayList;
import java.util.List;
public class _1352 {
public static class Solution1 {
/**
* credit: https://leetcode.com/problems/product-of-the-last-k-numbers/discuss/510260/JavaC%2B... | 532 |
1,668 | <reponame>DoNnMyTh/ralph
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
('operations', '0007_auto_20170328_1728'),
]
... | 266 |
608 | <filename>vstgui/uidescription/viewcreator/layeredviewcontainercreator.cpp
// This file is part of VSTGUI. It is subject to the license terms
// in the LICENSE file found in the top-level directory of this
// distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
#include "layeredviewcontainercreator.h"
... | 990 |
1,198 | <reponame>dherbst/lullaby<gh_stars>1000+
/*
Copyright 2017-2019 Google Inc. 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
Unle... | 2,333 |
10,876 | {
"name": "libodb-mysql",
"version": "2.4.0",
"port-version": 9,
"description": "MySQL support for the ODB ORM library",
"homepage": "https://www.codesynthesis.com/products/odb/",
"dependencies": [
"libmysql",
"libodb"
]
}
| 105 |
2,092 | #include <ck_ring.h>
#include <inttypes.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "../../common.h"
#ifndef ITERATIONS
#define ITERATIONS (128000)
#endif
struct entry {
int tid;
int value;
};
int
main(int argc, char *argv[])
{
int i, r, size;
uint64_t s, e, e_a, d_a;
struct entry en... | 1,834 |
1,959 | package com.xamarin.android;
public class DataHandler {
DataListener listener;
public void setOnDataListener (DataListener listener)
{
this.listener = listener;
}
public void send ()
{
if (listener == null)
return;
byte start = (byte) 'J';
byte[][] data = new byte[][]{
new byte[]{ (byte) (start +... | 376 |
1,561 | <reponame>radetsky/themis
#
# Copyright (c) 2015 Cossack Labs 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 appl... | 1,238 |
2,151 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.components.sync;
import android.accounts.Account;
import android.content.Context;
import android.os.Bundle;
import android.support.t... | 7,331 |
5,169 | <reponame>Gantios/Specs<filename>Specs/2/9/6/MAWishfulButtonFramework/1.0.0/MAWishfulButtonFramework.podspec.json
{
"name": "MAWishfulButtonFramework",
"version": "1.0.0",
"summary": "MAWishfulButtonFramework is a user friendly, easy to integrate custon UIKit Button generator and add life to apps with subtle anim... | 374 |
649 | <reponame>MaTriXy/android-data-binding-recyclerview
package net.droidlabs.mvvmdemo.viewmodel;
import net.droidlabs.mvvmdemo.model.User;
public class SuperUserViewModel extends UserViewModel
{
public SuperUserViewModel(User model)
{
super(model);
}
public String getGroup()
{
return... | 140 |
7,353 | /**
* @file PacketPassInterface.h
* @author <NAME> <<EMAIL>>
*
* @section LICENSE
*
* 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... | 2,754 |
5,169 | <reponame>Gantios/Specs
{
"name": "SmyteSDK-Test",
"version": "0.1.0",
"summary": "An SDK for integrating Smyte.com API into your iOS Project.",
"description": "This is the test framework for SmyteSDK.",
"homepage": "http://www.smyte.com",
"license": "Commercial",
"authors": {
"<NAME>": "<EMAIL>"
},... | 278 |
712 | <filename>src/Vulkan/DebugUtils.cpp
#include "DebugUtils.hpp"
#include "Utilities/Exception.hpp"
namespace Vulkan {
DebugUtils::DebugUtils(VkInstance instance)
: vkSetDebugUtilsObjectNameEXT_(reinterpret_cast<PFN_vkSetDebugUtilsObjectNameEXT>(vkGetInstanceProcAddr(instance, "vkSetDebugUtilsObjectNameEXT")))
{
#ifnd... | 182 |
473 | #!/usr/bin/env python
from generator.actions import Actions
import random
import struct
import ctypes
import string
MAX_USER_PLAYLISTS = 10
def kaprica_mixin(self):
if hasattr(self, 'xlat_seed'):
return
def xlat_seed(seed):
def hash_string(seed):
H = 0x314abc86
for c ... | 8,287 |
988 | package com.mojang.datafixers.util;
import java.util.function.BiFunction;
import java.util.function.Function;
public interface Function4<T1, T2, T3, T4, R> {
R apply(T1 t1, T2 t2, T3 t3, T4 t4);
default Function<T1, Function3<T2, T3, T4, R>> curry() {
return t1 -> (t2, t3, t4) -> apply(t1, t2, t3, t4... | 299 |
562 | #include <ecos/ecos.h>
#include <stdio.h>
int main(void) {
printf("ECOS version %s\n", ECOS_ver());
return 0;
}
| 58 |
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.
#ifndef IOS_CHROME_BROWSER_UI_TABLE_VIEW_TABLE_VIEW_ANIMATOR_H_
#define IOS_CHROME_BROWSER_UI_TABLE_VIEW_TABLE_VIEW_ANIMATOR_H_
#import <UIKit/UIKit.h>
... | 234 |
4,313 | {
"compilerOptions": {
"strict": true,
"sourceMap": true,
"target": "ES2018",
"alwaysStrict": true,
"outDir": "../out"
},
"files": [
"background.ts",
"debuggee.ts",
"interception.ts",
"request.ts",
"load.ts",
],
} | 114 |
310 | <gh_stars>100-1000
{
"name": "YoruFukurou",
"description": "A Twitter client for the Mac.",
"url": "https://sites.google.com/site/yorufukurou/"
} | 61 |
575 | <gh_stars>100-1000
// Copyright 2021 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// 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-... | 429 |
348 | <gh_stars>100-1000
{"nom":"Vieux","circ":"6ème circonscription","dpt":"Calvados","inscrits":513,"abs":227,"votants":286,"blancs":40,"nuls":12,"exp":234,"res":[{"nuance":"REM","nom":"<NAME>","voix":171},{"nuance":"FN","nom":"<NAME>","voix":63}]} | 98 |
461 | <filename>habu/cli/cmd_config_show.py
#!/usr/bin/env python3
import json
import click
from habu.lib.loadcfg import loadcfg
@click.command()
@click.option('-k', '--show-keys', is_flag=True, default=False, help='Show also the key values')
@click.option('--option', nargs=2, help='Write to the config(KEY VALUE)')
def ... | 377 |
1,275 | <filename>sdk/tests/c_tests/readdir_test.c
/*
* Amazon FPGA Hardware Development Kit
*
* Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Amazon Software License (the "License"). You may not use
* this file except in compliance with the License. A copy of the License ... | 2,149 |
988 | <reponame>JoachimRohde/netbeans
/*
* 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, Vers... | 715 |
3,266 | <reponame>DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials<filename>java/java2py/antlr-3.1.3/runtime/ObjC/Framework/examples/treerewrite/TreeRewriteParser.h
// $ANTLR 3.1b1 TreeRewrite.g 2007-11-04 03:34:43
#import <Cocoa/Cocoa.h>
#import <ANTLR/ANTLR.h>
#pragma mark Tokens
#define Tr... | 413 |
1,217 | <gh_stars>1000+
#pragma once
#include "OpenGL/OpenGLGraphicsManager.hpp"
#include "OpenGL/OpenGLPipelineStateManager.hpp"
namespace My {
GraphicsManager* g_pGraphicsManager =
static_cast<GraphicsManager*>(new OpenGLGraphicsManager);
IPipelineStateManager* g_pPipelineStateManager =
static_cast<IPipelineStateMan... | 125 |
981 | <gh_stars>100-1000
/*******************************************************************
* File automatically generated by rebuild_wrappers.py (v2.1.0.16) *
*******************************************************************/
#ifndef __wrappedlibmDEFS_H_
#define __wrappedlibmDEFS_H_
#endif // __wrappedlibmDEFS_H_
| 85 |
785 | <reponame>itzujun/Baby<gh_stars>100-1000
package com.ozj.baby.mvp.views.home.fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageVi... | 1,200 |
1,438 | <reponame>YunWisdom/Dex
package com.dexvis.util;
public class ConsoleLogger
{
public void println(String msg)
{
System.err.println(msg);
}
}
| 62 |
3,793 | /*
---------------------------------------------------------------------------
Copyright (c) 2002, Dr <NAME> < >, Worcester, UK.
All rights reserved.
LICENSE TERMS
The free distribution and use of this software in both source and binary
form is allowed (with or without changes) provided that:
... | 953 |
313 | /*
* Copyright 2018 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 2,654 |
1,056 | <filename>ide/editor.document/src/org/netbeans/modules/editor/lib2/document/DocumentInternalUtils.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 copyright ownershi... | 912 |
396 | import logging
import traceback
import requests
import settings
from functions.smtp.send_email import send_email
from slack_functions import slack_post_message
from functions.pagerduty.send_pagerduty import send_pagerduty
skyline_app = 'thunder'
skyline_app_logger = '%sLog' % skyline_app
logger = logging.getLogger(sk... | 2,627 |
575 | // 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.
#include "gpu/vulkan/vulkan_fence_helper.h"
#include "base/bind.h"
#include "base/logging.h"
#include "gpu/vulkan/vulkan_device_queue.h"
#include "gp... | 4,056 |
1,233 | /*
* Copyright 2019 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 4,277 |
4,457 | //
// AAPlotBandsElement.h
// AAChartKitDemo
//
// Created by AnAn on 2018/12/23.
// Copyright © 2018 <NAME>. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//***... | 732 |
2,885 | import os
import re
def read_version():
with open(os.path.join('freezegun', '__init__.py')) as f:
m = re.search(r'''__version__\s*=\s*['"]([^'"]*)['"]''', f.read())
if m:
return m.group(1)
raise ValueError("couldn't find version")
def create_tag():
from subprocess import ... | 242 |
1,338 | <gh_stars>1000+
//------------------------------------------------------------------------------
// LocalTestObject.h
//
//------------------------------------------------------------------------------
#ifndef LOCALTESTOBJECT_H
#define LOCALTESTOBJECT_H
// Standard Includes -------------------------------------------... | 259 |
1,738 | <reponame>brianherrera/lumberyard<filename>dev/Code/Framework/AzCore/Tests/Serialization/Json/JsonSerializationTests.h
/*
* 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
* distribu... | 1,195 |
380 | <reponame>tanisha-bhadani/hacktoberfest2021-1
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
import java.util.Comparator;
/**
*
*
* @author <NAME>
* @version 11-10-2020
*/
public class TrainStation
{
private String city;
private ArrayLi... | 1,098 |
333 | """
A package for managing the distributed execution of long running jobs.
"""
| 17 |
14,668 | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/fuchsia/audio/fake_audio_device_enumerator.h"
#include "base/logging.h"
namespace media {
FakeAudioDeviceEnumerator::FakeAudioDeviceEnu... | 453 |
2,062 | #include <litc.h>
static char buf[512];
int main(int argc, char **argv)
{
char *fn = "/bigfile.txt";
int fd;
if ((fd = open(fn, O_RDONLY, 0)) < 0)
errx(-1, "open");
int i;
int ret;
int blks = 1000;
for (i = 0; i < blks; i++) {
printf("read %d\n", i);
size_t c = sizeof(buf);
size_t e = c;
if ((ret = ... | 280 |
954 | package com.jdon.util;
import java.net.URLEncoder;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
... | 4,194 |
1,269 | package com.module.chiclaim.com.fragment;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragmen... | 963 |
22,688 | /******************************************************************************
* Copyright 2020 The Apollo 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
... | 1,016 |
778 | //--------------------------------------------------------------------------------------------------------------------//
// //
// Tuplex: Blazing Fast Python Data Scien... | 2,034 |
679 | <reponame>Grosskopf/openoffice
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The... | 2,631 |
1,895 | package com.baomidou.samples.performance.mapper;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.samples.performance.entity.Student;
/**
* 学生Mapper层
* @author nieqiurong 2018/8/11 20:21.
*/
@Mapper
public interface StudentMapper extends Base... | 130 |
1,391 | <filename>src/lib9/fmt/fmtfdflush.c
/* Copyright (c) 2002-2006 <NAME>; see LICENSE */
#include <stdarg.h>
#include <unistd.h>
#include "plan9.h"
#include "fmt.h"
#include "fmtdef.h"
/*
* generic routine for flushing a formatting buffer
* to a file descriptor
*/
int
__fmtFdFlush(Fmt *f)
{
int n;
n = (char*)f->to ... | 192 |
3,702 | <reponame>impira/yugabyte-db<filename>managed/src/main/java/com/yugabyte/yw/commissioner/tasks/subtasks/CreateAlertDefinitions.java
// Copyright (c) YugaByte, Inc.
package com.yugabyte.yw.commissioner.tasks.subtasks;
import com.yugabyte.yw.commissioner.BaseTaskDependencies;
import com.yugabyte.yw.commissioner.tasks.U... | 798 |
536 | <filename>src/main/java/freemarker/ext/beans/MemberSelectorListMemberAccessPolicy.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 copyright ownership. The ASF lice... | 7,950 |
571 | <gh_stars>100-1000
/***************************************************************************
Copyright 2015 Ufora 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://w... | 4,360 |
1,068 | <reponame>systemmonkey42/KiTTY<gh_stars>1000+
/*
* PLink - a Windows command-line (stdin/stdout) variant of PuTTY.
*/
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <stdarg.h>
#define PUTTY_DO_GLOBALS /* actually _define_ globals */
#include "putty.h"
#include "storage.h"
#include "tree2... | 10,882 |
7,482 | <filename>bsp/imx6sx/iMX6_Platform_SDK/sdk/include/mx6sdl/registers/regssdmaarm.h
/*
* Copyright (c) 2012, Freescale Semiconductor, Inc.
* All rights reserved.
*
* THIS SOFTWARE IS PROVIDED BY FREESCALE "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MER... | 46,780 |
1,428 | <gh_stars>1000+
class A
{
public static void main(String arg[])
{
System.out.println("Class A");
}
}
class B
{
void display()
{System.out.println("HELOO B");
}
}
class C
{
void display()
{System.out.println("c class");
System.out.println("HELOO C");
}
}
| 105 |
823 | /*
* $Id$
*
* Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium
* Copyright (c) 2002-2014, Professor <NAME>
* Copyright (c) 2010-2011, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the foll... | 3,620 |
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,922 |
3,603 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | 1,857 |
335 | <filename>E/Egalitarian_noun.json
{
"word": "Egalitarian",
"definitions": [
"A person who advocates or supports the principle of equality for all people."
],
"parts-of-speech": "Noun"
} | 79 |
2,151 | <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 "services/audio/test/fake_group_member.h"
#include <algorithm>
#include <cmath>
#include "base/numerics/math_constants.h"
#incl... | 797 |
1,076 | <filename>d912pxy/d912pxy_trimmed_pso.cpp
/*
MIT License
Copyright(c) 2018-2020 megai2
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
... | 2,518 |
348 | {"nom":"Replonges","circ":"4ème circonscription","dpt":"Ain","inscrits":2688,"abs":1507,"votants":1181,"blancs":50,"nuls":21,"exp":1110,"res":[{"nuance":"REM","nom":"<NAME>","voix":740},{"nuance":"FN","nom":"<NAME>","voix":370}]} | 92 |
634 | /*
* Copyright 2004-2005 <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 w... | 762 |
1,510 | /*
* 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,271 |
997 | <reponame>mkannwischer/PQClean
#ifndef PQCLEAN_SPHINCSSHA256256FROBUST_CLEAN_PARAMS_H
#define PQCLEAN_SPHINCSSHA256256FROBUST_CLEAN_PARAMS_H
/* Hash output length in bytes. */
#define PQCLEAN_SPHINCSSHA256256FROBUST_CLEAN_N 32
/* Height of the hypertree. */
#define PQCLEAN_SPHINCSSHA256256FROBUST_CLEAN_FULL_HEIGHT 68
... | 1,477 |
14,668 | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/web_applications/draggable_region_host_impl.h"
#include "base/feature_list.h"
#include "chrome/browser/ui/browser.h"
#include... | 873 |
1,825 | package com.github.unidbg.ios.struct.kernel;
import com.github.unidbg.pointer.UnidbgStructure;
import com.sun.jna.Pointer;
import java.util.Arrays;
import java.util.List;
public class AslServerMessageRequest extends UnidbgStructure {
public AslServerMessageRequest(Pointer p) {
super(p);
}
publi... | 204 |
419 | #include "Ammo.h"
//-------------------------------------------------------------------------
#include "Engine/Physics/PhysicsLayers.h"
#include "Engine/Physics/PhysicsQuery.h"
#include "Engine/Physics/PhysicsScene.h"
#include "System/Core/Types/Color.h"
//---------------------------------------------------------------... | 670 |
765 | // To avoid linking MSVC specific libs, we don't test virtual/override methods
// that needs vftable support in this file.
// Enum.
enum Enum { RED, GREEN, BLUE };
Enum EnumVar;
// Union.
union Union {
short Row;
unsigned short Col;
int Line : 16; // Test named bitfield.
short : 8; // Unnamed bitfield sym... | 753 |
4,262 | <filename>components/camel-salesforce/camel-salesforce-component/src/test/resources/globalObjects.json
{"encoding":"UTF-8","maxBatchSize":200,"sobjects":[{"activateable":false,"createable":false,"custom":false,"customSetting":false,"deletable":false,"deprecatedAndHidden":false,"feedEnabled":false,"keyPrefix":null,"labe... | 940 |
945 | /*
* 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,697 |
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 ... | 717 |
480 | <reponame>christoph-heiss/mlibc
#include <bits/ensure.h>
#include <signal.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <errno.h>
#include <hel.h>
#include <hel-syscalls.h>
#include <mlibc/debug.hpp>
#include <mlibc/allocator.hpp>
#include <mlibc/posix-pipe.hpp>
#include <mlibc/all-sysdeps.h... | 1,696 |
1,037 | <filename>fancycoverflow-demo/src/com/mingy/fancycoverflow/base/FancyCoverFlowBaseAdapter.java
package com.mingy.fancycoverflow.base;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import at.technikum.mti.fancycoverflow.FancyCoverFlow;
import a... | 495 |
4,816 | <reponame>mehrdad-shokri/retdec<gh_stars>1000+
/**
* @file include/retdec/llvmir2hll/ir/ufor_loop_stmt.h
* @brief A universal for loop statement.
* @copyright (c) 2017 Avast Software, licensed under the MIT license
*/
#ifndef RETDEC_LLVMIR2HLL_IR_UFOR_LOOP_STMT_H
#define RETDEC_LLVMIR2HLL_IR_UFOR_LOOP_STMT_H
#include... | 899 |
647 | <reponame>gilbertguoze/trick
#include <string.h>
#include "DPM_outputs.hh"
// MEMBER FUNCTION
int DPM_outputs::Initialize( xmlNode *base_node) {
int n_measurements;
if (base_node == NULL) {
std::cerr << "ERROR: DPM_outputs::Initialize: Bad parameters." << std::endl;
return -1;
}
if... | 1,386 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.