code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
using System;
namespace JetBrains.ReSharper.Koans.Inspections
{
// Solution Wide Analysis
//
// Analyses whole solution. Can find multiple code issues, and highlights code that isn't used.
// Takes up additional resources, so disabled by default
//
// Enable by right clicking circular indicato... | JetBrains/resharper-workshop | localized/ja/03-Inspections/1-As_you_type/1.8-Solution_wide_analysis.cs | C# | apache-2.0 | 1,349 |
<!--
Copyright 2005-2011 The Kuali Foundation
Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
Unless required by... | ua-eas/ua-rice-2.1.9 | it/kew/src/test/resources/org/kuali/rice/kew/edl/AfterSecondPickup.html | HTML | apache-2.0 | 22,316 |
package com.smartbear.ready.plugin.template.factories;
import com.eviware.soapui.model.ModelItem;
import com.eviware.soapui.plugins.auto.PluginResponseEditorView;
import com.eviware.soapui.support.editor.Editor;
import com.eviware.soapui.support.editor.views.AbstractXmlEditorView;
import com.eviware.soapui.support.edi... | olensmar/ready-api-plugin-template | src/main/java/com/smartbear/ready/plugin/template/factories/SampleResponseEditorView.java | Java | apache-2.0 | 1,092 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_20) on Tue Jun 01 14:31:55 BST 2010 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class com.hp.hpl.j... | jianglili007/pretty-printer | Jenna-2.6.3/doc/javadoc/com/hp/hpl/jena/graph/query/class-use/ExpressionSet.html | HTML | apache-2.0 | 18,498 |
/* 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... | alshedivat/tensorflow | tensorflow/contrib/lite/toco/graph_transformations/resolve_constant_unary.cc | C++ | apache-2.0 | 14,346 |
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: file.dot.proto
/*
Package filedotname is a generated protocol buffer package.
It is generated from these files:
file.dot.proto
It has these top-level messages:
M
*/
package filedotname
import proto "github.com/gogo/protobuf/proto"
import fmt "fmt"
impo... | tangfeixiong/go-for-docker | vendor/github.com/gogo/protobuf/test/filedotname/file.dot.pb.go | GO | apache-2.0 | 31,616 |
/*
* Copyright 2019 Red Hat, Inc. and/or 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 a... | droolsjbpm/jbpm-console-ng | jbpm-wb-human-tasks/jbpm-wb-human-tasks-backend/src/main/java/org/jbpm/workbench/ht/backend/server/DataSetDefsBootstrap.java | Java | apache-2.0 | 4,017 |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | googleapis/google-api-php-client-services | src/Document/GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse.php | PHP | apache-2.0 | 971 |
// Copyright 2017 PingCAP, 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 to i... | tiancaiamao/tidb | owner/manager.go | GO | apache-2.0 | 10,972 |
@echo off
rem Set Quartz to the base directory of the Quartz Distribution
@SET WD=%~d0%~p0
@SET QUARTZ=%WD%..\..
@rem setup the class path...
CALL "%WD%"..\bin\buildcp.bat
SET QUARTZ_CP=%TMP_CP%
rem !!!!!!! Please read important information. !!!!!!
rem If "java" is not in your path, please set the path
... | suthat/signal | vendor/quartz-2.2.0/examples/example4/example4.bat | Batchfile | apache-2.0 | 637 |
<eq name="type" value="personal">
<div class="form-group">
<label for="expand_{$field_id}" class="col-sm-2 control-label" style="text-align: right;">
<eq name="required" value="1"><span style="color: #FF0047;vertical-align: middle;">* </span></eq>{$field_name}
</label>
... | kylinlxl/kylin | Application/Ucenter/View/default/Widget/InputRender/checkbox.html | HTML | apache-2.0 | 1,650 |
/* Copyright 2007-2015 QReal Research Group
*
* 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... | tara-sova/qreal | qrtext/include/qrtext/lua/ast/string.h | C | apache-2.0 | 1,215 |
'use strict';
/* jshint -W110 */
var Utils = require('../../utils')
, util = require('util')
, DataTypes = require('../../data-types')
, AbstractQueryGenerator = require('../abstract/query-generator')
, primaryKeys = {}
, semver = require('semver')
, _ = require('lodash');
var QueryGenerator = {
options... | Brechard/practica5.2 | node_modules/sequelize/lib/dialects/postgres/query-generator.js | JavaScript | apache-2.0 | 31,456 |
/*
* Copyright (C) 2014 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... | android-art-intel/Nougat | art-extension/compiler/optimizing/bounds_check_elimination_test.cc | C++ | apache-2.0 | 39,261 |
/*
* 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... | android-art-intel/Nougat | art-extension/runtime/reflection_test.cc | C++ | apache-2.0 | 20,767 |
/*
* Copyright (C) 2007 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... | 0359xiaodong/ControlAndroidDeviceFromPC | src/com/android/ddmlib/DdmPreferences.java | Java | apache-2.0 | 7,539 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft 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.apa... | akurmi/azure-powershell | src/ResourceManager/Dns/Commands.Dns/Records/AddAzureDnsRecordConfig.cs | C# | apache-2.0 | 7,419 |
/**
* 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... | jack6215/StreamCQL | cql/src/main/java/com/huawei/streaming/cql/semanticanalyzer/analyzecontext/InsertOnlyAnalyzeContext.java | Java | apache-2.0 | 2,457 |
//
// ETSCalendar.h
// ETSMobile
//
// Created by Jean-Philippe Martin on 2014-03-31.
// Copyright (c) 2014 ApplETS. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@interface ETSCalendar : NSManagedObject
@property (nonatomic, retain) NSString * course;
@property (nonato... | krazdax5/ETSMobile-iOS | ETSMobile/ETSCalendar.h | C | apache-2.0 | 710 |
/*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* 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:... | ryoenji/libgdx | gdx/src/com/badlogic/gdx/graphics/g3d/utils/DefaultRenderableSorter.java | Java | apache-2.0 | 2,304 |
/**
* TypeScript global declarations go here
*/
declare global {
// Defined in es2017 but most major browsers support it
interface String {
padStart(width: number, pad: string): string
}
}
export { } | DanielJoyce/microtome | src/lib/globals.d.ts | TypeScript | apache-2.0 | 213 |
package com.jivesoftware.os.miru.stream.plugins.catwalk;
import com.google.common.base.Optional;
import com.jivesoftware.os.miru.api.MiruHost;
import com.jivesoftware.os.miru.api.MiruQueryServiceException;
import com.jivesoftware.os.miru.api.activity.MiruPartitionId;
import com.jivesoftware.os.miru.catwalk.shared.Catw... | jivesoftware/miru | miru-stream-plugins/src/main/java/com/jivesoftware/os/miru/stream/plugins/catwalk/CatwalkRemotePartition.java | Java | apache-2.0 | 1,988 |
/**
* Copyright (c) Istituto Nazionale di Fisica Nucleare, 2006-2014.
*
* 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 re... | ellert/voms-api-java | src/main/java/org/italiangrid/voms/error/VOMSValidationErrorMessage.java | Java | apache-2.0 | 3,203 |
{js:kindeditor}
{js:my97date}
{set:$swfloadObject = new Swfupload('/seller/goods_img_upload');$swfloadObject->show($this->seller['seller_name'],$this->seller['seller_pwd']);}
{set:$seller_id = $this->seller['seller_id']}
<article class="module width_full">
<header>
<h3 class="tabs_involved">商品编辑</h3>
<ul class="t... | yangxt/shop | views/sysseller/seller/goods_edit.html | HTML | apache-2.0 | 17,976 |
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
/**
* Check that setting a breakpoint in a line without code in the second child
* script will skip forward.
*/
var gDebuggee;
var gClient;
var gThreadClient;
function run_test()
{
initTestDebuggerServer(... | wilebeast/FireFox-OS | B2G/gecko/toolkit/devtools/debugger/tests/unit/test_breakpoint-07.js | JavaScript | apache-2.0 | 2,659 |
<!--
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 required by app... | TomGrill/robovm-ios-bindings | youtube-player-helper/resources/YTPlayerView-iframe-player.html | HTML | apache-2.0 | 4,379 |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | googleapis/google-api-php-client-services | src/Dialogflow/GoogleCloudDialogflowCxV3beta1Page.php | PHP | apache-2.0 | 3,651 |
/*
* 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 ... | Fabryprog/camel | platforms/spring-boot/components-starter/camel-avro-starter/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentConfiguration.java | Java | apache-2.0 | 6,533 |
/**
* 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"); yo... | apache/geronimo | framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/ConfigurationInfo.java | Java | apache-2.0 | 3,694 |
using System;
namespace Tesseract
{
public enum EngineMode : int
{
/// <summary>
/// Only the legacy tesseract OCR engine is used.
/// </summary>
TesseractOnly = 0,
/// <summary>
/// Only the new LSTM-based OCR engine is used.
/// </summary>
LstmOn... | nguyenq/tesseract | src/Tesseract/EngineMode.cs | C# | apache-2.0 | 609 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.6.0_30) on Mon Apr 07 15:14:49 MDT 2014 -->
<title>Uses of Class com.google.android.gms.R.color</title>
<meta name="date" content="2014-04-... | CMPUT301W14T11/Team11Prototype | LocationApp/doc/com/google/android/gms/class-use/R.color.html | HTML | apache-2.0 | 4,075 |
/*
* Copyright 2013 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | google/error-prone | core/src/main/java/com/google/errorprone/bugpatterns/inject/AssistedInjectAndInjectOnSameConstructor.java | Java | apache-2.0 | 3,212 |
// @flow
import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../app';
import { ReducerRegistry } from '../redux';
import { USER_INTERACTION_RECEIVED } from './actionTypes';
ReducerRegistry.register('features/base/user-interaction', (state = {}, action) => {
switch (action.type) {
case APP_WILL_MOUNT:
case ... | jitsi/jitsi-meet | react/features/base/user-interaction/reducer.js | JavaScript | apache-2.0 | 563 |
/*
* 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 ma... | apache/axis2-java | modules/kernel/test/org/apache/axis2/addressing/EndpointReferenceHelperTest.java | Java | apache-2.0 | 16,632 |
package org.jgroups.protocols;
import org.jgroups.*;
import org.jgroups.annotations.MBean;
import org.jgroups.annotations.ManagedAttribute;
import org.jgroups.annotations.ManagedOperation;
import org.jgroups.annotations.Property;
import org.jgroups.blocks.locking.AwaitInfo;
import org.jgroups.blocks.locking.LockInfo;
... | danberindei/JGroups | src/org/jgroups/protocols/Locking.java | Java | apache-2.0 | 50,639 |
<table class="table table-bordered">
<tbody>
<tr>
<td>
<b>User:</b> {{datawake.user.user_name}}
</td>
<td>
<b>Org:</b> {{datawake.user.org}}
</td>
<td>
<b>Version:</b> {{versionNumber}}
</td>
</tr>
</tbody>
</table>
<tab... | Sotera/Datawake-Legacy | browser-plugins/FirefoxAddon/data/html/partials/header-partial.html | HTML | apache-2.0 | 1,104 |
/*
File: TestConfigurations.java ; This file is part of Twister.
Version: 2.003
Copyright (C) 2012-2013 , Luxoft
Authors: Andrei Costachi <acostachi@luxoft.com>
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... | ctgriffiths/twister | plugins/TestCaseExecution/TestConfigurations.java | Java | apache-2.0 | 2,201 |
/**
* Author: CZ cz.theng@gmail.com
*/
package bucket
import (
"encoding/xml"
"github.com/cz-it/aliyun-oss-golang-sdk/ossapi"
"path"
"strconv"
)
// LocationInfo is locaiton struct
type LocationInfo struct {
XMLName xml.Name `xml:"LocationConstraint"`
Location string `xml:",chardata"`
}
// QueryLocation Q... | gotajuly/aliyun-oss-golang-sdk-linthub | ossapi/bucket/get_bucket_location.go | GO | apache-2.0 | 1,552 |
/*
* Copyright 2016 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 applica... | gstevey/gradle | subprojects/core/src/main/java/org/gradle/initialization/DefaultJdkToolsInitializer.java | Java | apache-2.0 | 1,612 |
// Copyright 2013 Selenium committers
// Copyright 2013 Software Freedom Conservancy
//
// 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
... | lummyare/lummyare-lummy | javascript/safari-driver/extension/extensionbar.js | JavaScript | apache-2.0 | 1,430 |
/* 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 not... | intrigus/jtransc | jtransc-rt/src/java/nio/charset/CharsetEncoder.java | Java | apache-2.0 | 23,146 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | SALTR/saltr-ios-sdk | build/bin/Saltr.v.1.3.2/doc/interface_s_l_t_board_layer.html | HTML | apache-2.0 | 9,310 |
/*
* 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 ... | DaanWillemsen/guacamole-client | extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/tunnel/ManagedInetGuacamoleSocket.java | Java | apache-2.0 | 2,418 |
# Notifications in Zulip
This is a design document aiming to provide context for developers
working on Zulip's email notifications and mobile push notifications
code paths. We recommend first becoming familiar with [sending
messages](../subsystems/sending-messages.md); this document expands on
the details of the email... | eeshangarg/zulip | docs/subsystems/notifications.md | Markdown | apache-2.0 | 9,556 |
/*
* Copyright 2003,2004 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... | hugosato/apache-axis | src/org/apache/axis/management/Registrar.java | Java | apache-2.0 | 6,272 |
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | googleapis/google-cloud-dotnet | apis/Google.Cloud.ResourceManager.V3/Google.Cloud.ResourceManager.V3.GeneratedSnippets/TagValuesClient.ListTagValuesResourceNamesAsyncSnippet.g.cs | C# | apache-2.0 | 3,287 |
/**
* ÎļþÃû£ºMusic3.java
* ÏîÄ¿-°ü£ºJAVA±à³Ì˼Ïë - µÚ°ËÕÂ
* ×÷ÕߣºÕÅÎĵÏ
* ´´½¨ÈÕÆÚ£º2014-9-10
*/
package µÚ°ËÕÂ;
import java.util.Random;
/**
* @author ÕÅÎĵÏ
* ÀàÃû£ºMusic3
* Àà˵Ã÷£ºÁ·Ï° 6,7,8.
*/
enum Note
{
ºÃµÄ°É,¶î,¹þ¹þ;
}
class Instrument
{
void play(Note n)
{
System.out.println(... | 00wendi00/MyProject | W_eclipse2_1/JAVA编程思想/src/第八章/Music3.java | Java | apache-2.0 | 2,982 |
/*
* 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 ... | ascherbakoff/ignite | modules/core/src/main/java/org/apache/ignite/internal/util/ipc/loopback/IpcServerTcpEndpoint.java | Java | apache-2.0 | 5,549 |
<!DOCTYPE html>
<!--
@license
Copyright (C) 2016 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 appli... | qtproject/qtqa-gerrit | polygerrit-ui/app/elements/shared/gr-js-api-interface/gr-change-reply-js-api_test.html | HTML | apache-2.0 | 3,800 |
/*
* Copyright 2015 - 2017 Atlarge Research Team,
* operating at Technische Universiteit Delft
* and Vrije Universiteit Amsterdam, the Netherlands.
*
* 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... | tudelft-atlarge/graphalytics | graphalytics-core/src/main/java/science/atlarge/graphalytics/util/io/EdgeListPropertyFilter.java | Java | apache-2.0 | 2,590 |
/**
* @license
* Copyright 2015 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
*/
CLASS({
pack... | jlhughes/foam | js/foam/ui/CSSTransition.js | JavaScript | apache-2.0 | 1,723 |
在Android平台上可以操作数据库,这是第一次接触Android时的惊艳之一。在Android平台上,绑定了SQLite数据库,这个数据库系统也是极具性格的,它的最大的应用场景是嵌入式系统。
如果有JDBC的经验,那么在这里会容易的多。Android中操作数据库首先要通过一个类:android.database.sqlite.SQLiteOpenHelper。它封装了如何打开一个数据库,其中当然也包含如果数据库不存在 就创建这样的逻辑。
看一个例子:
```
public class DatabaseHelper extends SQLiteOpenHelper {
private static final String D... | EManual/EManual.github.io | android-tmp/test/android_datastorage/数据库/0000-Android 数据存取之Databases.md | Markdown | apache-2.0 | 8,382 |
/*
* 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 ... | apache/tomcat | modules/openssl-java17/src/main/java/org/apache/tomcat/util/openssl/constants$5.java | Java | apache-2.0 | 3,205 |
using UnityEngine;
using System.Collections;
public class UIManager : Singleton<UIManager> {
protected UIManager () {}
public GameObject BottomLeftAnchor, TopLeftAnchor;
public void Awake() {
BottomLeftAnchor = transform.Find ("BottomLeftAnchor").gameObject;
TopLeftAnchor = transform.Find ("TopLeftAnchor").... | DarrenTsung/turbo-octopus | turbo-octopus-unity/Assets/Scripts/Managers/UIManager.cs | C# | apache-2.0 | 339 |
#!/bin/bash -xe
PREV_DIR=`pwd`
cd "$(dirname $0)"
echo "Cleaning environment"
python3 setup.py clean
echo "Building chrome-loader.exe"
rm -f bzt/resources/chrome-loader.exe
x86_64-w64-mingw32-gcc -std=c99 -o bzt/resources/chrome-loader.exe bzt/resources/chrome-loader.c
echo "Creating distribution packages"
rm -rf .... | Blazemeter/taurus | build-artifacts.sh | Shell | apache-2.0 | 381 |
# coding=utf-8
# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
from __future__ import (absolute_import, division, generators, nested_scopes, print_function,
unicode_literals, with_statement)
import shutil
import... | pgroudas/pants | tests/python/pants_test/tasks/test_cache_manager.py | Python | apache-2.0 | 4,697 |
/*=========================================================================
Library: TubeTK
Copyright 2010 Kitware Inc. 28 Corporate Drive,
Clifton Park, NY, 12065, USA.
All rights reserved.
Licensed under the Apache License, Version 2.0 ( the "License" );
you may not use this file except in compliance with the L... | thewtex/TubeTK | src/Filtering/itktubeEnhanceContrastUsingPriorImageFilter.h | C | apache-2.0 | 4,372 |
# Copyright 2017 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 law or a... | qingling128/google-cloud-ruby | google-cloud-pubsub/test/google/cloud/pubsub/convert/timestamp_test.rb | Ruby | apache-2.0 | 2,297 |
/*
* 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... | eva-xuyen/excalibur | containerkit/logkit/src/main/java/org/apache/log/Priority.java | Java | apache-2.0 | 5,377 |
/**
* 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... | dlyle65535/metron | metron-platform/metron-common/src/main/java/org/apache/metron/common/configuration/EnrichmentConfigurations.java | Java | apache-2.0 | 2,122 |
/*
* Copyright (c) 2008-2020, Hazelcast, 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 ... | mdogan/hazelcast | hazelcast/src/main/java/com/hazelcast/internal/networking/nio/SelectorOptimizer.java | Java | apache-2.0 | 7,259 |
<!DOCTYPE html >
<html>
<head>
<link rel="stylesheet" href="demos.css" type="text/css" media="screen" />
<script src="../libraries/RGraph.common.core.js" ></script>
<script src="../libraries/RGraph.common.dynamic.js" ></script>
<script src="../libraries/RGraph.gauge.js" ></script>
<script src="... | ubiss2015d/alpha | web_parser/RGraph4/demos/gauge-skeleton.html | HTML | apache-2.0 | 2,888 |
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
// Copyright (c) 2011, 2012 Open Networking Foundation
// Copyright (c) 2012, 2013 Big Switch Networks, Inc.
// This library was generated by the LoxiGen Compiler.
// See the file LICENSE.txt which should have been included in the sour... | mehdi149/OF_COMPILER_0.1 | gen-src/main/java/org/projectfloodlight/openflow/protocol/action/OFActionSetNwTos.java | Java | apache-2.0 | 1,867 |
// 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... | jpeach/mesos | src/internal/evolve.cpp | C++ | apache-2.0 | 19,005 |
package org.apache.lucene.index;
/*
* 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... | pkarmstr/NYBC | solr-4.2.1/lucene/core/src/test/org/apache/lucene/index/TestAddIndexes.java | Java | apache-2.0 | 38,814 |
// Copyright 2019 The Bazel 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 appl... | cushon/bazel | src/test/java/com/google/devtools/build/lib/query2/cquery/BuildOutputFormatterCallbackTest.java | Java | apache-2.0 | 9,947 |
/*
* Copyright © 2014 TU Berlin (emma@dima.tu-berlin.de)
*
* 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... | emmalanguage/emma | emma-lib-flink/src/test/scala/org/emmalanguage/lib/ml/feature/TokenizeFlinkSpec.scala | Scala | apache-2.0 | 1,270 |
<p>
<strong><?php _e('Certain options below such as the venue featured image and venue excerpt will only be displayed if supported by your WordPress theme.', 'event_espresso'); ?></strong>
</p>
<p><strong><?php _e('Venue Featured Image', 'event_espresso'); ?></strong></p>
<p>
<?php _e('Set a featured image for your ven... | yoanngern/iahm_2016 | wp-content/plugins/event-espresso-core-reg/admin_pages/venues/help_tabs/venues_editor_other.help_tab.php | PHP | apache-2.0 | 1,418 |
// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | google/tock-on-titan | userspace/personality_test/include/fips_aes.h | C | apache-2.0 | 1,553 |
#!/usr/bin/python
#
# Author: Rajesh Sinha, Karan Narain
# The base class for Twitter and GPlus Objects
#
import logging
import sys
from bs4 import BeautifulSoup
import urllib2
import re
## Some Important constants
_parser = "lxml" ## remember to pip install lxml or else use another parser
_loggingLevel = loggin... | sinharrajesh/dbtools | google-plus-analysis/SocialNW.py | Python | apache-2.0 | 4,807 |
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | googleapis/google-cloud-dotnet | apis/Google.Cloud.Notebooks.V1/Google.Cloud.Notebooks.V1.GeneratedSnippets/NotebookServiceClient.UpgradeInstanceRequestObjectAsyncSnippet.g.cs | C# | apache-2.0 | 2,684 |
package io.fabric8.workflow.build;
import io.fabric8.io.fabric8.workflow.build.signal.BuildSignallerService;
import org.jbpm.test.JBPMHelper;
import org.kie.api.KieBase;
import org.kie.api.KieServices;
import org.kie.api.runtime.KieContainer;
import org.kie.api.runtime.KieSession;
import org.kie.api.runtime.manager.Ru... | jimmidyson/fabric8 | components/fabric8-build-workflow/src/test/java/io/fabric8/workflow/build/MainWithPersistence.java | Java | apache-2.0 | 1,840 |
// Copyright 2017 PingCAP, 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 to i... | coocood/tidb | ddl/table_split_test.go | GO | apache-2.0 | 2,839 |
#region Header
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Copyright (c) 2007-2008 James Nies and NArrange contributors.
* All rights reserved.
*
* This program and the accompanying materials are made available under
* the terms of the Common Public License v1.0 which accom... | adgistics/Adgistics.Build | NArrange/src/NArrange.Gui/Configuration/ConfigurationPicker.cs | C# | apache-2.0 | 6,800 |
/*
* Copyright 2022 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | gocd/gocd | server/src/main/webapp/WEB-INF/rails/webpack/models/secret_configs/secret_configs_json.ts | TypeScript | apache-2.0 | 1,246 |
#!/usr/bin/env python
import logging
import sys
import os
import signal
import conf
import core
from thrift.transport import TSocket
from thrift.transport import TTransport
from thrift.protocol.TBinaryProtocol import TBinaryProtocolAcceleratedFactory
from thrift.server import TServer
from rpc import RndNodeApi
log... | chadmv/plow | lib/python/plow/rndaemon/server.py | Python | apache-2.0 | 2,191 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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/. */
#ifndef imgStatusTracker_h__
#defi... | wilebeast/FireFox-OS | B2G/gecko/image/src/imgStatusTracker.h | C | apache-2.0 | 6,666 |
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | googleapis/google-cloud-dotnet | apis/Google.Cloud.BinaryAuthorization.V1/Google.Cloud.BinaryAuthorization.V1.GeneratedSnippets/BinauthzManagementServiceV1Client.UpdateAttestorSnippet.g.cs | C# | apache-2.0 | 1,727 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Fri Sep 05 23:33:05 UTC 2014 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.i... | jimmypw/hadoop | share/doc/hadoop/api/org/apache/hadoop/io/class-use/VIntWritable.html | HTML | apache-2.0 | 8,073 |
/*
* Copyright 2014 Red Hat, Inc.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
*
* The Eclipse Public License is available at
* http://www.eclipse.o... | vert-x3/vertx-web | vertx-template-engines/vertx-web-templ-pebble/src/test/java/io/vertx/ext/web/templ/PebbleTemplateNoCacheTest.java | Java | apache-2.0 | 2,511 |
/*
* Copyright 2021 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | marques-work/gocd | server/src/main/webapp/WEB-INF/rails/app/assets/javascripts/helpers.js | JavaScript | apache-2.0 | 1,029 |
package org.insightech.er.common.dialog;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.TabFolder;
import org.eclipse.swt.widgets.TabItem;
import org.insightech.er.ResourceString;
import org.insightech.er.Resources;... | kozake/ermaster-k | org.insightech.er/src/org/insightech/er/common/dialog/ValidatableTabWrapper.java | Java | apache-2.0 | 1,603 |
// <copyright file="RemoteTargetLocator.cs" company="WebDriver Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this fil... | actmd/selenium | dotnet/src/webdriver/Remote/RemoteTargetLocator.cs | C# | apache-2.0 | 8,398 |
package ru.aserdyuchenko.start;
/*
Исключения делятся на три типа: контролируемые исключения (checked) и
неконтролируемые исключения (unchecked), к которым относятся ошибки (Errors) и
исключения времени выполнения (RuntimeExceptions, потомок класса Exception).
*/
/**
* Exemple exeption.
* @author Anton Serdyuchenko ... | anton415/Job4j | Intern/Part_2_OOP_Control_questions/src/main/java/ru/aserdyuchenko/start/SecondQuestion.java | Java | apache-2.0 | 935 |
/*
* 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 ... | leeyazhou/sharding-jdbc | sharding-proxy/sharding-proxy-frontend/sharding-proxy-frontend-mysql/src/main/java/org/apache/shardingsphere/shardingproxy/frontend/mysql/command/admin/quit/MySQLComQuitExecutor.java | Java | apache-2.0 | 1,436 |
define({
root: ({
}),
es: true,
it: true,
ru: true,
tr: true,
"zh-cn": true
}); | Esri/workflowmanager-viewer-js | js/widget/charting/StackedBarChart/nls/Strings.js | JavaScript | apache-2.0 | 121 |
/**
* 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... | cloudera/hcatalog | webhcat/svr/src/main/java/org/apache/hcatalog/templeton/PartitionDesc.java | Java | apache-2.0 | 1,349 |
package test.thread.parallelization;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertNull;
import static org.testng.Assert.assertTrue;
import static org.testng.Assert.fail;
import static test.thread.parallelization.TestNgRunStateTracker.E... | krmahadevan/testng | testng-core/src/test/java/test/thread/parallelization/BaseParallelizationTest.java | Java | apache-2.0 | 46,945 |
package server
import (
"crypto/tls"
"encoding/base64"
"encoding/json"
"fmt"
"io"
"net"
"net/http"
"os"
"runtime"
"strconv"
"strings"
"time"
"github.com/gorilla/mux"
"golang.org/x/net/websocket"
"github.com/Sirupsen/logrus"
"github.com/docker/docker/api"
"github.com/docker/docker/api/types"
"github... | sheavner/docker | api/server/server.go | GO | apache-2.0 | 44,592 |
#!/usr/bin/env python
import lib_v2 as lib
import sys
import os
def main(argv=None):
"""
Usage is:
submit.py [--account <chargecode>] [--url <url>] -- <commandline>
Run from the working dir of the job which must contain (in addition
to the job files) a file named scheduler.conf with scheduler prop... | SciGaP/DEPRECATED-Cipres-Airavata-POC | saminda/cipres-airavata/sdk/scripts/remote_resource/trestles/submit_v2.py | Python | apache-2.0 | 5,478 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace BuiltToRoam.Synchronization
{
public enum SyncAction
{
None,
Start,
Progress,
End,
Error,
Cancel
}
... | builttoroam/realestateinspector | BuiltToRoam.Synchronization/SynchronizationContext.cs | C# | apache-2.0 | 14,498 |
# Martian Run!
A 2D running game built with [libGDX](http://libgdx.badlogicgames.com).
<a href="https://play.google.com/store/apps/details?id=com.gamestudio24.cityescape.android">
<img alt="Get it on Google Play"
src="https://developer.android.com/images/brand/en_generic_rgb_wo_60.png" />
</a>
You can find ... | sobbin/martianrun | README.md | Markdown | apache-2.0 | 3,380 |
# $NetBSD: Makefile,v 1.2 2004/06/30 03:37:40 jmc Exp $
PKGBASE=base-nis-root
TINY_VERSION=0
.include "../../../mk/bsd.syspkg.mk"
| execunix/vinos | distrib/syspkg/sets/base/base-nis-root/Makefile | Makefile | apache-2.0 | 132 |
/*
* Copyright 2010-2014 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/apache2.0
*
* or in the "l... | mwilliamson-firefly/aws-sdk-net | sdk/src/Services/CodePipeline/Generated/Model/InvalidStructureException.cs | C# | apache-2.0 | 3,105 |
package com.xiledsystems.AlternateJavaBridgelib.components.altbridge;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import org.json.JSONException;
import com.xiledsystems.AlternateJavaBridgelib.components.alt... | roadlabs/alternate-java-bridge-library | src/com/xiledsystems/AlternateJavaBridgelib/components/altbridge/SpriteSheetHelper.java | Java | apache-2.0 | 6,123 |
mongodb CHANGELOG
=================
This file is used to list changes made in each version of the mongodb cookbook.
0.1.0
-----
- [your_name] - Initial release of mongodb
- - -
Check the [Markdown Syntax Guide](http://daringfireball.net/projects/markdown/syntax) for help with Markdown.
The [Github Flavored Markdown... | niranjan-hanumegowda/chef-repo | cookbooks/mongodb/CHANGELOG.md | Markdown | apache-2.0 | 455 |
//===--- GenericSignature.cpp - Generic Signature AST ---------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | jopamer/swift | lib/AST/GenericSignature.cpp | C++ | apache-2.0 | 37,369 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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 "mozilla/ModuleUtils.h"
#... | wilebeast/FireFox-OS | B2G/gecko/dom/plugins/base/nsPluginModule.cpp | C++ | apache-2.0 | 932 |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_PROFILES_AVATAR_MENU_MODEL_H_
#define CHROME_BROWSER_PROFILES_AVATAR_MENU_MODEL_H_
#include <vector>
#include "base/basictype... | plxaye/chromium | src/chrome/browser/profiles/avatar_menu_model.h | C | apache-2.0 | 4,798 |
/*
* 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 ... | Fabryprog/camel | core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerPollStrategyNotBeginTest.java | Java | apache-2.0 | 3,408 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.