max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
928 | <gh_stars>100-1000
package metacall;
import java.nio.file.Paths;
import java.util.*;
import com.sun.jna.ptr.PointerByReference;
import metacall.util.*;
class Loader implements Runtime{
int code;
void loadFilesUnsafe(Runtime runtime, Vector<String> filePaths, Optional<PointerByReference> handleRef) throws Exception... | 296 |
531 | <gh_stars>100-1000
package org.jpype.missing;
public class Test
{
}
| 27 |
709 | <filename>blocklytest/src/androidTest/java/com/google/blockly/model/FieldColorTest.java
/*
* Copyright 2016 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... | 1,360 |
679 | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 3,110 |
568 | <reponame>mauroere/opencv
#include "library/Class.hpp"
int main()
{
lib::Class example(10);
return 0;
}
| 51 |
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 COMPONENTS_SUBRESOURCE_FILTER_CONTENT_BROWSER_UNINDEXED_RULESET_STREAM_GENERATOR_H_
#define COMPONENTS_SUBRESOURCE_FILTER_CONTENT_BROWSER_UNINDEXE... | 813 |
848 | <reponame>hito0512/Vitis-AI<gh_stars>100-1000
/*
Copyright 2019 Xilinx Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applic... | 485 |
1,405 | <gh_stars>1000+
package android.support.v4.view.accessibility;
import android.os.Bundle;
import android.view.accessibility.AccessibilityNodeInfo;
import android.view.accessibility.AccessibilityNodeProvider;
import java.util.List;
class AccessibilityNodeProviderCompatJellyBean {
/* access modifiers changed from: ... | 620 |
488 | // -*- mode:C++; tab-width:8; indent-tabs-mode:nil -*-
/*!
\defgroup ROSEHPCT_PROFIR ROSE-HPCT Profile IR
\ingroup ROSEHPCT
This submodule provides a basic abstract representation
of the HPCTookit profile data, which we refer to as the
"profile IR" (or ProfIR). The ProfIR represents a program in
terms of just the fol... | 3,116 |
1,144 | <gh_stars>1000+
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or... | 1,195 |
571 | package com.baidu.aip.easydl;
import com.baidu.aip.client.BaseClient;
import com.baidu.aip.error.AipError;
import com.baidu.aip.http.AipRequest;
import com.baidu.aip.http.EBodyFormat;
import com.baidu.aip.http.Headers;
import com.baidu.aip.http.HttpCharacterEncoding;
import com.baidu.aip.http.HttpContentType;
import c... | 1,577 |
462 | <reponame>matvaibhav/pensieve<filename>abr_browser_dir/chrome_data_dir/Default/Extensions/ghbmnnjooekpmoecnnnilnnbdlolhkhi/1.4_0/_locales/ro/messages.json
{
"extdesc": {
"message": "Lucrați offline cu familia de produse Documente Google."
},
"extname": {
"message": "Documente Google Offline"
}
}... | 139 |
1,875 | /*
* 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 io.flutter.run;
import com.intellij.util.xmlb.SkipDefaultValuesSerializationFilters;
import com.intellij.util.xmlb.XmlSerializer;
import or... | 1,163 |
2,285 | import time
import uuid
from itertools import zip_longest
from unittest import TestCase
from unittest.mock import patch, call, Mock, ANY
from botocore.exceptions import ClientError
from parameterized import parameterized
from samcli.lib.observability.xray_traces.xray_event_puller import XRayTracePuller
class TestXr... | 4,576 |
592 | {
"name": "graffiti",
"version": "0.2.0",
"description": "Cross-platform GUI toolkit for node.js",
"type": "module",
"main": "./lib/index.js",
"author": "<NAME> <<EMAIL>>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/cztomsik/graffiti.git"
},
"dependencies... | 568 |
707 | <reponame>luciferldy/EverMemo
package com.zhan_dui.data;
import java.io.Serializable;
import android.content.ContentValues;
import android.database.Cursor;
import com.evernote.client.android.EvernoteUtil;
import com.evernote.edam.type.Note;
import com.zhan_dui.utils.Logger;
public class Memo implements Serializable... | 2,946 |
575 | <filename>components/download/internal/common/all_download_event_notifier_unittest.cc
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/download/public/common/all_download_event_notif... | 1,837 |
542 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/socket.h>
#include <signal.h>
#include <fcntl.h>
#include <unistd.h>
#include <dirent.h>
#include <event2/event.h>
#include <event2/http.h>
#include <event2/buffer.h>
#include <event2/util.h>
#include ... | 1,395 |
5,169 | <filename>Specs/1/3/1/PullToReach/0.1.1/PullToReach.podspec.json<gh_stars>1000+
{
"name": "PullToReach",
"version": "0.1.1",
"summary": "PullToReach is a simple drag-and-drop solution for implementing pull-to-reach.",
"module_name": "PullToReach",
"description": "PullToReach is a simple drag-and-drop solution... | 352 |
688 | # Copyright 2022 The Scenic 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 applicable law or agreed to in w... | 359 |
412 | <reponame>tobireinhard/cbmc
/*******************************************************************\
Module: Memory model for partial order concurrency
Author: <NAME>, <EMAIL>
\*******************************************************************/
/// \file
/// Memory model for partial order concurrency
#include "memor... | 481 |
2,151 | // 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 CHROMEOS_COMPONENTS_PROXIMITY_AUTH_MESSENGER_IMPL_H_
#define CHROMEOS_COMPONENTS_PROXIMITY_AUTH_MESSENGER_IMPL_H_
#include <memory>
#include "ba... | 1,407 |
8,148 | #pragma once
#include "d3d11_include.h"
namespace dxvk {
class D3D11DeviceContext;
class D3D11UserDefinedAnnotation : ID3DUserDefinedAnnotation {
public:
D3D11UserDefinedAnnotation(D3D11DeviceContext* ctx);
~D3D11UserDefinedAnnotation();
ULONG STDMETHODCALLTYPE AddRef();
ULONG STDMETHO... | 414 |
606 | #ifndef IOPLIB_H
#define IOPLIB_H
#include <loadcore.h>
iop_library_t *ioplib_getByName(char *name);
unsigned int ioplib_getTableSize(iop_library_t *lib);
void *ioplib_hookExportEntry(iop_library_t *lib, unsigned int entry, void *func);
void ioplib_relinkExports(iop_library_t *lib);
#endif
| 115 |
3,227 | // Copyright (c) 2006 Foundation for Research and Technology-Hellas (Greece).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
//
// $URL$
// $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial
//
//
// Author(s) : <NAME> <<EMAIL>>
#ifndef CGAL_VORONOI_DIAGRAM_2_SEGMEN... | 4,886 |
692 | # upip - Package manager for MicroPython
# SPDX-FileCopyrightText: Copyright (c) 2015-2018 <NAME>
# SPDX-FileCopyrightText: 2014 MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)
#
# SPDX-License-Identifier: MIT
import sys
import gc
import uos as os
import uerrno... | 4,162 |
1,345 | <filename>custom-interfaces/video-segmentation-beaverdam/beaverdam/urls.py
from django.conf.urls import url
from django.conf.urls.static import static
from django.contrib import admin
from django.contrib.auth.views import login, logout
from django.views.generic.base import RedirectView
from annotator.views import *
fr... | 586 |
22,481 | <filename>homeassistant/components/neato/translations/ca.json
{
"config": {
"abort": {
"already_configured": "El dispositiu ja est\u00e0 configurat",
"authorize_url_timeout": "Temps d'espera esgotat durant la generaci\u00f3 de l'URL d'autoritzaci\u00f3.",
"missing_configu... | 540 |
582 | // Copyright (C) 2010-2016 <NAME>
// Distributed under the MIT license, see the LICENSE file for details.
#ifndef CHROMAPRINT_FFT_LIB_KISSFFT_H_
#define CHROMAPRINT_FFT_LIB_KISSFFT_H_
#include <tools/kiss_fftr.h>
#include "fft_frame.h"
#include "utils.h"
namespace chromaprint {
class FFTLib {
public:
FFTLib(size... | 323 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-77pw-c3j2-5fc8",
"modified": "2021-04-22T23:18:16Z",
"published": "2021-04-30T17:34:03Z",
"aliases": [
"CVE-2020-13952"
],
"summary": "Plaintext password leak in Apache Superset",
"details": "In the course of work on the open source project it was discovered ... | 807 |
323 | <reponame>YANG-DB/netflix-graph
/*
* Copyright 2013 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
*... | 790 |
459 | /**
* @file oglplus/texture_filter.hpp
* @brief Texture magnification/minification filter enumerations
*
* @author <NAME>
*
* Copyright 2010-2015 <NAME>. Distributed under the Boost
* Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
... | 219 |
1,133 | /*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2001-2003
* Sleepycat Software. All rights reserved.
*/
#include "db_config.h"
#ifndef lint
static const char revid[] = "$Id: db_truncate.c,v 11.195 2003/07/02 15:39:51 bostic Exp $";
#endif /* not lint */
#ifndef NO_SYSTEM_INCLUDES
#... | 2,052 |
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.
#ifndef CHROME_BROWSER_ENTERPRISE_SIGNALS_CONTEXT_INFO_FETCHER_H_
#define CHROME_BROWSER_ENTERPRISE_SIGNALS_CONTEXT_INFO_FETCHER_H_
#include <string>
#in... | 1,347 |
5,079 | <filename>desktop/core/ext-py/nose-1.3.7/functional_tests/doc_tests/test_selector_plugin/support/tests/strings/cat.py
import testlib
from mypackage import strings
class StringsCat(testlib.Base):
def test_cat(self):
self.assertEqual(strings.cat('one', 'two'), 'onetwo')
def test_helper_function():
rai... | 140 |
373 | <reponame>ADLINK/edk2-platforms
/** @file
PCH configuration based on PCH policy
Copyright (c) 2019 Intel Corporation. All rights reserved. <BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef _PCH_POLICY_COMMON_H_
#define _PCH_POLICY_COMMON_H_
#include <ConfigBlock.h>
#include <ConfigBloc... | 537 |
587 | <filename>src/bin/exrheader/main.cpp
//
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) Contributors to the OpenEXR Project.
//
//-----------------------------------------------------------------------------
//
// Utility program to print an image file's header
//
//------------------------------------------... | 7,886 |
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.
#include "third_party/blink/renderer/modules/breakout_box/pushable_media_stream_video_source.h"
#include "third_party/blink/public/mojom/mediastream/medi... | 1,631 |
603 | /******************************************************************************
* Multiverse 2 Copyright (c) the Multiverse Team 2011. *
* Multiverse 2 is licensed under the BSD License. *
* For more information please check the README.md file included *
... | 1,813 |
2,842 | <reponame>lukaprsina/Vulkan-Samples<filename>samples/performance/async_compute/async_compute.cpp<gh_stars>1000+
/* Copyright (c) 2021, Arm Limited and Contributors
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 the "License";
* you may not use this file except in complia... | 14,734 |
2,816 | import duckdb
import pandas as pd
import numpy
class TestPandasString(object):
def test_pandas_string(self, duckdb_cursor):
strings = numpy.array(['foo', 'bar', 'baz'])
# https://pandas.pydata.org/pandas-docs/stable/user_guide/text.html
df_in = pd.DataFrame({
'object': pd.Serie... | 576 |
623 | /*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2014 The ZAP Development Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... | 1,030 |
3,049 | import torch
from seldon_core.user_model import SeldonComponent
from seldon_core import Storage
import os
import logging
logger = logging.getLogger(__name__)
MODEL_FILE_NAME = "model.pt"
class TorchServer(SeldonComponent):
def __init__(self, model_uri):
super().__init__()
self.model_uri = mo... | 291 |
6,181 | <reponame>madanagopaltcomcast/pxCore<gh_stars>1000+
/* Copyright (c) 2006, 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... | 3,240 |
444 | #/u/GoldenSights
import praw # simple interface to the reddit API, also handles rate limiting of requests
import time
import sqlite3
import random
'''USER CONFIGURATION'''
USERNAME = ""
#This is the bot's Username. In order to send mail, he must have some amount of Karma.
PASSWORD = ""
#This is the bot's Password. ... | 1,291 |
36,552 | /*
*
* Copyright 2016 gRPC 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 applicable law or agree... | 27,498 |
769 | <reponame>DeepFlyingSky/circt
//===- HandshakeDialect.h - Handshake dialect declaration -------*- C++ -*-===//
//
// 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 LLVM-exception
//
//... | 349 |
1,437 | import sys
import os
size = "24"
save_dir = "./" + size
if not os.path.exists(save_dir):
os.mkdir(save_dir)
has_pts = False
num = 5000
f1 = open(os.path.join(save_dir, 'pos_' + size + '.txt'), 'r')
f2 = open(os.path.join(save_dir, 'neg_' + size + '.txt'), 'r')
f3 = open(os.path.join(save_dir, 'part_' + size + '.... | 489 |
8,851 | <gh_stars>1000+
import unittest
from django.test import TestCase
from django.test.utils import override_settings
from .test_backends import BackendTests
@override_settings(WAGTAILSEARCH_BACKENDS={
'default': {
'BACKEND': 'wagtail.search.backends.database.fallback',
}
})
class TestDBBackend(BackendTe... | 973 |
784 | <filename>jforgame-orm/src/main/java/jforgame/orm/OrmProcessor.java
package jforgame.orm;
import jforgame.common.utils.ClassScanner;
import jforgame.orm.exception.OrmConfigException;
import jforgame.orm.utils.StringUtils;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
i... | 1,359 |
681 | static void cyclelayout(const Arg *arg);
| 11 |
3,976 | <gh_stars>1000+
from django.shortcuts import render
from todolist.models import List
def index(request):
if request.method == 'POST':
for key in request.POST.keys():
if key == 'newtask' and request.POST.get('newtask'):
p = List(task=request.POST['newtask'])
p.sa... | 289 |
3,212 | /*
* 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 ... | 543 |
398 | <reponame>littleSunlxy/contrastive-seg-lin
import torch
import torch.nn as nn
import torch.nn.functional as F
from functools import partial
from timm.models.layers import DropPath, to_2tuple, trunc_normal_
import math
from lib.utils.tools.logger import Logger as Log
from lib.models.tools.module_helper import ModuleHelp... | 4,836 |
1,127 | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <cmath>
#include <numeric>
#include <vector>
#include "ngraph/shape.hpp"
namespace ngraph {
namespace runtime {
namespace reference {
void shuffle_channels(const char* arg,
char* out,
... | 261 |
678 | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.
//
#import "MMFullScreenViewController.h"
#import "IMMAssetExt.h"
#import "PageScrollViewDataSource.h"
#import "PageScrollViewDelegate.h"
#import "SightAssetPreviewViewDelegate.h"
#import "... | 1,209 |
388 | class Solution {
public:
unordered_map<char,string> intToCharsMap;
void backtracking(string::iterator lf,string::iterator rt,string &path,vector<string> &result)
{
if(lf == rt)
{
result.push_back(path);
return;
}
for(auto c : intToCharsMap[*lf])
... | 602 |
645 | package monkeylord.XServer.api;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Map;
import monkeylord.XServer.XServer;
import monkeylord.XServer.handler.ClassHandler;
import monkeylord.XServer.handler.MethodHandler;
import monkeylord.XServer.handler.ObjectHandler;
import monkeylord.XServe... | 675 |
485 | <gh_stars>100-1000
{
"enexSources": [
"./test/data/test-template.enex"
],
"templateFile": "./sampleTemplate.tmpl",
"outputDir": "out",
"keepOriginalHtml": false,
"isMetadataNeeded": false,
"isNotebookNameNeeded": false,
"isZettelkastenNeeded": false,
"plainTextNotesOnly": fal... | 302 |
1,473 | package com.navercorp.pinpoint.profiler.instrument.mock;
/**
* @author jaehong.kim
*/
public interface ArgEnumAccessor {
void _$PINPOINT$_setTraceEnum(Enum e);
Enum _$PINPOINT$_getTraceEnum();
} | 88 |
14,564 | <reponame>Char-CN/datax
package com.alibaba.datax.plugin.writer.otswriter.model;
import java.util.Map;
import java.util.Map.Entry;
import com.aliyun.openservices.ots.model.PrimaryKeyValue;
public class OTSRowPrimaryKey {
private Map<String, PrimaryKeyValue> columns;
public OTSRowPrimaryKey(Map<Stri... | 789 |
3,645 | /*
* Interplay ACM decoder
*
* Copyright (c) 2004-2008 <NAME>
* Copyright (c) 2008 <NAME>
* Copyright (c) 2015 <NAME>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice ... | 8,450 |
377 | <reponame>gburd/Kundera
/*******************************************************************************
* * Copyright 2012 Impetus Infotech.
* *
* * 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... | 2,546 |
1,729 | <reponame>onthway/deepdive<filename>inference/dimmwitted/src/dimmwitted.cc
#include "dimmwitted.h"
#include "assert.h"
#include "bin2text.h"
#include "binary_format.h"
#include "numa_nodes.h"
#include "common.h"
#include "factor_graph.h"
#include "gibbs_sampler.h"
#include "text2bin.h"
#include <fstream>
#include <iom... | 3,943 |
7,007 | {"shader":"blinn","ambient":[0.588,0.588,0.588],"diffuse":[0.588,0.588,0.588],"diffuseMap":"../26020290/leg_clean.png","diffuseMapOffset":[0,0],"diffuseMapTiling":[1,1],"specular":[0.9,0.9,0.9],"shininess":90.9091,"emissive":[0,0,0],"emissiveMap":"../26020284/leg_E.png","emissiveMapOffset":[0,0],"emissiveMapTiling":[1,... | 551 |
1,007 | <filename>src/main/java/io/appium/java_client/ios/options/wda/SupportsUseNativeCachingStrategyOption.java<gh_stars>1000+
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* See the NOTICE file distributed with this work for additio... | 675 |
9,156 | <reponame>turtlequeue/pulsar
/**
* 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, Versio... | 1,702 |
2,112 | /**
* Autogenerated by Thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package test.fixtures.adapter;
import com.facebook.swift.codec.*;
import com.facebook.swift.codec.ThriftField.Requiredness;
import com.facebook.swift.service.*;
import com.facebook.thrift.client.*;... | 1,759 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"Camps-Saint-Mathurin-Léobazel","dpt":"Corrèze","inscrits":224,"abs":37,"votants":187,"blancs":18,"nuls":5,"exp":164,"res":[{"panneau":"1","voix":106},{"panneau":"2","voix":58}]} | 98 |
327 | <reponame>akabomb-prog/AVAb
#ifdef CONFIG_H
#include CONFIG_H
#endif
#ifdef STRUCT_C
#pragma once
#define ARRAY_C
#define CMP_C
#define HASH_C
#define HASHMAP_C
#define MAP_C
#endif
#ifndef API
#define API
#endif
#include "struct_array.c"
#include "struct_hash.c"
#include "struct_hashmap.c"
#include "struct_cmp.c"
#... | 150 |
1,072 | from cogdl.data import dataset
from cogdl.datasets import build_dataset
from cogdl.utils import build_args_from_dict
def test_oagbert_dataset():
args = build_args_from_dict({'dataset': 'aff30'})
data = build_dataset(args)
assert isinstance(data.get_data(), dict)
assert isinstance(data.get_candidates(),... | 145 |
884 | <gh_stars>100-1000
{
"documentVersion": "1.4",
"jsonSchemaSemanticVersion": "1.0.0",
"imports": [
{
"corpusPath": "/core/cdsConcepts.cdm.json"
},
{
"corpusPath": "/core/wellKnownCDSAttributeGroups.cdm.json"
},
{
"corpusPath": "/core/applicationCommon/foundationCommon/crmCommo... | 1,318 |
331 | <filename>fuzzyc2cpg/src/test/java/io/shiftleft/fuzzyc2cpg/antlrparsers/moduleparser/FunctionParameterTests.java
package io.shiftleft.fuzzyc2cpg.antlrparsers.moduleparser;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import io.shiftleft.fuzzyc2cpg.ModuleParser;
import org.a... | 1,058 |
917 | <gh_stars>100-1000
package io.bxbxbai.zhuanlan.core;
import java.util.List;
import io.bxbxbai.zhuanlan.bean.Post;
import io.bxbxbai.zhuanlan.bean.User;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;
/**
* Created by xuebin on 15/12/19.
*/
public interface... | 266 |
421 | <reponame>hamarb123/dotnet-api-docs<filename>samples/snippets/cpp/VS_Snippets_Winforms/Classic DateTimePicker.CustomFormat Example/CPP/source.cpp
#using <System.dll>
#using <System.Windows.Forms.dll>
#using <System.Drawing.dll>
#using <System.Data.dll>
using namespace System;
using namespace System::Data;
using... | 290 |
2,151 | /*
* Copyright 2016 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | 378 |
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 ... | 756 |
1,006 | <reponame>eenurkka/incubator-nuttx
/****************************************************************************
* boards/arm/cxd56xx/spresense/include/cxd56_power.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this... | 1,753 |
777 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "modules/webaudio/AudioWorklet.h"
#include "bindings/core/v8/V8Binding.h"
#include "core/dom/Document.h"
#include "core/frame/LocalFrame.h"
#inc... | 449 |
379 | // Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 689 |
1,592 | <filename>source/controlTypes/isCurrent.py
# A part of NonVisual Desktop Access (NVDA)
# This file is covered by the GNU General Public License.
# See the file COPYING for more details.
# Copyright (C) 2007-2021 NV Access Limited, Babbage B.V.
from typing import Dict
from utils.displayString import DisplayStri... | 613 |
1,442 | #ifndef ESCHER_APP_H
#define ESCHER_APP_H
#include <escher/modal_view_controller.h>
#include <escher/image.h>
#include <escher/i18n.h>
#include <escher/responder.h>
#include <escher/timer.h>
#include <escher/view_controller.h>
#include <escher/warning_controller.h>
#include <ion/storage.h>
#include <poincare/context.h... | 999 |
571 | package de.gurkenlabs.litiengine.util;
import java.awt.Font;
public class FontUtilities {
private FontUtilities() {
throw new UnsupportedOperationException();
}
public static Font getFallbackFontIfNecessary(
final String stringToWrite,
final float textSize,
final Font primar... | 242 |
558 | # SPDX-License-Identifier: Apache-2.0
#
# Copyright (C) 2021 Micron Technology, Inc. All rights reserved.
import os
import subprocess
from tools import config
from tools.helpers import shlex_join
def _spawn(dest_dir, args, logname):
logbase = os.path.join(dest_dir, logname)
out = f"{logbase}.out"
cmdlin... | 466 |
14,668 | #!/usr/bin/env python
# Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
import sys
import unittest
import PRESUBMIT
sys.path.append(
os.path.join(os.path.dirname(os.path.abspath(__file__)), '... | 599 |
348 | # coding: utf-8
def test_sptk():
assert 1 == 1
| 25 |
4,985 | <reponame>amsterdatech/yasea_rmtp
/*
* Copyright 2012 <NAME>, Hamburg
*
* 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 requ... | 1,093 |
1,091 | <reponame>MohiK98/onos
/*
* Copyright 2016-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
*
* U... | 6,371 |
35,134 | package com.airbnb.lottie.parser;
import androidx.annotation.Nullable;
import com.airbnb.lottie.LottieComposition;
import com.airbnb.lottie.model.content.ContentModel;
import com.airbnb.lottie.parser.moshi.JsonReader;
import com.airbnb.lottie.utils.Logger;
import java.io.IOException;
class ContentModelParser {
p... | 1,193 |
5,823 | /*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 850 |
503 | package service;
import com.feth.play.module.pa.service.UserServicePlugin;
import com.feth.play.module.pa.user.AuthUser;
import com.feth.play.module.pa.user.AuthUserIdentity;
import com.feth.play.module.pa.user.BasicIdentity;
import controllers.UserApp;
import models.User;
import models.UserCredential;
import models.e... | 1,428 |
713 | <filename>core/src/test/java/org/infinispan/test/op/TestFunctionalWriteOperation.java
package org.infinispan.test.op;
import static org.infinispan.container.versioning.InequalVersionComparisonResult.EQUAL;
import static org.infinispan.functional.FunctionalTestUtils.rw;
import java.util.concurrent.CompletionStage;
im... | 3,140 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"<NAME>","circ":"1ère circonscription","dpt":"Morbihan","inscrits":678,"abs":389,"votants":289,"blancs":11,"nuls":11,"exp":267,"res":[{"nuance":"REM","nom":"<NAME>","voix":177},{"nuance":"LR","nom":"Mme <NAME>","voix":90}]} | 110 |
2,100 | /*
* Copyright (C) 2017 Google 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 agree... | 1,905 |
355 | <reponame>atteneder/KTX-Software<filename>tests/loadtests/common/LoadTestSample.cpp
/* -*- tab-width: 4; -*- */
/* vi: set sw=2 ts=4 expandtab: */
/*
* Copyright 2017-2020 <NAME>.
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @internal
* @class LoadTestSample
* @~English
*
* @brief Definition of a base class... | 3,101 |
1,276 | #include <iostream>
#include <thread>
#include <mutex>
#include <condition_variable>
int main() {
std::condition_variable cv;
std::mutex mtx;
bool ready = false;
std::thread t1([&] {
std::unique_lock lck(mtx);
cv.wait(lck, [&] { return ready; });
std::cout << "t1 is awake" << ... | 262 |
392 | /*******************************************************************************
* Copyright (c) 2015
*
* 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 withou... | 562 |
663 | <reponame>mchelen-gov/integrations-core
{
"display_name": "<NAME>",
"maintainer": "<EMAIL>",
"manifest_version": "1.0.0",
"name": "nvidia_jetson",
"metric_prefix": "nvidia.jetson.",
"metric_to_check": "nvidia.jetson.mem.used",
"creates_events": false,
"short_description": "Get metrics about your Nvidia ... | 372 |
3,459 | #ifndef __MDFN_MDCD_INTERRUPT_H
#define __MDFN_MDCD_INTERRUPT_H
bool MDCD_InterruptGetMask(int level);
bool MDCD_InterruptGetAsserted(int level);
int MDCD_InterruptAck(int level);
void MDCD_InterruptAssert(int level, bool status);
void MDCD_InterruptReset(void);
uint8 MDCD_InterruptRead(void);
void MDCD_InterruptWrit... | 136 |
852 | <filename>PhysicsTools/IsolationAlgos/python/MuonCalIsolation_cfi.py<gh_stars>100-1000
import FWCore.ParameterSet.Config as cms
#
# MuonCalIsolationProducer
# -> isolation of muons against the sum of transverse energy depositions in the calorimeter
#
MuonCalIsolation = cms.EDProducer("MuonCalIsolationProducer",
... | 356 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.