max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
3,402 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 1,172 |
782 | /*
* Copyright (c) 2021, <NAME>. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
* 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... | 2,591 |
964 | # -*- coding: utf-8 -*-
# Copyright (c) 2010-2016, MIT Probabilistic Computing 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/LICENS... | 2,367 |
2,288 | /* Licensed under LGPLv2.1+ - see LICENSE file for details */
#include "config.h"
#include <ccan/bitmap/bitmap.h>
#include <assert.h>
#define BIT_ALIGN_DOWN(n) ((n) & ~(BITMAP_WORD_BITS - 1))
#define BIT_ALIGN_UP(n) BIT_ALIGN_DOWN((n) + BITMAP_WORD_BITS - 1)
void bitmap_zero_range(bitmap *bitmap, unsigned long n,... | 1,269 |
740 | <filename>src/unittest/deletion_aligner.cpp
/// \file deletion_aligner.cpp
///
/// unit tests for the DeletionAligner
///
#include <iostream>
#include "path.hpp"
#include "deletion_aligner.hpp"
#include "random_graph.hpp"
#include "catch.hpp"
#include "bdsg/hash_graph.hpp"
namespace vg {
namespace unittest {
TEST... | 1,821 |
1,907 |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2019 <NAME>, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any person obtaining a cop... | 779 |
3,807 | package eu.davidea.samples.flexibleadapter.items;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import java.util.ArrayList;
import java.util.List;
import eu.davidea.flexibleadapter.FlexibleAdapter;
import eu.davidea.flexibleadapter.items.IExpandab... | 2,005 |
1,431 | <filename>poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFName.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... | 6,131 |
682 | <reponame>HackerFoo/vtr-verilog-to-routing
/**CFile****************************************************************
FileName [saigStrSim.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Sequential AIG package.]
Synopsis [Structural matching using simulation.]
Author ... | 13,670 |
1,108 | package org.sql2o.extensions.postgres;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.sql2o.Connection;
import org.sql2o.Query;
import org.sql2o.Sql2o;
import org.sql2o.converters.UUIDConverter;
import ... | 2,620 |
3,428 | {"id":"01320","group":"easy-ham-2","checksum":{"type":"MD5","value":"099f7c8107914cf82efe156e8c7f09fc"},"text":"From <EMAIL> Tue Jul 30 18:41:15 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: y<EMAIL>.netnoteinc.com\nReceived: from localhost (localhost [127.0.0.1])\n\tby phobos.labs.netnoteinc.com (Postfix) with ESMTP id... | 846 |
392 | #!/usr/bin/env python
import time
from math import log, ceil
import decimal
Decimal = decimal.Decimal
def pi_native(prec = None):
"""native float"""
lasts, t, s, n, na, d, da = 0, 3.0, 3, 1, 0, 0, 24
while s != lasts:
lasts = s
n, na = n+na, na+8
d, da = d+da, da+32
t = (t... | 562 |
1,045 | /***************************************************************************************************
Tencent is pleased to support the open source community by making RapidView available.
Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
Licensed under the MITLicense (the "License"); you ma... | 7,682 |
669 | """
Copyright (c) Facebook, Inc. and its affiliates.
"""
import logging
from multiprocessing import Queue, Process
from droidlet.perception.craftassist.heuristic_perception import all_nearby_objects
from droidlet.shared_data_struct.craftassist_shared_utils import CraftAssistPerceptionData
from .semantic_segmentation.s... | 2,921 |
690 | <filename>tasks/sts.py<gh_stars>100-1000
"""
KeraSTS interface for datasets of the Semantic Text Similarity task.
See data/sts/... for details and actual datasets.
Training example:
tools/train.py cnn sts data/sts/semeval-sts/all/2015.train.tsv data/sts/semeval-sts/all/2015.val.tsv
"""
from __future__ import prin... | 2,492 |
852 | <reponame>ckamtsikis/cmssw
# https://hypernews.cern.ch/HyperNews/CMS/get/sw-develtools/1894.html
| 44 |
5,169 | <gh_stars>1000+
{
"name": "Cribug",
"version": "0.1.0",
"swift_version": "5.0",
"summary": "Cribug is a lightweight, pure-Swift download framework.",
"homepage": "https://github.com/Initial-C/Cribug",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {
"InitialC": "<EMAIL>"
},
... | 265 |
511 | /*
* Routines to access hardware
*
* Copyright (c) 2013 Realtek Semiconductor Corp.
*
* This module is a confidential and proprietary property of RealTek and
* possession or use of this module requires written permission of RealTek.
*/
#include "ameba_soc.h"
/**
* @brief set wake up event.
* @param O... | 7,511 |
335 | <filename>L/Lower_noun.json
{
"word": "Lower",
"definitions": [
"A scowl.",
"A dark and gloomy appearance of the sky, weather or landscape."
],
"parts-of-speech": "Noun"
} | 89 |
852 | #ifndef DataFormats_L1Trigger_HGCalMulticluster_h
#define DataFormats_L1Trigger_HGCalMulticluster_h
#include "DataFormats/Common/interface/Ptr.h"
#include "DataFormats/L1Trigger/interface/BXVector.h"
#include "DataFormats/L1THGCal/interface/HGCalClusterT.h"
#include "DataFormats/L1THGCal/interface/HGCalCluster.h"
#inc... | 1,422 |
1,016 | package com.thinkbiganalytics.feedmgr.service.template.importing.validation;
/*-
* #%L
* thinkbig-feed-manager-controller
* %%
* Copyright (C) 2017 ThinkBig Analytics
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You m... | 2,382 |
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 "ui/app_list/presenter/app_list_presenter_delegate.h"
#include "ui/app_list/views/app_list_view.h"
namespace app_list {
namespace {
// The min... | 213 |
1,244 | <filename>system/lib/libc/musl/src/locale/towctrans_l.c
#include <wctype.h>
wint_t towctrans_l(wint_t c, wctrans_t t, locale_t l)
{
return towctrans(c, t);
}
| 82 |
411 | <gh_stars>100-1000
# License: BSD 3 clause
from tick.dataset import fetch_tick_dataset
def fetch_hawkes_bund_data():
"""Load Hawkes formatted bund data from
https://github.com/X-DataInitiative/tick-datasets/tree/master/hawkes/bund
This data is meant to be fitted with Hawkes processes. It contains for ea... | 305 |
335 | {
"word": "Kindergarten",
"definitions": [
"(in Britain and Australia) an establishment where children below the age of compulsory education play and learn; a nursery school.",
"(in North America) a class or school that prepares children, usually five- or six-year-olds, for the first year of for... | 116 |
336 | from django import forms
from .widgets import AssetImageWidget
class AssetImageField(forms.fields.Field):
widget = AssetImageWidget
| 38 |
1,338 | <reponame>Kirishikesan/haiku<filename>headers/libs/linprog/Summand.h
/*
* Copyright 2007-2008, <NAME>, <EMAIL>
* Copyright 2007-2008, <NAME>, <EMAIL>
* Distributed under the terms of the MIT License.
*/
#ifndef SUMMAND_H
#define SUMMAND_H
#include <ObjectList.h>
namespace LinearProgramming {
class LinearSpec;
c... | 364 |
386 | <filename>core/src/main/java/com/qq/tars/server/core/AppContextManager.java
/**
* Tencent is pleased to support the open source community by making Tars available.
*
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may no... | 351 |
393 | <reponame>otherbeast/hackers-tool-kit<filename>htk-lite/commandlist/infoscan.py
#!/usr/local/bin/python
# coding: latin-1
#if you use this code give me credit @tuf_unkn0wn
#i do not give you permission to show / edit this script without my credit
#to ask questions or report a problem message me on instagram @tuf_unkn0w... | 2,352 |
931 | <reponame>dandycheung/DevUtils
package dev.base.multiselect;
/**
* detail: 多选编辑接口
* @param <R> 泛型
* @author Ttt
* <pre>
* 实现该接口, 对外支持快捷操作方法
* 内部通过 {@link IMultiSelectToList}、{@link IMultiSelectToMap} 实现多选操作功能
* </pre>
*/
public interface IMultiSelectEdit<R> {
// ==========
// = 编辑状态 =
// =... | 981 |
341 | <reponame>codenotes/mDNAResponder
/* -*- Mode: C; tab-width: 4 -*-
*
* Copyright (c) 2009 Apple Computer, 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
*
... | 435 |
3,861 | /** @file
The Miscellaneous Routines for WiFi Connection Manager.
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "WifiConnectionMgrDxe.h"
/**
Empty function for event process function.
@param Event The Event need... | 10,580 |
3,428 | <reponame>ghalimi/stdlib
{"id":"01589","group":"easy-ham-1","checksum":{"type":"MD5","value":"be65e620bca0f1734cd13c71aea78d4c"},"text":"From <EMAIL> Tue Sep 17 11:26:28 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: y<EMAIL>.spamassassin.taint.org\nReceived: from localhost (jalapeno [127.0.0.1])\n\tby jmason.org (Postfi... | 1,595 |
1,647 | <gh_stars>1000+
# from http://stackoverflow.com/questions/3939660/sieve-of-eratosthenes-finding-primes-python
# using a list instead of generator as return values
#pythran export primes_sieve(int)
#runas primes_sieve(100)
#bench primes_sieve(6000000)
def primes_sieve(limit):
a = [True] * limit ... | 282 |
434 | //用于内部实现的循环锁
#pragma once
namespace resumef
{
#if defined(RESUMEF_USE_CUSTOM_SPINLOCK)
using spinlock = RESUMEF_USE_CUSTOM_SPINLOCK;
#else
/**
* @brief 一个自旋锁实现。
*/
struct spinlock
{
static const size_t MAX_ACTIVE_SPIN = 4000;
static const size_t MAX_YIELD_SPIN = 8000;
static const int... | 3,731 |
314 | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.
//
#import "CDStructures.h"
@interface DVTSharedLayerDelegate : NSObject
{
}
+ (id)sharedInstance;
- (BOOL)layer:(id)arg1 shouldInheritContentsScale:(double)arg2 fromWindow:(id)arg3;
@end... | 127 |
1,068 | <filename>app/src/main/java/com/forezp/banya/utils/DisplayImgUtis.java
package com.forezp.banya.utils;
import android.content.Context;
import android.widget.ImageView;
import com.bumptech.glide.Glide;
/**
*
* Created by forezp on 16/8/10.
*/
public class DisplayImgUtis {
private static DisplayImgUtis insta... | 259 |
678 | /**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/Weather.framework/Weather
*/
#import <Weather/WeatherUpdater.h>
@class City;
@interface LocationUpdater : WeatherUpdater {
BOOL _isGeoCoding; // 28 = 0x1c
City *currentCity; // 32 = 0x20
}
@property(retain, nonat... | 329 |
2,151 | /*
* Copyright 2011 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 5,750 |
772 | {
"data": {
"email_s": "<EMAIL>",
"event_annual_s": "Yes",
"prize_choice_s": "Skype",
"event_country_s": "United States",
"event_experience_s": "Great",
"event_technology_s": "Pair programming, sharing a device",
"event_tutorials_ss": ["Make a Flappy Game"],
"event_improvement_s": "",
... | 327 |
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.
#ifndef CHROME_CHROME_CLEANER_PARSERS_SHORTCUT_PARSER_BROKER_FAKE_SHORTCUT_PARSER_H_
#define CHROME_CHROME_CLEANER_PARSERS_SHORTCUT_PARSER_BROKER_FAKE_SHO... | 499 |
1,060 | <reponame>arielji/okvis<gh_stars>1000+
/*********************************************************************************
* OKVIS - Open Keyframe-based Visual-Inertial SLAM
* Copyright (c) 2015, Autonomous Systems Lab / ETH Zurich
*
* Redistribution and use in source and binary forms, with or without
* modific... | 2,327 |
5,169 | <gh_stars>1000+
{
"name": "DFITableViewManager",
"version": "0.1.1",
"summary": "DFITableViewManager is a part of DFInfrasturcture",
"description": "DFITableViewManager is a library for simplify tableView delegate and dataSource code.",
"homepage": "https://github.com/sdaheng/DFITableViewManager.git",
"lice... | 379 |
325 | <filename>tests/src/utility/NewHeaderDependency.cpp
#include "NewHeaderDependency.hpp"
//#include "NewHeaderDependency/NewHeaderDependency2.hpp" // <jet_tag: new_header:2>
int newHeaderDependencyComputeResult(int v1, int v2)
{
return v1 + v2; // <jet_tag: new_header:1>
// return newHeaderDependency2ComputeResu... | 146 |
965 | <filename>docs/parallel/concrt/codesnippet/CPP/how-to-use-parallel-invoke-to-write-a-parallel-sort-routine_7.cpp
// Sort the partitions in parallel.
parallel_invoke(
[&items,lo,m] { parallel_bitonic_sort(items, lo, m, INCREASING); },
[&items,lo,m] { parallel_bitonic_sort(items, lo + m, m, ... | 152 |
2,338 | #include "instrprof-comdat.h"
int g;
extern int bar(int);
int main() {
FOO<int> Foo;
int Res = Foo.DoIt(10);
if (Res > 10)
g = bar(10);
else
g = bar(1) + bar(2);
return 0;
}
| 95 |
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 ... | 534 |
1,318 | import importlib
import os
aliases = {
'qt4': 'qt',
'gtk2': 'gtk',
}
backends = [
'qt', 'qt4', 'qt5',
'gtk', 'gtk2', 'gtk3',
'tk',
'wx',
'pyglet', 'glut',
'osx',
'asyncio'
]
registered = {}
def register(name, inputhook):
"""Register the function *inputhook* as an event loop i... | 526 |
307 | #version 120
//uniform sampler3D Texture0; //volume texture
uniform sampler2D Texture0;
//uniform sampler2D Texture0;
//uniform sampler3D Texture1;
varying vec3 TexCoord0;
varying vec3 TexCoord1;
uniform vec3 worldMinVisInPixels;
uniform vec3 worldMaxVisInPixels;
uniform vec3 worldMinBufInPixels;
uniform vec3 worldMa... | 3,923 |
5,823 | <gh_stars>1000+
// Copyright 2013 The Flutter 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 "flutter/shell/platform/glfw/system_utils.h"
#include <cstdlib>
#include "gtest/gtest.h"
namespace flutter {
namespace {
// Th... | 4,598 |
2,094 | #!/usr/bin/env python3
"""
Very simple symbolic math library. Used for generating code for implementing Winograd transformation matrices.
"""
import numbers
import operator
# Helpful guide to overloadable python operators:
#
# https://www.python-course.eu/python3_magic_methods.php
def num_rows(matrix_as_list):
r... | 5,686 |
1,091 | /*
* Copyright 2020-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... | 1,175 |
997 | <reponame>mkannwischer/PQClean
#ifndef PQCLEAN_NTRULPR857_CLEAN_CRYPTO_DECODE_256X2_H
#define PQCLEAN_NTRULPR857_CLEAN_CRYPTO_DECODE_256X2_H
#include <stdint.h>
#define PQCLEAN_NTRULPR857_CLEAN_crypto_decode_256x2_STRBYTES 32
#define PQCLEAN_NTRULPR857_CLEAN_crypto_decode_256x2_ITEMS 256
#define PQCLEAN_NTRULPR857_CLE... | 225 |
897 | /**
* Minimum Window Substring
* OR
* Smallest Window in a String Containing All Characters of Another String
* Given two strings string1 and string2, find the smallest substring in
* string1 containing all characters of string2.
*/
#include <bits/stdc++.h>
using namespace std;
string minWindow(stri... | 903 |
357 | <reponame>wfu8/lightwave
/*
* Copyright (c) 2012-2015 VMware, 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
... | 1,292 |
60,067 | #include <ATen/TensorMeta.h>
namespace at {
} // namespace at
| 25 |
1,391 | <reponame>newluhux/plan9port<filename>src/cmd/ndb/convM2DNS.c
#include <u.h>
#include <libc.h>
#include <ip.h>
#include <bio.h>
#include <ndb.h>
#include "dns.h"
typedef struct Scan Scan;
struct Scan
{
uchar *base;
uchar *p;
uchar *ep;
char *err;
};
#define NAME(x) gname(x, sp)
#define SYMBOL(x) (x = gsym(sp))
#... | 3,818 |
1,567 | #pragma once
#include "certain/errors.h"
#include "certain/plog.h"
#include "default/db_type.h"
#include "utils/hash.h"
#include "utils/header.h"
class PlogImpl : public certain::Plog {
public:
static void ParseKey(const dbtype::Slice& key, uint64_t* entity_id,
uint64_t* entry);
PlogImpl(... | 794 |
2,151 | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/system/caps_lock_notification_controller.h"
#include "ash/accessibility/accessibility_controller.h"
#include "ash/accessibility/test_access... | 549 |
324 | <gh_stars>100-1000
#ifndef __SERIAL_H__
#define __SERIAL_H__
#include "type.h"
#define SER_INF_TIMEOUT 0xFFFFFFFF
#define SER_NO_TIMEOUT 0
#define SER_OK 0
#define SER_ERR 1
// Serial interface modes (blocking or non blocking)
#define SER_MODE_BLOCKING ... | 649 |
1,306 | /*
* Copyright (C) 2011 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... | 32,225 |
517 | <reponame>supakiad/wro4j
package ro.isdc.wro.http.support;
import static org.junit.Assert.assertEquals;
import javax.servlet.FilterConfig;
import javax.servlet.ServletContext;
import org.junit.Assert;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.mockito.Mock;
import org.mo... | 1,780 |
1,233 | /*
* Copyright 2019 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 1,389 |
1,738 | <gh_stars>1000+
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the li... | 1,146 |
5,169 | <gh_stars>1000+
{
"name": "Bestly",
"version": "1.0.1",
"license": {
"type": "Commercial",
"text": "See http//best.ly/terms"
},
"summary": "A/B testing for native mobile apps.",
"homepage": "http://best.ly",
"authors": {
"Bestly": "<EMAIL>"
},
"source": {
"http": "https://dl.dropboxuse... | 465 |
854 | <reponame>timxor/leetcode-journal
__________________________________________________________________________________________________
sample 56 ms submission
class Solution:
def maxSatisfied(self, customers: List[int], grumpy: List[int], X: int) -> int:
if len(customers) == X:
return sum(customer... | 1,224 |
414 | <gh_stars>100-1000
import os
import json
from peewee import prefetch, fn
from datetime import datetime, date
from flask import Blueprint, render_template, request, url_for, jsonify
from ..utils import *
bp = Blueprint('misc_bp', __name__)
@bp.route('/login')
def login():
return render_template('login.html') if ... | 1,886 |
190,993 | /* Copyright 2017 The TensorFlow 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 by applicable law or a... | 2,185 |
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_TAB_SWITCHER_TAB_MODEL_SNAPSHOT_H_
#define IOS_CHROME_BROWSER_UI_TAB_SWITCHER_TAB_MODEL_SNAPSHOT_H_
#import <Foundation/Fou... | 516 |
351 | import requests
import json
import os
import sys
dirname = os.path.dirname(__file__)
creds_filename = os.path.join(dirname, "creds.json")
f = open(creds_filename)
creds = json.load(f)
f.close()
__url__ = sys.argv[0]
__handle__ = int(sys.argv[1])
__host__ = creds.get("host")
__password__ = <PASSWORD>("password")
co... | 162 |
325 | package com.box.l10n.mojito.service.languagedetection;
import com.box.l10n.mojito.service.assetExtraction.ServiceTestBase;
import com.box.l10n.mojito.service.tm.search.StatusFilter;
import com.box.l10n.mojito.service.tm.search.TextUnitDTO;
import com.box.l10n.mojito.service.tm.search.TextUnitSearcher;
import com.box.l... | 2,028 |
1,247 | <gh_stars>1000+
{
"author": "Microsoft",
"name": "plik dotnet gitignore",
"description": "Tworzy plik gitignore dla projektu dotnet."
} | 54 |
583 | #include <algorithm>
#include <iostream>
#include <iterator>
#include <memory>
#include <set>
#include <string>
#include <utility>
#include <vector>
#include "base_test.hpp"
#include "storage/index/group_key/variable_length_key_base.hpp"
#include "types.hpp"
namespace opossum {
class VariableLengthKeyBaseTest : pub... | 2,263 |
317 | <reponame>orfeotoolbox/OTB
/*
* Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... | 2,500 |
2,116 | <reponame>ruchirjain86/professional-services
# Copyright 2018 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 require... | 4,735 |
528 | <filename>onactivityresult-compiler/src/main/java/onactivityresult/compiler/AnnotatedParameter.java
package onactivityresult.compiler;
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.TypeName;
import com.squareup.javapoet.TypeVariableName;
import java.io.Serializable;
import java.lang.annotation.... | 3,168 |
2,406 | <gh_stars>1000+
/* This configuration file is the fastest way to get started with the default
sparsity and default quantization algorithm. It contains only mandatory options
with commonly used values. All other options can be considered as an advanced
mode and requires deep knowledge of the quantization process. An ove... | 871 |
953 | <reponame>colesbury/nogil-staging<filename>Python/importlib_zipimport.h<gh_stars>100-1000
/* Auto-generated by Programs/_freeze_importlib.c */
const unsigned char _Py_M__zipimport[] = {
99,85,1,0,0,0,0,128,0,0,0,0,0,0,0,0,
0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,8,0,0,0,81,0,0,0,15,0,0,0,0,0,0,
0,0,0,0,0,0,0... | 45,584 |
1,444 |
package mage.cards.s;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.keyword.ExtortAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
/**
*
* @author LevelX2
*/
public final class SyndicOfTithes extends CardImpl {
... | 394 |
709 | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2021 <NAME>
// Copyright (c) 2016-2021 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include <Siv3D/Common.hpp>
# inclu... | 635 |
777 | <gh_stars>100-1000
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_WHITELIST_SERVICE_H_
#define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_WHIT... | 1,816 |
517 | package org.tensorflow;
import java.util.ArrayList;
import java.util.Collection;
public final class AutoCloseableList<E extends AutoCloseable> extends ArrayList<E>
implements AutoCloseable {
public AutoCloseableList(Collection<? extends E> c) {
super(c);
}
@Override
public void close() {
Excepti... | 213 |
2,023 | <filename>recipes/Python/440515_Changing_closedover_value/recipe-440515.py
import new, dis
cell_changer_code = new.code(
1, 1, 2, 0,
''.join([
chr(dis.opmap['LOAD_FAST']), '\x00\x00',
chr(dis.opmap['DUP_TOP']),
chr(dis.opmap['STORE_DEREF']), '\x00\x00',
chr(dis.opmap['RETURN_VAL... | 390 |
476 | <gh_stars>100-1000
/*
* Copyright (C) 2018-2020. Huawei Technologies Co., Ltd. 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/... | 507 |
2,151 | // Copyright 2016 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef CORE_FXGE_ANDROID_CFPF_SKIABUFFERFONT_H_
#define CORE_FXGE_ANDROID_CFP... | 284 |
443 | /* -------------------------------------------------------------------------
// WINX: a C++ template GUI library - MOST SIMPLE BUT EFFECTIVE
//
// This file is a part of the WINX Library.
// The use and distribution terms for this software are covered by the
// Common Public License 1.0 (http://opensource.org/lic... | 324 |
1,738 | <filename>dev/Code/Framework/AzCore/Platform/Common/Apple/AzCore/Debug/Trace_Apple.cpp
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of... | 1,250 |
335 | package moze_intel.projecte.client;
import java.util.function.Function;
import moze_intel.projecte.PECore;
import moze_intel.projecte.gameObjs.registration.impl.BlockRegistryObject;
import moze_intel.projecte.gameObjs.registries.PEBlocks;
import net.minecraft.block.AbstractFurnaceBlock;
import net.minecraft.block.Bloc... | 3,941 |
1,382 | /*
* Copyright (c) 2007 - 2020 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publi... | 2,130 |
686 | /*
* (C) Copyright IBM Corp. 2019, 2020.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 800 |
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 UI_AURA_MUS_PROPERTY_UTILS_H_
#define UI_AURA_MUS_PROPERTY_UTILS_H_
#include <stdint.h>
#include <map>
#include <string>
#include <vector>
#incl... | 374 |
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 "chrome/browser/apps/intent_helper/metrics/intent_handling_metrics.h"
#include "ash/components/arc/metrics/arc_metrics_constants.h"
#include "ba... | 3,310 |
605 | package com.sohu.tv.mq.cloud.service;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.sohu.tv.mq.cloud.bo.AuditUserProducerDelete;
import com.sohu.tv.mq.clo... | 908 |
396 | <gh_stars>100-1000
/*
Copyright 2018 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable l... | 887 |
838 | <reponame>FlorianPoot/MicroPython_ESP32_psRAM_LoBo
/*-
* Copyright (c) 1991, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. ... | 1,191 |
892 | <reponame>westonsteimel/advisory-database-github<filename>advisories/unreviewed/2022/05/GHSA-922f-j548-hrpp/GHSA-922f-j548-hrpp.json
{
"schema_version": "1.2.0",
"id": "GHSA-922f-j548-hrpp",
"modified": "2022-05-02T03:56:08Z",
"published": "2022-05-02T03:56:08Z",
"aliases": [
"CVE-2009-4590"
],
"detai... | 641 |
13,885 | <reponame>N500/filament
/*
* 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
*
... | 663 |
304 | <gh_stars>100-1000
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
*/
package org.lwjgl.demo.opengl.shader;
import static org.lwjgl.demo.opengl.util.DemoUtils.createShader;
import static org.lwjgl.glfw.GLFW.*;
import static org.lwjgl.opengl.GL.*;
import static org.lwjgl.ope... | 4,349 |
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 SERVICES_DATA_DECODER_XML_PARSER_H_
#define SERVICES_DATA_DECODER_XML_PARSER_H_
#include <memory>
#include <string>
#include "base/macros.h"
#in... | 334 |
480 | <reponame>weicao/galaxysql<gh_stars>100-1000
/*
* 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/lice... | 1,008 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.