max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
4,054
<filename>modules/lwjgl/vma/src/generated/java/org/lwjgl/util/vma/VmaDefragmentationInfo2.java /* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.util.vma; import javax.annotation.*; import java.nio.*; import org.lw...
10,875
388
<reponame>SmllXzBZ/winnie # Python 2 and 3 from construct import * gsym = Struct( "leaf_type" / Int16ul, "data" / Switch( lambda ctx: ctx.leaf_type, { 0x110E: "data_v3" / Struct( "symtype" / Int32ul, "offset" / Int32ul, "segment" / In...
812
550
<filename>site/package.json { "name": "twoslash-site", "version": "0.1.4", "private": true, "scripts": { "dev": "next dev", "bootstrap": "yarn twoslash --sourceAlso examples/* examples/render; json -I -f ../packages/remark-shiki-twoslash/node_modules/shiki/package.json -e 'this.browser = { fs: false, p...
708
343
<reponame>edamato/go-graphviz<gh_stars>100-1000 /* $Id$ $Revision$ */ /* vim:set shiftwidth=4 ts=8: */ /************************************************************************* * Copyright (c) 2011 AT&T Intellectual Property * All rights reserved. This program and the accompanying materials * are made available u...
2,821
3,913
"""This library is used to create data on-the-fly for VAD. Authors * <NAME> 2020 """ import torch import torchaudio import random # fade-in/fade-out definition fade_in = torchaudio.transforms.Fade(fade_in_len=1000, fade_out_len=0) fade_out = torchaudio.transforms.Fade(fade_in_len=0, fade_out_len=1000) def add_chu...
5,442
771
#!/usr/bin/env python import json import requests def main(): endpoint = "http://127.0.0.1:8500" # Load json file json_filename = "prostate_test_data.json" with open(json_filename, "r") as f: pandas_json_data = json.load(f) json_data = json.loads(pandas_json_data) input_data = { "model_na...
224
1,467
{ "date": "2019-03-20", "version": "2.5.13", "entries": [ { "category": "Amazon Cognito Identity", "type": "feature", "description": "This release adds tags and tag-based access control support to Amazon Cognito Identity Pools (Federated Identities)." }, ...
644
473
/* Copyright (c) 2009-2016, <NAME> All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause */ #ifndef EL_SCHUR_HESS_MULTIBULGE_SWEEP_INTRA_BLOCK_CHASE_HPP #d...
7,126
480
/* * Copyright [2013-2021], Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
300
336
<reponame>radomd92/wiktextract # Extracting the category tree from Wiktionary # # Copyright (c) 2021 <NAME>. See file LICENSE and https://ylonen.org import re from wikitextprocessor import Wtp from .config import WiktionaryConfig from .page import clean_node lua_code = r""" local export = {} topic_data = require("M...
1,769
1,144
/* * am335x_evm.h * * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation version 2. * * This program is distributed ...
3,864
575
<reponame>mghgroup/Glide-Browser // 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 GPU_COMMAND_BUFFER_SERVICE_GR_CACHE_CONTROLLER_H_ #define GPU_COMMAND_BUFFER_SERVICE_GR_CACHE_CONTROLLER_H_ #inc...
598
2,151
# Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """A library for cross-platform browser tests.""" import os import sys try: # This enables much better stack upon native code crashes. import faulthandle...
891
435
<filename>formalism/test060.c int f() { T c; c = 0; *c = 10; return 1; }
43
365
<filename>extern/mantaflow/preprocessed/mesh.h.reg.cpp // DO NOT EDIT ! // This file is generated using the MantaFlow preprocessor (prep link). #include "mesh.h" namespace Manta { #ifdef _C_Mesh static const Pb::Register _R_12("Mesh", "Mesh", "PbClass"); template<> const char *Namify<Mesh>::S = "Mesh"; static const ...
5,424
368
/* * Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA * * 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...
715
669
<filename>fbrp/examples/04_cfg/fsetup.py import fbrp fbrp.process( name="proc", runtime=fbrp.Conda( dependencies=["python>=3.7", {"pip": ["alephzero"]}], run_command=["python3", "proc.py"], ), cfg={ "prefix": "In the beginning... ", }, ) fbrp.process( name="api", ru...
193
876
<filename>external/rapidcheck/include/rapidcheck/gen/Arbitrary.h #pragma once #include "rapidcheck/Gen.h" namespace rc { /// Specialize this template to provide default arbitrary generators for custom /// types. Specializations should have a static method `Gen<T> arbitrary()` that /// returns a suitable generator fo...
181
335
{ "word": "Welcome", "definitions": [ "(of a guest or new arrival) gladly received.", "Very pleasing because much needed or desired.", "Allowed or invited to do a specified thing.", "Used to indicate relief at relinquishing the control or possession of something to someone else."...
124
1,668
from django import template register = template.Library() @register.inclusion_tag('foundation_form/form_label.html') def label(field): """Render foundation label.""" return {'field': field} @register.inclusion_tag('foundation_form/form_field.html') def field(field, is_admin=True, show_label=True): """R...
281
5,411
<gh_stars>1000+ /** * \file */ #ifndef _MONO_METADATA_W32EVENT_H_ #define _MONO_METADATA_W32EVENT_H_ #include <config.h> #include <glib.h> #include "object.h" #include "object-internals.h" #include "w32handle-namespace.h" #include <mono/metadata/icalls.h> void mono_w32event_init (void); gpointer mono_w32event_cr...
386
2,226
# Copyright (c) OpenMMLab. All rights reserved. # This script converts MOT labels into COCO style. # Official website of the MOT dataset: https://motchallenge.net/ # # Label format of MOT dataset: # GTs: # <frame_id> # starts from 1 but COCO style starts from 0, # <instance_id>, <x1>, <y1>, <w>, <h>, # ...
4,408
1,463
<reponame>MiCHiLU/google_appengine_sdk #!/usr/bin/env python # # Copyright 2007 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 ...
14,794
1,521
/** * The MIT License (MIT) * * Copyright (c) 2014-2017 <NAME>, 2017-2021 Ta4j Organization & respective * authors (see AUTHORS) * * 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 with...
913
474
/* Copyright 2015 Samsung Electronics Co., LTD * * 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...
945
367
<reponame>sdispater/poet # -*- coding: utf-8 -*- from ...installer import Installer from .index_command import IndexCommand class LockCommand(IndexCommand): """ Lock the dependencies specified in <comment>poetry.toml</comment>. lock {--f|force : Force locking} { --no-progress : Do not o...
258
3,212
<reponame>YolandaMDavis/nifi<filename>nifi-commons/nifi-record/src/main/java/org/apache/nifi/serialization/record/type/ChoiceDataType.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 informa...
795
2,531
<filename>examples/cpp/queries/basics/src/main.cpp #include <basics.h> #include <iostream> struct Position { double x, y; }; struct Velocity { double x, y; }; int main(int, char *[]) { flecs::world ecs; // Create a query for Position, Velocity. Queries are the fastest way to // iterate entitie...
555
833
<gh_stars>100-1000 # Copyright 2019 Google LLC # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
3,277
854
<reponame>rakhi2001/ecom7<gh_stars>100-1000 __________________________________________________________________________________________________ sample 5 ms submission class Solution { public int countBinarySubstrings(String s) { int count = 0; int count1 = 1; int count2 = 0; char[] ar...
642
474
<reponame>chenqian-dev/QNShortVideo-TuTu // // TuSDKCPComponent.h // TuSDK // // Created by <NAME> on 15/1/2. // Copyright (c) 2015年 tusdk.com. All rights reserved. // #import <Foundation/Foundation.h> #import "TuSDKCPViewController.h" /** * 组件回调结果 * * @param result 处理结果 * @param error 错误信息 * @p...
1,234
1,356
from __future__ import absolute_import from django.conf import settings from django.db import models import rules from rules.contrib.models import RulesModel class Book(models.Model): isbn = models.CharField(max_length=50, unique=True) title = models.CharField(max_length=100) author = models.ForeignKey(...
235
2,161
/* * 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 ...
872
1,261
<gh_stars>1000+ import unittest try: import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk except ImportError: import sys # If we're on Linux, Gtk *should* be available. If it isn't, make # Gtk an object... but in such a way that every test will fail, # because the object ...
549
320
#include<bits/stdc++.h> #include<iostream> using namespace std; class node { public: int data; node* left; node* right; node(int data) { this->data = data; this->left = NULL; this->right = NULL; } }; void deleteTree(node* node) { ...
423
530
{ "manufacturer": "<NAME>", "manufacturerId": "0x0152", "label": "ZSE02", "description": "Z‑Wave Plus Motion Sensor", "devices": [ { "productType": "0x0500", "productId": "0x0003", "zwaveAllianceId": 1722 } ], "firmwareVersion": { "min": "0.0", "max": "255.255" }, "metadata": { "inclusion": ...
362
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...
1,779
4,772
<filename>jpa/deferred/src/main/java/example/repo/Customer1378Repository.java<gh_stars>1000+ package example.repo; import example.model.Customer1378; import java.util.List; import org.springframework.data.repository.CrudRepository; public interface Customer1378Repository extends CrudRepository<Customer1378, Long> {...
122
2,816
<filename>src/include/duckdb/storage/table/column_segment.hpp //===----------------------------------------------------------------------===// // DuckDB // // duckdb/storage/table/column_segment.hpp // // //===----------------------------------------------------------------------===// #pragma o...
1,750
345
<reponame>Shadow-Devil/TeamSpeak-3-Java-API package com.github.theholywaffle.teamspeak3; /* * #%L * TeamSpeak 3 Java API * %% * Copyright (C) 2014 <NAME> * %% * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to...
3,384
583
<gh_stars>100-1000 #include "GLFilter.h" #include "GLRenderer.h" #ifdef _MSC_VER #define _USE_MATH_DEFINES #include <math.h> #endif IMPLEMENT_FLOW_NATIVE_OBJECT(GLFilter, FlowNativeObject); GLFilter::GLFilter(GLRenderSupport *owner) : FlowNativeObject(owner->getFlowRunner()), owner(owner) { blur_radius = blu...
4,136
342
/* * Copyright 2006,2016 BitMover, 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 agr...
2,048
348
{"nom":"Maché","circ":"1ère circonscription","dpt":"Vendée","inscrits":1030,"abs":572,"votants":458,"blancs":27,"nuls":10,"exp":421,"res":[{"nuance":"MDM","nom":"<NAME>","voix":222},{"nuance":"LR","nom":"<NAME>","voix":199}]}
89
381
<gh_stars>100-1000 package net.laoyeye.yyblog.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import net.laoyeye.yyblog.common.YYBlogResult; import net.laoyeye.yyblog.mapper.SettingMapper; import net.laoyeye.yyb...
447
5,169
<reponame>Gantios/Specs { "name": "EMDAlertController", "version": "0.1.6", "summary": "This is a amazing alert library.", "description": "This is a nice library for IOS.it has several custom Alerts.", "homepage": "https://github.com/LahiruChathuranga/EMDAlertController", "license": { "type": "MIT", ...
368
1,455
<gh_stars>1000+ // ---------------------------------------------------------------------------- // - Open3D: www.open3d.org - // ---------------------------------------------------------------------------- // The MIT License (MIT) // // Copyright (c) 2018-2021 www.open3...
2,222
1,511
/* * Key chord input driver * * Copyright (C) 2008 Google, Inc. * Author: <NAME> <<EMAIL>> *
34
1,671
/** * Copyright 2020 LinkedIn Corp. 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 applica...
2,568
331
<reponame>Lauzy/TicktockMusic package com.freedom.lauzy.model; /** * Desc : LocalAlbum * Author : Lauzy * Date : 2017/8/10 * Blog : http://www.jianshu.com/u/e76853f863a9 * Email : <EMAIL> */ public class LocalAlbumBean { public String artistName; public long albumId; public long id; public int so...
150
10,608
<gh_stars>1000+ # coding=utf-8 # Copyright 2020 The HuggingFace Datasets Authors and the current dataset script contributor. # # 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...
2,474
892
{ "schema_version": "1.2.0", "id": "GHSA-43pq-r97m-pgc4", "modified": "2022-05-02T06:12:18Z", "published": "2022-05-02T06:12:18Z", "aliases": [ "CVE-2010-0387" ], "details": "Multiple heap-based buffer overflows in (1) webservd and (2) the admin server in Sun Java System Web Server 7.0 Update 7 allow ...
597
506
#pragma once #include "../../inc.h" class c_misc { private: c_flashlight_effect* create_flashlight( int idx, const char* texture_name, float fov, float far_z, float linear_atten ); public: vec3_t unpredicted_vel; void bunnyhop( c_user_cmd *cmd ); static void automatic_fire( c_base_combat_weapon *active_weapon, c...
304
427
//===-- AVRFixupKinds.h - AVR Specific Fixup Entries ------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
1,809
5,865
/* * Copyright 2021 ThoughtWorks, 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 agr...
764
777
<gh_stars>100-1000 // Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stddef.h> #include <stdint.h> #include <map> #include <string> #include "base/macros.h" #include "components/filesystem/fil...
3,570
4,816
/** * @file src/fileinfo/file_information/file_information_types/elf_core.cpp * @brief ElfCore. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #include "fileinfo/file_information/file_information_types/elf_core.h" namespace retdec { namespace fileinfo { bool ElfCore::hasAuxVector() const...
305
5,166
<filename>javav2/usecases/video_analyzer_application/src/main/java/com/example/video/VideoDetectFaces.java<gh_stars>1000+ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ package com.example.video; import org.springframework.stereotype.Component...
2,750
32,544
package com.baeldung.jersey.client.filter; import java.io.IOException; import javax.ws.rs.client.ClientRequestContext; import javax.ws.rs.client.ClientRequestFilter; import javax.ws.rs.ext.Provider; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @Provider public class RequestClientFilter implements Client...
209
5,169
{ "name": "TensorIOTensorFlow", "version": "0.3.1", "summary": "The TensorFlow (unofficial) build used by TensorIO for iOS.", "description": "An unofficial build of TensorFlow for iOS used by TensorIO, supporting inference, evaluation, and training.", "homepage": "https://github.com/doc-ai/tensorio-tensorflow...
481
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Brouy","circ":"2ème circonscription","dpt":"Essonne","inscrits":115,"abs":39,"votants":76,"blancs":1,"nuls":3,"exp":72,"res":[{"nuance":"LR","nom":"<NAME>","voix":63},{"nuance":"MDM","nom":"<NAME>","voix":9}]}
109
5,169
{ "name": "IndefiniteObservable", "summary": "IndefiniteObservable is a minimal implementation of Observable with no concept of completion or failure.", "version": "2.0.0", "authors": "The Material Motion Authors", "license": "Apache 2.0", "homepage": "https://github.com/material-motion/indefinite-observabl...
500
911
/* * This file is part of ComputerCraft - http://www.computercraft.info * Copyright <NAME>, 2011-2017. Do not distribute without permission. * Send enquiries to <EMAIL> */ package dan200.computercraft.core.apis; import dan200.computercraft.api.lua.ILuaContext; import dan200.computercraft.api.lua.LuaException; imp...
5,397
960
<gh_stars>100-1000 /* * Copyright (c) 2011 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 l...
5,153
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 ...
2,307
10,225
<reponame>mweber03/quarkus<gh_stars>1000+ package io.quarkus.resteasy.reactive.links; import java.util.Collection; import javax.ws.rs.core.Link; public interface RestLinksProvider { Collection<Link> getTypeLinks(Class<?> elementType); <T> Collection<Link> getInstanceLinks(T instance); }
107
464
from .ant_ddpg_default_config import ant_ddpg_default_config from .ant_sac_default_config import ant_sac_default_config from .ant_td3_default_config import ant_td3_default_config from .ant_trex_onppo_default_config import ant_trex_ppo_default_config, ant_trex_ppo_create_default_config from .ant_trex_sac_default_config ...
737
304
<filename>examples/animations/animate_angle_axis_interpolation.py """ ============================================== Interpolate Between Axis-Angle Representations ============================================== We can interpolate between two orientations that are represented by an axis and an angle either linearly or ...
1,968
486
<filename>hadoopbench/pegasus/src/main/java/pegasus/pagerank/PagerankBlock.java /*********************************************************************** PEGASUS: Peta-Scale Graph Mining System Authors: <NAME>, <NAME>, and <NAME> This software is licensed under Apache License, Version 2.0 (the "License"); you ...
6,569
1,138
import os import sys import shutil import argparse import hashlib import socket import json import tempfile import subprocess from pathlib import Path from keyword import iskeyword import xlwings as xw # Directories/paths this_dir = Path(__file__).resolve().parent def exit_on_mac(): if sys.platform.startswith(...
17,225
1,467
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_SHARED_PROTO_MODEL_QUERY_ORDERING_HPP #define IROHA_SHARED_PROTO_MODEL_QUERY_ORDERING_HPP #include "interfaces/queries/ordering.hpp" #include "interfaces/common_objects/types.hpp" #include "queries.pb.h...
570
14,668
<reponame>zealoussnow/chromium<filename>mojo/public/cpp/bindings/tests/interface_unittest.cc<gh_stars>1000+ // 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 "mojo/public/cpp/bindings/tests/inter...
309
372
<gh_stars>100-1000 /* Editor Settings: expandtabs and use 4 spaces for indentation * ex: set softtabstop=4 tabstop=8 expandtab shiftwidth=4: * * -*- mode: c, c-basic-offset: 4 -*- */ /* * Copyright © BeyondTrust Software 2004 - 2019 * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "...
26,237
403
/* * Camunda Platform REST API * OpenApi Spec for Camunda Platform REST API. * * The version of the OpenAPI document: 7.16.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package com.camu...
2,336
2,637
<gh_stars>1000+ /* * Copyright 2019, Cypress Semiconductor Corporation or a subsidiary of * Cypress Semiconductor Corporation. All Rights Reserved. * * This software, associated documentation and materials ("Software") * is owned by Cypress Semiconductor Corporation, * or one of its subsidiaries ("Cypress") and ...
11,069
4,205
<reponame>EMellau/reactor-core /* * Copyright (c) 2020-2021 VMware Inc. or its affiliates, All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache...
3,565
3,222
<reponame>fuss86/maven package org.apache.maven.classrealm; /* * 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 u...
724
3,765
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.apex.metrics; import net.sourceforge.pmd.lang.apex.ast.ApexQualifiedName; import net.sourceforge.pmd.lang.apex.metrics.signature.ApexOperationSigMask; /** * @author <NAME> */ public interface Ap...
254
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 ...
4,156
419
<reponame>sigix/jaeger-client-java<gh_stars>100-1000 /* * Copyright (c) 2018, The Jaeger 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...
424
432
<gh_stars>100-1000 /* * Copyright 2015 Open mHealth * * 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 applicab...
1,462
946
<reponame>hexrain/utymap #include "QuadKey.hpp" #include "builders/BuilderContext.hpp" #include "builders/terrain/TerraBuilder.hpp" #include "entities/Way.hpp" #include "entities/Area.hpp" #include <boost/test/unit_test.hpp> #include "test_utils/DependencyProvider.hpp" #include "test_utils/ElementUtils.hpp" using na...
1,411
14,668
// 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. package org.chromium.chrome.browser.feed; import androidx.annotation.VisibleForTesting; /** * A network client that returns configurable responses * ...
239
1,283
<reponame>BigBossss17/bots<filename>library/src/main/java/com/pengrad/telegrambot/model/request/InlineQueryResultContact.java package com.pengrad.telegrambot.model.request; import java.io.Serializable; /** * <NAME> * 06 May 2016 */ public class InlineQueryResultContact extends InlineQueryResult<InlineQueryResultCo...
528
2,577
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
1,025
32,544
package com.baeldung.spring.cloud.bootstrap.gateway.client.rating; import org.springframework.cloud.netflix.feign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestHeader; import org.springframework.web.bind.annotation.RequestMapping; import o...
219
440
<filename>src/test/java/com/yb/socket/push/database/DatabaseTest.java package com.yb.socket.push.database; import com.yb.socket.datasource.HsqlDataSource; import org.apache.commons.dbutils.QueryRunner; import org.apache.commons.dbutils.handlers.ArrayHandler; import java.sql.SQLException; /** * @author <EMAIL> * @d...
803
6,465
package io.dropwizard.health; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.databind.ObjectMapper; import io.dropwizard.jackson.Discoverable; import io.dropwizard.jersey.setup.JerseyEnvironment; import io.dropwizard.jetty.setup.ServletEnvironment; import io.dropwizard.lifecycle.set...
215
364
<filename>liblinear/src/test/java/com/linkedin/dagli/liblinear/LiblinearClassifierTest.java package com.linkedin.dagli.liblinear; import com.linkedin.dagli.dag.LocalDAGExecutor; import com.linkedin.dagli.math.vector.DenseFloatArrayVector; import com.linkedin.dagli.math.vector.Vector; import com.linkedin.dagli.placehol...
1,779
2,113
//----------------------------------------------------------------------------- // Copyright (c) 2014 GarageGames, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restrictio...
564
3,227
<gh_stars>1000+ /*! \ingroup PkgWeightsRefConcepts \cgalConcept A concept that describes the set of requirements of classes used in the computation of analytic weights in 3D. \cgalHasModel - All models of `Kernel` */ class AnalyticWeightTraits_3 { public: /// \name Types /// @{ /*! A model of `FieldNumberType`. ...
905
415
<filename>two1/commands/update.py """ Two1 command to update to the latest version of two1 and its dependencies. """ import subprocess import click @click.command() def update(): """ Update your 21 installation. """ subprocess.call('curl https://21.co | sh', shell=True)
95
1,200
<filename>carrera-console/carrera-console/src/main/java/com/didi/carrera/console/service/ConsumeGroupService.java package com.didi.carrera.console.service; import com.didi.carrera.console.dao.model.ConsumeGroup; import com.didi.carrera.console.service.bean.PageModel; import com.didi.carrera.console.service.vo.ConsumeG...
571
3,200
<gh_stars>1000+ /** * Copyright 2020 Huawei Technologies Co., Ltd * * 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 b...
647
1,338
/* * Copyright 2001-2010, Haiku Inc. All rights reserved. * This file may be used under the terms of the MIT License. * * Authors: * <NAME> */ #ifndef REVOKEMANAGER_H #define REVOKEMANAGER_H #include "Journal.h" struct JournalRevokeHeader; class RevokeManager { public: RevokeManager(bool has64bits); v...
296
310
<reponame>dreeves/usesthis { "name": "M65-A", "description": "A mechanical keyboard.", "url": "https://rama.works/m65a/" }
54
558
<filename>allure-robotframework/examples/status/status_library.py from robot.libraries.BuiltIn import BuiltIn def fail_with_traceback(traceback_message): BuiltIn().fail(traceback_message)
63
321
<reponame>domenic/mojo // Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_VERSION_H_ #define BASE_VERSION_H_ #include <string> #include <vector> #include "base/base_export.h" #include "b...
704
1,000
<filename>tests/test_graphqlws_exceptions.py import asyncio import json import types from typing import List import pytest from gql import Client, gql from gql.transport.exceptions import ( TransportClosed, TransportProtocolError, TransportQueryError, ) from .conftest import WebSocketServerHelper # Mark...
3,112
868
<filename>flare/rpc/protocol/http/http_handler.h // Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of the // License at // // https://open...
2,938
20,995
[ ["exp",4158389888,4158390051], ["fegetexcept",4158374368,4158374389], ["v8::internal::Runtime_Math_exp(v8::internal::Arguments)",135412512,135412608], ["v8::internal::JSObject::LookupOwnRealNamedProperty(v8::internal::String*, v8::internal::LookupResult*)",135235584,135237008], ["v8::internal::HashTable<v8:...
165