max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
321 | <reponame>sitedata/imgmin
/* ex: set ts=4 et: */
/*
* IMGMIN Apache2 Module
*
* Author: <NAME> <<EMAIL>>
* http://github.com/rflynn
*/
#include "httpd.h"
#include "http_config.h"
#include "http_log.h"
#include "apr_lib.h"
#include "apr_strings.h"
#include "apr_general.h"
#include "util_filter.h"
#include "apr_buc... | 6,522 |
825 | <filename>torchdyn/numerics/hypersolvers.py
# 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... | 695 |
1,383 | <filename>src/chrono_vehicle/cosim/terrain/ChVehicleCosimTerrainNodeGranularMPI.cpp
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2020 projectchrono.org
// All right reserved.
//
// Use of this source code is governed by... | 18,936 |
1,443 | <filename>users/moacirosa.json
{
"copyright": "<NAME>",
"url": "http://moacir.me",
"email": "<EMAIL>",
"format": "html",
"gravatar": true,
"theme": "double-windsor"
}
| 79 |
590 | package com.mploed.dddwithspring.scoring.appservices.repositories;
import com.mploed.dddwithspring.scoring.ApplicationNumber;
import com.mploed.dddwithspring.scoring.scoringResult.ScoringResultAggregate;
public interface ScoringResultRepository {
void save(ScoringResultAggregate scoringResultAggregate);
ScoringRes... | 113 |
1,056 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 1,450 |
3,428 | <filename>lib/node_modules/@stdlib/datasets/spam-assassin/data/easy-ham-1/01933.340608a4c5e02c7f6fce00e78818da21.json
{"id":"01933","group":"easy-ham-1","checksum":{"type":"MD5","value":"340608a4c5e02c7f6fce00e78818da21"},"text":"From <EMAIL> Thu Sep 26 16:33:57 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: yyyy<EMAIL>a... | 732 |
645 | // Copyright 2013 Viewfinder. All rights reserved.
// Author: <NAME>.
#import "DBMigrationAndroid.h"
DBMigrationAndroid::DBMigrationAndroid(AppState* state, ProgressUpdateBlock progress_update)
: DBMigration(state, progress_update) {
}
DBMigrationAndroid::~DBMigrationAndroid() {
}
void DBMigrationAndroid::RunIO... | 249 |
14,668 | <filename>device/fido/filter.cc
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "device/fido/filter.h"
#include "base/feature_list.h"
#include "base/json/json_reader.h"
#include "base/metrics/... | 3,986 |
1,224 | // ================================================================================================
// TBXML.h
// Fast processing of XML files
//
// ================================================================================================
// Created by <NAME> on 21/10/2009.
// Version 1.5
//
// Copyright ... | 2,668 |
372 | <gh_stars>100-1000
/* -*- mode: c++; -*-
*-----------------------------------------------------------------------------
* $RCSfile: SoapDef.h,v $
*
* See Copyright for the status of this software.
*
* The OpenSOAP Project
* http://opensoap.jp/
*-------------------------------------------------------------------... | 1,327 |
688 | <filename>Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/holiday_parser_config.py
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from typing import List, Dict, Callable
from datetime import datetime
from recognizers_text.utilities import... | 1,833 |
816 | <filename>src/validator/FetchEdgesValidator.cpp
/* Copyright (c) 2020 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
#include "validator/FetchEdgesValidator.h"
#include "planner/plan/Query.... | 5,437 |
396 | package com.ibm.webapi.data;
import java.util.List;
import com.ibm.webapi.business.CoreArticle;
import com.ibm.webapi.business.InvalidArticle;
public interface ArticlesDataAccess {
public CoreArticle addArticle(CoreArticle article) throws NoConnectivity, InvalidArticle;
public List<CoreArticle> getArticles(in... | 105 |
578 | /*
* 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 copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 1,563 |
506 | #pragma once
#include "UIWidget.hpp"
#include <vector>
#include <utility>
// Combo Widget, supports up to two values on the
// home screen
namespace gfx
{
class UISensorComboWidget : public UIWidget
{
using ImagePath = std::string;
using ValueType = std::string;
public:
UISensorComboWidget(Scr... | 272 |
796 | <gh_stars>100-1000
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class net_zhuoweizhang_pokerface_PokerFace */
#ifndef _Included_net_zhuoweizhang_pokerface_PokerFace
#define _Included_net_zhuoweizhang_pokerface_PokerFace
#ifdef __cplusplus
extern "C" {
#endif
#undef net_zhuoweizh... | 575 |
631 | <reponame>zwc456baby/AndroidKeyBoard<filename>Demo/androidtvwidget/src/main/java/com/open/androidtvwidget/leanback/recycle/impl/PrvInterface.java
package com.open.androidtvwidget.leanback.recycle.impl;
import com.open.androidtvwidget.leanback.recycle.RecyclerViewTV;
/**
* 按键加载更多接口.
* Created by hailongqiu on 2016/... | 208 |
361 | /*
* 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 ... | 657 |
310 | package org.seasar.doma.jdbc.query;
import static org.seasar.doma.internal.util.AssertionUtil.assertNotNull;
import org.seasar.doma.FetchType;
import org.seasar.doma.internal.jdbc.sql.NodePreparedSqlBuilder;
import org.seasar.doma.jdbc.SqlKind;
import org.seasar.doma.jdbc.SqlNode;
public class CountQuery extends Abs... | 497 |
348 | {"nom":"Lagny","circ":"6ème circonscription","dpt":"Oise","inscrits":368,"abs":193,"votants":175,"blancs":26,"nuls":6,"exp":143,"res":[{"nuance":"FN","nom":"<NAME>","voix":73},{"nuance":"REM","nom":"<NAME>","voix":70}]} | 88 |
521 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | 818 |
1,690 | <reponame>longyuzhao/sagemaker-python-sdk
# Copyright Amazon.com, 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. A copy of
# the License is located at
#
# http://aws.amazon.com/apache... | 2,618 |
1,927 | <reponame>alimy/scene
/*
* Copyright (C) 2019 ByteDance 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... | 4,806 |
1,540 | <reponame>punamsapkale/testng
package test.parameters;
import org.testng.Assert;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Optional;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
public class ParameterSample {
@Parameters({"first-name"})
@BeforeMeth... | 232 |
302 | package com.jeespring.modules.sys.web;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
/**
* 主页
* Created by zhao.weiwei
* create... | 264 |
10,876 | {
"name": "gzip-hpp",
"version-string": "0.1.0",
"port-version": 1,
"description": "Gzip header-only C++ library",
"homepage": "https://github.com/mapbox/gzip-hpp/",
"dependencies": [
"zlib"
]
}
| 95 |
14,668 | // 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.
#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_INSTRUMENTATION_TRACING_WEB_PROCESS_MEMORY_DUMP_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_INSTRUMENTATION... | 2,504 |
2,338 | <reponame>mkinsner/llvm
// RUN: %clang_cc1 -emit-llvm %s -o - -triple x86_64-linux-gnu | FileCheck %s --check-prefix=CHECK
// RUN: %clang_cc1 -fsanitize=implicit-signed-integer-truncation,implicit-integer-sign-change -fno-sanitize-recover=implicit-signed-integer-truncation,implicit-integer-sign-change -emit-llvm %s -o ... | 4,667 |
6,989 | import yatest.common as yc
def test_export_metrics(metrics):
metrics.set_benchmark(yc.execute_benchmark('util/generic/benchmark/fastclp2/fastclp2', threads=8))
| 63 |
1,165 | <filename>api/pacman-api-compliance/src/main/java/com/tmobile/pacman/api/compliance/domain/RuleDetails.java
/*******************************************************************************
* Copyright 2018 T Mobile, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the ... | 763 |
12,252 | <gh_stars>1000+
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | 1,139 |
705 | package src;
import becker.robots.*;
public class ICE_02_02_Trace extends Object
{
public static void main(String[] args)
{
City theCity = new City();
Robot Bob = new Robot(theCity, 3, 0, Direction.EAST, 0);
new Thing(theCity, 1, 1);
new Wall(theCity, 3, 0, Direction.EAST);
... | 435 |
648 | {"resourceType":"DataElement","id":"RequestGroup.action.precheckBehavior","meta":{"lastUpdated":"2017-04-19T07:44:43.294+10:00"},"url":"http://hl7.org/fhir/DataElement/RequestGroup.action.precheckBehavior","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"id":"RequestGroup.action.precheck... | 226 |
643 | <reponame>boaz001/pipes
#ifndef PIPES_HPP
#define PIPES_HPP
#include "pipes/adjacent.hpp"
#include "pipes/cartesian_product.hpp"
#include "pipes/combinations.hpp"
#include "pipes/dev_null.hpp"
#include "pipes/do_then.hpp"
#include "pipes/drop.hpp"
#include "pipes/drop_while.hpp"
#include "pipes/filter.hpp"
#include "p... | 421 |
487 | /**
* Copyright 2014-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 1,241 |
422 | <reponame>hhoppe/Mesh-processing-library
// -*- C++ -*- Copyright (c) Microsoft Corporation; see license.txt
#ifndef MESH_PROCESSING_LIBHH_ARRAYOP_H_
#define MESH_PROCESSING_LIBHH_ARRAYOP_H_
#include "libHh/Advanced.h" // do_in_order
#include "libHh/Array.h"
#include "libHh/RangeOp.h" // sort()
#include "libHh/Vec.... | 1,216 |
5,169 | {
"name": "HBBasic",
"version": "1.0.3",
"summary": "HBBasic iOS Classes",
"description": "Classes for HBBasic",
"platforms": {
"ios": "12.0"
},
"homepage": "https://github.com/hepburnalex/HBBasic",
"license": "MIT",
"authors": {
"hepburn": "<EMAIL>"
},
"source": {
"git": "https://gith... | 425 |
374 | #ifndef SARIBBONBARDESIGNERPLUGIN_H
#define SARIBBONBARDESIGNERPLUGIN_H
#include <QDesignerCustomWidgetInterface>
class QDesignerFormEditorInterface;
class QDesignerFormWindowInterface;
namespace SA_PLUGIN {
/**
* @brief SARibbonBar对应的插件
*/
class SARibbonBarDesignerPlugin : public QObject,
public ... | 522 |
5,169 | {
"name": "PayPalHereSDK",
"version": "1.6.6",
"summary": "SDK for interfacing with PayPal card readers and mobile payment processing APIs.",
"license": "COMMERCIAL",
"homepage": "https://developer.paypal.com/docs/integration/paypal-here/ios-dev/overview/",
"authors": {
"PayPal": "paypal"
},
"source... | 794 |
1,062 | <reponame>larkov/MailTrackerBlocker
//
// Generated by class-dump 3.5b1 (64 bit) (Debug version compiled Dec 3 2019 19:59:57).
//
// Copyright (C) 1997-2019 <NAME>.
//
#import <MailFW/MFEWSPersistenceTaskOperation.h>
@class NSSet;
@interface MFEWSPruneFolderHierarchyTaskOperation : MFEWSPersistenceTaskOperatio... | 329 |
852 | <reponame>ckamtsikis/cmssw
#ifndef RecoVertex_VertexHisto
#define RecoVertex_VertexHisto
#include <string>
#include "RecoVertex/VertexPrimitives/interface/TransientVertex.h"
// #include "RecoVertex/ConfigurableVertexReco/test/TrackHisto.h"
#include "SimDataFormats/TrackingAnalysis/interface/TrackingVertex.h"
#include ... | 478 |
335 | <gh_stars>100-1000
{
"word": "Nadir",
"definitions": [
"The lowest or most unsuccessful point in a situation.",
"The point on the celestial sphere directly below an observer."
],
"parts-of-speech": "Noun"
} | 92 |
2,706 | /* Copyright (c) 2013-2015 <NAME>
*
* 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/. */
#include <mgba/internal/gba/io.h>
#include <mgba/internal/arm/macros.h>
#incl... | 12,282 |
537 | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.08.25 at 0... | 2,112 |
22,779 | <gh_stars>1000+
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2021 DBeaver Corp and others
*
* 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.o... | 618 |
6,304 | /*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// given a prospective edge, compute its initial winding by projecting a ray
// if the ray hits another edge
// if the edge doesn't have a winding yet, hop up to that edge... | 6,858 |
32,544 | <reponame>DBatOWL/tutorials
package com.baeldung.jvmbitversion;
import com.sun.jna.Platform;
public class JVMBitVersion {
public String getUsingSystemClass() {
return System.getProperty("sun.arch.data.model") + "-bit";
}
public String getUsingNativeClass() {
if (com.sun.jna.Native.POINTE... | 265 |
14,425 | <reponame>amahussein/hadoop
/**
* 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... | 753 |
3,227 | <reponame>ffteja/cgal<gh_stars>1000+
/*!
* \ingroup PkgArrangementOnSurface2ConceptsTraits
* \cgalConcept
*
* A model of the concept `ArrangementContractedBottomTraits_2` must be used
* when the parameter space of the surface, the arrangement is embedded on, is
* contracted on the bottom side and curves inserted ... | 384 |
900 | package foam.dao;
import foam.core.FObject;
import foam.core.Property;
import foam.core.X;
/**
* A ProxyDAO that injects a new ID for any item that doesn't already have one.
*
* TODO(braden): Support arbitrary sequence numbering. In practice it's ID 99% of the time.
* TODO(braden): Also assumes that the ID is an ... | 434 |
701 | <filename>sources/kernel/riscv64/sifive_uart.h
#pragma once
#include <uart/uart.h>
// todo: find uart addr from device tree
#define SIFIVE_UART0_BASE 0x10010000
#define SIFIVE_UART1_BASE 0x10011000
enum sifive_uart_registers
{
SIFIVE_UART_TX_DATA = 0,
SIFIVE_UART_RX_DATA = 4,
SIFIVE_UART_TX_CTRL = 8,
... | 663 |
1,188 | <gh_stars>1000+
/*
* Copyright 2017 <NAME> <<EMAIL>>
*
* 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... | 712 |
575 | <reponame>Ron423c/chromium<filename>chrome/browser/ui/webui/chromeos/login/testapi/oobe_test_api_handler.cc
// 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.
#include "chrome/browser/ui/webui/chromeos... | 319 |
320 | <gh_stars>100-1000
import logging
import datetime
import xml.etree.cElementTree as ET
import core
from core.helpers import Url
logging = logging.getLogger(__name__)
'''
Does not supply rss feed -- backlog searches only.
'''
def search(imdbid, term):
proxy_enabled = core.CONFIG['Server']['Proxy']['enabled']
... | 1,079 |
387 | # -*- coding: utf-8 -*-
"""Unit test package for neo-python-core."""
| 28 |
859 | from SLCT import * | 5 |
399 | package com.frostwire.jlibtorrent.alerts;
import com.frostwire.jlibtorrent.swig.block_finished_alert;
/**
* This alert is generated when a block request receives a response.
*
* @author gubatron
* @author aldenml
*/
public final class BlockFinishedAlert extends PeerAlert<block_finished_alert> {
BlockFinishe... | 237 |
809 | <reponame>nikitavlaev/embox
#ifndef R1_CCF_H
#define R1_CCF_H
#define __I volatile const
#define __O volatile
#define __IO volatile
#ifndef uint32
#define uint32
typedef unsigned int uint32_t;
#endif
//bit macro
#define SET_BIT(ELEMENT, BIT_NUM) ELEMENT |= (1 << BIT_NUM));
#define CLR_BIT(ELEM... | 168 |
717 | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gmock/gmock.h>
#include <mariana-trench/LocalPositionSet.h>
#include <mariana-trench/tests/Test.h>
namespace marianat... | 2,146 |
764 | {"symbol": "GDR","address": "0x874D4C9B980f1a13dD44CBcDB912e24Ef0671eD0","overview":{"en": ""},"email": "","website": "https://guider.travel","state": "NORMAL","links": {"blog": "","twitter": "https://twitter.com/guider_official","telegram": "https://t.me/Guider_official","github": "https://github.com/GuiderDev/token/b... | 130 |
587 | <gh_stars>100-1000
""" Vision Transformer (ViT) in PyTorch
A PyTorch implement of Vision Transformers as described in
'An Image Is Worth 16 x 16 Words: Transformers for Image Recognition at Scale' - https://arxiv.org/abs/2010.11929
The official jax code is released and available at https://github.com/google-research/... | 23,752 |
12,718 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _ASM_STHYI_H
#define _ASM_STHYI_H
#define STHYI_FC_CP_IFL_CAP 0
#endif /* _ASM_STHYI_H */ | 81 |
964 | <reponame>Ilanad/kics<filename>assets/queries/azureResourceManager/sql_alert_policy_without_emails/test/positive_expected_result.json
[
{
"queryName": "SQL Alert Policy Without Emails",
"severity": "INFO",
"line": 46,
"filename": "positive1.json"
},
{
"queryName": "SQL Alert Policy Without Ema... | 211 |
684 | <filename>modules/activiti-engine/src/main/java/org/activiti/engine/management/TableMetaData.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
*
* http://www.apache.org/licenses/L... | 557 |
370 | //==============================================================================
//=== sfmult_AN_XN_YN ==========================================================
//==============================================================================
// y = A*x A is m-by-n, x is n-by-k, y is m-by-k
// compare with sfmult... | 2,119 |
496 | /*******************************************************************************
* Project: Nebula
* @file StepReportToBeacon.hpp
* @brief 向注册中心上报
* @author Bwar
* @date: 2019年9月22日
* @note
* Modify history:
******************************************************************************/
#ifndef SR... | 536 |
5,169 | {
"name": "CXPageView",
"version": "0.1.5",
"summary": "CXPageView summary",
"description": "CXPageView s.description",
"homepage": "https://github.com/chuxia98/CXPageView",
"license": "MIT",
"authors": {
"chuxia": "<EMAIL>"
},
"platforms": {
"ios": "8.0"
},
"source": {
"git": "https:/... | 238 |
3,102 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null
static int unused_func(void) {
return 1;
}
int foo(void) {
(void)unused_func; /* avoid compiler warning */
return 2;
}
| 73 |
3,997 | <gh_stars>1000+
# Shows a user's saved tracks (need to be authenticated via oauth)
import spotipy
from spotipy.oauth2 import SpotifyOAuth
scope = 'user-library-read'
def show_tracks(results):
for item in results['items']:
track = item['track']
print("%32.32s %s" % (track['artists'][0]['name'], t... | 203 |
607 | <reponame>CrazyForks/Pixiv-Illustration-Collection-Backend<filename>src/main/java/dev/cheerfun/pixivic/biz/crawler/pixiv/secmapper/ImageMapper.java
package dev.cheerfun.pixivic.biz.crawler.pixiv.secmapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import java.util.List;... | 272 |
1,016 | package com.thinkbiganalytics.datalake.authorization.groups.ldap;
import com.thinkbiganalytics.datalake.authorization.client.SentryClient;
/*-
* #%L
* thinkbig-sentry-client
* %%
* Copyright (C) 2017 ThinkBig Analytics
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use thi... | 1,527 |
429 | <reponame>grom72/daos<filename>src/common/tests/btree.c
/**
* (C) Copyright 2016-2021 Intel Corporation.
*
* SPDX-License-Identifier: BSD-2-Clause-Patent
*/
#define D_LOGFAC DD_FAC(tests)
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#incl... | 11,478 |
6,617 | <reponame>dmhalejr/patch-package
{
"name": "custom-resolutions",
"version": "1.0.0",
"description": "integration test for patch-package",
"main": "index.js",
"author": "",
"license": "ISC",
"dependencies": {
"dependency": "file:./dependency"
},
"resolutions": {
"blahblahblah-definitely-not-a-r... | 165 |
2,023 | class _Getch:
"""Gets a single character from standard input. Does not echo to the
screen."""
def __init__(self):
try:
self.impl = _GetchWindows()
except ImportError:
self.impl = _GetchUnix()
def __call__(self): return self.impl()
class _GetchUnix:
"""Fetch an... | 775 |
560 | <filename>src/androidTest/java/dk/jens/backup/schedules/TestBootReceiver.java
package dk.jens.backup.schedules;
import android.content.Context;
import dk.jens.backup.schedules.db.ScheduleDao;
import static org.mockito.Mockito.mock;
public class TestBootReceiver extends BootReceiver {
static HandleAlarms handleAl... | 270 |
6,992 | /*
* Copyright 2019-2020 the original author or 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 843 |
496 | //
// BCMutableMeshTransform+DemoTransforms.h
// BCMeshTransformView
//
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import "BCMeshTransform.h"
@interface BCMeshTransform (DemoTransforms)
+ (instancetype)curtainMeshTransformAtPoint:(CGPoint)point
boundsSize:(CGSize)bound... | 298 |
5,169 | {
"name": "practiceProject",
"version": "0.0.5",
"summary": "练习pod库",
"description": "“这是描述部分”",
"homepage": "<EMAIL>:LJJHD/practiceProject.git",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {
"malagu": "<EMAIL>"
},
"platforms": {
"ios": "8.0"
},
"source": {
"g... | 347 |
763 | <filename>projects/question/src/main/java/org/batfish/question/evpnl3vniproperties/EvpnL3VniPropertiesQuestion.java<gh_stars>100-1000
package org.batfish.question.evpnl3vniproperties;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
im... | 573 |
14,668 | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_INFOBARS_OVERLAYS_BROWSER_AGENT_INTERACTION_HANDLERS_SAVE_CARD_SAVE_CARD_INFOBAR_MODAL_OVERLAY_REQUEST_CALLBACK_INSTALLER_H_
#d... | 794 |
562 | from conans import ConanFile, tools
import os
class LibdivideConan(ConanFile):
name = "libdivide"
description = "Header-only C/C++ library for optimizing integer division."
topics = ("conan", "libdivide", "division", "integer")
license = ["Zlib", "BSL-1.0"]
homepage = "http://libdivide.com/"
u... | 741 |
343 | /* $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 under the terms of the Eclipse Public License v1.... | 29,115 |
14,668 | <filename>tools/cr/cr/commands/gn.py<gh_stars>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.
"""A module for the gn command."""
import os
import cr
class GnCommand(cr.Command):
"""The implemen... | 420 |
1,073 | <gh_stars>1000+
// RUN: %clang_cc1 -analyze -analyzer-checker=alpha.unix.Chroot -analyzer-store region -verify %s
extern int chroot(const char* path);
extern int chdir(const char* path);
void foo(void) {
}
void f1(void) {
chroot("/usr/local"); // root changed.
foo(); // expected-warning {{No call of chdir("/") i... | 237 |
6,989 | <filename>lib/python2.7/site-packages/scipy/_lib/_testutils.py
"""
Generic test utilities and decorators.
"""
from __future__ import division, print_function, absolute_import
import os
import sys
from numpy.testing import dec
from nose import SkipTest
from scipy._lib.decorator import decorator
__all__ = ['knownf... | 652 |
1,473 | <filename>Core/src/org/sleuthkit/autopsy/ingest/IngestOptionsPanel.java<gh_stars>1000+
/*
* Autopsy Forensic Browser
*
* Copyright 2011-2018 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in... | 4,248 |
14,668 | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ash/web_applications/projector_system_web_app_info.h"
#include "ash/constants/ash_features.h"
#include "ash/grit/ash_projector_a... | 918 |
673 | /*
* Copyright (C) 2018 xuexiangjys(<EMAIL>)
*
* 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 la... | 905 |
592 | {
"layers": {
"VIIRS_SNPP_DayNightBand_At_Sensor_Radiance": {
"id": "VIIRS_SNPP_DayNightBand_At_Sensor_Radiance",
"title": "Black Marble Nighttime At Sensor Radiance (Day/Night Band)",
"subtitle": "Suomi NPP / VIIRS",
"description": "viirs/VIIRS_SNPP_DayNightBand_At_Sensor_Radiance",
... | 270 |
1,829 | <filename>spring-boot-2.0-samples/production-ready-sample/src/main/java/thinking/in/spring/boot/samples/production/ready/actuator/management/CustomizedManagementContextConfiguration.java
package thinking.in.spring.boot.samples.production.ready.actuator.management;
import org.springframework.boot.actuate.autoconfigure.... | 436 |
703 |
#pragma once
#include <RendererFoundation/Resources/UnorderedAccesView.h>
struct ID3D11UnorderedAccessView;
class ezGALUnorderedAccessViewVulkan : public ezGALUnorderedAccessView
{
public:
EZ_ALWAYS_INLINE ID3D11UnorderedAccessView* GetDXResourceView() const;
protected:
friend class ezGALDeviceVulkan;
friend... | 259 |
777 | // 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.
#include <stddef.h>
#include <stdint.h>
#include "base/macros.h"
#include "chrome/browser/media_galleries/chromeos/mtp_device_object_enumerator.h"
#i... | 943 |
764 | <gh_stars>100-1000
{"symbol": "GZR","address": "0xE638dc39b6aDBEE8526b5C22380b4b45dAf46d8e","overview":{"en": ""},"email": "<EMAIL>","website": "https://tokensale.gizer.io/","state": "NORMAL","links": {"blog": "https://medium.com/@Gizer_Gaming/","twitter": "https://twitter.com/Gizer_Gaming","telegram": "https://t.me/gi... | 150 |
575 | // 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 "components/password_manager/core/browser/password_feature_manager_impl.h"
#include "base/test/scoped_feature_list.h"
#include "components/passw... | 1,286 |
347 | package org.ovirt.engine.core.common.vdscommands.gluster;
import org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeOptionEntity;
import org.ovirt.engine.core.compat.Guid;
/**
* VDS parameters class with volume name, volume option and force as parameters,
* apart from volume name inherited from {@l... | 339 |
689 | <reponame>Takaaki-Inaba/ucx
/**
* Copyright (C) Mellanox Technologies Ltd. 2019. ALL RIGHTS RESERVED.
*
* See file LICENSE for terms.
*/
#ifndef UCS_X86_64_GLOBAL_OPTS_H_
#define UCS_X86_64_GLOBAL_OPTS_H_
#include <stddef.h>
#include <ucs/sys/compiler_def.h>
BEGIN_C_DECLS
#define UCS_ARCH_GLOBAL_OPTS_INITALIZER {... | 290 |
3,897 | /*
* Copyright 2018-2020 Cypress Semiconductor Corporation
* SPDX-License-Identifier: Apache-2.0
*
* 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... | 7,136 |
572 |
#ifndef __APPLICATION_SPECIAL_PATH_H__
#define __APPLICATION_SPECIAL_PATH_H__
#include <shlobj.h>
#include "FilePathUtil.h"
class ApplicationSpecialPath {
public:
static std::wstring GetSpecialFolderPath(int csidl) {
wchar_t path[MAX_PATH+1];
if(!SHGetSpecialFolderPath(NULL, path, csidl, false))
return std::... | 1,175 |
310 | package org.seasar.doma.it.domain;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertNull;
import java.util.Optional;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.E... | 518 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.