//===- CanonicalizeAliases.cpp - ThinLTO Support: Canonicalize Aliases ----===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// Currently this file implements partial alias canonicalization, to
// flatten chains of aliases (also done by GlobalOpt, but not on for
// O0 compiles). E.g.
//  @a = alias i8, i8 *@b
//  @b = alias i8, i8 *@g
//
// will be converted to:
//  @a = alias i8, i8 *@g  <-- @a is now an alias to base object @g
//  @b = alias i8, i8 *@g
//
// Eventually this file will implement full alias canonicalation, so that
// all aliasees are private anonymous values. E.g.
//  @a = alias i8, i8 *@g
//  @g = global i8 0
//
// will be converted to:
//  @0 = private global
//  @a = alias i8, i8* @0
//  @g = alias i8, i8* @0
//
// This simplifies optimization and ThinLTO linking of the original symbols.
//===----------------------------------------------------------------------===//

#include "llvm/Transforms/Utils/CanonicalizeAliases.h"
#include "llvm/IR/Operator.h"
#include "llvm/IR/ValueHandle.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"

using namespace llvm;

namespace {

static Constant *canonicalizeAlias(Constant *C, bool &Changed) {
  if (auto *GA = dyn_cast<GlobalAlias>(C)) {
    auto *NewAliasee = canonicalizeAlias(GA->getAliasee(), Changed);
    if (NewAliasee != GA->getAliasee()) {
      GA->setAliasee(NewAliasee);
      Changed = true;
    }
    return NewAliasee;
  }

  auto *CE = dyn_cast<ConstantExpr>(C);
  if (!CE)
    return C;

  std::vector<Constant *> Ops;
  for (Use &U : CE->operands())
    Ops.push_back(canonicalizeAlias(cast<Constant>(U), Changed));
  return CE->getWithOperands(Ops);
}

/// Convert aliases to canonical form.
static bool canonicalizeAliases(Module &M) {
  bool Changed = false;
  for (auto &GA : M.aliases())
    canonicalizeAlias(&GA, Changed);
  return Changed;
}

// Legacy pass that canonicalizes aliases.
class CanonicalizeAliasesLegacyPass : public ModulePass {

public:
  /// Pass identification, replacement for typeid
  static char ID;

  /// Specify pass name for debug output
  StringRef getPassName() const override { return "Canonicalize Aliases"; }

  explicit CanonicalizeAliasesLegacyPass() : ModulePass(ID) {}

  bool runOnModule(Module &M) override { return canonicalizeAliases(M); }
};
char CanonicalizeAliasesLegacyPass::ID = 0;

} // anonymous namespace

PreservedAnalyses CanonicalizeAliasesPass::run(Module &M,
                                               ModuleAnalysisManager &AM) {
  if (!canonicalizeAliases(M))
    return PreservedAnalyses::all();

  return PreservedAnalyses::none();
}

INITIALIZE_PASS_BEGIN(CanonicalizeAliasesLegacyPass, "canonicalize-aliases",
                      "Canonicalize aliases", false, false)
INITIALIZE_PASS_END(CanonicalizeAliasesLegacyPass, "canonicalize-aliases",
                    "Canonicalize aliases", false, false)

namespace llvm {
ModulePass *createCanonicalizeAliasesPass() {
  return new CanonicalizeAliasesLegacyPass();
}
} // namespace llvm

{'repo_name': 'google/swiftshader', 'stars': '1019', 'repo_language': 'C++', 'file_name': 'backtrace-supported.h', 'mime_type': 'text/plain', 'hash': 2786333852484119007, 'source_dataset': 'data'}


package org.hotswap.agent.plugin.spring;

import static org.junit.Assert.assertTrue;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;

import org.hotswap.agent.plugin.hotswapper.HotSwapper;
import org.hotswap.agent.plugin.spring.scanner.ClassPathBeanDefinitionScannerAgent;
import org.hotswap.agent.util.test.WaitHelper;
import org.junit.rules.TestRule;
import org.junit.runner.Description;
import org.junit.runners.model.Statement;

public class ClassSwappingRule implements TestRule {

    private Set<Class<?>> swappedClasses;

    @Override
    public Statement apply(Statement base, Description description) {
        return new Statement() {

            @Override
            public void evaluate() throws Throwable {
                swappedClasses = new HashSet<>();
                try {
                    base.evaluate();
                } finally {
                    for (Class<?> cls : new ArrayList<>(swappedClasses))
                        swapClasses(cls, cls);
                }
            }
        };
    }

    public void swapClasses(Class<?> original, Class<?> swap) throws Exception {
        if (original.equals(swap))
            swappedClasses.remove(original);
        else
            swappedClasses.add(original);
        ClassPathBeanDefinitionScannerAgent.reloadFlag = true;
        HotSwapper.swapClasses(original, swap.getName());
        assertTrue(WaitHelper.waitForCommand(new WaitHelper.Command() {
            @Override
            public boolean result() throws Exception {
                return !ClassPathBeanDefinitionScannerAgent.reloadFlag;
            }
        }));

        // TODO do not know why sleep is needed, maybe a separate thread in Spring
        // refresh?
        Thread.sleep(100);
    }
}

{'repo_name': 'HotswapProjects/HotswapAgent', 'stars': '1506', 'repo_language': 'Java', 'file_name': 'pom.xml', 'mime_type': 'text/xml', 'hash': 4918391610990140340, 'source_dataset': 'data'}


/*
 * volume_id - reads filesystem label and uuid
 *
 * Copyright (C) 2004 Kay Sievers <kay.sievers@vrfy.org>
 *
 *	This library is free software; you can redistribute it and/or
 *	modify it under the terms of the GNU Lesser General Public
 *	License as published by the Free Software Foundation; either
 *	version 2.1 of the License, or (at your option) any later version.
 *
 *	This library is distributed in the hope that it will be useful,
 *	but WITHOUT ANY WARRANTY; without even the implied warranty of
 *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 *	Lesser General Public License for more details.
 *
 *	You should have received a copy of the GNU Lesser General Public
 *	License along with this library; if not, write to the Free Software
 *	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 */

//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_EXT) += ext.o

//config:
//config:config FEATURE_VOLUMEID_EXT
//config:	bool "Ext filesystem"
//config:	default y
//config:	depends on VOLUMEID
//config:	help
//config:	  TODO
//config:

#include "volume_id_internal.h"
#include "bb_e2fs_defs.h"

#define EXT_SUPERBLOCK_OFFSET			0x400

int FAST_FUNC volume_id_probe_ext(struct volume_id *id /*,uint64_t off*/)
{
#define off ((uint64_t)0)
	struct ext2_super_block *es;

	dbg("ext: probing at offset 0x%llx", (unsigned long long) off);

	es = volume_id_get_buffer(id, off + EXT_SUPERBLOCK_OFFSET, 0x200);
	if (es == NULL)
		return -1;

	if (es->s_magic != cpu_to_le16(EXT2_SUPER_MAGIC)) {
		dbg("ext: no magic found");
		return -1;
	}

//	volume_id_set_usage(id, VOLUME_ID_FILESYSTEM);
//	volume_id_set_label_raw(id, es->volume_name, 16);
	volume_id_set_label_string(id, (void*)es->s_volume_name, 16);
	volume_id_set_uuid(id, es->s_uuid, UUID_DCE);
	dbg("ext: label '%s' uuid '%s'", id->label, id->uuid);

#if ENABLE_FEATURE_BLKID_TYPE
	if ((es->s_feature_ro_compat & cpu_to_le32(EXT4_FEATURE_RO_COMPAT_HUGE_FILE | EXT4_FEATURE_RO_COMPAT_DIR_NLINK))
	 || (es->s_feature_incompat & cpu_to_le32(EXT4_FEATURE_INCOMPAT_EXTENTS | EXT4_FEATURE_INCOMPAT_64BIT))
	) {
		id->type = "ext4";
	}
	else if (es->s_feature_compat & cpu_to_le32(EXT3_FEATURE_COMPAT_HAS_JOURNAL))
		id->type = "ext3";
	else
		id->type = "ext2";
#endif
	return 0;
}

{'repo_name': 'wl500g/wl500g', 'stars': '129', 'repo_language': 'C', 'file_name': 'xirc2ps_cs.c', 'mime_type': 'text/x-c', 'hash': -5114921584477595202, 'source_dataset': 'data'}


---
-api-id: M:Windows.ApplicationModel.Package.GetContentGroupsAsync
-api-type: winrt method
---

<!-- Method syntax.
public IAsyncOperation<PackageContentGroup>> Package.GetContentGroupsAsync()
-->

# Windows.ApplicationModel.Package.GetContentGroupsAsync

## -description
Provides information about all of the package content groups in the app and their state, name, whether they are required, and so on.

## -returns
A list of package content group objects.

## -remarks
The returned collection may be empty if the package does not contain any content groups.

## -see-also

## -examples

{'repo_name': 'MicrosoftDocs/winrt-api', 'stars': '106', 'repo_language': 'JavaScript', 'file_name': 'AssemblyInfo.cs', 'mime_type': 'text/plain', 'hash': -3166532412307367676, 'source_dataset': 'data'}


<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="HlD-jV-AOV">
    <device id="retina6_1" orientation="portrait" appearance="light"/>
    <dependencies>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    </dependencies>
    <scenes>
        <!--Backup Settings-->
        <scene sceneID="YR0-SG-hFJ">
            <objects>
                <tableViewController id="dFx-m2-6I9" customClass="BackupsTableViewController" sceneMemberID="viewController">
                    <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="grouped" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="18" sectionFooterHeight="18" id="daP-Ba-7bt">
                        <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                        <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
                        <sections>
                            <tableViewSection headerTitle="Settings" footerTitle="The oldest backups will be deleted when maximum keep count is exceeded. Backups are taken before each sync." id="3pa-Ua-OFq">
                                <cells>
                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" id="pXK-ZJ-X47" userLabel="Show Tips">
                                        <rect key="frame" x="0.0" y="55.5" width="414" height="44"/>
                                        <autoresizingMask key="autoresizingMask"/>
                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="pXK-ZJ-X47" id="pTi-wz-Qxa">
                                            <rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
                                            <autoresizingMask key="autoresizingMask"/>
                                            <subviews>
                                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Make Backups" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vBC-ZC-5YD" userLabel="Show Tips">
                                                    <rect key="frame" x="20" y="11" width="111.5" height="22"/>
                                                    <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
                                                    <nil key="textColor"/>
                                                    <nil key="highlightedColor"/>
                                                </label>
                                                <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" preservesSuperviewLayoutMargins="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="cjC-Zg-NLC">
                                                    <rect key="frame" x="345" y="6.5" width="51" height="31"/>
                                                    <connections>
                                                        <action selector="onSettingChanged:" destination="dFx-m2-6I9" eventType="valueChanged" id="ArI-s8-f9p"/>
                                                    </connections>
                                                </switch>
                                            </subviews>
                                            <constraints>
                                                <constraint firstItem="vBC-ZC-5YD" firstAttribute="centerY" secondItem="cjC-Zg-NLC" secondAttribute="centerY" id="6yH-Lk-exQ"/>
                                                <constraint firstItem="vBC-ZC-5YD" firstAttribute="bottom" secondItem="pTi-wz-Qxa" secondAttribute="bottomMargin" id="GBd-DG-eep"/>
                                                <constraint firstItem="vBC-ZC-5YD" firstAttribute="top" secondItem="pTi-wz-Qxa" secondAttribute="topMargin" id="T6J-1N-7vo"/>
                                                <constraint firstItem="vBC-ZC-5YD" firstAttribute="leading" secondItem="pTi-wz-Qxa" secondAttribute="leading" constant="20" id="XQR-F2-7za"/>
                                                <constraint firstItem="cjC-Zg-NLC" firstAttribute="trailing" secondItem="pTi-wz-Qxa" secondAttribute="trailing" constant="-20" id="Z4V-6R-O1S"/>
                                                <constraint firstItem="cjC-Zg-NLC" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="vBC-ZC-5YD" secondAttribute="trailing" constant="8" symbolic="YES" id="gT1-HW-j6J"/>
                                            </constraints>
                                        </tableViewCellContentView>
                                    </tableViewCell>
                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" accessoryType="disclosureIndicator" indentationWidth="10" id="IH8-KJ-Iyw">
                                        <rect key="frame" x="0.0" y="99.5" width="414" height="44"/>
                                        <autoresizingMask key="autoresizingMask"/>
                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="IH8-KJ-Iyw" id="jeS-Ca-tBB">
                                            <rect key="frame" x="0.0" y="0.0" width="383" height="44"/>
                                            <autoresizingMask key="autoresizingMask"/>
                                            <subviews>
                                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Maximum Keep Count" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="15w-0H-FU1">
                                                    <rect key="frame" x="20" y="11" width="168" height="22"/>
                                                    <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
                                                    <nil key="textColor"/>
                                                    <nil key="highlightedColor"/>
                                                </label>
                                                <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="10" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gVp-AH-IVd">
                                                    <rect key="frame" x="357" y="12" width="18" height="20.5"/>
                                                    <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
                                                    <nil key="textColor"/>
                                                    <nil key="highlightedColor"/>
                                                </label>
                                            </subviews>
                                            <constraints>
                                                <constraint firstItem="15w-0H-FU1" firstAttribute="leading" secondItem="jeS-Ca-tBB" secondAttribute="leading" constant="20" id="0C6-Ca-le3"/>
                                                <constraint firstItem="gVp-AH-IVd" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="15w-0H-FU1" secondAttribute="trailing" constant="8" symbolic="YES" id="Jye-af-UME"/>
                                                <constraint firstItem="gVp-AH-IVd" firstAttribute="centerY" secondItem="jeS-Ca-tBB" secondAttribute="centerY" id="SGs-Uu-YGt"/>
                                                <constraint firstAttribute="trailing" secondItem="gVp-AH-IVd" secondAttribute="trailing" constant="8" id="ZlB-VL-a3e"/>
                                                <constraint firstItem="15w-0H-FU1" firstAttribute="top" secondItem="jeS-Ca-tBB" secondAttribute="topMargin" id="dt5-lc-svV"/>
                                                <constraint firstItem="15w-0H-FU1" firstAttribute="bottom" secondItem="jeS-Ca-tBB" secondAttribute="bottomMargin" id="ivX-in-uTd"/>
                                            </constraints>
                                        </tableViewCellContentView>
                                    </tableViewCell>
                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" id="DWd-Bz-7A2">
                                        <rect key="frame" x="0.0" y="143.5" width="414" height="44"/>
                                        <autoresizingMask key="autoresizingMask"/>
                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="DWd-Bz-7A2" id="WKU-C6-AF5">
                                            <rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
                                            <autoresizingMask key="autoresizingMask"/>
                                            <subviews>
                                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Delete All Backups..." textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vv1-1M-Va0">
                                                    <rect key="frame" x="20" y="11" width="157" height="22"/>
                                                    <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
                                                    <nil key="textColor"/>
                                                    <nil key="highlightedColor"/>
                                                </label>
                                            </subviews>
                                            <constraints>
                                                <constraint firstItem="vv1-1M-Va0" firstAttribute="top" secondItem="WKU-C6-AF5" secondAttribute="topMargin" id="c8X-fk-AjT"/>
                                                <constraint firstItem="vv1-1M-Va0" firstAttribute="bottom" secondItem="WKU-C6-AF5" secondAttribute="bottomMargin" id="cfh-gI-mLv"/>
                                                <constraint firstAttribute="trailingMargin" relation="greaterThanOrEqual" secondItem="vv1-1M-Va0" secondAttribute="trailing" constant="8" id="guN-BS-Mja"/>
                                                <constraint firstItem="vv1-1M-Va0" firstAttribute="leading" secondItem="WKU-C6-AF5" secondAttribute="leading" constant="20" id="s3X-5N-9HL"/>
                                            </constraints>
                                        </tableViewCellContentView>
                                    </tableViewCell>
                                </cells>
                            </tableViewSection>
                            <tableViewSection headerTitle="Current Backups" id="Zdc-tg-Snp">
                                <cells>
                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" accessoryType="disclosureIndicator" indentationWidth="10" id="k9Q-H0-wc9">
                                        <rect key="frame" x="0.0" y="271.5" width="414" height="44"/>
                                        <autoresizingMask key="autoresizingMask"/>
                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="k9Q-H0-wc9" id="QDV-Bb-5gp">
                                            <rect key="frame" x="0.0" y="0.0" width="383" height="44"/>
                                            <autoresizingMask key="autoresizingMask"/>
                                            <subviews>
                                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="View Backups" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="OPQ-KA-GBV">
                                                    <rect key="frame" x="20" y="11" width="107.5" height="22"/>
                                                    <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
                                                    <nil key="textColor"/>
                                                    <nil key="highlightedColor"/>
                                                </label>
                                                <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="3" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Whn-bd-ed0">
                                                    <rect key="frame" x="364.5" y="12" width="10.5" height="20.5"/>
                                                    <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
                                                    <nil key="textColor"/>
                                                    <nil key="highlightedColor"/>
                                                </label>
                                            </subviews>
                                            <constraints>
                                                <constraint firstItem="OPQ-KA-GBV" firstAttribute="bottom" secondItem="QDV-Bb-5gp" secondAttribute="bottomMargin" id="J1l-sZ-Vtv"/>
                                                <constraint firstAttribute="trailing" secondItem="Whn-bd-ed0" secondAttribute="trailing" constant="8" id="WdH-1s-Lu7"/>
                                                <constraint firstItem="OPQ-KA-GBV" firstAttribute="leading" secondItem="QDV-Bb-5gp" secondAttribute="leading" constant="20" id="gph-57-MhX"/>
                                                <constraint firstItem="OPQ-KA-GBV" firstAttribute="top" secondItem="QDV-Bb-5gp" secondAttribute="topMargin" id="olJ-IQ-Tic"/>
                                                <constraint firstItem="Whn-bd-ed0" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="OPQ-KA-GBV" secondAttribute="trailing" constant="8" symbolic="YES" id="xH3-GX-2cE"/>
                                                <constraint firstItem="Whn-bd-ed0" firstAttribute="centerY" secondItem="QDV-Bb-5gp" secondAttribute="centerY" id="zzP-5b-5yT"/>
                                            </constraints>
                                        </tableViewCellContentView>
                                    </tableViewCell>
                                </cells>
                            </tableViewSection>
                        </sections>
                        <connections>
                            <outlet property="dataSource" destination="dFx-m2-6I9" id="ePP-aT-5tE"/>
                            <outlet property="delegate" destination="dFx-m2-6I9" id="NJm-UD-Jpi"/>
                        </connections>
                    </tableView>
                    <navigationItem key="navigationItem" title="Backup Settings" id="SUU-7d-0qh">
                        <barButtonItem key="rightBarButtonItem" style="done" systemItem="done" id="qbX-iK-3Q0">
                            <connections>
                                <action selector="onDone:" destination="dFx-m2-6I9" id="Ehf-j1-6E4"/>
                            </connections>
                        </barButtonItem>
                    </navigationItem>
                    <connections>
                        <outlet property="currentBackupsCell" destination="k9Q-H0-wc9" id="ljR-gF-ii3"/>
                        <outlet property="currentCount" destination="Whn-bd-ed0" id="tQW-B5-SUL"/>
                        <outlet property="deleteAllBackupsCell" destination="DWd-Bz-7A2" id="Kgs-SR-cMa"/>
                        <outlet property="labelMaxKeepCount" destination="gVp-AH-IVd" id="wHX-H6-Ahe"/>
                        <outlet property="maxKeepCountCell" destination="IH8-KJ-Iyw" id="fi5-YI-ksZ"/>
                        <outlet property="switchMakeBackups" destination="cjC-Zg-NLC" id="xy6-TH-7hM"/>
                        <segue destination="3nm-o8-HnH" kind="show" identifier="segueToBackupsBrowser" id="Tez-Ok-3xb"/>
                    </connections>
                </tableViewController>
                <placeholder placeholderIdentifier="IBFirstResponder" id="Y32-Mx-2vh" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
            </objects>
            <point key="canvasLocation" x="755.07246376811599" y="-355.58035714285711"/>
        </scene>
        <!--Backups-->
        <scene sceneID="fgj-YK-fAc">
            <objects>
                <tableViewController id="3nm-o8-HnH" customClass="BackupsBrowserTableViewController" sceneMemberID="viewController">
                    <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" id="3L3-nm-FTT">
                        <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                        <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
                        <prototypes>
                            <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="backupItemCell" textLabel="FzT-iG-TxM" detailTextLabel="DI6-bs-xd3" style="IBUITableViewCellStyleValue1" id="f4i-uq-xQg">
                                <rect key="frame" x="0.0" y="28" width="414" height="43.5"/>
                                <autoresizingMask key="autoresizingMask"/>
                                <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="f4i-uq-xQg" id="lc7-5C-ZjT">
                                    <rect key="frame" x="0.0" y="0.0" width="414" height="43.5"/>
                                    <autoresizingMask key="autoresizingMask"/>
                                    <subviews>
                                        <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Today at 16:03" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" id="FzT-iG-TxM">
                                            <rect key="frame" x="20" y="12" width="113" height="20.5"/>
                                            <autoresizingMask key="autoresizingMask"/>
                                            <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
                                            <nil key="textColor"/>
                                            <nil key="highlightedColor"/>
                                        </label>
                                        <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="13 KB" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" id="DI6-bs-xd3">
                                            <rect key="frame" x="350" y="12" width="44" height="20.5"/>
                                            <autoresizingMask key="autoresizingMask"/>
                                            <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
                                            <nil key="textColor"/>
                                            <nil key="highlightedColor"/>
                                        </label>
                                    </subviews>
                                </tableViewCellContentView>
                            </tableViewCell>
                        </prototypes>
                        <connections>
                            <outlet property="dataSource" destination="3nm-o8-HnH" id="MaR-VT-Tto"/>
                            <outlet property="delegate" destination="3nm-o8-HnH" id="Flc-5G-gfI"/>
                        </connections>
                    </tableView>
                    <navigationItem key="navigationItem" title="Backups" prompt="Slide Left for Options" id="EMu-Pr-Ad9"/>
                    <connections>
                        <segue destination="Tig-rd-pEB" kind="show" identifier="segueToExport" id="v4B-rn-Zc5"/>
                    </connections>
                </tableViewController>
                <placeholder placeholderIdentifier="IBFirstResponder" id="jBG-DN-EEa" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
            </objects>
            <point key="canvasLocation" x="1606" y="-356"/>
        </scene>
        <!--exportDatabaseVC-->
        <scene sceneID="z6F-1f-FcD">
            <objects>
                <viewControllerPlaceholder storyboardName="DatabaseOperations" referencedIdentifier="exportDatabaseVC" id="Tig-rd-pEB" sceneMemberID="viewController">
                    <navigationItem key="navigationItem" id="Tu5-JF-XTO"/>
                </viewControllerPlaceholder>
                <placeholder placeholderIdentifier="IBFirstResponder" id="bm8-kk-79L" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
            </objects>
            <point key="canvasLocation" x="2728" y="-463"/>
        </scene>
        <!--Navigation Controller-->
        <scene sceneID="9Tq-0J-l1B">
            <objects>
                <navigationController automaticallyAdjustsScrollViewInsets="NO" id="HlD-jV-AOV" sceneMemberID="viewController">
                    <toolbarItems/>
                    <navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="hAA-L0-cYQ">
                        <rect key="frame" x="0.0" y="44" width="414" height="44"/>
                        <autoresizingMask key="autoresizingMask"/>
                    </navigationBar>
                    <nil name="viewControllers"/>
                    <connections>
                        <segue destination="dFx-m2-6I9" kind="relationship" relationship="rootViewController" id="6wC-Kw-wa2"/>
                    </connections>
                </navigationController>
                <placeholder placeholderIdentifier="IBFirstResponder" id="Ukb-R7-3dF" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
            </objects>
            <point key="canvasLocation" x="-155.07246376811597" y="-355.58035714285711"/>
        </scene>
    </scenes>
</document>

{'repo_name': 'strongbox-password-safe/Strongbox', 'stars': '419', 'repo_language': 'Objective-C', 'file_name': 'IDEWorkspaceChecks.plist', 'mime_type': 'text/xml', 'hash': -3728221481471581976, 'source_dataset': 'data'}


---
layout: api
title: "v2.1.0 JavaScript Library: L.mapbox.geocoder(id|url, options)"
categories: api
version: v2.1.0
permalink: /api/v2.1.0/l-mapbox-geocoder/
---

L.mapbox.geocoder(id|url, options)

A low-level interface to the Mapbox Geocoding API,
useful for complex uses and reverse-geocoding.

Options
Value
Description

id or url
string
Value must be

A geocoder index ID, e.g. mapbox.places

A geocoder API URL, like {{site.tileApi}}/geocoding/v5/mapbox.places/{query}.json

options
Object
The second argument is optional. If provided, it may include:

accessToken: Mapbox API access token. Overrides L.mapbox.accessToken for this geocoder.

Returns a L.mapbox.geocoder object.

geocoder.query(queryString|options, callback)

Queries the geocoder with a query string, and returns its result, if any.
This performs forward geocoding.

Options
Value
Description

queryString (required)
string
a query, expressed as a string, like 'Arkansas'

options
object
an object containing the query and options parameters like { query: 'Austin', proximity: L.latlng(lat, lng) }

callback (required)
function
a callback

Valid options are:

proximity: a L.LatLng object or [latitude, longitude] array that will
bias the search results toward a geographical point

country: a string or array of strings of ISO country codes likes us
or ca which will be included in the search. Ommitting this parameter
(the default) includes all countries.

autocomplete: whether to include results that only contain the prefix
of the search terms rather than the full terms. If you have precise input,
set this to false. Otherwise, by default it is true.

The callback is called with arguments

An error, if any

The result. This is an object with the following members:

 {
     results: // raw results
     latlng: // a map-friendly latlng array
     bounds: // geojson-style bounds of the first result
     lbounds: // leaflet-style bounds of the first result
 }

Example: Live example of geocoder.query centering a map.

Returns: the geocoder object. The return value of this function is not useful - you must use a callback to get results.

geocoder.reverseQuery(location, callback)

Queries the geocoder with a location, and returns its result, if any.
This performs reverse geocoding.

Options
Value
Description

location (required)
object
A query, expressed as an object:

[lon, lat] // an array of lon, lat

{ lat: 0, lon: 0 } // a lon, lat object

{ lat: 0, lng: 0 } // a lng, lat object

 The first argument can also be an array of objects in that form to geocode more than one item.

callback (required)
function
The callback is called with arguments

An error, if any

The result. This is an object of the raw result from Mapbox.

Returns: the geocoder object. The return value of this function is not useful - you must use a callback to get results.

{'repo_name': 'mapbox/mapbox.js', 'stars': '1715', 'repo_language': 'HTML', 'file_name': 'grid.js', 'mime_type': 'text/plain', 'hash': 6806904922236977402, 'source_dataset': 'data'}


//=============================================================================
// System  : Sandcastle Help File Builder Utilities
// File    : FrameworkCommentsFileLocation.cs
// Author  : Eric Woodruff  (Eric@EWoodruff.us)
// Updated : 08/21/2011
// Note    : Copyright 2011, Eric Woodruff, All rights reserved
// Compiler: Microsoft Visual C#
//
// This file contains a class used to represent a framework XML comments file
// location.
//
// This code is published under the Microsoft Public License (Ms-PL).  A copy
// of the license should be distributed with the code.  It can also be found
// at the project website: https://GitHub.com/EWSoftware/SHFB.   This notice, the
// author's name, and all copyright notices must remain intact in all
// applications, documentation, and source files.
//
// Version     Date     Who  Comments
// ============================================================================
// 1.9.3.0  03/05/2011  EFW  Created the code
//=============================================================================

namespace SandcastleBuilder.Utils.BuildEngine
{
    ///
    /// This is used to represent a framework XML comments file location
    ///
    public class FrameworkCommentsFileLocation
    {
        /// The folder location
        public string Folder { get; set; }

        /// The wildcard to use
        /// <value>If not specified, "*.xml" is assumed.</value>
        public string Wildcard { get; set; }

        /// Cache filename for the cached build components
        public string CacheFilename { get; set; }

        ///
        /// Specify true if the XML comments can have localized versions in
        /// a language sub-folder.
        ///
        /// <value>The default is false to not check for language-specific
        /// versions of the XML comments files.</value>
        public bool CanHaveLocalizedVersion { get; set; }

        ///
        /// Specify true to recurse this folder for additional comments files
        /// or false to only look in the given folder.
        ///
        /// <value>The default is false to no recurse sub-folders</value>
        public bool Recurse { get; set; }
    }
}

{'repo_name': 'EWSoftware/SHFB', 'stars': '1644', 'repo_language': 'C#', 'file_name': 'DeploymentSteps.txt', 'mime_type': 'text/plain', 'hash': 3610905817841952224, 'source_dataset': 'data'}


/*
	Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com>
	<http://rt2x00.serialmonkey.com>

	This program is free software; you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation; either version 2 of the License, or
	(at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program; if not, see <http://www.gnu.org/licenses/>.
 */

/*
	Module: rt2x00pci
	Abstract: Data structures for the rt2x00pci module.
 */

#ifndef RT2X00PCI_H
#define RT2X00PCI_H

#include <linux/io.h>
#include <linux/pci.h>

/*
 * This variable should be used with the
 * pci_driver structure initialization.
 */
#define PCI_DEVICE_DATA(__ops)	.driver_data = (kernel_ulong_t)(__ops)

/*
 * PCI driver handlers.
 */
int rt2x00pci_probe(struct pci_dev *pci_dev, const struct rt2x00_ops *ops);
void rt2x00pci_remove(struct pci_dev *pci_dev);
#ifdef CONFIG_PM
int rt2x00pci_suspend(struct pci_dev *pci_dev, pm_message_t state);
int rt2x00pci_resume(struct pci_dev *pci_dev);
#else
#define rt2x00pci_suspend	NULL
#define rt2x00pci_resume	NULL
#endif /* CONFIG_PM */

#endif /* RT2X00PCI_H */

{'repo_name': 'PhoenixOS/kernel', 'stars': '202', 'repo_language': 'C', 'file_name': 'img-ir-hw.c', 'mime_type': 'text/x-c', 'hash': 6157879431917023992, 'source_dataset': 'data'}


#################### mysql-test\t\sync_binlog_basic.test ######################
#                                                                             #
# Variable Name: sync_binlog                                                  #
# Scope: GLOBAL                                                               #
# Access Type: Dynamic                                                        #
# Data Type: numeric                                                          #
# Default Value: 0                                                            #
# Range: 0 - 4294967295                                                       #
#                                                                             #
#                                                                             #
# Creation Date: 2008-02-07                                                   #
# Author:  Salman Rawala                                                      #
#                                                                             #
# Description: Test Cases of Dynamic System Variable sync_binlog              #
#              that checks the behavior of this variable in the following ways#
#              * Default Value                                                #
#              * Valid & Invalid values                                       #
#              * Scope & Access method                                        #
#              * Data Integrity                                               #
#                                                                             #
# Reference: http://dev.mysql.com/doc/refman/5.1/en/                          #
#  server-system-variables.html                                               #
#                                                                             #
###############################################################################

--source include/not_embedded.inc
--source include/load_sysvars.inc

##################################################################
#                    START OF sync_binlog TESTS                  #
##################################################################

##################################################################
# Saving initial value of sync_binlog in a temporary variable    #
##################################################################

SET @start_value = @@global.sync_binlog;

--echo '#--------------------FN_DYNVARS_168_03------------------------#'
###################################################################
#        Change the value of sync_binlog to a valid value         #
###################################################################

SET @@global.sync_binlog = 0;
SELECT @@global.sync_binlog;
SET @@global.sync_binlog = 1;
SELECT @@global.sync_binlog;
SET @@global.sync_binlog = 4294967295;
SELECT @@global.sync_binlog;
SET @@global.sync_binlog = 4294967294;
SELECT @@global.sync_binlog;
SET @@global.sync_binlog = 65536;
SELECT @@global.sync_binlog;

--echo '#--------------------FN_DYNVARS_168_04-------------------------#'
######################################################################
#         Change the value of sync_binlog to invalid value           #
######################################################################

SET @@global.sync_binlog = -1;
SELECT @@global.sync_binlog;
SET @@global.sync_binlog = 4294967296;
SELECT @@global.sync_binlog;
SET @@global.sync_binlog = 10240022115;
SELECT @@global.sync_binlog;
--Error ER_WRONG_TYPE_FOR_VAR
SET @@global.sync_binlog = 10000.01;
SELECT @@global.sync_binlog;
SET @@global.sync_binlog = -1024;
SELECT @@global.sync_binlog;
SET @@global.sync_binlog = 42949672950;
SELECT @@global.sync_binlog;

--Error ER_WRONG_TYPE_FOR_VAR
SET @@global.sync_binlog = ON;
SELECT @@global.sync_binlog;
--Error ER_WRONG_TYPE_FOR_VAR
SET @@global.sync_binlog = 'test';
SELECT @@global.sync_binlog;

--echo '#-------------------FN_DYNVARS_168_05----------------------------#'
###########################################################################
#       Test if accessing session sync_binlog gives error            #
###########################################################################

--Error ER_GLOBAL_VARIABLE
SET @@session.sync_binlog = 0;
SELECT @@sync_binlog;

--echo '#----------------------FN_DYNVARS_168_06------------------------#'
##############################################################################
# Check if the value in GLOBAL & SESSION Tables matches values in variable   #
##############################################################################

SELECT @@global.sync_binlog = VARIABLE_VALUE
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='sync_binlog';

--echo '#---------------------FN_DYNVARS_168_07----------------------#'
##########################################################################
#   Check if sync_binlog can be accessed with and without @@ sign   #
##########################################################################

--Error ER_GLOBAL_VARIABLE
SET sync_binlog = 1;
SELECT @@sync_binlog;
--Error ER_UNKNOWN_TABLE
SELECT local.sync_binlog;
--Error ER_UNKNOWN_TABLE
SELECT global.sync_binlog;
--Error ER_BAD_FIELD_ERROR
SELECT sync_binlog = @@session.sync_binlog;

##############################
#   Restore initial value    #
##############################

SET @@global.sync_binlog = @start_value;

########################################################################
#                END OF sync_binlog TESTS                              #
########################################################################

{'repo_name': 'MariaDB/server', 'stars': '3422', 'repo_language': 'C++', 'file_name': 'auth_ed25519.test', 'mime_type': 'text/plain', 'hash': 5363490800974874007, 'source_dataset': 'data'}


Core.Language
TYPE: string
VERSION: 2.0.0
DEFAULT: 'en'
--DESCRIPTION--

ISO 639 language code for localizable things in HTML Purifier to use,
which is mainly error reporting. There is currently only an English (en)
translation, so this directive is currently useless.
--# vim: et sw=4 sts=4

{'repo_name': 'ushahidi/Ushahidi_Web', 'stars': '886', 'repo_language': 'PHP', 'file_name': 'frontlinesms_settings.php', 'mime_type': 'text/html', 'hash': -2779212877463646511, 'source_dataset': 'data'}


//
//  WAAVSEGearboxCommand.m
//  WA
//
//  Created by 黄锐灏 on 2018/1/5.
//  Copyright © 2018年 黄锐灏. All rights reserved.
//

#import "WAAVSEGearboxCommand.h"
#import "WAAVSEGearboxCommandModel.h"

@interface WAAVSEGearboxCommand ()

@end

@implementation WAAVSEGearboxCommand

- (void)performWithAsset:(AVAsset *)asset scale:(CGFloat)scale{
    [super performWithAsset:asset];

    CMTime insertPoint = kCMTimeZero;
    for (AVMutableVideoCompositionInstruction *instruction in self.composition.instructions) {
        CMTime duration = instruction.timeRange.duration;
        [instruction setTimeRange:CMTimeRangeMake(insertPoint, CMTimeMake(duration.value / scale, duration.timescale))];
        insertPoint = CMTimeAdd(instruction.timeRange.start, instruction.timeRange.duration);
    }

    [[self.composition.mutableComposition tracksWithMediaType:AVMediaTypeVideo] enumerateObjectsUsingBlock:^(AVMutableCompositionTrack  *videoTrack, NSUInteger idx, BOOL * _Nonnull stop) {
        //        AVMutableVideoCompositionInstruction *instruction = self.composition.instructions[1];
        [videoTrack scaleTimeRange:videoTrack.timeRange toDuration: CMTimeMake(videoTrack.timeRange.duration.value / scale, videoTrack.timeRange.duration.timescale)];
    }];

    [[self.composition.mutableComposition tracksWithMediaType:AVMediaTypeAudio] enumerateObjectsUsingBlock:^(AVMutableCompositionTrack  *audioTrack, NSUInteger idx, BOOL * _Nonnull stop) {
        [audioTrack scaleTimeRange:audioTrack.timeRange toDuration: CMTimeMake(audioTrack.timeRange.duration.value / scale, audioTrack.timeRange.duration.timescale)];
    }];

    self.composition.duration = CMTimeMultiplyByFloat64(self.composition.duration, 1 / scale);

    // 保证最后一条能到视频最后
    AVMutableVideoCompositionInstruction *instruction = [self.composition.instructions lastObject];
    [instruction setTimeRange:CMTimeRangeMake(instruction.timeRange.start, CMTimeSubtract(self.composition.duration, instruction.timeRange.start))];
}

- (void)performWithAsset:(AVAsset *)asset models:(NSArray<WAAVSEGearboxCommandModel *> *)gearboxModels{
    [super performWithAsset:asset];

    if (self.composition.instructions.count > 1) {
        NSAssert(NO, @"This method does not support multi-video processing for the time being.");
    }

    CMTime scaleDuration = kCMTimeZero;
    CMTime duration = kCMTimeZero;

    for (WAAVSEGearboxCommandModel *model in gearboxModels) {

        scaleDuration = CMTimeMultiplyByFloat64(model.duration, 1 / model.scale);
        // 视图变速
        for (AVMutableCompositionTrack  *videoTrack in [self.composition.mutableComposition tracksWithMediaType:AVMediaTypeVideo]) {
            [videoTrack scaleTimeRange:CMTimeRangeMake(model.beganDuration, model.duration) toDuration:scaleDuration];
        }

        // 音频变速
        for (AVMutableCompositionTrack  *audioTrack in [self.composition.mutableComposition tracksWithMediaType:AVMediaTypeAudio]) {

            [audioTrack scaleTimeRange:CMTimeRangeMake(model.beganDuration, model.duration) toDuration: scaleDuration];
        }

        // instruction变速
        duration = CMTimeAdd(duration, model.duration);

    }

    for (AVMutableVideoCompositionInstruction *instruction in self.composition.instructions) {
        [instruction setTimeRange:CMTimeRangeMake(kCMTimeZero,self.composition.duration)];
    }

}

@end

{'repo_name': 'CoderHenry66/WAVideoBox', 'stars': '644', 'repo_language': 'Objective-C', 'file_name': 'WAAVSEGearboxCommandModel.h', 'mime_type': 'text/x-objective-c', 'hash': 6763216264760988543, 'source_dataset': 'data'}


/* Teensyduino Core Library
 * http://www.pjrc.com/teensy/
 * Copyright (c) 2013 PJRC.COM, LLC.
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject to
 * the following conditions:
 *
 * 1. The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 *
 * 2. If the Software is incorporated into a build system that allows
 * selection among a list of target devices, then similar target
 * devices manufactured by PJRC.COM must be included in the list of
 * target devices and selectable in the same manner.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

#ifndef HardwareSerial_h
#define HardwareSerial_h

#include "mk20dx128.h"
#include <inttypes.h>

// uncomment to enable 9 bit formats
//#define SERIAL_9BIT_SUPPORT

#define SERIAL_7E1 0x02
#define SERIAL_7O1 0x03
#define SERIAL_8N1 0x00
#define SERIAL_8N2 0x04
#define SERIAL_8E1 0x06
#define SERIAL_8O1 0x07
#define SERIAL_7E1_RXINV 0x12
#define SERIAL_7O1_RXINV 0x13
#define SERIAL_8N1_RXINV 0x10
#define SERIAL_8N2_RXINV 0x14
#define SERIAL_8E1_RXINV 0x16
#define SERIAL_8O1_RXINV 0x17
#define SERIAL_7E1_TXINV 0x22
#define SERIAL_7O1_TXINV 0x23
#define SERIAL_8N1_TXINV 0x20
#define SERIAL_8N2_TXINV 0x24
#define SERIAL_8E1_TXINV 0x26
#define SERIAL_8O1_TXINV 0x27
#define SERIAL_7E1_RXINV_TXINV 0x32
#define SERIAL_7O1_RXINV_TXINV 0x33
#define SERIAL_8N1_RXINV_TXINV 0x30
#define SERIAL_8N2_RXINV_TXINV 0x34
#define SERIAL_8E1_RXINV_TXINV 0x36
#define SERIAL_8O1_RXINV_TXINV 0x37
#ifdef SERIAL_9BIT_SUPPORT
#define SERIAL_9N1 0x84
#define SERIAL_9E1 0x8E
#define SERIAL_9O1 0x8F
#define SERIAL_9N1_RXINV 0x94
#define SERIAL_9E1_RXINV 0x9E
#define SERIAL_9O1_RXINV 0x9F
#define SERIAL_9N1_TXINV 0xA4
#define SERIAL_9E1_TXINV 0xAE
#define SERIAL_9O1_TXINV 0xAF
#define SERIAL_9N1_RXINV_TXINV 0xB4
#define SERIAL_9E1_RXINV_TXINV 0xBE
#define SERIAL_9O1_RXINV_TXINV 0xBF
#endif
// bit0: parity, 0=even, 1=odd
// bit1: parity, 0=disable, 1=enable
// bit2: mode, 1=9bit, 0=8bit
// bit3: mode10: 1=10bit, 0=8bit
// bit4: rxinv, 0=normal, 1=inverted
// bit5: txinv, 0=normal, 1=inverted
// bit6: unused
// bit7: actual data goes into 9th bit

#define BAUD2DIV(baud)  (((F_CPU * 2) + ((baud) >> 1)) / (baud))
#define BAUD2DIV3(baud) (((F_BUS * 2) + ((baud) >> 1)) / (baud))

// C language implementation
//
#ifdef __cplusplus
extern "C" {
#endif
void serial_begin(uint32_t divisor);
void serial_format(uint32_t format);
void serial_end(void);
void serial_set_transmit_pin(uint8_t pin);
void serial_putchar(uint32_t c);
void serial_write(const void *buf, unsigned int count);
void serial_flush(void);
int serial_available(void);
int serial_getchar(void);
int serial_peek(void);
void serial_clear(void);
void serial_print(const char *p);
void serial_phex(uint32_t n);
void serial_phex16(uint32_t n);
void serial_phex32(uint32_t n);

void serial2_begin(uint32_t divisor);
void serial2_format(uint32_t format);
void serial2_end(void);
void serial2_putchar(uint32_t c);
void serial2_write(const void *buf, unsigned int count);
void serial2_flush(void);
int serial2_available(void);
int serial2_getchar(void);
int serial2_peek(void);
void serial2_clear(void);

void serial3_begin(uint32_t divisor);
void serial3_format(uint32_t format);
void serial3_end(void);
void serial3_putchar(uint32_t c);
void serial3_write(const void *buf, unsigned int count);
void serial3_flush(void);
int serial3_available(void);
int serial3_getchar(void);
int serial3_peek(void);
void serial3_clear(void);

#ifdef __cplusplus
}
#endif

// C++ interface
//
#ifdef __cplusplus
#include "Stream.h"
class HardwareSerial : public Stream
{
public:
	virtual void begin(uint32_t baud) { serial_begin(BAUD2DIV(baud)); }
	virtual void begin(uint32_t baud, uint32_t format) {
					  serial_begin(BAUD2DIV(baud));
					  serial_format(format); }
	virtual void end(void)		{ serial_end(); }
	virtual void transmitterEnable(uint8_t pin) { serial_set_transmit_pin(pin); }
	virtual int available(void)     { return serial_available(); }
	virtual int peek(void)          { return serial_peek(); }
	virtual int read(void)          { return serial_getchar(); }
	virtual void flush(void)        { serial_flush(); }
	virtual void clear(void)	{ serial_clear(); }
	virtual size_t write(uint8_t c) { serial_putchar(c); return 1; }
	virtual size_t write(unsigned long n)   { return write((uint8_t)n); }
	virtual size_t write(long n)            { return write((uint8_t)n); }
	virtual size_t write(unsigned int n)    { return write((uint8_t)n); }
	virtual size_t write(int n)             { return write((uint8_t)n); }
	virtual size_t write(const uint8_t *buffer, size_t size)
					{ serial_write(buffer, size); return size; }
        virtual size_t write(const char *str)	{ size_t len = strlen(str);
					  serial_write((const uint8_t *)str, len);
					  return len; }
	virtual size_t write9bit(uint32_t c)	{ serial_putchar(c); return 1; }
};
extern HardwareSerial Serial1;

class HardwareSerial2 : public HardwareSerial
{
public:
	virtual void begin(uint32_t baud) { serial2_begin(BAUD2DIV(baud)); }
	virtual void begin(uint32_t baud, uint32_t format) {
					  serial2_begin(BAUD2DIV(baud));
					  serial2_format(format); }
	virtual void end(void)		{ serial2_end(); }
	virtual int available(void)     { return serial2_available(); }
	virtual int peek(void)          { return serial2_peek(); }
	virtual int read(void)          { return serial2_getchar(); }
	virtual void flush(void)        { serial2_flush(); }
	virtual void clear(void)	{ serial2_clear(); }
	virtual size_t write(uint8_t c) { serial2_putchar(c); return 1; }
	virtual size_t write(unsigned long n)   { return write((uint8_t)n); }
	virtual size_t write(long n)            { return write((uint8_t)n); }
	virtual size_t write(unsigned int n)    { return write((uint8_t)n); }
	virtual size_t write(int n)             { return write((uint8_t)n); }
	virtual size_t write(const uint8_t *buffer, size_t size)
					{ serial2_write(buffer, size); return size; }
        virtual size_t write(const char *str)	{ size_t len = strlen(str);
					  serial2_write((const uint8_t *)str, len);
					  return len; }
	virtual size_t write9bit(uint32_t c)	{ serial2_putchar(c); return 1; }
};
extern HardwareSerial2 Serial2;

class HardwareSerial3 : public HardwareSerial
{
public:
	virtual void begin(uint32_t baud) { serial3_begin(BAUD2DIV3(baud)); }
	virtual void begin(uint32_t baud, uint32_t format) {
					  serial3_begin(BAUD2DIV3(baud));
					  serial3_format(format); }
	virtual void end(void)          { serial3_end(); }
	virtual int available(void)     { return serial3_available(); }
	virtual int peek(void)          { return serial3_peek(); }
	virtual int read(void)          { return serial3_getchar(); }
	virtual void flush(void)        { serial3_flush(); }
	virtual void clear(void)	{ serial3_clear(); }
	virtual size_t write(uint8_t c) { serial3_putchar(c); return 1; }
	virtual size_t write(unsigned long n)   { return write((uint8_t)n); }
	virtual size_t write(long n)            { return write((uint8_t)n); }
	virtual size_t write(unsigned int n)    { return write((uint8_t)n); }
	virtual size_t write(int n)             { return write((uint8_t)n); }
	virtual size_t write(const uint8_t *buffer, size_t size)
					{ serial3_write(buffer, size); return size; }
        virtual size_t write(const char *str)	{ size_t len = strlen(str);
					  serial3_write((const uint8_t *)str, len);
					  return len; }
	virtual size_t write9bit(uint32_t c)	{ serial3_putchar(c); return 1; }
};
extern HardwareSerial3 Serial3;

#endif
#endif

{'repo_name': 'r-lyeh-archived/scriptorium', 'stars': '424', 'repo_language': 'C', 'file_name': 'change_install_name.sh', 'mime_type': 'text/x-shellscript', 'hash': 3345760610908278745, 'source_dataset': 'data'}


..  BSD LICENSE
    Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
    All rights reserved.

    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions
    are met:

    * Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in
    the documentation and/or other materials provided with the
    distribution.
    * Neither the name of Intel Corporation nor the names of its
    contributors may be used to endorse or promote products derived
    from this software without specific prior written permission.

    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Compiling the Application
=========================

The ``testpmd`` application is compiled as part of the main compilation of the DPDK libraries and tools.
Refer to the DPDK Getting Started Guides for details.
The basic compilation steps are:

#.  Set the required environmental variables and go to the source directory:

    .. code-block:: console

        export RTE_SDK=/path/to/rte_sdk
        cd $RTE_SDK

#.  Set the compilation target. For example:

    .. code-block:: console

        export RTE_TARGET=x86_64-native-linuxapp-gcc

#.  Build the application:

    .. code-block:: console

        make install T=$RTE_TARGET

    The compiled application will be located at:

    .. code-block:: console

        $RTE_SDK/$RTE_TARGET/app/testpmd

{'repo_name': 'OpenMPDK/KVSSD', 'stars': '125', 'repo_language': 'C', 'file_name': 'test_sync.cpp', 'mime_type': 'text/x-c', 'hash': 3046535519338289223, 'source_dataset': 'data'}


using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("TextVariations.UWP")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("TextVariations.UWP")]
[assembly: AssemblyCopyright("Copyright ©  2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version
//      Build Number
//      Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: ComVisible(false)]

{'repo_name': 'xamarin/xamarin-forms-book-samples', 'stars': '677', 'repo_language': 'C#', 'file_name': 'App.cs', 'mime_type': 'text/x-c++', 'hash': 2719406785043654035, 'source_dataset': 'data'}


/*
 * JBoss, Home of Professional Open Source.
 * Copyright 2017, Red Hat, Inc., and individual contributors
 * as indicated by the @author tags. See the copyright.txt file in the
 * distribution for a full listing of individual contributors.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */

package org.wildfly.extension.undertow.deployment;

import io.undertow.server.HandlerWrapper;
import io.undertow.server.HttpHandler;
import io.undertow.server.HttpServerExchange;
import io.undertow.util.SameThreadExecutor;

import java.util.ArrayList;
import java.util.List;

/**
 * A handler that will prevent requests from progressing until the gate is opened.
 *
 * This will either queue or reject the requests, based on the configured behaviour
 *
 * @author Stuart Douglas
 */
public class GateHandlerWrapper implements HandlerWrapper {

    private final List<Holder> held = new ArrayList<>();

    private volatile boolean open = false;

    /**
     * If this is >0 then requests when the gate is closed will be rejected with this value
     *
     * Otherwise they will be queued
     */
    private final int statusCode;

    public GateHandlerWrapper(int statusCode) {
        this.statusCode = statusCode;
    }

    public synchronized void open() {
        open = true;
        for(Holder holder : held) {
            holder.exchange.dispatch(holder.next);
        }
        held.clear();
    }

    @Override
    public HttpHandler wrap(HttpHandler handler) {
        return new GateHandler(handler);
    }

    private final class GateHandler implements HttpHandler {

        private final HttpHandler next;

        private GateHandler(HttpHandler next) {
            this.next = next;
        }

        @Override
        public void handleRequest(HttpServerExchange exchange) throws Exception {
            if(open) {
                next.handleRequest(exchange);
                return;
            }
            if(statusCode > 0) {
                exchange.setStatusCode(statusCode);
                return;
            }
            synchronized (GateHandlerWrapper.this) {
                if(open) {
                    next.handleRequest(exchange);
                } else {
                    exchange.dispatch(SameThreadExecutor.INSTANCE, new Runnable() {
                        @Override
                        public void run() {
                            synchronized (GateHandlerWrapper.this) {
                                if(open) {
                                    exchange.dispatch(next);
                                } else {
                                    held.add(new Holder(next, exchange));
                                }
                            }
                        }
                    });
                }
            }
        }
    }

    private static final class Holder {
        final HttpHandler next;
        final HttpServerExchange exchange;

        private Holder(HttpHandler next, HttpServerExchange exchange) {
            this.next = next;
            this.exchange = exchange;
        }
    }
}

{'repo_name': 'wildfly/wildfly', 'stars': '2409', 'repo_language': 'Java', 'file_name': 'ApplicationClientDependencyProcessor.java', 'mime_type': 'text/x-java', 'hash': -8438359323540148935, 'source_dataset': 'data'}


<?xml version="1.0" encoding="utf-8"?>
<root>
  <!--
    Microsoft ResX Schema

    Version 2.0

    The primary goals of this format is to allow a simple XML format
    that is mostly human readable. The generation and parsing of the
    various data types are done through the TypeConverter classes
    associated with the data types.

    Example:

    ... ado.net/XML headers & schema ...
    <resheader name="resmimetype">text/microsoft-resx</resheader>
    <resheader name="version">2.0</resheader>
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
        <value>[base64 mime encoded serialized .NET Framework object]</value>
    </data>
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
        <comment>This is a comment</comment>
    </data>

    There are any number of "resheader" rows that contain simple
    name/value pairs.

    Each data row contains a name, and value. The row also contains a
    type or mimetype. Type corresponds to a .NET class that support
    text/value conversion through the TypeConverter architecture.
    Classes that don't support this are serialized and stored with the
    mimetype set.

    The mimetype is used for serialized objects, and tells the
    ResXResourceReader how to depersist the object. This is currently not
    extensible. For a given mimetype the value must be set accordingly:

    Note - application/x-microsoft.net.object.binary.base64 is the format
    that the ResXResourceWriter will generate, however the reader can
    read any of the formats listed below.

    mimetype: application/x-microsoft.net.object.binary.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.

    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
            : and then encoded with base64 encoding.

    mimetype: application/x-microsoft.net.object.bytearray.base64
    value   : The object must be serialized into a byte array
            : using a System.ComponentModel.TypeConverter
            : and then encoded with base64 encoding.
    -->
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
    <xsd:element name="root" msdata:IsDataSet="true">
      <xsd:complexType>
        <xsd:choice maxOccurs="unbounded">
          <xsd:element name="metadata">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
              </xsd:sequence>
              <xsd:attribute name="name" use="required" type="xsd:string" />
              <xsd:attribute name="type" type="xsd:string" />
              <xsd:attribute name="mimetype" type="xsd:string" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="assembly">
            <xsd:complexType>
              <xsd:attribute name="alias" type="xsd:string" />
              <xsd:attribute name="name" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="data">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="resheader">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" />
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
      </xsd:complexType>
    </xsd:element>
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <data name="Click" xml:space="preserve">
    <value>Klik</value>
  </data>
  <data name="Here" xml:space="preserve">
    <value>her</value>
  </data>
  <data name="Return" xml:space="preserve">
    <value>for at vende tilbage til</value>
  </data>
  <data name="SubTitle" xml:space="preserve">
    <value>Du er nu logget ud</value>
  </data>
  <data name="Title" xml:space="preserve">
    <value>Log ud</value>
  </data>
</root>

{'repo_name': 'skoruba/IdentityServer4.Admin', 'stars': '2032', 'repo_language': 'C#', 'file_name': 'sts.skoruba.local_location', 'mime_type': 'text/plain', 'hash': 1057175632579673064, 'source_dataset': 'data'}


/*=============================================================================
    Copyright (c) 2001-2011 Joel de Guzman
    Copyright (c) 2001-2011 Hartmut Kaiser
    http://spirit.sourceforge.net/

    Distributed under the Boost Software License, Version 1.0. (See accompanying
    file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef BOOST_SPIRIT_INCLUDE_KARMA_DOMAIN
#define BOOST_SPIRIT_INCLUDE_KARMA_DOMAIN

#if defined(_MSC_VER)
#pragma once
#endif

#include <boost/spirit/home/karma/domain.hpp>

#endif

{'repo_name': 'tomasen/splayer', 'stars': '819', 'repo_language': 'C++', 'file_name': 'install_test.bat', 'mime_type': 'text/plain', 'hash': 1245514528954330143, 'source_dataset': 'data'}


package cruise.ui.jsf.templates.impl.fragment.GUI;

import cruise.model.abstractObjects.IGenerator;

import cruise.umple.compiler.Attribute;;

public class DefaultedDoubleEdit implements IGenerator {

  protected static String nl;
  public static synchronized DefaultedDoubleEdit create(String lineSeparator)
  {
    nl = lineSeparator;
    DefaultedDoubleEdit result = new DefaultedDoubleEdit();
    nl = null;
    return result;
  }

  public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
  protected final String TEXT_1 = "<h:outputText value=\"#{#1#Bundle.";
  protected final String TEXT_2 = "}\" />" + NL + "<h:panelGrid columns=\"2\">" + NL + "<h:inputText id=\"";
  protected final String TEXT_3 = "#{uniqueId}\" value=\"#{#1#Bean.";
  protected final String TEXT_4 = "}\" >" + NL + "<f:converter converterId=\"javax.faces.Double\" />" + NL + "</h:inputText>" + NL + "\t<a4j:commandLink " + NL + "\t\taction=\"#{#1#Bean.resetToDefaulted";
  protected final String TEXT_5 = "}\"" + NL + "\t\treRender=\"";
  protected final String TEXT_6 = "#{uniqueId}\">" + NL + "\t\t<h:graphicImage value=\"/images/icons/reload.png\" style=\"border:0\" />" + NL + "\t</a4j:commandLink>" + NL + "</h:panelGrid>";
  protected final String TEXT_7 = NL;

	public String generate(Object argument)
  {
    final StringBuffer stringBuffer = new StringBuffer();
     Attribute attVar = (Attribute) argument;
    stringBuffer.append(TEXT_1);
    stringBuffer.append(attVar.getUpperCaseName());
    stringBuffer.append(TEXT_2);
    stringBuffer.append(attVar.getUpperCaseName());
    stringBuffer.append(TEXT_3);
    stringBuffer.append(attVar.getName());
    stringBuffer.append(TEXT_4);
    stringBuffer.append( attVar.getUpperCaseName());
    stringBuffer.append(TEXT_5);
    stringBuffer.append(attVar.getUpperCaseName());
    stringBuffer.append(TEXT_6);
    stringBuffer.append(TEXT_7);
    return stringBuffer.toString();
  }
}

{'repo_name': 'umple/umple', 'stars': '122', 'repo_language': 'Java', 'file_name': 'GenerationUnit.java', 'mime_type': 'text/html', 'hash': 8467051649182613907, 'source_dataset': 'data'}


<?xml version="1.0" encoding="UTF-8"?>
<!--
~   Licensed under the Apache License, Version 2.0 (the "License");
~   you may not use this file except in compliance with the License.
~   You may obtain a copy of the License at
~
~   http://www.apache.org/licenses/LICENSE-2.0
~
~   Unless required by applicable law or agreed to in writing, software
~   distributed under the License is distributed on an "AS IS" BASIS,
~   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~   See the License for the specific language governing permissions and
~   limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <artifactId>jdbi3-parent</artifactId>
        <groupId>org.jdbi</groupId>
        <version>3.14.5-SNAPSHOT</version>
    </parent>

    <artifactId>jdbi3-bom</artifactId>
    <packaging>pom</packaging>

    <name>jdbi3 BOM</name>
    <description>Jdbi is designed to provide convenient tabular data access in
        Java(tm). It uses the Java collections framework for query
        results, provides a convenient means of externalizing sql
        statements, and provides named parameter support for any database
        being used.</description>
    <url>http://jdbi.org/</url>

    <licenses>
        <license>
            <name>Apache License 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
            <distribution>repo</distribution>
        </license>
    </licenses>
    <developers>
      <developer>
        <name>The Jdbi Team</name>
      </developer>
    </developers>

    <properties>
        <moduleName>org.jdbi.v3.bom</moduleName>
    </properties>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-core</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-core</artifactId>
                <version>${project.version}</version>
                <classifier>tests</classifier>
            </dependency>

            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-commons-text</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-freemarker</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-generator</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-gson2</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-guava</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-jackson2</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-jodatime2</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-jpa</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-json</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-kotlin</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-kotlin-sqlobject</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-postgres</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-postgres</artifactId>
                <version>${project.version}</version>
                <classifier>tests</classifier>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-spring4</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-spring4</artifactId>
                <version>${project.version}</version>
                <classifier>tests</classifier>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-sqlite</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-sqlobject</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-sqlobject</artifactId>
                <version>${project.version}</version>
                <classifier>tests</classifier>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-stringtemplate4</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-testing</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.jdbi</groupId>
                <artifactId>jdbi3-vavr</artifactId>
                <version>${project.version}</version>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>flatten-maven-plugin</artifactId>
                <version>1.2.1</version>
                <configuration>
                    <flattenMode>bom</flattenMode>
                    <pomElements>
                        <properties>remove</properties>
                        <distributionManagement>remove</distributionManagement>
                    </pomElements>
                </configuration>
                <executions>
                    <execution>
                        <id>flatten</id>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>flatten</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>flatten.clean</id>
                        <phase>clean</phase>
                        <goals>
                            <goal>clean</goal>
                        </goals>
                    </execution>
                  </executions>
             </plugin>
        </plugins>
    </build>
</project>

{'repo_name': 'jdbi/jdbi', 'stars': '1429', 'repo_language': 'Java', 'file_name': 'TestUrls.java', 'mime_type': 'text/x-java', 'hash': -5666345915940704534, 'source_dataset': 'data'}


// ==========================================================================
// Sliders
// ==========================================================================

// Active state
$plyr-range-thumb-active-shadow-width: 3px !default;

// Thumb
$plyr-range-thumb-height: 13px !default;
$plyr-range-thumb-bg: #fff !default;
$plyr-range-thumb-border: 2px solid transparent !default;
$plyr-range-thumb-shadow: 0 1px 1px rgba(#000, 0.15), 0 0 0 1px rgba($plyr-color-gray-9, 0.2) !default;

// Track
$plyr-range-track-height: 5px !default;
$plyr-range-max-height: ($plyr-range-thumb-active-shadow-width * 2) + $plyr-range-thumb-height !default;

// Fill
$plyr-range-fill-bg: $plyr-color-main !default;

// Type specific
$plyr-video-range-track-bg: $plyr-video-progress-buffered-bg !default;
$plyr-audio-range-track-bg: $plyr-audio-progress-buffered-bg !default;
$plyr-audio-range-thumb-shadow-color: rgba(#000, 0.1) !default;

{'repo_name': 'manateelazycat/emacs-application-framework', 'stars': '1096', 'repo_language': 'JavaScript', 'file_name': 'caret_browsing.js', 'mime_type': 'text/plain', 'hash': -215090037166747304, 'source_dataset': 'data'}