max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
9,402 | <filename>src/coreclr/nativeaot/Runtime/thread.inl<gh_stars>1000+
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#ifndef DACCESS_COMPILE
inline void Thread::SetCurrentThreadPInvokeTunnelForGcAlloc(void * pTransitionFrame)
{
A... | 589 |
1,210 | <reponame>Passer-D/GameAISDK<filename>src/ImgProc/Comm/ImgReg/Recognizer/CKingGloryBloodReg.cpp
/*
* Tencent is pleased to support the open source community by making GameAISDK available.
* This source code file is licensed under the GNU General Public License Version 3.
* For full details, please refer to the f... | 7,473 |
890 | <filename>app/src/main/java/shem/com/materiallogin/ex/DefaultActivity.java<gh_stars>100-1000
package shem.com.materiallogin.ex;
import android.annotation.TargetApi;
import android.app.LoaderManager;
import android.content.CursorLoader;
import android.content.Loader;
import android.content.pm.PackageManager;
import and... | 3,246 |
362 | package subreddit.android.appstore.backend.data;
public enum AppTags {
// Price
FREE, PAID,
// Format
PHONE, TABLET, WEAR,
// New to wiki
NEW
}
| 70 |
5,267 | package io.swagger.v3.plugins.gradle.petstore.responses;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.plugins.gradle.resources.exception.NotFoundException;
import io.swagger.v3.plugins.gradle.resources.model.User;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
/**
* Resource with a Respons... | 216 |
2,414 | package com.site.springboot.core.config;
/**
* @author 13
* @qq交流群 796794009
* @email <EMAIL>
* @link http://13blog.site
*/
public class Constants {
public final static String FILE_UPLOAD_PATH = "/home/project/upload/";//上传文件的保存地址,根据部署设置自行修改
}
| 136 |
2,441 | package tech.tablesaw.plotly.api;
import tech.tablesaw.api.ColumnType;
import tech.tablesaw.api.NumericColumn;
import tech.tablesaw.api.Table;
import tech.tablesaw.columns.Column;
import tech.tablesaw.plotly.components.Figure;
import tech.tablesaw.plotly.components.Layout;
import tech.tablesaw.plotly.traces.ScatterTra... | 737 |
381 | package com.tngtech.jgiven.report.analysis;
import org.junit.Test;
import com.tngtech.jgiven.JGivenScenarioTest;
import com.tngtech.jgiven.report.model.GivenReportModel;
import com.tngtech.jgiven.report.model.ThenReportModel;
import com.tngtech.jgiven.tags.FeatureCaseDiffs;
public class DifferenceAnalyzerTest extend... | 1,742 |
18,396 | /*
* SRT - Secure, Reliable, Transport
* Copyright (c) 2018 Haivision Systems Inc.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
*/
/*******************... | 786 |
806 | package android.support.v4.media.session;
import android.media.Rating;
import android.media.RemoteControlClient;
import android.media.RemoteControlClient.MetadataEditor;
import android.os.Bundle;
class MediaSessionCompatApi19 {
private static final long ACTION_SET_RATING = 128;
private static final String MET... | 1,178 |
504 | import time
import logging
from slack_sdk import WebClient
from slack_sdk.web import SlackResponse
from slack_bolt import App, Ack
from slack_bolt.workflows.step import Configure, Update, Complete, Fail, WorkflowStep
logging.basicConfig(level=logging.DEBUG)
# export SLACK_SIGNING_SECRET=***
# export SLACK_BOT_TOKEN... | 3,046 |
831 | /*
* 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... | 2,084 |
852 | <filename>FWCore/Integration/test/testEDAliasManyModulesAmbiguous_cfg.py
import FWCore.ParameterSet.Config as cms
process = cms.Process("TEST")
from FWCore.ParameterSet.VarParsing import VarParsing
options = VarParsing()
options.register("includeAliasToFoo", 1,
VarParsing.multiplicity.singleton,
... | 1,165 |
362 | <filename>whois-update/src/main/java/net/ripe/db/whois/update/handler/MultipleUpdateHandler.java<gh_stars>100-1000
package net.ripe.db.whois.update.handler;
import com.google.common.base.Stopwatch;
import net.ripe.db.whois.common.iptree.IpTreeUpdater;
import net.ripe.db.whois.update.domain.Update;
import net.ripe.db.w... | 1,346 |
32,544 | package com.baeldung.annotations;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class HealthCheckController {
private static final String STATUS = "UP";
@Get... | 141 |
681 | <reponame>abaldwin88/roamer<gh_stars>100-1000
"""
This module is the entry point for the application.
Process command line arguments and pass appropriate flags to Session
"""
from __future__ import print_function
import sys
import click
import roamer
from roamer.session import Session
@click.command()
@click.optio... | 509 |
1,760 | <filename>Contests/USACO Solutions/2015-16/Feb 2016/Plat/16 Feb P1.cpp<gh_stars>1000+
#include <fstream>
#include <algorithm>
#include <vector>
using namespace std;
#define pb push_back
#define pi pair <int, int>
#define vi vector<int>
#define f first
#define s second
#define F0R(i, a) for (int i=0; i<a; i++)
int ... | 1,082 |
412 | #include "../sensitivity-test-common-files/array_sensitivity_tests.c"
| 23 |
4,071 | <reponame>chetanbhat/tbb
/*
Copyright (c) 2005-2018 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless ... | 6,506 |
585 | <reponame>KevinKecc/caffe2
/**
* Copyright (c) 2016-present, Facebook, 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
*
* Unl... | 509 |
5,678 | <filename>examples/applications/porto_seguro_keras_under_sampling.py<gh_stars>1000+
"""
==========================================================
Porto Seguro: balancing samples in mini-batches with Keras
==========================================================
This example compares two strategies to train a neural... | 2,789 |
1,018 | <filename>examples/mapColoringUSStates/adj2qubo.py<gh_stars>1000+
"""
Copyright 2016 D-Wave Systems,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
... | 2,254 |
1,268 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import getopt
import ConfigParser
from tools import models
from pack.pack import Pack
from pack.compiled import Compiled
from sender.base import create_sender
def run(conf):
cf = ConfigParser.ConfigParser()
cf.read(conf)
try:
code_path =... | 845 |
335 | <reponame>Safal08/Hacktoberfest-1<filename>S/Shortly_adverb.json
{
"word": "Shortly",
"definitions": [
"In a short time; soon.",
"In a few words; briefly.",
"Abruptly, sharply, or curtly."
],
"parts-of-speech": "Adverb"
} | 122 |
3,084 | <filename>print/XPSDrvSmpl/src/filters/xdcont/xpsfilew.h
/*++
Copyright (c) 2005 Microsoft Corporation
All rights reserved.
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FI... | 806 |
8,027 | <filename>tools/ideabuck/src/com/facebook/buck/intellij/ideabuck/completion/BuckCompletionContributor.java
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 ... | 1,997 |
1,035 | <filename>system/t09_repo/drop.py<gh_stars>1000+
from lib import BaseTest
class DropRepo1Test(BaseTest):
"""
drop repo: regular drop
"""
fixtureCmds = [
"aptly repo create repo1",
]
runCmd = "aptly repo drop repo1"
def check(self):
self.check_output()
self.check_cm... | 586 |
4,879 | #pragma once
#include "search/city_finder.hpp"
#include "search/region_info_getter.hpp"
#include "search/reverse_geocoder.hpp"
namespace storage
{
class CountryInfoGetter;
} // namespace storage
namespace search
{
// Note: This class is NOT thread-safe.
class RegionAddressGetter
{
public:
RegionAddressGetter(Data... | 261 |
5,133 | <filename>processor/src/test/java/org/mapstruct/ap/test/bugs/_577/Issue577Test.java<gh_stars>1000+
/*
* Copyright MapStruct Authors.
*
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package org.mapstruct.ap.test.bugs._577;
import org.mapstruct.ap.testuti... | 290 |
473 | <reponame>zheli-1/crete-dev
#include <asm/unistd.h>
static inline void exit(int status)
{
int __res;
__asm__ volatile ("movl %%ecx,%%ebx\n"\
"int $0x80" \
: "=a" (__res) : "0" (__NR_exit),"c" ((long)(status)));
}
static inline int write(int fd, const char * buf, int len)
{
int status;
__asm__ vol... | 308 |
4,879 | #include "storage/storage_defines.hpp"
#include "base/assert.hpp"
#include <sstream>
using namespace std;
using namespace string_literals;
namespace storage
{
storage::CountryId const kInvalidCountryId;
bool IsCountryIdValid(CountryId const & countryId) { return countryId != kInvalidCountryId; }
string DebugPrint... | 1,107 |
1,351 | /** @file
*
* A brief file description
*
* @section license License
*
* 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... | 2,708 |
964 | [
{
"queryName": "API Gateway Without Configured Authorizer",
"severity": "MEDIUM",
"line": 3,
"fileName": "positive1.yaml"
},
{
"queryName": "API Gateway Without Configured Authorizer",
"severity": "MEDIUM",
"line": 2,
"fileName": "positive2.yaml"
},
{
"queryName": "API Ga... | 240 |
2,816 | /* Generated by Snowball 2.0.0 - https://snowballstem.org/ */
#include "../runtime/header.h"
#ifdef __cplusplus
extern "C" {
#endif
extern int serbian_UTF_8_stem(struct SN_env * z);
#ifdef __cplusplus
}
#endif
static int r_Step_3(struct SN_env * z);
static int r_Step_2(struct SN_env * z);
static int r_Step_1(struct S... | 150,957 |
2,003 | // Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef TERA_IO_CODING_H_
#define TERA_IO_CODING_H_
#include <stdint.h>
#include "leveldb/slice.h"
namespace tera {
namespace io {
inline uint32_t Decode... | 1,375 |
9,782 | <reponame>sreekanth370/presto<filename>presto-druid/src/main/java/com/facebook/presto/druid/zip/Zip64EndOfCentralDirectoryLocator.java
/*
* 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
*
... | 723 |
1,996 | <filename>opencv-3.3.0/3rdparty/protobuf/src/google/protobuf/io/printer.h
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification... | 5,385 |
2,034 | <gh_stars>1000+
package com.billy.android.swipe.demo.consumer;
import android.os.Bundle;
import android.view.Gravity;
import android.widget.LinearLayout;
import android.widget.SeekBar;
import android.widget.TextView;
import com.billy.android.swipe.SmartSwipe;
import com.billy.android.swipe.consumer.ActivitySlidingBack... | 1,133 |
839 | <filename>testutils/src/main/java/org/apache/cxf/testutil/recorders/OutMessageRecorder.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 ... | 1,139 |
312 | <filename>mpp/hal/vpu/jpegd/hal_jpegd_base.h
/*
* Copyright 2015 - 2017 Rockchip 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/lice... | 1,145 |
654 | import pytest # noqa
import py_cui # noqa
# TODO
| 22 |
1,414 | #ifndef __MDFN_CDAFREADER_H
#define __MDFN_CDAFREADER_H
#include "Stream.h"
class CDAFReader
{
public:
CDAFReader();
virtual ~CDAFReader();
virtual uint64 FrameCount(void) = 0;
INLINE uint64 Read(uint64 frame_offset, int16 *buffer, uint64 frames)
{
uint64 ret;
if(LastReadPos != frame_offset)
{
//puts... | 317 |
3,442 | // Code generated by Wire protocol buffer compiler, do not edit.
// Source: squareup.protos.custom_options.my_message_option_two in custom_options.proto
package com.squareup.wire.protos.custom_options;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Retention... | 147 |
1,303 | <reponame>miusuncle/TBase
/*
* Tencent is pleased to support the open source community by making TBase available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
*
* TBase is licensed under the BSD 3-Clause License, except for the third-party component listed below.
*
* A c... | 4,650 |
1,511 | /* x_tables module for matching the IPv4/IPv6 DSCP field
*
* (C) 2002 <NAME> <<EMAIL>>
* This software is distributed under GNU GPL v2, 1991
* | 48 |
2,151 | //
// Copyright 2016 The ANGLE 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.
//
// TransformFeedbackNULL.h:
// Defines the class interface for TransformFeedbackNULL, implementing TransformFeedbackImpl.
//
#ifndef LIBANGL... | 371 |
1,354 | <filename>HackerRankDashboard/CoreCS/DataStructures/src/main/java/com/javaaid/hackerrank/solutions/datastructures/linkedlists/PrintTheElementsOfALinkedList.java
/**
*
* Problem Statement-
* [Print the Elements of a Linked List](https://www.hackerrank.com/challenges/print-the-elements-of-a-linked-list)
*
*/
pac... | 242 |
3,100 | /**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2017 <NAME>. All rights reserved. *... | 508 |
372 | /*
* 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 distributed under t... | 2,048 |
1,083 | #include "TokenType.h"
namespace dale {
const char *tokenTypeToString(int token_type) {
const char *ret;
switch (token_type) {
case TokenType::Null:
ret = "null";
break;
case TokenType::LeftParen:
ret = "left parenthesis";
break;
case Toke... | 475 |
1,350 | <filename>sdk/agrifood/azure-verticals-agrifood-farming/src/main/java/com/azure/verticals/agrifood/farming/ScenesBaseClient.java<gh_stars>1000+
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.v... | 5,405 |
627 | /* Copyright 2019 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
* Fake BATTERY module.
*/
#include "battery.h"
#include "common.h"
int battery_design_voltage(int *voltage)
{
*voltage = 0;
return 0;
}
enum ba... | 246 |
897 | /*order augnostic Binary searches the element the array that is sorted in Asc or Desc order.
ALGORITHM:
1. Declare an array i.e sorted in asc or desc order and a target element to search
2. Make a function call to orderAgnostic()
3. Inside orderAgnostic(),check if array is in asc or desc order
4. If target element is ... | 851 |
517 | <reponame>mkoivi-ms/unet-pytorch-azureml
dependencies = ["torch"]
import torch
from unet import UNet
def unet(pretrained=False, **kwargs):
"""
U-Net segmentation model with batch normalization for biomedical image segmentation
pretrained (bool): load pretrained weights into the model
in_channels (in... | 292 |
2,151 | <gh_stars>1000+
/*
* 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... | 582 |
1,091 | <gh_stars>1000+
/*
* 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
*
* Unless r... | 460 |
852 | <reponame>ckamtsikis/cmssw<filename>CaloOnlineTools/HcalOnlineDb/interface/HcalQIEManager.h
//
// <NAME> (Brown), Feb. 22, 2008
//
//
#ifndef HcalQIEManager_h
#define HcalQIEManager_h
#include <iostream>
#include <cstring>
#include "CaloOnlineTools/HcalOnlineDb/interface/HCALConfigDB.h"
/**
\class HcalQIEManager
... | 480 |
918 | /*
* Copyright (c) 2014 - 2018 <NAME>
*
* Distributed under the MIT License. See LICENSE.md at
* https://github.com/LiquidPlayer/LiquidCore for terms and conditions.
*/
package org.liquidplayer.jstest;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.junit.Test;
im... | 6,980 |
614 | <filename>sample/src/main/java/com/androidwind/androidquick/demo/features/function/ui/tab/TabSTLFragment.java
package com.androidwind.androidquick.demo.features.function.ui.tab;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.... | 2,082 |
937 | <reponame>shisheng-1/cyclops<gh_stars>100-1000
package cyclops.control.future.futureOverwriteIssue;
import cyclops.control.Either;
import cyclops.control.LazyEither;
import cyclops.control.LazyEither3;
import cyclops.control.LazyEither4;
import cyclops.control.LazyEither5;
import cyclops.control.Maybe;
import cyclops... | 3,700 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"Mirandol-Bourgnounac","circ":"2ème circonscription","dpt":"Tarn","inscrits":925,"abs":439,"votants":486,"blancs":48,"nuls":34,"exp":404,"res":[{"nuance":"REM","nom":"<NAME>","voix":281},{"nuance":"FN","nom":"Mme <NAME>","voix":123}]} | 115 |
43,320 | <reponame>ardyno/nuxt.js
{
"nuxt": {
"attributes": [
"nuxtChildKey"
],
"description": "Component to render the current nuxt page."
},
"n-child": {
"description": "Component for displaying the children components in a nested route."
},
"nuxt-child": {
"description": "Component for dis... | 457 |
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 IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_H_
#define IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_H_
#include <stdint.h>
#include <memory>
#include <... | 1,991 |
2,094 | <reponame>awf/ELL
////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Project: Embedded Learning Library (ELL)
// File: ObjectiveTest.cpp (model/optimizer_test)
// Authors: <NAME>
//
/////////////////////////////////////////////////////////////////////////... | 228 |
2,109 | /*
* This software was written by JimF jfoug AT cox dot net
* in 2012-2013. No copyright is claimed, and the software is hereby
* placed in the public domain. In case this attempt to disclaim
* copyright and place the software in the public domain is deemed
* null and void, then the software is Copyright (c) 2012-... | 5,164 |
1,144 | package org.adempiere.util.proxy;
/*
* #%L
* de.metas.util
* %%
* Copyright (C) 2015 metas GmbH
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the
* License, ... | 902 |
680 | /**
* Copyright 卫志强 QQ:<EMAIL> Inc. All rights reserved.
*/
package com.skyeye.eve.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation... | 2,012 |
3,001 | <gh_stars>1000+
from __future__ import unicode_literals
from .cbs import CBSBaseIE
class CBSSportsIE(CBSBaseIE):
_VALID_URL = r'https?://(?:www\.)?cbssports\.com/[^/]+/(?:video|news)/(?P<id>[^/?#&]+)'
_TESTS = [{
'url': 'https://www.cbssports.com/nba/video/donovan-mitchell-flashes-star-potential-in-... | 744 |
1,338 | <filename>headers/private/kernel/util/AVLTree.h
/*
* Copyright 2003-2009, <NAME> <<EMAIL>>.
* Distributed under the terms of the MIT License.
*/
#ifndef _KERNEL_UTIL_AVL_TREE_H
#define _KERNEL_UTIL_AVL_TREE_H
#include <util/AVLTreeBase.h>
/*
To be implemented by the definition:
typedef int Key;
typedef Foo V... | 3,355 |
777 | <reponame>google-ar/chromium
/*
* Copyright (C) 2008 <NAME> <<EMAIL>>
* Copyright (C) 2009 <NAME> <<EMAIL>>
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published ... | 665 |
435 | <reponame>amaajemyfren/data
{
"copyright_text": "Standard YouTube License",
"description": "Palestrante: <NAME>\n\nResumo:\nThe study of plasma oscillations in 3D real systems are usually analyzed from one-dimensional data in the form of time series. In this work we propose a Python tool which will be used to verif... | 294 |
831 | /*
* Copyright (C) 2018 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... | 1,076 |
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 "platform/animation/CompositorScrollOffsetAnimationCurve.h"
#include "platform/animation/TimingFunction.h"
#include "cc/animation/scroll_offset_... | 1,017 |
2,031 | package tech.huqi.smartopencv.draw;
import android.content.Context;
import android.content.res.Configuration;
import org.opencv.core.Size;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import tech.huqi.smartopencv.SmartOpenCV;
import tech.huqi.smartope... | 1,506 |
3,967 | <filename>docs/examples/use_cases/tensorflow/efficientdet/utils.py
# Copyright 2020 Google Research. 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.ap... | 5,997 |
324 | <reponame>tormath1/jclouds
/*
* 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
... | 608 |
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... | 2,996 |
407 | package com.alibaba.sreworks.dataset.domain.primary;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class DataInterfaceConfigExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public DataInterfaceConfigExamp... | 16,911 |
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,554 |
3,083 | <reponame>myArea51/binnavi<gh_stars>1000+
/*
Copyright 2014 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 r... | 432 |
1,279 | <gh_stars>1000+
[
{ "LogicalResourceId":"MyApiDeployment", "ResourceType":"AWS::ApiGateway::Deployment" },
{ "LogicalResourceId":"MyApi", "ResourceType":"AWS::ApiGateway::RestApi" },
{ "LogicalResourceId":"MyApiProdStage", "ResourceType":"AWS::ApiGateway::Stage" },
{ "LogicalResourceId":"MyLambda", "ResourceTyp... | 193 |
1,443 | {
"copyright": "UnlimitedBytes",
"url": "https://unlimitedbytes.ovh",
"email": "<EMAIL>",
"format": "html"
} | 47 |
1,091 | /*
* Copyright 2018-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | 638 |
418 | /*
Copyright (C) 2006, 2010 Sony Computer Entertainment 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
noti... | 8,519 |
2,151 | // 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.
#ifndef IOS_CHROME_BROWSER_UI_SETTINGS_CELLS_PASSWORD_DETAILS_ITEM_H_
#define IOS_CHROME_BROWSER_UI_SETTINGS_CELLS_PASSWORD_DETAILS_ITEM_H_
#import "ios/... | 387 |
1,697 | <reponame>kmmao/IOT-Technical-Guide
package iot.technology.jwt.without.controller;
import iot.technology.jwt.without.config.JwtTokenUtil;
import iot.technology.jwt.without.model.JwtRequest;
import iot.technology.jwt.without.model.JwtResponse;
import org.springframework.http.ResponseEntity;
import org.springframework.s... | 888 |
1,056 | <reponame>timfel/netbeans<gh_stars>1000+
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Lice... | 3,241 |
5,169 | <gh_stars>1000+
{
"name": "IoniconsKit",
"version": "1.0.1",
"summary": "ionicons for Swift and Objective-C with type safed manner.",
"homepage": "https://github.com/keitaoouchi/IoniconsKit",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {
"keita.oouchi": "<EMAIL>"
},
"source... | 298 |
3,227 | <filename>Triangulation_2/doc/Triangulation_2/Concepts/TriangulationFaceBase_2.h<gh_stars>1000+
/*!
\ingroup PkgTriangulation2Concepts
\cgalConcept
The concept `TriangulationFaceBase_2` describes the requirements for
the base face class of a triangulation data structure
that is itself plugged into a basic triangulati... | 335 |
361 | <gh_stars>100-1000
import difflib
from gdtoolkit.formatter import format_code, check_formatting_safety
MAX_LINE_LENGTH = 100
def format_and_compare(input_code, expected_output_code):
formatted_code = format_code(input_code, max_line_length=MAX_LINE_LENGTH)
_compare(formatted_code, expected_output_code)
... | 241 |
344 | /*
* Types.hpp
*
* Created on: Mar 22, 2012
* Author: david
*/
#ifndef SLIMAGE_TYPES_HPP_
#define SLIMAGE_TYPES_HPP_
//----------------------------------------------------------------------------//
#include <stdint.h>
//----------------------------------------------------------------------------//
namespace... | 1,415 |
52,316 | """
Lib/ctypes.util.find_library() support for AIX
Similar approach as done for Darwin support by using separate files
but unlike Darwin - no extension such as ctypes.macholib.*
dlopen() is an interface to AIX initAndLoad() - primary documentation at:
https://www.ibm.com/support/knowledgecenter/en/ssw_aix_61/com.ibm.a... | 4,747 |
868 | /*
* Copyright 2021 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 684 |
14,668 | <filename>third_party/blink/renderer/platform/audio/push_pull_fifo.cc<gh_stars>1000+
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/platform/audio/push_pull_fifo.h"... | 5,041 |
988 | /*
* 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,170 |
2,903 | <reponame>lilonglai/redis-manager
package com.newegg.ec.redis.dao;
import com.newegg.ec.redis.entity.User;
import org.apache.ibatis.annotations.*;
import java.util.List;
/**
* Manage users
*
* @author Jay.H.Zou
* @date 7/19/2019
*/
@Mapper
public interface IUserDao {
@Select("SELECT * FROM `user`")
Lis... | 2,344 |
507 | # terrascript/resource/akamai.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:11:11 UTC)
#
# For imports without namespace, e.g.
#
# >>> import terrascript.resource.akamai
#
# instead of
#
# >>> import terrascript.resource.akamai.akamai
#
# This is only available for 'official' and 'partner' provi... | 129 |
2,151 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_UI_COMMANDS_APPLICATION_COMMANDS_H_
#define IOS_CHROME_BROWSER_UI_COMMANDS_APPLICATION_COMMANDS_H_
#import <Foundation/Foundat... | 1,239 |
348 | {"nom":"Gramont","circ":"2ème circonscription","dpt":"Tarn-et-Garonne","inscrits":104,"abs":47,"votants":57,"blancs":3,"nuls":8,"exp":46,"res":[{"nuance":"RDG","nom":"Mme <NAME>","voix":27},{"nuance":"FN","nom":"M. <NAME>","voix":19}]} | 99 |
450 | <filename>Android/mygame/app/src/main/java/com/mystudioname/mygamename/MainActivity.java
package com.mystudioname.mygamename;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util... | 1,743 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.