text:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="ChangeListManager">
    <list default="true" id="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" name="Default" comment="">
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/css/InputPage.css" afterPath="$PROJECT_DIR$/css/InputPage.css" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/MainPage.js" afterPath="$PROJECT_DIR$/js/MainPage.js" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/css/ResultsComponents.css" afterPath="$PROJECT_DIR$/css/ResultsComponents.css" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/ResultsComponents.js" afterPath="$PROJECT_DIR$/js/ResultsComponents.js" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/js/ResultsPage.js" afterPath="$PROJECT_DIR$/js/ResultsPage.js" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
    </list>
    <ignored path="Protomapper-ui.iws" />
    <ignored path=".idea/workspace.xml" />
    <file path="/Dummy.txt" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1402362873371" ignored="false" />
    <file path="/index.html" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1401317562728" ignored="false" />
    <file path="/main.js" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1401314410034" ignored="false" />
    <file path="$PROJECT_DIR$/../D3/piechart/index.html" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1387300482941" ignored="false" />
    <file path="$PROJECT_DIR$/../D3/piechart/js/main.js" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1387300772921" ignored="false" />
    <file path="$PROJECT_DIR$/../D3/piechart/css/main.css" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1387300580171" ignored="false" />
    <file path="/main.css" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1387301743284" ignored="false" />
    <file path="$PROJECT_DIR$/../AngularStuff/pagination/index.html" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1387314076274" ignored="false" />
    <file path="$PROJECT_DIR$/../AngularStuff/pagination/js/main.js" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1387319744730" ignored="false" />
    <file path="/grid.html" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1393720343227" ignored="false" />
    <file path="/SearchBoxComponents.js" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1400729910502" ignored="false" />
    <file path="/autocomplete.css" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1400108119083" ignored="false" />
    <file path="/SearchBoxComponents.html" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1400109319232" ignored="false" />
    <file path="/SearchBoxComponents.css" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1400736838660" ignored="false" />
    <file path="/ResultsComponents.js" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1401473347516" ignored="false" />
    <file path="/ResultsComponents.css" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1401474857422" ignored="false" />
    <file path="/GraphComponents.js" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1401320175812" ignored="false" />
    <file path="/GraphComponents.css" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1400700682505" ignored="false" />
    <file path="/ResultsPage.js" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1401465063731" ignored="false" />
    <file path="/InputPage.js" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1400713151714" ignored="false" />
    <file path="/InputPage.css" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1400746495820" ignored="false" />
    <file path="/MainPage.js" changelist="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" time="1401318662055" ignored="false" />
    <option name="TRACKING_ENABLED" value="true" />
    <option name="SHOW_DIALOG" value="false" />
    <option name="HIGHLIGHT_CONFLICTS" value="true" />
    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
    <option name="LAST_RESOLUTION" value="IGNORE" />
  </component>
  <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
  <component name="CreatePatchCommitExecutor">
    <option name="PATCH_PATH" value="" />
  </component>
  <component name="DaemonCodeAnalyzer">
    <disable_hints />
  </component>
  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
  <component name="FavoritesManager">
    <favorites_list name="Protomapper-ui" />
  </component>
  <component name="FileEditorManager">
    <leaf>
      <file leaf-file-name="InputPage.html" pinned="false" current="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/InputPage.html">
          <provider selected="true" editor-type-id="text-editor">
            <state line="42" column="41" selection-start="1670" selection-end="1670" vertical-scroll-proportion="0.0">
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="ResultsPage.js" pinned="false" current="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/js/ResultsPage.js">
          <provider selected="true" editor-type-id="text-editor">
            <state line="130" column="71" selection-start="4441" selection-end="4441" vertical-scroll-proportion="0.0">
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="SearchBoxComponents.css" pinned="false" current="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/css/SearchBoxComponents.css">
          <provider selected="true" editor-type-id="text-editor">
            <state line="55" column="104" selection-start="1144" selection-end="1144" vertical-scroll-proportion="0.0">
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="index.html" pinned="false" current="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/index.html">
          <provider selected="true" editor-type-id="text-editor">
            <state line="57" column="14" selection-start="2199" selection-end="2199" vertical-scroll-proportion="0.0">
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="MainPage.js" pinned="false" current="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/js/MainPage.js">
          <provider selected="true" editor-type-id="text-editor">
            <state line="75" column="81" selection-start="2154" selection-end="2154" vertical-scroll-proportion="0.0">
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="InputPage.css" pinned="false" current="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/css/InputPage.css">
          <provider selected="true" editor-type-id="text-editor">
            <state line="39" column="15" selection-start="527" selection-end="527" vertical-scroll-proportion="0.0">
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="ResultsComponents.css" pinned="false" current="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/css/ResultsComponents.css">
          <provider selected="true" editor-type-id="text-editor">
            <state line="46" column="0" selection-start="575" selection-end="575" vertical-scroll-proportion="0.0">
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="main.css" pinned="false" current="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/css/main.css">
          <provider selected="true" editor-type-id="text-editor">
            <state line="90" column="11" selection-start="1659" selection-end="1681" vertical-scroll-proportion="0.0">
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="ResultsComponents.js" pinned="false" current="true" current-in-tab="true">
        <entry file="file://$PROJECT_DIR$/js/ResultsComponents.js">
          <provider selected="true" editor-type-id="text-editor">
            <state line="63" column="159" selection-start="1719" selection-end="1719" vertical-scroll-proportion="0.030674847">
              <folding>
                <marker date="1401475252578" expanded="true" signature="3716:3725" placeholder="..." />
              </folding>
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="GraphComponents.css" pinned="false" current="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/css/GraphComponents.css">
          <provider selected="true" editor-type-id="text-editor">
            <state line="7" column="113" selection-start="145" selection-end="145" vertical-scroll-proportion="0.0">
              <folding />
            </state>
          </provider>
        </entry>
      </file>
    </leaf>
  </component>
  <component name="FindManager">
    <FindUsagesManager>
      <setting name="OPEN_NEW_TAB" value="false" />
    </FindUsagesManager>
  </component>
  <component name="Git.Settings">
    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
  </component>
  <component name="GitLogSettings">
    <option name="myDateState">
      <MyDateState />
    </option>
  </component>
  <component name="IdeDocumentHistory">
    <option name="changedFiles">
      <list>
        <option value="$PROJECT_DIR$/css/autocomplete.css" />
        <option value="$PROJECT_DIR$/test/SearchBoxComponents.html" />
        <option value="$PROJECT_DIR$/css/ResultsComponents.css.html" />
        <option value="$PROJECT_DIR$/css/SearchBoxComponents.css" />
        <option value="$PROJECT_DIR$/js/SearchBoxComponents.js" />
        <option value="$PROJECT_DIR$/js/main.js" />
        <option value="$PROJECT_DIR$/ResultsPage.html" />
        <option value="$PROJECT_DIR$/js/InputPage.js" />
        <option value="$PROJECT_DIR$/index.html" />
        <option value="$PROJECT_DIR$/js/GraphComponents.js" />
        <option value="$PROJECT_DIR$/css/GraphComponents.css" />
        <option value="$PROJECT_DIR$/js/ResultsPage.js" />
        <option value="$PROJECT_DIR$/js/MainPage.js" />
        <option value="$PROJECT_DIR$/css/InputPage.css" />
        <option value="$PROJECT_DIR$/css/ResultsComponents.css" />
        <option value="$PROJECT_DIR$/js/ResultsComponents.js" />
      </list>
    </option>
  </component>
  <component name="ProjectFrameBounds">
    <option name="x" value="473" />
    <option name="y" value="101" />
    <option name="width" value="656" />
    <option name="height" value="744" />
  </component>
  <component name="ProjectLevelVcsManager" settingsEditedManually="false">
    <OptionsSetting value="true" id="Add" />
    <OptionsSetting value="true" id="Remove" />
    <OptionsSetting value="true" id="Checkout" />
    <OptionsSetting value="true" id="Update" />
    <OptionsSetting value="true" id="Status" />
    <OptionsSetting value="true" id="Edit" />
    <ConfirmationsSetting value="1" id="Add" />
    <ConfirmationsSetting value="0" id="Remove" />
  </component>
  <component name="ProjectReloadState">
    <option name="STATE" value="0" />
  </component>
  <component name="ProjectView">
    <navigator proportions="" version="1" splitterProportion="0.5">
      <flattenPackages />
      <showMembers />
      <showModules />
      <showLibraryContents ProjectPane="true" />
      <hideEmptyPackages />
      <abbreviatePackageNames />
      <autoscrollToSource />
      <autoscrollFromSource />
      <sortByType />
    </navigator>
    <panes />
  </component>
  <component name="PropertiesComponent">
    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder0" value="0" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth0" value="51" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth1" value="62" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder3" value="3" />
    <property name="options.splitter.main.proportions" value="0.3" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder1" value="1" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder2" value="2" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth0" value="46" />
    <property name="options.lastSelected" value="editor.preferences.appearance" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder1" value="1" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder0" value="0" />
    <property name="last_opened_file_path" value="$PROJECT_DIR$/../../../TrackerApp" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth2" value="64" />
    <property name="DefaultHtmlFileTemplate" value="Html5" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth3" value="424" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth3" value="453" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth2" value="52" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth1" value="50" />
    <property name="WebServerToolWindowFactoryState" value="false" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder2" value="2" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder3" value="3" />
    <property name="options.splitter.details.proportions" value="0.2" />
    <property name="options.searchVisible" value="true" />
  </component>
  <component name="RecentsManager">
    <key name="CopyFile.RECENT_KEYS">
      <recent name="$PROJECT_DIR$" />
      <recent name="$PROJECT_DIR$/css" />
      <recent name="$PROJECT_DIR$/js" />
    </key>
    <key name="MoveFile.RECENT_KEYS">
      <recent name="$PROJECT_DIR$/css" />
    </key>
  </component>
  <component name="RunManager">
    <configuration default="true" type="DartUnitRunConfigurationType" factoryName="DartUnit">
      <option name="VMOptions" />
      <option name="arguments" />
      <option name="filePath" />
      <option name="scope" value="ALL" />
      <option name="testName" />
      <method />
    </configuration>
    <configuration default="true" type="JavascriptDebugSession" factoryName="Local" singleton="true">
      <JSDebuggerConfigurationSettings>
        <option name="engineId" value="embedded" />
        <option name="fileUrl" />
      </JSDebuggerConfigurationSettings>
      <method />
    </configuration>
    <list size="0" />
  </component>
  <component name="ShelveChangesManager" show_recycled="false" />
  <component name="SvnConfiguration" maxAnnotateRevisions="500" myUseAcceleration="nothing" myAutoUpdateAfterCommit="false" cleanupOnStartRun="false" SSL_PROTOCOLS="all">
    <option name="USER" value="" />
    <option name="PASSWORD" value="" />
    <option name="mySSHConnectionTimeout" value="30000" />
    <option name="mySSHReadTimeout" value="30000" />
    <option name="LAST_MERGED_REVISION" />
    <option name="MERGE_DRY_RUN" value="false" />
    <option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
    <option name="UPDATE_LOCK_ON_DEMAND" value="false" />
    <option name="IGNORE_SPACES_IN_MERGE" value="false" />
    <option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
    <option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
    <option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
    <option name="FORCE_UPDATE" value="false" />
    <option name="IGNORE_EXTERNALS" value="false" />
    <myIsUseDefaultProxy>false</myIsUseDefaultProxy>
  </component>
  <component name="TaskManager">
    <task active="true" id="Default" summary="Default task">
      <changelist id="b3f56ace-11fe-4b54-83ff-6a48ec4bed49" name="Default" comment="" />
      <created>1387222058933</created>
      <updated>1387222058933</updated>
    </task>
    <servers />
  </component>
  <component name="ToolWindowManager">
    <frame x="473" y="101" width="656" height="744" extended-state="0" />
    <editor active="true" />
    <layout>
      <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.2635659" sideWeight="0.6404887" order="0" side_tool="false" content_ui="combo" />
      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3296" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.35951135" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3296" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
    </layout>
  </component>
  <component name="VcsContentAnnotationSettings">
    <option name="myLimit" value="2678400000" />
  </component>
  <component name="VcsManagerConfiguration">
    <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
    <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
    <option name="CHECK_NEW_TODO" value="true" />
    <option name="myTodoPanelSettings">
      <value>
        <are-packages-shown value="false" />
        <are-modules-shown value="false" />
        <flatten-packages value="false" />
        <is-autoscroll-to-source value="false" />
      </value>
    </option>
    <option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
    <option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
    <option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
    <option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
    <option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
    <option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
    <option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
    <option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
    <option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
    <option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
    <option name="DEFAULT_PATCH_EXTENSION" value="patch" />
    <option name="SHORT_DIFF_HORIZONTALLY" value="true" />
    <option name="SHORT_DIFF_EXTRA_LINES" value="2" />
    <option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" />
    <option name="INCLUDE_TEXT_INTO_PATCH" value="false" />
    <option name="INCLUDE_TEXT_INTO_SHELF" value="false" />
    <option name="SHOW_FILE_HISTORY_DETAILS" value="true" />
    <option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" />
    <option name="SHOW_DIRTY_RECURSIVELY" value="false" />
    <option name="LIMIT_HISTORY" value="true" />
    <option name="MAXIMUM_HISTORY_ROWS" value="1000" />
    <option name="UPDATE_FILTER_SCOPE_NAME" />
    <option name="USE_COMMIT_MESSAGE_MARGIN" value="false" />
    <option name="COMMIT_MESSAGE_MARGIN_SIZE" value="72" />
    <option name="WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN" value="false" />
    <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
    <option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" />
    <option name="LAST_COMMIT_MESSAGE" />
    <option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" />
    <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
    <option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
    <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
    <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
    <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
    <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
    <option name="ACTIVE_VCS_NAME" />
    <option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
    <option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
    <option name="UPDATE_FILTER_BY_SCOPE" value="false" />
    <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
    <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
  </component>
  <component name="XDebuggerManager">
    <breakpoint-manager />
  </component>
  <component name="editorHistoryManager">
    <entry file="file://$PROJECT_DIR$/indexOld.html">
      <provider selected="true" editor-type-id="text-editor">
        <state line="34" column="0" selection-start="1713" selection-end="1843" vertical-scroll-proportion="0.0" />
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/js/ng-grid.min.js">
      <provider selected="true" editor-type-id="text-editor">
        <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/ResultsPage.html">
      <provider selected="true" editor-type-id="text-editor">
        <state line="24" column="89" selection-start="940" selection-end="940" vertical-scroll-proportion="-15.0" />
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/js/SearchBoxComponents.js">
      <provider selected="true" editor-type-id="text-editor">
        <state line="11" column="65" selection-start="252" selection-end="252" vertical-scroll-proportion="-5.4" />
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/js/GraphComponents.js">
      <provider selected="true" editor-type-id="text-editor">
        <state line="47" column="123" selection-start="1060" selection-end="1060" vertical-scroll-proportion="0.0" />
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/js/InputPage.js">
      <provider selected="true" editor-type-id="text-editor">
        <state line="55" column="51" selection-start="1505" selection-end="1505" vertical-scroll-proportion="0.0" />
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/css/main.css">
      <provider selected="true" editor-type-id="text-editor">
        <state line="90" column="11" selection-start="1659" selection-end="1681" vertical-scroll-proportion="0.0">
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/js/MainPage.js">
      <provider selected="true" editor-type-id="text-editor">
        <state line="75" column="81" selection-start="2154" selection-end="2154" vertical-scroll-proportion="0.0">
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/css/GraphComponents.css">
      <provider selected="true" editor-type-id="text-editor">
        <state line="7" column="113" selection-start="145" selection-end="145" vertical-scroll-proportion="0.0">
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/js/ResultsPage.js">
      <provider selected="true" editor-type-id="text-editor">
        <state line="130" column="71" selection-start="4441" selection-end="4441" vertical-scroll-proportion="0.0">
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/css/SearchBoxComponents.css">
      <provider selected="true" editor-type-id="text-editor">
        <state line="55" column="104" selection-start="1144" selection-end="1144" vertical-scroll-proportion="0.0">
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/InputPage.html">
      <provider selected="true" editor-type-id="text-editor">
        <state line="42" column="41" selection-start="1670" selection-end="1670" vertical-scroll-proportion="0.0">
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/index.html">
      <provider selected="true" editor-type-id="text-editor">
        <state line="57" column="14" selection-start="2199" selection-end="2199" vertical-scroll-proportion="0.0">
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/css/InputPage.css">
      <provider selected="true" editor-type-id="text-editor">
        <state line="39" column="15" selection-start="527" selection-end="527" vertical-scroll-proportion="0.0">
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/css/ResultsComponents.css">
      <provider selected="true" editor-type-id="text-editor">
        <state line="46" column="0" selection-start="575" selection-end="575" vertical-scroll-proportion="0.0">
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/js/ResultsComponents.js">
      <provider selected="true" editor-type-id="text-editor">
        <state line="63" column="159" selection-start="1719" selection-end="1719" vertical-scroll-proportion="0.030674847">
          <folding>
            <marker date="1401475252578" expanded="true" signature="3716:3725" placeholder="..." />
          </folding>
        </state>
      </provider>
    </entry>
  </component>
  <component name="masterDetails">
    <states>
      <state key="ScopeChooserConfigurable.UI">
        <settings>
          <splitter-proportions>
            <option name="proportions">
              <list>
                <option value="0.2" />
              </list>
            </option>
          </splitter-proportions>
        </settings>
      </state>
    </states>
  </component>
</project>


text:
using System;
using System.Collections.Generic;
using System.Reflection;

using Prolix.Collections;
using Prolix.Extensions.Collections;
using Prolix.Extensions.Reflection;

namespace Prolix.Logic
{
    /// <summary>
    /// Manages descriptors
    /// </summary>
    public sealed class DescriptorManager
    {
        /// <summary>
        /// All mapped descriptors
        /// </summary>
        static IDictionary<Type, Type> MappedDescriptors { get; } = new WeakDictionary<Type, Type>();

        /// <summary>
        /// Add descriptor mappings (Model, Descritor) to the global descriptor cache.
        /// </summary>
        /// <param name="mappings">The descriptor mappings needed to be added</param>
        public static void Configure(IDictionary<Type, Type> mappings)
        {
            MappedDescriptors.AddRange(mappings);
        }

        /// <summary>
        /// Gets an descriptor for a model, from <seealso cref="DescribeAttribute"/> or from the global cache.
        /// </summary>
        /// <typeparam name="T">The model type</typeparam>
        /// <returns>The descriptor instance</returns>
        public static ModelDescriptor<T> Get<T>()
            where T : class
        {
            Type descriptorType = null;

            var modelType = typeof(T);
            var attr = modelType.GetAttribute<DescribeAttribute>();

            descriptorType = attr?.DescriptorType;

            if (descriptorType == null && MappedDescriptors != null)
                descriptorType = MappedDescriptors[modelType];

            if (descriptorType == null)
                return null;

            var descriptor = descriptorType.Instantiate<ModelDescriptor<T>>();

            return descriptor;
        }

        /// <summary>
        /// List changes between two models, and the field names listed in the model descriptor.
        /// </summary>
        /// <typeparam name="T">The model type</typeparam>
        /// <param name="old">The old data</param>
        /// <param name="@new">The new data</param>
        /// <returns>A list of <seealso cref="ModelAudit"/></returns>
        public static IList<ModelAudit> Audit<T>(T old, T @new)
            where T : class
        {
            var descriptor = Get<T>();

            if (descriptor == null)
                return new List<ModelAudit>();

            var audit = descriptor.Audit(old, @new);
            return audit;
        }

        /// <summary>
        /// Validates business rules against the model descriptor.
        /// </summary>
        /// <typeparam name="T">The model type</typeparam>
        /// <param name="model">The model instance</param>
        /// <param name="message">The parent validation message</param>
        /// <returns>A <seealso cref="RuleValidation"/> instance with the validation result.</returns>
        public static RuleValidation Validate<T>(T model, string message = null)
            where T : class
        {
            var descriptor = Get<T>();

            if (descriptor == null)
                return new RuleValidation(message);

            var rule = descriptor.Build(model);

            if (!string.IsNullOrWhiteSpace(message))
                rule.Message = message;

            return rule;
        }
    }
}

redpajama_set_name: RedPajamaGithub


text:
{% load i18n %}
{% load hq_shared_tags %}

      {% trans "Current Profiles" %}

    {% if app.is_remote_app %}

 1">
        {% blocktrans %}
          Remote applications only support one build profile. Please remove all but one profile before saving.
        {% endblocktrans %}

    {% endif %}

      {% blocktrans %}
        Application profiles let you install the same application with different languages
        and options on different phones. Application profiles will appear in new versions
        of the application.
      {% endblocktrans %}
      {% if can_edit_apps and request|toggle_enabled:"RELEASE_BUILDS_PER_PROFILE" %}
        {% trans "Manage application profiles here."%}
      {% endif %}
      {% blocktrans %}
        Learn more about Application Profiles on our Help Site
      {% endblocktrans %}

        {% trans "Profile Name" %}
        {% trans "Languages" %}
        {% trans "Default Language" %}
        {% trans "Practice Mobile Worker" %}

            {% trans "Upgrade to CommCare 2.30!" %}

                        <input class="form-control" data-bind="value: $data.name"/>
                      {% if request|toggle_enabled:"RELEASE_BUILDS_PER_PROFILE" %}

                            {% trans "Latest Enabled Version:" %}

                      {% endif %}

          <select class="language-select form-control"
                  multiple="true"
                  data-bind="options: $root.app_langs, selectedOptions: langs, attr: {id: 'profile-' + $index()}">
          </select>

                        <select class="form-control" data-bind="value: defaultLang, options: langs"></select>

                        <select class="practice-user" data-bind="foreach: $root.practice_users,  attr: {id: 'practice-user-' + $index()}, value: $data.practiceUser, enable: $root.enable_practice_users">
                            <option data-bind="value: $data.id, text: $data.text"></option>
                        </select>

          <button class="btn btn-danger" data-bind="click: $root.removeProfile">

          </button>

        <input type="hidden" data-bind="value: id"/>

    <button class="btn btn-default" data-bind="click: newProfile">

      {% trans "Add Profile" %}
    </button>


text:
package automation

import (
	"errors"
	"testing"

	automationpb "vitess.io/vitess/go/vt/proto/automation"
	"vitess.io/vitess/go/vt/vtctl/fakevtctlclient"
)

func testingTaskCreator(taskName string) Task {
	switch taskName {
	// Tasks for testing only.
	case "TestingEchoTask":
		return &TestingEchoTask{}
	case "TestingFailTask":
		return &TestingFailTask{}
	case "TestingEmitEchoTask":
		return &TestingEmitEchoTask{}
	case "TestingEmitEchoFailEchoTask":
		return &TestingEmitEchoFailEchoTask{}
	default:
		return nil
	}
}

// TestingEchoTask is used only for testing. It returns the join of all parameter values.
type TestingEchoTask struct {
}

func (t *TestingEchoTask) Run(parameters map[string]string) (newTasks []*automationpb.TaskContainer, output string, err error) {
	for _, v := range parameters {
		output += v
	}
	return
}

func (t *TestingEchoTask) RequiredParameters() []string {
	return []string{"echo_text"}
}

func (t *TestingEchoTask) OptionalParameters() []string {
	return nil
}

// TestingFailTask is used only for testing. It always fails.
type TestingFailTask struct {
}

func (t *TestingFailTask) Run(parameters map[string]string) (newTasks []*automationpb.TaskContainer, output string, err error) {
	return nil, "something went wrong", errors.New("full error message")
}

func (t *TestingFailTask) RequiredParameters() []string {
	return []string{"echo_text"}
}

func (t *TestingFailTask) OptionalParameters() []string {
	return nil
}

// TestingEmitEchoTask is used only for testing. It emits a TestingEchoTask.
type TestingEmitEchoTask struct {
}

func (t *TestingEmitEchoTask) Run(parameters map[string]string) (newTasks []*automationpb.TaskContainer, output string, err error) {
	return []*automationpb.TaskContainer{
		NewTaskContainerWithSingleTask("TestingEchoTask", parameters),
	}, "emitted TestingEchoTask", nil
}

func (t *TestingEmitEchoTask) RequiredParameters() []string {
	return []string{"echo_text"}
}

func (t *TestingEmitEchoTask) OptionalParameters() []string {
	return nil
}

// TestingEmitEchoFailEchoTask is used only for testing.
// It emits three sequential tasks: Echo, Fail, Echo.
type TestingEmitEchoFailEchoTask struct {
}

func (t *TestingEmitEchoFailEchoTask) Run(parameters map[string]string) (newTasks []*automationpb.TaskContainer, output string, err error) {
	newTasks = []*automationpb.TaskContainer{
		NewTaskContainerWithSingleTask("TestingEchoTask", parameters),
		NewTaskContainerWithSingleTask("TestingFailTask", parameters),
		NewTaskContainerWithSingleTask("TestingEchoTask", parameters),
	}
	return newTasks, "emitted tasks: Echo, Fail, Echo", nil
}

func (t *TestingEmitEchoFailEchoTask) RequiredParameters() []string {
	return []string{"echo_text"}
}

func (t *TestingEmitEchoFailEchoTask) OptionalParameters() []string {
	return nil
}

// testTask runs the given tasks and checks if it succeeds.
// To make the task succeed you have to register the result with a fake first
// e.g. see migrate_served_types_task_test.go for an example.
func testTask(t *testing.T, test string, task Task, parameters map[string]string, vtctlClientFake *fakevtctlclient.FakeVtctlClient) {
	err := validateParameters(task, parameters)
	if err != nil {
		t.Fatalf("%s: Not all required parameters were specified: %v", test, err)
	}

	newTasks, _ /* output */, err := task.Run(parameters)
	if newTasks != nil {
		t.Errorf("%s: Task should not emit new tasks: %v", test, newTasks)
	}
	if err != nil {
		t.Errorf("%s: Task should not fail: %v", err, test)
	}

	if c := vtctlClientFake.RegisteredCommands(); len(c) != 0 {
		t.Errorf("Not all registered results were consumed from the fake. Commands left: %v", c)
	}
}


text:
package de.McAPI.Pipeline.protocol.response;

import com.google.gson.Gson;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import com.google.gson.JsonPrimitive;
import de.McAPI.Pipeline.Pipeline;
import de.McAPI.Pipeline.Session;
import org.spongepowered.api.Platform;
import org.spongepowered.api.Sponge;
import org.spongepowered.api.data.key.Keys;
import org.spongepowered.api.entity.living.player.Player;
import org.spongepowered.api.plugin.PluginContainer;
import org.spongepowered.api.world.World;

import java.util.Map;

/**
 * Created by Yonas on 09.04.2016.
 */
public class PipelineResponse {

    private final static Gson gson = new Gson();

    private Pipeline pipeline;
    private Session session;

    private JsonObject response = new JsonObject();

    public PipelineResponse(Pipeline pipeline, Session session) {
        this.pipeline = pipeline;
        this.session = session;
    }

    /**
     * Returns the response as JSON string.
     * @return
     */
    public String getResponse() {
        return this.gson.toJson(this.response);
    }

    /**
     * Call this function to start building the Pipeline response.
     */
    public void build() {

        if(this.pipeline.isDebug()) {
            this.pipeline.logger().info(String.format(
                    "[%s] Starting to build the PipelineResponse...",
                    this.session.getDebugKey()
            ));
        }

        if(this.pipeline.isDebug()) {
            this.pipeline.logger().info(String.format(
                    "[%s] Adding players...",
                    this.session.getDebugKey()
            ));
        }
        //player
        JsonArray players = new JsonArray();
        for(Player player : Sponge.getGame().getServer().getOnlinePlayers()) {

            JsonObject entry = new JsonObject();
            entry.addProperty("identifier", player.getIdentifier());
            entry.addProperty("name", player.getName());
            entry.addProperty("ping", player.getConnection().getLatency());
            entry.addProperty("gamemode", player.getGameModeData().get(Keys.GAME_MODE).get().getName());
            entry.addProperty("health", player.getHealthData().getValue(Keys.HEALTH).get().get());
            entry.addProperty("food", player.getFoodData().foodLevel().get());

            // Status
            JsonObject status = new JsonObject();
            status.addProperty("isFlying", player.get(Keys.IS_FLYING).get());
            status.addProperty("isSneaking", player.get(Keys.IS_SNEAKING).get());
            status.addProperty("isSprinting", player.get(Keys.IS_SPRINTING).get());
            entry.add("status", status);

            players.add(entry);

        }
        if(this.pipeline.isDebug()) {
            this.pipeline.logger().info(String.format(
                    "[%s] Finished adding (%d) players.",
                    this.session.getDebugKey(),
                    players.size()
            ));
        }

        //worlds
        if(this.pipeline.isDebug()) {
            this.pipeline.logger().info(String.format(
                    "[%s] Adding worlds...",
                    this.session.getDebugKey()
            ));
        }
        JsonArray worlds = new JsonArray();
        for(World world : Sponge.getGame().getServer().getWorlds()) {

            JsonObject entry = new JsonObject();
            entry.addProperty("identifier", world.getUniqueId().toString());
            entry.addProperty("name", world.getName());
            entry.addProperty("difficulty", world.getDifficulty().getName());
            entry.addProperty("generatorType", world.getDimension().getGeneratorType().getName());

            // Game Rules
            JsonArray gameRules = new JsonArray();
            for(Map.Entry<String, String> rule : world.getProperties().getGameRules().entrySet()) {

                JsonObject ruleEntry = new JsonObject();
                ruleEntry.addProperty(rule.getKey(), Boolean.valueOf(rule.getValue()));

                gameRules.add(ruleEntry);
            }
            entry.add("gamesRules", gameRules);

            worlds.add(entry);

        }
        if(this.pipeline.isDebug()) {
            this.pipeline.logger().info(String.format(
                    "[%s] Finished adding (%d) worlds.",
                    this.session.getDebugKey(),
                    worlds.size()
            ));
        }

        // Plugins
        if(this.pipeline.isDebug()) {
            this.pipeline.logger().info(String.format(
                    "[%s] Adding plugins...",
                    this.session.getDebugKey()
            ));
        }
        JsonArray plugins = new JsonArray();
        for(PluginContainer pluginContainer : Sponge.getGame().getPluginManager().getPlugins()) {

            JsonObject entry = new JsonObject();
            entry.addProperty("name", pluginContainer.getName());
            entry.addProperty("description", pluginContainer.getDescription().orElse(null));
            entry.addProperty("version", pluginContainer.getVersion().orElse(null));

            // Authors
            JsonArray authors = new JsonArray();
            for(String author : pluginContainer.getAuthors()) {
                authors.add(new JsonPrimitive(author));
            }
            entry.add("authors", authors);

            plugins.add(entry);

        }
        if(this.pipeline.isDebug()) {
            this.pipeline.logger().info(String.format(
                    "[%s] Finished adding (%d) plugins.",
                    this.session.getDebugKey(),
                    plugins.size()
            ));
        }

        // Platform
        if(this.pipeline.isDebug()) {
            this.pipeline.logger().info(String.format(
                    "[%s] Adding platform details.",
                    this.session.getDebugKey()
            ));
        }
        JsonObject platform = new JsonObject();
        Platform gamePlatform = Sponge.getGame().getPlatform();

        platform.addProperty("type", gamePlatform.getType().name());
        platform.addProperty("api", gamePlatform.getApi().getVersion().orElse(null));
        platform.addProperty("implementation", gamePlatform.getImplementation().getVersion().orElse(null));
        platform.addProperty("minecraft", gamePlatform.getMinecraftVersion().getName());
        platform.addProperty("online-mode", Sponge.getGame().getServer().getOnlineMode());

        // performance
        JsonObject performance = new JsonObject();
        performance.addProperty("tps", Sponge.getGame().getServer().getTicksPerSecond());

        JsonObject cpu = new JsonObject();
        cpu.addProperty("cores", Runtime.getRuntime().availableProcessors());

        JsonObject memory = new JsonObject();
        memory.addProperty("max", Runtime.getRuntime().maxMemory());
        memory.addProperty("total", Runtime.getRuntime().totalMemory());
        memory.addProperty("free", Runtime.getRuntime().freeMemory());
        memory.addProperty("used", (Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory()));

        performance.add("cpu", cpu);
        performance.add("memory", memory);

        platform.add("performance", performance);

        if(this.pipeline.isDebug()) {
            this.pipeline.logger().info(String.format(
                    "[%s] Finished adding platform details.",
                    this.session.getDebugKey()
            ));
        }

        // Debug Information
        this.response.addProperty("debug", this.session.getDebugKey());

        //add
        this.response.add("platform", platform);
        this.response.add("worlds", worlds);
        this.response.add("players", players);
        this.response.add("plugins", plugins);

        if(this.pipeline.isDebug()) {
            this.pipeline.logger().info(String.format(
                    "[%s] Finished PipelineResponse building.",
                    this.session.getDebugKey()
            ));
        }

    }

}


text:
package com.example.fragment;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentTabHost;
import android.view.View;
import android.view.Window;
import android.widget.TabHost.OnTabChangeListener;

import com.example.dialogdemo2.R;

public class FragmentTabActivity extends FragmentActivity {

	private View back;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.main);

		FragmentTabHost tabHost = (FragmentTabHost)findViewById(android.R.id.tabhost);
		tabHost.setup(this, getSupportFragmentManager(), R.id.realtabcontent);
		//1
		tabHost.addTab(tabHost.newTabSpec("Apple")
			   				  .setIndicator("Apple"),
   					  AppleFragment.class,
   					  null);
	    //2
		tabHost.addTab(tabHost.newTabSpec("Google")
				   			  .setIndicator("Google"),
					  GoogleFragment.class,
					  null);
	    //3
		tabHost.addTab(tabHost.newTabSpec("Facebook")
				   			  .setIndicator("Facebook"),
					  FacebookFragment.class,
				      null);

		tabHost.setOnTabChangedListener(new OnTabChangeListener() {

			@Override
			public void onTabChanged(String tabId) {

			}
		});

		back = (View) findViewById(R.id.navi_back);
        back.setOnClickListener(new View.OnClickListener() {

			@Override
			public void onClick(View v) {
				finish();

			}
		});
	}

	/**************************
	 *
	 * 		���l���ҩI�s��
	 *
	 **************************/

	public String getAppleData(){
		return "Apple 123";
	}

	public String getGoogleData(){
		return "Google 456";
	}

	public String getFacebookData(){
		return "Facebook 789";
	}

	public String getTwitterData(){
		return "Twitter abc";
	}
}


text:
<?php

namespace Oro\Bundle\IntegrationBundle\Entity;

use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;
use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config;
use Oro\Bundle\OrganizationBundle\Entity\BusinessUnit;
use Oro\Bundle\OrganizationBundle\Entity\Organization;
use Oro\Bundle\OrganizationBundle\Entity\OrganizationAwareInterface;
use Oro\Bundle\OrganizationBundle\Entity\OrganizationInterface;
use Oro\Bundle\UserBundle\Entity\User;
use Oro\Component\Config\Common\ConfigObject;

/**
 * Responsibility of channel is to split on groups transport/connectors by third party application type.
 *
 * @ORM\Table(
 *      name="oro_integration_channel",
 *      indexes={
 *          @ORM\Index(name="oro_integration_channel_name_idx",columns={"name"})
 *      }
 * )
 * @ORM\Entity(repositoryClass="Oro\Bundle\IntegrationBundle\Entity\Repository\ChannelRepository")
 * @Config(
 *      routeName="oro_integration_index",
 *      defaultValues={
 *          "ownership"={
 *              "owner_type"="ORGANIZATION",
 *              "owner_field_name"="organization",
 *              "owner_column_name"="organization_id"
 *          },
 *          "security"={
 *              "type"="ACL",
 *              "group_name"="",
 *              "category"="account_management"
 *          },
 *          "note"={
 *              "immutable"=true
 *          },
 *          "activity"={
 *              "immutable"=true
 *          },
 *          "attachment"={
 *              "immutable"=true
 *          }
 *      }
 * )
 */
class Channel implements OrganizationAwareInterface
{
    /** This mode allow to do any changes(including removing) with channel */
    const EDIT_MODE_ALLOW = 3;

    /** This mode allow only to activate/deactivate channel(switch enable field) */
    const EDIT_MODE_RESTRICTED = 2;

    /** This mode do not allow to edit, remove and activate/deactivate channel */
    const EDIT_MODE_DISALLOW = 1;

    /**
     * @var integer
     *
     * @ORM\Id
     * @ORM\Column(type="integer", name="id")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $id;

    /**
     * @var string
     *
     * @ORM\Column(name="name", type="string", length=255)
     */
    protected $name;

    /**
     * @var string
     *
     * @ORM\Column(name="type", type="string", length=255)
     */
    protected $type;

    /**
     * @var Transport
     *
     * @ORM\OneToOne(targetEntity="Oro\Bundle\IntegrationBundle\Entity\Transport",
     *     cascade={"all"}, orphanRemoval=true, inversedBy="channel"
     * )
     */
    protected $transport;

    /**
     * @var []
     * @ORM\Column(name="connectors", type="array")
     */
    protected $connectors = [];

    /**
     * @var ConfigObject
     *
     * @ORM\Column(name="synchronization_settings", type="config_object", nullable=false)
     */
    protected $synchronizationSettings;

    /**
     * @var ConfigObject
     *
     * @ORM\Column(name="mapping_settings", type="config_object", nullable=false)
     */
    protected $mappingSettings;

    /**
     * @var boolean
    *
    * @ORM\Column(name="enabled", type="boolean", nullable=true)
    */
    protected $enabled;

    /**
     * If the status is changed by a user the previous status has to be set.
     * If the status is changed from the code, it has to be set to null.
     * For example in the listener when a channel status is changed
     *
     * @var boolean
     *
     * @ORM\Column(name="previously_enabled", type="boolean", nullable=true)
     */
    protected $previouslyEnabled;

    /**
     * @var User
     * @ORM\ManyToOne(targetEntity="Oro\Bundle\UserBundle\Entity\User")
     * @ORM\JoinColumn(
     *      name="default_user_owner_id",
     *      referencedColumnName="id",
     *      onDelete="SET NULL",
     *      nullable=true
     * )
     */
    protected $defaultUserOwner;

    /**
     * @var BusinessUnit
     * @ORM\ManyToOne(targetEntity="Oro\Bundle\OrganizationBundle\Entity\BusinessUnit")
     * @ORM\JoinColumn(
     *      name="default_business_unit_owner_id",
     *      referencedColumnName="id",
     *      onDelete="SET NULL",
     *      nullable=true
     * )
     */
    protected $defaultBusinessUnitOwner;

    /**
     * @var Organization
     * @ORM\ManyToOne(targetEntity="Oro\Bundle\OrganizationBundle\Entity\Organization")
     * @ORM\JoinColumn(name="organization_id", referencedColumnName="id", onDelete="SET NULL")
     */
    protected $organization;

    /**
     * @var Status[]|ArrayCollection
     *
     * Cascade persisting is not used due to lots of detach/merge
     * @ORM\OneToMany(targetEntity="Oro\Bundle\IntegrationBundle\Entity\Status",
     *     cascade={"merge"}, orphanRemoval=true, mappedBy="channel", fetch="EXTRA_LAZY"
     * )
     * @ORM\OrderBy({"date" = "DESC"})
     */
    protected $statuses;

    /**
     * @var integer
     *
     * @ORM\Column(
     *     name="edit_mode",
     *     type="integer",
     *     nullable=false,
     *     options={"default"=\Oro\Bundle\IntegrationBundle\Entity\Channel::EDIT_MODE_ALLOW})
     * )
     */
    protected $editMode;

    public function __construct()
    {
        $this->statuses                = new ArrayCollection();
        $this->synchronizationSettings = ConfigObject::create([]);
        $this->mappingSettings         = ConfigObject::create([]);
        $this->enabled                 = true;
        $this->editMode                = self::EDIT_MODE_ALLOW;
    }

    /**
     * @return integer
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * @param string $name
     *
     * @return $this
     */
    public function setName($name)
    {
        $this->name = $name;

        return $this;
    }

    /**
     * @return string
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * @param string $type
     *
     * @return $this
     */
    public function setType($type)
    {
        $this->type = $type;

        return $this;
    }

    /**
     * @return string
     */
    public function getType()
    {
        return $this->type;
    }

    /**
     * @param Transport $transport
     *
     * @return $this
     */
    public function setTransport(Transport $transport)
    {
        $this->transport = $transport;

        return $this;
    }

    /**
     * @return Transport
     */
    public function getTransport()
    {
        return $this->transport;
    }

    /**
     * @return $this
     */
    public function clearTransport()
    {
        $this->transport = null;

        return $this;
    }

    /**
     * @param array $connectors
     *
     * @return $this
     */
    public function setConnectors($connectors)
    {
        $this->connectors = $connectors;

        return $this;
    }

    /**
     * @return array
     */
    public function getConnectors()
    {
        return $this->connectors;
    }

    /**
     * @param ConfigObject $synchronizationSettings
     */
    public function setSynchronizationSettings($synchronizationSettings)
    {
        $this->synchronizationSettings = $synchronizationSettings;
    }

    /**
     * @return ConfigObject
     */
    public function getSynchronizationSettings()
    {
        return clone $this->synchronizationSettings;
    }

    /**
     * NOTE: object type column are immutable when changes provided in object by reference
     *
     * @return ConfigObject
     */
    public function getSynchronizationSettingsReference()
    {
        return $this->synchronizationSettings;
    }

    /**
     * @param ConfigObject $mappingSettings
     */
    public function setMappingSettings($mappingSettings)
    {
        $this->mappingSettings = $mappingSettings;
    }

    /**
     * @return ConfigObject
     */
    public function getMappingSettings()
    {
        return clone $this->mappingSettings;
    }

    /**
     * NOTE: object type column are immutable when changes provided in object by reference
     *
     * @return ConfigObject
     */
    public function getMappingSettingsReference()
    {
        return $this->mappingSettings;
    }

    /**
     * @param Status $status
     *
     * @return $this
     */
    public function addStatus(Status $status)
    {
        if (!$this->statuses->contains($status)) {
            $status->setChannel($this);
            $this->statuses->add($status);
        }

        return $this;
    }

    /**
     * @return ArrayCollection|Status[]
     */
    public function getStatuses()
    {
        return $this->statuses;
    }

    /**
     * @param User $owner
     *
     * @return $this
     */
    public function setDefaultUserOwner(User $owner = null)
    {
        $this->defaultUserOwner = $owner;

        return $this;
    }

    /**
     * @return User
     */
    public function getDefaultUserOwner()
    {
        return $this->defaultUserOwner;
    }

    /**
     * @param OrganizationInterface $organization
     *
     * @return $this
     */
    public function setOrganization(OrganizationInterface $organization)
    {
        $this->organization = $organization;

        return $this;
    }

    /**
     * @return OrganizationInterface
     */
    public function getOrganization()
    {
        return $this->organization;
    }

    /**
     * @param boolean $enabled
     *
     * @return $this
     */
    public function setEnabled($enabled)
    {
        $this->enabled = $enabled;

        return $this;
    }

    /**
     * @return bool
     */
    public function isEnabled()
    {
        return $this->enabled;
    }

    /**
     * @param int $editMode
     */
    public function setEditMode($editMode)
    {
        $this->editMode = $editMode;
    }

    /**
     * @return int
     */
    public function getEditMode()
    {
        return $this->editMode;
    }

    /**
     * @return BusinessUnit
     */
    public function getDefaultBusinessUnitOwner()
    {
        return $this->defaultBusinessUnitOwner;
    }

    /**
     * @param BusinessUnit $defaultBusinessUnitOwner
     *
     * @return $this
     */
    public function setDefaultBusinessUnitOwner($defaultBusinessUnitOwner)
    {
        $this->defaultBusinessUnitOwner = $defaultBusinessUnitOwner;

        return $this;
    }

    /**
     * @return string
     */
    public function __toString()
    {
        return (string)$this->getName();
    }

    /**
     * @return boolean|null
     */
    public function getPreviouslyEnabled()
    {
        return $this->previouslyEnabled;
    }

    /**
     * @param boolean|null $previouslyEnabled
     */
    public function setPreviouslyEnabled($previouslyEnabled)
    {
        $this->previouslyEnabled = $previouslyEnabled;
    }
}


text:
def test_snapshot_revert_to_latest_snapshot(web3):
    web3.testing.mine(5)

    block_before_snapshot = web3.eth.getBlock("latest")

    web3.testing.snapshot()

    block_after_snapshot = web3.eth.getBlock("latest")

    web3.testing.mine(3)

    block_after_mining = web3.eth.getBlock("latest")

    web3.testing.revert()

    block_after_revert = web3.eth.getBlock("latest")

    assert block_after_mining['number'] > block_before_snapshot['number']
    assert block_before_snapshot['hash'] == block_after_snapshot['hash']
    assert block_after_snapshot['hash'] == block_after_revert['hash']

def test_snapshot_revert_to_specific(web3):
    web3.testing.mine(5)

    block_before_snapshot = web3.eth.getBlock("latest")

    snapshot_idx = web3.testing.snapshot()

    block_after_snapshot = web3.eth.getBlock("latest")

    web3.testing.mine()
    web3.testing.snapshot()
    web3.testing.mine()
    web3.testing.snapshot()
    web3.testing.mine()
    web3.testing.snapshot()

    block_after_mining = web3.eth.getBlock("latest")

    web3.testing.revert(snapshot_idx)

    block_after_revert = web3.eth.getBlock("latest")

    assert block_after_mining['number'] > block_before_snapshot['number']
    assert block_before_snapshot['hash'] == block_after_snapshot['hash']
    assert block_after_snapshot['hash'] == block_after_revert['hash']


text:
package rx.util.functions;

/**
 * @deprecated
 */
@Deprecated
public interface ActionN extends rx.functions.ActionN, Action {
}


text:
package org.bubblecloud.zigbee.v3.zcl.protocol.command.commissioning;

import org.bubblecloud.zigbee.v3.zcl.ZclCommandMessage;
import org.bubblecloud.zigbee.v3.zcl.ZclCommand;
import org.bubblecloud.zigbee.v3.zcl.protocol.ZclCommandType;
import org.bubblecloud.zigbee.v3.zcl.protocol.ZclFieldType;

/**
 * Code generated Restart Device Command value object class.
 */
public class RestartDeviceCommand extends ZclCommand {
    /**
     * Option command message field.
     */
    private Integer option;
    /**
     * Delay command message field.
     */
    private Integer delay;
    /**
     * Jitter command message field.
     */
    private Integer jitter;

    /**
     * Default constructor setting the command type field.
     */
    public RestartDeviceCommand() {
        this.setType(ZclCommandType.RESTART_DEVICE_COMMAND);
    }

    /**
     * Constructor copying field values from command message.
     * @param message the command message
     */
    public RestartDeviceCommand(final ZclCommandMessage message) {
        super(message);
        this.option = (Integer) message.getFields().get(ZclFieldType.RESTART_DEVICE_COMMAND_OPTION);
        this.delay = (Integer) message.getFields().get(ZclFieldType.RESTART_DEVICE_COMMAND_DELAY);
        this.jitter = (Integer) message.getFields().get(ZclFieldType.RESTART_DEVICE_COMMAND_JITTER);
    }

    @Override
    public ZclCommandMessage toCommandMessage() {
        final ZclCommandMessage message = super.toCommandMessage();
        message.getFields().put(ZclFieldType.RESTART_DEVICE_COMMAND_OPTION,option);
        message.getFields().put(ZclFieldType.RESTART_DEVICE_COMMAND_DELAY,delay);
        message.getFields().put(ZclFieldType.RESTART_DEVICE_COMMAND_JITTER,jitter);
        return message;
    }

    /**
     * Gets Option.
     * @return the Option
     */
    public Integer getOption() {
        return option;
    }

    /**
     * Sets Option.
     * @param option the Option
     */
    public void setOption(final Integer option) {
        this.option = option;
    }

    /**
     * Gets Delay.
     * @return the Delay
     */
    public Integer getDelay() {
        return delay;
    }

    /**
     * Sets Delay.
     * @param delay the Delay
     */
    public void setDelay(final Integer delay) {
        this.delay = delay;
    }

    /**
     * Gets Jitter.
     * @return the Jitter
     */
    public Integer getJitter() {
        return jitter;
    }

    /**
     * Sets Jitter.
     * @param jitter the Jitter
     */
    public void setJitter(final Integer jitter) {
        this.jitter = jitter;
    }

    @Override
    public String toString() {
        final StringBuilder builder = new StringBuilder();
        builder.append(super.toString());
        builder.append(", ");
        builder.append("option");
        builder.append('=');
        builder.append(option);
        builder.append(", ");
        builder.append("delay");
        builder.append('=');
        builder.append(delay);
        builder.append(", ");
        builder.append("jitter");
        builder.append('=');
        builder.append(jitter);
        return builder.toString();
    }

}


text:
package io.github.hrathod.blog.resteasy;

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

import javax.ws.rs.core.Application;

public class SimpleApplication extends Application {

	private final Set<Object> singletons = new HashSet<>();

	public SimpleApplication () {
		this.singletons.add(new SimpleResource());
		this.singletons.add(new OptionalFilter());
	}

	@Override
	public Set<Object> getSingletons() {
		return this.singletons;
	}
}


text:
guid: 707911b0-97ec-4523-a3d9-bd927f1f62ec
type: Live
reformat: True
shortenReferences: True
categories: mnemonics
scopes: InVBTypeMember(languageLevel=Vb8); InVBTypeAndNamespace(languageLevel=Vb8)
parameterOrder: methodname
methodname-expression: constant("SomeMethod")
---

# tb

A test method.

```
<Test> Public Sub $methodname$()
```


text:
package ibur.ticktimecounter.test;

import ibur.ticktimecounter.gui.ImageCropper;

import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import javax.imageio.ImageIO;
import javax.swing.JFileChooser;

public class CropperTest {
	public static void main(String[] args) {
		JFileChooser jfc = new JFileChooser(new File("/Users/Sean/Documents/tick-time-counter"));
		jfc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
		int val = jfc.showOpenDialog(null);
		if(val != JFileChooser.APPROVE_OPTION) {
			System.exit(1);
		}
		System.out.println(jfc.getSelectedFile().getAbsolutePath());
		List<BufferedImage> images = getImages(jfc.getSelectedFile());
		List<BufferedImage> cropped = (new ImageCropper(images)).showCropDialog(null);
		File outFolder = new File(jfc.getSelectedFile().getAbsoluteFile() + "cropped");
		if(!outFolder.exists()) {
			outFolder.mkdir();
		}
		for(int i = 0; i < cropped.size(); i++) {
			try{
				ImageIO.write(cropped.get(i), "png", new File(outFolder.getAbsolutePath() + "/tape_1_0" + i + ".png"));
			}
			catch(IOException e) {
				e.printStackTrace();
			}
		}
	}

	private static List<BufferedImage> getImages(File d) {
		if(!d.isDirectory()) {
			throw new IllegalArgumentException("Argument must be directory");
		}
		List<BufferedImage> l = new ArrayList<BufferedImage>();
		File[] files = d.listFiles();
		Arrays.sort(files);
		for(File f : files) {
			if(f.isFile() && f.canRead()) {
				try{
					BufferedImage b = ImageIO.read(f);
					if(b != null) {
						System.out.println(f.getAbsolutePath() + " is an image");
						l.add(b);
					} else {
						System.out.println(f.getAbsolutePath() + " is not an image");
					}

				}
				catch(IOException e) {
					System.out.println(f.getAbsolutePath() + " is not an image");
				}
			}
		}
		return l;
	}
}


text:
#!/usr/bin/env node

var fs = require('fs'),
    Getopt = require('node-getopt')

var getopt = Getopt.create([
    ['a' , 'alphabet=STRING'  , 'alphabet'],
    ['n' , 'name=STRING'      , 'name'],
    ['h' , 'help'             , 'display this help message']
])              // create Getopt instance
.bindHelp()     // bind option 'help' to default action
var opt = getopt.parseSystem() // parse command line

var alph = (opt.options.alphabet || "ACGT").split("")
var name = opt.options.name || "dna2"

function not (param) {
    return { "-": [true, param] }
}

function times (expr) {
  return Array.prototype.slice.call (arguments, 1).reduce (function (expr1, expr2) {
    return { "*": [expr1, expr2] }
  }, expr)
}

function sum (expr) {
  return Array.prototype.slice.call (arguments, 1).reduce (function (expr1, expr2) {
    return { "+": [expr1, expr2] }
  }, expr)
}

var startState = 'start', endState = 'end'
var startStateInfo = { id: startState, trans: [] },
    endStateInfo = { id: endState }

function matchState (leftContext, rightContext) { return 'mat' + leftContext + rightContext }
function insertState (leftContext, rightContext) { return 'ins' + leftContext + rightContext }
function deleteState (leftContext, rightContext) { return 'del' + leftContext + rightContext }

function eqmProb (i) { return 'eqm' + i }
function subProb (i, j, leftContext, rightContext) { return 'pSub' + i + j + '_' + leftContext + rightContext }
function insOpen (leftContext, rightContext) { return 'pInsOpen' + '_' + leftContext + rightContext }
function insExtend (leftContext, rightContext) { return 'pInsExt' + '_' + leftContext + rightContext }
function insChar (i, leftContext, rightContext) { return 'pInsChar' + i + '_' + leftContext + rightContext }
function delOpen (leftContext, rightContext) { return 'pDelOpen' + '_' + leftContext + rightContext }
// function delExtend (leftContext, rightContext) { return 'pDelExt' + '_' + leftContext + rightContext }
function delChar (j, leftContext, rightContext) { return 'pDelChar' + j + '_' + leftContext + rightContext }

function insOpenChar (i, leftContext, rightContext) { return times (insOpen (leftContext, rightContext), insChar (i, leftContext, rightContext)) }
function insExtendChar (i, leftContext, rightContext) { return times (insExtend (leftContext, rightContext), insChar (i, leftContext, rightContext)) }
function delOpenChar (j, leftContext, rightContext) { return times (delOpen (leftContext, rightContext), delChar (j, leftContext, rightContext)) }
// function delExtendChar (j, leftContext, rightContext) { return times (delExtend (leftContext, rightContext), delChar (j, leftContext, rightContext)) }
function delExtendChar (j, leftContext, rightContext) { return delChar (j, leftContext, rightContext) }

var states = [startStateInfo]
var norms = [], probs = []
alph.forEach (function (l) {
  alph.forEach (function (r) {
    // declare states & transitions
    startStateInfo.trans.push ({ to: matchState(l,r),
                                 weight: eqmProb(l) })
    states.push ({ id: matchState(l,r),
                   trans: (alph.reduce (function (list, c) {
                     return list.concat (alph.map (function (d) {
                       return { to: matchState(r,c),
                                in: r,
                                out: d,
                                weight: times (not(delOpenChar(r,l,c)), not(insOpen(l,r)), subProb(r,d,l,c)) }
                     })).concat ([ { to: deleteState(r,c),
                                     in: r,
                                     weight: delOpenChar(r,l,c) },
                                   { to: insertState(l,r),
                                     out: c,
                                     weight: times (not(delOpenChar(r,l,c)), insOpenChar(c,l,r)) } ])
                   }, [{ to: endState,
                         weight: eqmProb(r) }])) },
                 { id: insertState(l,r),
                   trans: (alph.reduce (function (list, c) {
                     return list.concat (alph.map (function (d) {
                       return { to: matchState(r,c),
                                in: r,
                                out: d,
                                weight: times (not(insExtend(l,r)), subProb(r,d,l,c)) }
                     })).concat ([ { to: insertState(l,r),
                                     out: c,
                                     weight: insExtendChar(c,l,r) } ])
                   }, [{ to: endState,
                         weight: times (not(insExtend(l,r)), eqmProb(r)) }])) },
                 { id: deleteState(l,r),
                   trans: (alph.reduce (function (list, c) {
                     return list.concat (alph.map (function (d) {
                       return { to: matchState(r,c),
                                in: r,
                                out: d,
                                weight: times (not(delExtendChar(r,l,c)), not(insOpen(l,r)), subProb(r,d,l,c)) }
                     })).concat ([ { to: deleteState(r,c),
                                     in: r,
                                     weight: delExtendChar(r,l,c) },
                                   { to: insertState(l,r),
                                     out: c,
                                     weight: times (not(delExtendChar(r,l,c)), insOpenChar(c,l,r)) } ])
                   }, [{ to: endState,
                         weight: eqmProb(r) }])) })
    // declare parameter groups
    alph.forEach (function (c) {
      norms.push (alph.map (function (d) { return subProb(c,d,l,r) }))
    })
    norms.push (alph.map (function (c) { return insChar(c,l,r) }))
    probs.push (insOpen(l,r), insExtend(l,r), delOpen(l,r) /* , delExtend(l,r) */ )
    probs = probs.concat (alph.map (function (c) { return delChar(c,l,r) }))
  })
})
states.push (endStateInfo)
norms.push (alph.map (function (c) { return eqmProb(c) }))

var machine = { state: states,
                cons: { norm: norms,
                        prob: probs } }

console.log (JSON.stringify (machine, null, 2))


text:
This is a (somewhat opinionated) [Middleman](http://middlemanapp.com) template I made to help speed up static site building. It encourages asset management with [Bower](http://github.com/twitter/bower) and includes a default bower.json. This template also makes it easy to add [Typekit](http://typekit.com) and [Google Analytics](http://google.com/analytics) to your site.

a lot of credit goes to [Danny Prose's Middleman HTML5BP-HAML](https://github.com/dannyprose/Middleman-HTML5BP-HAML) template, as well as the general [HTML5 Boilerplate](http://html5boilerplate.com) for helping me make this template.

This bad boy is distributed under the MIT license.

##Features:
* [Markdown](http://daringfireball.net/projects/markdown/) rendering
* [SCSS](http://sass-lang.com)
* [Coffeescript](http://coffeescript.org)
* a [Favicon Maker](http://github.com/follmann/middleman-favicon-maker)
* Middleman [Live Reload](http://github.com/middleman/middleman-livereload)
* [Modernizr](http://modernizr.com)
* [Normalize.css](http://necolas.github.com/normalize.css)
* [Bower](http://github.com/twitter/bower) package management
* A Gemfile.ru for easy Heroku deployment
* A [middleman-deploy](http://github.com/tvaughan/middleman-deploy) config snippet to ease FTP deployment

##Installation
1. Download/clone to: `~/.middleman/html5bower`
2. Create your new Middleman project: `middleman init my_new_project --template=html5bower`
3. `bower install` to install the assets in the `components/` directory.

*Note: You can name the template whatever you like, so long as you call the same name in the `middleman init` command*

##Adding a package with bower
By default, all bower packages are put in the ```components/``` directory outside of the source. This is to prevent all of the extra files bower downloads being copied over to ```build/```.
We used to have to symlink the files we wanted in the components directory over to our assets path in ```source/```, but no longer.

Now when you want to install a package, simply ```bower install <somepackage>``` and include it like you would any other file in sprockets.

If you want to reference the asset directly in your HTML, then you will need to create a file in the asset path that includes the asset via sprockets. It's not ideal, but I think thats the best I can do right now.  An example of this is ```source/assets/js/vendor/modernizr.js``` and ```source/assets/css/vendor/universal-ie6.css```.

##On the SCSS organization
I have not included a CSS grid at this time, mostly because it seems like everyone's got their own preference, and I haven't found one I really like yet.

However, I have included a file organization that has worked for me so far:
*any variables (like colors and such) go into _settings.scss
*any packages/imports go into _imports.scss

I'll likely be tweaking this a bunch as I go, however.

##Included helpers and other goodies
I have included a few helpers to help out with organizing information on your site. They are located in ```helpers/```.

To get typekit or analytics inclusion, simply add your account name/code to the appropriate places.

Also remember to add the site name, keywords, and description in ```helpers/meta. If you want to include a page-specific one of these, they will be appended to the overall site's.

##Contribute
Have a better idea for middleman defaults? Give it a fork! Don't hesitate to create an issue if you have a problem or question.

*Happy Building!*


text:
package org.elasticsearch.index.store;

import org.apache.lucene.util.BytesRef;
import org.apache.lucene.util.Version;
import org.elasticsearch.common.io.stream.StreamInput;
import org.elasticsearch.common.io.stream.StreamOutput;
import org.elasticsearch.common.io.stream.Writeable;

import java.io.IOException;
import java.text.ParseException;
import java.util.Objects;

public class StoreFileMetadata implements Writeable {

    private final String name;

    // the actual file size on "disk", if compressed, the compressed size
    private final long length;

    private final String checksum;

    private final Version writtenBy;

    private final BytesRef hash;

    public StoreFileMetadata(String name, long length, String checksum, Version writtenBy) {
        this(name, length, checksum, writtenBy, null);
    }

    public StoreFileMetadata(String name, long length, String checksum, Version writtenBy, BytesRef hash) {
        this.name = Objects.requireNonNull(name, "name must not be null");
        this.length = length;
        this.checksum = Objects.requireNonNull(checksum, "checksum must not be null");
        this.writtenBy = Objects.requireNonNull(writtenBy, "writtenBy must not be null");
        this.hash = hash == null ? new BytesRef() : hash;
    }

    /**
     * Read from a stream.
     */
    public StoreFileMetadata(StreamInput in) throws IOException {
        name = in.readString();
        length = in.readVLong();
        checksum = in.readString();
        try {
            writtenBy = Version.parse(in.readString());
        } catch (ParseException e) {
            throw new AssertionError(e);
        }
        hash = in.readBytesRef();
    }

    @Override
    public void writeTo(StreamOutput out) throws IOException {
        out.writeString(name);
        out.writeVLong(length);
        out.writeString(checksum);
        out.writeString(writtenBy.toString());
        out.writeBytesRef(hash);
    }

    /**
     * Returns the name of this file
     */
    public String name() {
        return name;
    }

    /**
     * the actual file size on "disk", if compressed, the compressed size
     */
    public long length() {
        return length;
    }

    /**
     * Returns a string representation of the files checksum. Since Lucene 4.8 this is a CRC32 checksum written
     * by lucene.
     */
    public String checksum() {
        return this.checksum;
    }

    /**
     * Returns true iff the length and the checksums are the same. otherwise false
     */
    public boolean isSame(StoreFileMetadata other) {
        if (checksum == null || other.checksum == null) {
            // we can't tell if either or is null so we return false in this case! this is why we don't use equals for this!
            return false;
        }
        return length == other.length && checksum.equals(other.checksum) && hash.equals(other.hash);
    }

    @Override
    public String toString() {
        return "name [" + name + "], length [" + length + "], checksum [" + checksum + "], writtenBy [" + writtenBy + "]" ;
    }

    /**
     * Returns the Lucene version this file has been written by or null if unknown
     */
    public Version writtenBy() {
        return writtenBy;
    }

    /**
     * Returns a variable length hash of the file represented by this metadata object. This can be the file
     * itself if the file is small enough. If the length of the hash is {@code 0} no hash value is available
     */
    public BytesRef hash() {
        return hash;
    }
}


text:
.class public Lcom/android/server/am/ANRManager$DumpThread;
.super Ljava/lang/Thread;
.source "ANRManager.java"

# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/android/server/am/ANRManager;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = "DumpThread"
.end annotation

# instance fields
.field private mDumpPidList:[I

.field private mFilePath:Ljava/lang/String;

.field mResult:Z

.field final synthetic this$0:Lcom/android/server/am/ANRManager;

# direct methods
.method public constructor <init>(Lcom/android/server/am/ANRManager;[ILjava/lang/String;)V
    .locals 1
    .parameter
    .parameter "DumpPidList"
    .parameter "FilePath"

    .prologue
    .line 579
    iput-object p1, p0, Lcom/android/server/am/ANRManager$DumpThread;->this$0:Lcom/android/server/am/ANRManager;

    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    .line 577
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/android/server/am/ANRManager$DumpThread;->mResult:Z

    .line 580
    iput-object p2, p0, Lcom/android/server/am/ANRManager$DumpThread;->mDumpPidList:[I

    .line 581
    iput-object p3, p0, Lcom/android/server/am/ANRManager$DumpThread;->mFilePath:Ljava/lang/String;

    .line 582
    return-void
.end method

# virtual methods
.method public run()V
    .locals 7

    .prologue
    .line 585
    iget-object v0, p0, Lcom/android/server/am/ANRManager$DumpThread;->mDumpPidList:[I

    .local v0, arr$:[I
    array-length v2, v0

    .local v2, len$:I
    const/4 v1, 0x0

    .local v1, i$:I
    :goto_0
    if-ge v1, v2, :cond_0

    aget v3, v0, v1

    .line 587
    .local v3, pid:I
    const-string v4, "ANRManager"

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    const-string v6, "[DumpNative]DumpThread native process ="

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "begin"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Landroid/util/Slog;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 588
    iget-object v4, p0, Lcom/android/server/am/ANRManager$DumpThread;->mFilePath:Ljava/lang/String;

    invoke-static {v3, v4}, Landroid/os/Debug;->dumpNativeBacktraceToFile(ILjava/lang/String;)V

    .line 589
    const-string v4, "ANRManager"

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    const-string v6, "[DumpNative]DumpThread native process ="

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "end"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Landroid/util/Slog;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 585
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 591
    .end local v3           #pid:I
    :cond_0
    const/4 v4, 0x1

    iput-boolean v4, p0, Lcom/android/server/am/ANRManager$DumpThread;->mResult:Z

    .line 592
    return-void
.end method


text:
ACCEPTED

#### According to
International Plant Names Index

#### Published in
null

#### Original name
Physaria repanda Rollins

### Remarks
null


text:
package org.saiku.plugin.util;

import org.pentaho.platform.engine.core.system.PentahoSessionHolder;
import org.saiku.datasources.datasource.SaikuDatasource;
import org.saiku.service.datasource.IDatasourceProcessor;

public class PentahoUniqueDatasourceProcessor implements IDatasourceProcessor {

	public SaikuDatasource process(SaikuDatasource ds) {
		String url = ds.getProperties().getProperty("location");
		String sessionName = PentahoSessionHolder.getSession().getName();
		url += ";JdbcConnectionUuid=" + sessionName;
		ds.getProperties().put("location", url);
		return ds;
	}

}


text:
@class NSMutableArray, NSString, TrustedFriendsCgi;

@interface TrustedFriendsLogic : MMObject <MultiSelectContactsViewControllerDelegate, TrustedFriendsCgiDelegate>
{
    _Bool _m_isListHadChanged;
    unsigned int _m_maxTrustedFriendCount;
    id <TrustedFriendsLogicDelegate> _m_delegate;
    TrustedFriendsCgi *_m_trustedFriendCgi;
    NSMutableArray *_m_trustedFriendList;
}

@property(nonatomic) _Bool m_isListHadChanged; // @synthesize m_isListHadChanged=_m_isListHadChanged;
@property(nonatomic) unsigned int m_maxTrustedFriendCount; // @synthesize m_maxTrustedFriendCount=_m_maxTrustedFriendCount;
@property(retain, nonatomic) NSMutableArray *m_trustedFriendList; // @synthesize m_trustedFriendList=_m_trustedFriendList;
@property(retain, nonatomic) TrustedFriendsCgi *m_trustedFriendCgi; // @synthesize m_trustedFriendCgi=_m_trustedFriendCgi;
@property(nonatomic) __weak id <TrustedFriendsLogicDelegate> m_delegate; // @synthesize m_delegate=_m_delegate;
- (void).cxx_destruct;
- (_Bool)showErrorTips:(id)arg1 forReason:(unsigned int)arg2;
- (void)onCgiFailed:(unsigned int)arg1 error:(int)arg2 msg:(id)arg3;
- (void)onSyncTrustedFriendsSuccess:(id)arg1;
- (void)onGetTrustedFriendsListSuccess:(id)arg1;
- (void)onMultiSelectContactReturn:(id)arg1;
- (id)getContactsFromBaseContacts:(id)arg1;
- (id)getContactsFromTrustedFriendContacts:(id)arg1;
- (void)startSyncTrustedFriends;
- (void)startGetTrustedFriends;
- (void)startChooseTrustedFriendsForRemoving:(id)arg1;
- (void)startChooseTrustedFriendsForAdding;
- (_Bool)shouldSyncTrustedFriendList;
- (_Bool)shouldNofityUserForCurrentFriendNotEnough;
- (_Bool)canDeleteFriendFromTrustedFriendList;
- (_Bool)canAddFriendToTrustedFriendList;
- (id)getTrustedFriends;
- (unsigned long long)getMaxLimit;
- (unsigned long long)getTrustedFriendsCount;
- (id)getTrustedFriendViewController;
- (void)dealloc;
- (id)initWithDelegate:(id)arg1;

// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;

@end


text:
<?php
/**
 * The template for displaying posts in the Image post format
 *
 *
 * @package Wip_blog
 * @since Wip Blog 1.0
 */
?>

<article id="post-<?php the_ID(); ?>" <?php post_class( 'post-prew' ); ?>>
    <?php
    wipblog_post_category_tag();
    wipblog_post_title();
    ?>

	<?php
	the_content( sprintf(
			esc_html__( 'Continue reading %s →', 'wip-blog' ),
			the_title( '', '', false )
		) );
	?>

    <?php get_template_part( 'partials/meta' ); ?>
    <?php wp_link_pages();  ?>