<meta-data xmlns="http://reporting.pentaho.org/namespaces/engine/classic/metadata/1.0">

  <expression class="org.pentaho.plugin.jfreereport.reportcharts.MultiPieChartExpression"
              bundle-name="org.pentaho.plugin.jfreereport.reportcharts.MultiPieChartExpressionBundle"
              result="org.jfree.chart.JFreeChart"
              expert="false" hidden="false" preferred="false">
    <property name="legendTextColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="plotBackgroundColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="legendBackgroundColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="plotForegroundAlpha" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="plotBackgroundAlpha" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>

    <property name="itemsLabelVisible" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ItemLabelPrintedPropertyEditor"/>
    <property name="seriesColor" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ColorPropertyEditor"/>
    <property name="titleField" mandatory="false" preferred="false" value-role="Field" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="titleText" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="antiAlias" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="backgroundColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ColorPropertyEditor"/>
    <property name="backgroundImage" mandatory="false" preferred="false" value-role="Resource" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="borderColor" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ColorPropertyEditor"/>
    <property name="chartDirectory" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              deprecated="true"/>
    <property name="chartFile" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              deprecated="true"/>
    <property name="chartHeight" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"/>
    <property name="chartSectionOutline" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" deprecated="true"/>
    <property name="chartUrlMask" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"/>
    <property name="chartWidth" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              deprecated="true"/>
    <property name="dataSource" mandatory="false" preferred="false" value-role="Field" expert="false" hidden="false"/>
    <property name="dependencyLevel" mandatory="false" preferred="false" value-role="Value" expert="true"
              hidden="false"/>
    <property name="drawLegendBorder" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="labelFont" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.FontStringPropertyEditor"/>
    <property name="legendFont" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.FontStringPropertyEditor"/>
    <property name="legendLocation" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.LegendLocationPropertyEditor"/>
    <property name="multipieByRow" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="multipieLabelFormat" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="name" mandatory="true" preferred="true" value-role="Name" expert="false" hidden="false"/>
    <property name="noDataMessage" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="returnFileNameOnly" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="true" deprecated="true"/>
    <property name="returnImageReference" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="true" deprecated="true"/>
    <property name="showBorder" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="showLegend" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="threeD" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="title" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              deprecated="true"/>
    <property name="titleFont" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.FontStringPropertyEditor"/>
    <property name="useDrawable" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              deprecated="true"/>
    <property name="shadowPaint" mandatory="false" preferred="false" value-role="Value" expert="false"
              designTimeProperty="false"/>
    <property name="shadowXOffset" mandatory="false" preferred="false" value-role="Value" expert="false"
              designTimeProperty="false"/>
    <property name="shadowYOffset" mandatory="false" preferred="false" value-role="Value" expert="false"
              designTimeProperty="false"/>
    <property name="postProcessingLanguage" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.core.modules.misc.bsf.BSFScriptableLanguagesPropertyEditor"/>
    <property name="postProcessingScript" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="urlFormula" mandatory="false" preferred="false" value-role="Formula" expert="false" hidden="false"
              designTimeProperty="true"
              impl="org.pentaho.plugin.jfreereport.reportcharts.metadata.PieChartFormulaExpressionPropertyCore"/>
    <property name="tooltipFormula" mandatory="false" preferred="false" value-role="Formula" expert="false"
              hidden="false" designTimeProperty="true"
              impl="org.pentaho.plugin.jfreereport.reportcharts.metadata.PieChartFormulaExpressionPropertyCore"/>
    <property name="pieTitleFont" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="pieNoDataMessage" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="expressionMap" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              readHandler="org.pentaho.reporting.engine.classic.core.modules.parser.base.common.ExpressionMapPropertyReadHandler"
              writeHandler="org.pentaho.reporting.engine.classic.core.modules.parser.base.common.ExpressionMapPropertyWriteHandler"/>
  </expression>

  <expression class="org.pentaho.plugin.jfreereport.reportcharts.PieChartExpression"
              bundle-name="org.pentaho.plugin.jfreereport.reportcharts.PieChartExpressionBundle"
              result="org.jfree.chart.JFreeChart"
              expert="false" hidden="false" preferred="false">
    <property name="legendTextColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="plotBackgroundColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="legendBackgroundColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="plotForegroundAlpha" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="plotBackgroundAlpha" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>

    <property name="itemsLabelVisible" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ItemLabelPrintedPropertyEditor"/>
    <property name="seriesColor" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ColorPropertyEditor"/>
    <property name="titleField" mandatory="false" preferred="false" value-role="Field" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="titleText" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="antiAlias" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="backgroundColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ColorPropertyEditor"/>
    <property name="backgroundImage" mandatory="false" preferred="false" value-role="Resource" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="borderColor" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ColorPropertyEditor"/>
    <property name="chartDirectory" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              deprecated="true"/>
    <property name="chartFile" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              deprecated="true"/>
    <property name="chartHeight" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"/>
    <property name="chartSectionOutline" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" deprecated="true"/>
    <property name="chartUrlMask" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"/>
    <property name="chartWidth" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              deprecated="true"/>
    <property name="dataSource" mandatory="false" preferred="false" value-role="Field" expert="false" hidden="false"/>
    <property name="dependencyLevel" mandatory="false" preferred="false" value-role="Value" expert="true"
              hidden="false"/>
    <property name="drawLegendBorder" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="explodePct" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="explodeSegment" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="ignoreNulls" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="ignoreZeros" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="labelFont" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.FontStringPropertyEditor"/>
    <property name="legendFont" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.FontStringPropertyEditor"/>
    <property name="legendLocation" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.LegendLocationPropertyEditor"/>
    <property name="name" mandatory="true" preferred="true" value-role="Name" expert="false" hidden="false"/>
    <property name="noDataMessage" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="pieLabelFormat" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="pieLegendLabelFormat" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="returnFileNameOnly" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="true" deprecated="true"/>
    <property name="returnImageReference" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="true" deprecated="true"/>
    <property name="rotationClockwise" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="showBorder" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="showLegend" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="threeD" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="title" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"/>
    <property name="titleFont" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.FontStringPropertyEditor"/>
    <property name="useDrawable" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              deprecated="true"/>
    <property name="shadowPaint" mandatory="false" preferred="false" value-role="Value" expert="false"
              designTimeProperty="false"/>
    <property name="shadowXOffset" mandatory="false" preferred="false" value-role="Value" expert="false"
              designTimeProperty="false"/>
    <property name="shadowYOffset" mandatory="false" preferred="false" value-role="Value" expert="false"
              designTimeProperty="false"/>
    <property name="postProcessingLanguage" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.core.modules.misc.bsf.BSFScriptableLanguagesPropertyEditor"/>
    <property name="postProcessingScript" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="urlFormula" mandatory="false" preferred="false" value-role="Formula" expert="false" hidden="false"
              designTimeProperty="true"
              impl="org.pentaho.plugin.jfreereport.reportcharts.metadata.PieChartFormulaExpressionPropertyCore"/>
    <property name="tooltipFormula" mandatory="false" preferred="false" value-role="Formula" expert="false"
              hidden="false" designTimeProperty="true"
              impl="org.pentaho.plugin.jfreereport.reportcharts.metadata.PieChartFormulaExpressionPropertyCore"/>
    <property name="expressionMap" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              readHandler="org.pentaho.reporting.engine.classic.core.modules.parser.base.common.ExpressionMapPropertyReadHandler"
              writeHandler="org.pentaho.reporting.engine.classic.core.modules.parser.base.common.ExpressionMapPropertyWriteHandler"/>
  </expression>

  <expression class="org.pentaho.plugin.jfreereport.reportcharts.RingChartExpression"
              bundle-name="org.pentaho.plugin.jfreereport.reportcharts.RingChartExpressionBundle"
              result="org.jfree.chart.JFreeChart"
              expert="false" hidden="false" preferred="false">
    <property name="legendTextColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="plotBackgroundColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="legendBackgroundColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="plotForegroundAlpha" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="plotBackgroundAlpha" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>

    <property name="itemsLabelVisible" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ItemLabelPrintedPropertyEditor"/>
    <property name="sectionDepth" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="seriesColor" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ColorPropertyEditor"/>
    <property name="titleField" mandatory="false" preferred="false" value-role="Field" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="titleText" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="antiAlias" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="backgroundColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ColorPropertyEditor"/>
    <property name="backgroundImage" mandatory="false" preferred="false" value-role="Resource" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="borderColor" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ColorPropertyEditor"/>
    <property name="chartDirectory" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              deprecated="true"/>
    <property name="chartFile" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              deprecated="true"/>
    <property name="chartHeight" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"/>
    <property name="chartSectionOutline" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" deprecated="true"/>
    <property name="chartUrlMask" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"/>
    <property name="chartWidth" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              deprecated="true"/>
    <property name="dataSource" mandatory="false" preferred="false" value-role="Field" expert="false" hidden="false"/>
    <property name="dependencyLevel" mandatory="false" preferred="false" value-role="Value" expert="true"
              hidden="false"/>
    <property name="drawLegendBorder" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="explodePct" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="explodeSegment" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="ignoreNulls" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="ignoreZeros" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="labelFont" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.FontStringPropertyEditor"/>
    <property name="legendFont" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.FontStringPropertyEditor"/>
    <property name="legendLocation" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.LegendLocationPropertyEditor"/>
    <property name="name" mandatory="true" preferred="true" value-role="Name" expert="false" hidden="false"/>
    <property name="noDataMessage" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="pieLabelFormat" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="pieLegendLabelFormat" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="returnFileNameOnly" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="true" deprecated="true"/>
    <property name="returnImageReference" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="true" deprecated="true"/>
    <property name="rotationClockwise" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="showBorder" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="showLegend" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="threeD" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="title" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"/>
    <property name="titleFont" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.FontStringPropertyEditor"/>
    <property name="useDrawable" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              deprecated="true"/>
    <property name="shadowPaint" mandatory="false" preferred="false" value-role="Value" expert="false"
              designTimeProperty="false"/>
    <property name="shadowXOffset" mandatory="false" preferred="false" value-role="Value" expert="false"
              designTimeProperty="false"/>
    <property name="shadowYOffset" mandatory="false" preferred="false" value-role="Value" expert="false"
              designTimeProperty="false"/>
    <property name="postProcessingLanguage" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.core.modules.misc.bsf.BSFScriptableLanguagesPropertyEditor"/>
    <property name="postProcessingScript" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="urlFormula" mandatory="false" preferred="false" value-role="Formula" expert="false" hidden="false"
              designTimeProperty="true"
              impl="org.pentaho.plugin.jfreereport.reportcharts.metadata.PieChartFormulaExpressionPropertyCore"/>
    <property name="tooltipFormula" mandatory="false" preferred="false" value-role="Formula" expert="false"
              hidden="false" designTimeProperty="true"
              impl="org.pentaho.plugin.jfreereport.reportcharts.metadata.PieChartFormulaExpressionPropertyCore"/>
    <property name="expressionMap" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              readHandler="org.pentaho.reporting.engine.classic.core.modules.parser.base.common.ExpressionMapPropertyReadHandler"
              writeHandler="org.pentaho.reporting.engine.classic.core.modules.parser.base.common.ExpressionMapPropertyWriteHandler"/>
  </expression>

  <expression class="org.pentaho.plugin.jfreereport.reportcharts.RadarChartExpression"
              bundle-name="org.pentaho.plugin.jfreereport.reportcharts.RadarChartExpressionBundle"
              result="org.jfree.chart.JFreeChart"
              expert="false" hidden="false" preferred="false">
    <property name="legendTextColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="plotBackgroundColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="legendBackgroundColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="plotForegroundAlpha" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="plotBackgroundAlpha" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>

    <property name="antiAlias" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="backgroundColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ColorPropertyEditor"/>
    <property name="backgroundImage" mandatory="false" preferred="false" value-role="Resource" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="borderColor" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ColorPropertyEditor"/>
    <property name="chartDirectory" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="true"/>
    <property name="chartFile" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              deprecated="true"/>
    <property name="chartHeight" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              deprecated="true"/>
    <property name="chartSectionOutline" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" deprecated="true"/>
    <property name="chartUrlMask" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"/>
    <property name="chartWidth" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              deprecated="true"/>
    <property name="dataSource" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"/>
    <property name="dependencyLevel" mandatory="false" preferred="false" value-role="Value" expert="true"
              hidden="false"/>
    <property name="drawLegendBorder" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="drawgrid" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="gridintervall" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.core.metadata.propertyeditors.LengthPropertyEditor"/>
    <property name="headsize" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="itemsLabelVisible" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="true"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ItemLabelPrintedPropertyEditor"/>
    <property name="labelFont" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.FontStringPropertyEditor"/>
    <property name="legendFont" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.FontStringPropertyEditor"/>
    <property name="legendLocation" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.LegendLocationPropertyEditor"/>
    <property name="name" mandatory="true" preferred="true" value-role="Name" expert="false" hidden="false"/>
    <property name="noDataMessage" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="radarwebfilled" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="returnFileNameOnly" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="true"/>
    <property name="returnImageReference" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="true"/>
    <property name="seriesColor" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ColorPropertyEditor"/>
    <property name="showBorder" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="showLegend" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="thicknessprimaryseries" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="threeD" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="title" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"/>
    <property name="titleField" mandatory="false" preferred="false" value-role="Field" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="titleFont" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.FontStringPropertyEditor"/>
    <property name="titleText" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="useDrawable" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              deprecated="true"/>
    <property name="postProcessingLanguage" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.core.modules.misc.bsf.BSFScriptableLanguagesPropertyEditor"/>
    <property name="postProcessingScript" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="urlFormula" mandatory="false" preferred="false" value-role="Formula" expert="false" hidden="false"
              designTimeProperty="true"
              impl="org.pentaho.plugin.jfreereport.reportcharts.metadata.CategoryChartFormulaExpressionPropertyCore"/>
    <property name="tooltipFormula" mandatory="false" preferred="false" value-role="Formula" expert="false"
              hidden="false" designTimeProperty="true"
              impl="org.pentaho.plugin.jfreereport.reportcharts.metadata.CategoryChartFormulaExpressionPropertyCore"/>
    <property name="expressionMap" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              readHandler="org.pentaho.reporting.engine.classic.core.modules.parser.base.common.ExpressionMapPropertyReadHandler"
              writeHandler="org.pentaho.reporting.engine.classic.core.modules.parser.base.common.ExpressionMapPropertyWriteHandler"/>
  </expression>

  <expression class="org.pentaho.plugin.jfreereport.reportcharts.ThermometerChartExpression"
              bundle-name="org.pentaho.plugin.jfreereport.reportcharts.ThermometerChartExpressionBundle"
              result="org.jfree.chart.JFreeChart"
              expert="false" hidden="false" preferred="false" maturity-level="Limited">
    <property name="legendTextColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="plotBackgroundColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="legendBackgroundColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="plotForegroundAlpha" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="plotBackgroundAlpha" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>

    <property name="itemsLabelVisible" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ItemLabelPrintedPropertyEditor"/>
    <property name="seriesColor" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ColorPropertyEditor"/>
    <property name="titleField" mandatory="false" preferred="false" value-role="Field" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="titleText" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="antiAlias" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="backgroundColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ColorPropertyEditor"/>
    <property name="backgroundImage" mandatory="false" preferred="false" value-role="Resource" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="borderColor" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ColorPropertyEditor"/>
    <property name="chartDirectory" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              deprecated="true"/>
    <property name="chartFile" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              deprecated="true"/>
    <property name="chartHeight" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"/>
    <property name="chartSectionOutline" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" deprecated="true"/>
    <property name="dataSource" mandatory="false" preferred="false" value-role="Field" expert="false" hidden="false"/>
    <property name="dependencyLevel" mandatory="false" preferred="false" value-role="Value" expert="true"
              hidden="false"/>
    <property name="drawLegendBorder" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="labelFont" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.FontStringPropertyEditor"/>
    <property name="legendFont" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.FontStringPropertyEditor"/>
    <property name="legendLocation" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.LegendLocationPropertyEditor"/>
    <property name="name" mandatory="true" preferred="true" value-role="Name" expert="false" hidden="false"/>
    <property name="noDataMessage" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="showBorder" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="showLegend" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>

    <property name="title" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"/>
    <property name="titleFont" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.FontStringPropertyEditor"/>
    <property name="postProcessingLanguage" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.core.modules.misc.bsf.BSFScriptableLanguagesPropertyEditor"/>
    <property name="postProcessingScript" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>

    <property name="bulbRadius" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="columnRadius" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"/>
    <property name="thermometerUnits" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.ThermometerUnitsPropertyEditor"/>
    <property name="criticalRangeHigh" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="criticalRangeLow" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="warningRangeHigh" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="warningRangeLow" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="normalRangeHigh" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="normalRangeLow" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"/>
    <property name="normalRangeColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.libraries.designtime.swing.propertyeditors.ColorPropertyEditor"/>
    <property name="warningRangeColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.libraries.designtime.swing.propertyeditors.ColorPropertyEditor"/>
    <property name="criticalRangeColor" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.libraries.designtime.swing.propertyeditors.ColorPropertyEditor"/>
    <property name="thermometerPaint" mandatory="false" preferred="false" value-role="Value" expert="false"
              hidden="false" designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.libraries.designtime.swing.propertyeditors.ColorPropertyEditor"/>
    <property name="mercuryPaint" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="false"
              designTimeProperty="false"
              propertyEditor="org.pentaho.reporting.libraries.designtime.swing.propertyeditors.ColorPropertyEditor"/>
    <property name="expressionMap" mandatory="false" preferred="false" value-role="Value" expert="false" hidden="true"
              readHandler="org.pentaho.reporting.engine.classic.core.modules.parser.base.common.ExpressionMapPropertyReadHandler"
              writeHandler="org.pentaho.reporting.engine.classic.core.modules.parser.base.common.ExpressionMapPropertyWriteHandler"/>
  </expression>

</meta-data>

{'repo_name': 'pentaho/pentaho-reporting', 'stars': '196', 'repo_language': 'Java', 'file_name': 'marker.properties', 'mime_type': 'text/plain', 'hash': -1529155710286059102, 'source_dataset': 'data'}


@charset "UTF-8";
/*
 * jQuery File Upload UI Plugin CSS 9.0.0
 * https://github.com/blueimp/jQuery-File-Upload
 *
 * Copyright 2010, Sebastian Tschan
 * https://blueimp.net
 *
 * Licensed under the MIT license:
 * http://www.opensource.org/licenses/MIT
 */

.fileupload-buttonbar .btn,
.fileupload-buttonbar .toggle {
  margin-bottom: 5px;
}
.progress-animated .progress-bar,
.progress-animated .bar {
  background: url("../img/progressbar.gif") !important;
  filter: none;
}
.fileupload-process {
  float: right;
  display: none;
}
.fileupload-processing .fileupload-process,
.files .processing .preview {
  display: block;
  width: 32px;
  height: 32px;
  background: url("../img/loading.gif") center no-repeat;
  background-size: contain;
}
.files audio,
.files video {
  max-width: 300px;
}

@media (max-width: 767px) {
  .fileupload-buttonbar .toggle,
  .files .toggle,
  .files .btn span {
    display: none;
  }
  .files .name {
    width: 80px;
    word-wrap: break-word;
  }
  .files audio,
  .files video {
    max-width: 80px;
  }
  .files img,
  .files canvas {
    max-width: 100%;
  }
}

{'repo_name': 'project-store/theme', 'stars': '366', 'repo_language': 'HTML', 'file_name': 'table-responsive.css', 'mime_type': 'text/plain', 'hash': 238224939853211182, 'source_dataset': 'data'}


<?php
// This file is auto-generated. Do not edit!
return array('metric'=>'metryczny','UK'=>'brytyjski','US'=>'amerykański');

{'repo_name': 'punic/punic', 'stars': '127', 'repo_language': 'PHP', 'file_name': 'configure.ps1', 'mime_type': 'text/plain', 'hash': -5516928002038066575, 'source_dataset': 'data'}


/*
 * Copyright 2013-2020 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by 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.
 */

package org.springframework.cloud.gateway.test;

import java.util.Map;

import org.junit.Test;
import org.junit.runner.RunWith;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.web.client.TestRestTemplate;
import org.springframework.context.annotation.Import;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.test.annotation.DirtiesContext;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import static org.assertj.core.api.Assertions.assertThat;
import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT;

@RunWith(SpringRunner.class)
@SpringBootTest(webEnvironment = RANDOM_PORT)
@DirtiesContext
@SuppressWarnings("unchecked")
public class HttpStatusTests extends BaseWebClientTests {

	public static void main(String[] args) {
		new SpringApplication(TestConfig.class).run(args);
	}

	@Test
	public void notFoundResponseWorks() {
		testClient.get().uri("/status/404").exchange().expectStatus().isEqualTo(HttpStatus.NOT_FOUND)
				.expectBody(String.class).isEqualTo("Failed with 404");
	}

	@Test
	public void nonStandardCodeWorks() {
		ResponseEntity<String> response = new TestRestTemplate().getForEntity(baseUri + "/status/432", String.class);
		assertThat(response.getStatusCodeValue()).isEqualTo(432);
		assertThat(response.getBody()).isEqualTo("Failed with 432");

		/*
		 * testClient.get() .uri("/status/432") .exchange() .expectStatus().isEqualTo(432)
		 * .expectBody(String.class).isEqualTo("Failed with 432");
		 */
	}

	@Test
	public void serverErrorResponseWorks() {
		testClient.get().uri("/status/500").exchange().expectStatus().isEqualTo(HttpStatus.INTERNAL_SERVER_ERROR)
				.expectBody(String.class).isEqualTo("Failed with 500");
	}

	@Test
	public void normalErrorPageWorks() {
		testClient.get().uri("/exception").exchange().expectStatus().isEqualTo(HttpStatus.INTERNAL_SERVER_ERROR)
				.expectBody(Map.class)
				.consumeWith(result -> assertThat(result.getResponseBody()).hasSizeGreaterThanOrEqualTo(5)
						.containsKeys("timestamp", "path", "status", "error", "message"));
	}

	@EnableAutoConfiguration
	@SpringBootConfiguration
	@RestController
	@Import(DefaultTestConfig.class)
	public static class TestConfig {

		@RequestMapping("/httpbin/exception")
		public String exception() {
			throw new RuntimeException("an error");
		}

	}

}

{'repo_name': 'spring-cloud/spring-cloud-gateway', 'stars': '2503', 'repo_language': 'Java', 'file_name': 'config.yml', 'mime_type': 'text/plain', 'hash': 2029722795995735310, 'source_dataset': 'data'}


$NetBSD: distinfo,v 1.4 2016/08/20 12:43:40 alnsn Exp $

SHA1 (LuaBitOp-1.0.2.tar.gz) = 1f611edbc4f65279072c96af15bd6e455ea9dd10
RMD160 (LuaBitOp-1.0.2.tar.gz) = 6b5a44515022ed1f4edb9d966b8ea3aa9c38a892
SHA512 (LuaBitOp-1.0.2.tar.gz) = a652050ea5c6fbeb8a28b05e2bc4a3550c854cc45f7f42c8c1b0a81f5b76773cdf061e6a839cdb339614118169e578b6e3efa5a3efbe59a2f01874b2fa2b4f2e
Size (LuaBitOp-1.0.2.tar.gz) = 23127 bytes
SHA1 (patch-Makefile) = 5b484bdbaa2cc94b1b73177f3eeb0a686f7e897d

{'repo_name': 'jsonn/pkgsrc', 'stars': '122', 'repo_language': 'Makefile', 'file_name': 'patch-ad', 'mime_type': 'text/x-diff', 'hash': -8924808912753257605, 'source_dataset': 'data'}


@API(owner = "ee", apiVersion = "@API_VERSION@", provides = "EE-API|event") package com.pahimar.ee.api.event;

import net.minecraftforge.fml.common.API;

{'repo_name': 'pahimar/Equivalent-Exchange-3', 'stars': '732', 'repo_language': 'Java', 'file_name': 'gradle-wrapper.properties', 'mime_type': 'text/plain', 'hash': -7499114492361545689, 'source_dataset': 'data'}


# - Check if a symbol exists as a function, variable, or macro
# CHECK_SYMBOL_EXISTS(<symbol> <files> <variable>)
#
# Check that the <symbol> is available after including given header
# <files> and store the result in a <variable>.  Specify the list
# of files in one argument as a semicolon-separated list.
#
# If the header files define the symbol as a macro it is considered
# available and assumed to work.  If the header files declare the
# symbol as a function or variable then the symbol must also be
# available for linking.  If the symbol is a type or enum value
# it will not be recognized (consider using CheckTypeSize or
# CheckCSourceCompiles).
# If the check needs to be done in C++, consider using CHECK_CXX_SYMBOL_EXISTS(),
# which does the same as CHECK_SYMBOL_EXISTS(), but in C++.
#
# The following variables may be set before calling this macro to
# modify the way the check is run:
#
#  CMAKE_REQUIRED_FLAGS = string of compile command line flags
#  CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
#  CMAKE_REQUIRED_INCLUDES = list of include directories
#  CMAKE_REQUIRED_LIBRARIES = list of libraries to link

#=============================================================================
# Copyright 2003-2011 Kitware, Inc.
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
# (To distribute this file outside of CMake, substitute the full
#  License text for the above reference.)

MACRO(CHECK_SYMBOL_EXISTS SYMBOL FILES VARIABLE)
  _CHECK_SYMBOL_EXISTS("${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckSymbolExists.c" "${SYMBOL}" "${FILES}" "${VARIABLE}" )
ENDMACRO(CHECK_SYMBOL_EXISTS)

MACRO(_CHECK_SYMBOL_EXISTS SOURCEFILE SYMBOL FILES VARIABLE)
  IF("${VARIABLE}" MATCHES "^${VARIABLE}$")
    SET(CMAKE_CONFIGURABLE_FILE_CONTENT "/* */\n")
    SET(MACRO_CHECK_SYMBOL_EXISTS_FLAGS ${CMAKE_REQUIRED_FLAGS})
    IF(CMAKE_REQUIRED_LIBRARIES)
      SET(CHECK_SYMBOL_EXISTS_LIBS
        "-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}")
    ELSE(CMAKE_REQUIRED_LIBRARIES)
      SET(CHECK_SYMBOL_EXISTS_LIBS)
    ENDIF(CMAKE_REQUIRED_LIBRARIES)
    IF(CMAKE_REQUIRED_INCLUDES)
      SET(CMAKE_SYMBOL_EXISTS_INCLUDES
        "-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}")
    ELSE(CMAKE_REQUIRED_INCLUDES)
      SET(CMAKE_SYMBOL_EXISTS_INCLUDES)
    ENDIF(CMAKE_REQUIRED_INCLUDES)
    FOREACH(FILE ${FILES})
      SET(CMAKE_CONFIGURABLE_FILE_CONTENT
        "${CMAKE_CONFIGURABLE_FILE_CONTENT}#include <${FILE}>\n")
    ENDFOREACH(FILE)
    SET(CMAKE_CONFIGURABLE_FILE_CONTENT
      "${CMAKE_CONFIGURABLE_FILE_CONTENT}\nvoid cmakeRequireSymbol(int dummy,...){(void)dummy;}\nint main()\n{\n#ifndef ${SYMBOL}\n  cmakeRequireSymbol(0,&${SYMBOL});\n#endif\n  return 0;\n}\n")

    CONFIGURE_FILE("${CMAKE_ROOT}/Modules/CMakeConfigurableFile.in"
      "${SOURCEFILE}" @ONLY IMMEDIATE)

    MESSAGE(STATUS "Looking for ${SYMBOL}")
    TRY_COMPILE(${VARIABLE}
      ${CMAKE_BINARY_DIR}
      "${SOURCEFILE}"
      COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS}
      CMAKE_FLAGS
      -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_SYMBOL_EXISTS_FLAGS}
      "${CHECK_SYMBOL_EXISTS_LIBS}"
      "${CMAKE_SYMBOL_EXISTS_INCLUDES}"
      OUTPUT_VARIABLE OUTPUT)
    IF(${VARIABLE})
      MESSAGE(STATUS "Looking for ${SYMBOL} - found")
      SET(${VARIABLE} 1 CACHE INTERNAL "Have symbol ${SYMBOL}")
      FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
        "Determining if the ${SYMBOL} "
        "exist passed with the following output:\n"
        "${OUTPUT}\nFile ${SOURCEFILE}:\n"
        "${CMAKE_CONFIGURABLE_FILE_CONTENT}\n")
    ELSE(${VARIABLE})
      MESSAGE(STATUS "Looking for ${SYMBOL} - not found.")
      SET(${VARIABLE} "" CACHE INTERNAL "Have symbol ${SYMBOL}")
      FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
        "Determining if the ${SYMBOL} "
        "exist failed with the following output:\n"
        "${OUTPUT}\nFile ${SOURCEFILE}:\n"
        "${CMAKE_CONFIGURABLE_FILE_CONTENT}\n")
    ENDIF(${VARIABLE})
  ENDIF("${VARIABLE}" MATCHES "^${VARIABLE}$")
ENDMACRO(_CHECK_SYMBOL_EXISTS)

{'repo_name': 'adobe-flash/crossbridge', 'stars': '525', 'repo_language': 'C', 'file_name': 'p1.cpp', 'mime_type': 'text/x-c++', 'hash': 5651603238687745290, 'source_dataset': 'data'}


<!DOCTYPE html>

<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<title>Centaurus - Bootstrap Admin Template</title>

<link rel="stylesheet" type="text/css" href="css/bootstrap/bootstrap.min.css"/>

<link rel="stylesheet" type="text/css" href="css/libs/font-awesome.css"/>
<link rel="stylesheet" type="text/css" href="css/libs/nanoscroller.css"/>

<link rel="stylesheet" type="text/css" href="css/compiled/theme_styles.css"/>

<link type="image/x-icon" href="favicon.png" rel="shortcut icon"/>

<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300|Titillium+Web:200,300,400' rel='stylesheet' type='text/css'>

<button class="navbar-toggle" data-target=".navbar-ex1-collapse" data-toggle="collapse" type="button">
Toggle navigation

</button>

<form role="search">

<input type="text" class="form-control" placeholder="Search...">

</form>

8

You have 6 new notifications

New comment on ‘Awesome P...
13 min.

New user registration
13 min.

New Message from George
13 min.

New purchase
13 min.

New order
13 min.

View all notifications

16

George Clooney

Look, just because I don't be givin' no man a foot massage don't make it
right for Marsellus to throw...

13 min.

Emma Watson

Look, just because I don't be givin' no man a foot massage don't make it
right for Marsellus to throw...

13 min.

Robert Downey Jr.

Look, just because I don't be givin' no man a foot massage don't make it
right for Marsellus to throw...

13 min.

View all messages

Scarlett Johansson

Profile

Settings

Messages

Logout

Welcome

Scarlett

 Online

Dashboard
28

Tables

Simple

Advanced

Users

Email

Inbox

Detail

Compose

Graphs

Morris & Mixed

Flot

Dygraphs

xCharts

Widgets
New

Pages

Calendar

Gallery

Gallery v2

Pricing

Projects

Team Members

Timeline

Timeline Grid

User Profile

Search Results

Invoice

Tour Layout

Forms

Elements

X-Editable

Wizard

Wizard popup

WYSIWYG

WYSIWYG Summernote

WYSIWYG CKEditor

Multiple File Upload

UI Kit

Elements

Notifications & Alerts

Modals

Video

Icons

Awesome Icons

Halflings Icons

Nestable List

Typography

3 Level Menu

3rd Level

3rd Level

3rd Level

Google Maps
Updated

Extra pages

FAQ

Email Templates

Login

Login Full

Registration

Registration Full

Forgot Password

Forgot Password Full

Lock Screen

Lock Screen Full

Error 404

Error 404 Nested

Error 500

Grid

Home

Responsive Video

Responsive Video

Responsive embed - 16:9 aspect ratio

Allow browsers to determine video or slideshow dimensions based on the width of their containing
block by creating an intrinsic ratio that will properly scale on any device.

Rules are directly applied to <iframe>, <embed>, and
<object> elements; optionally use an explicit descendant class
.embed-responsive-item when you want to match the
styling for other attributes.

Responsive embed - 4:3 aspect ratio

Pro-Tip! You don't need to include frameborder="0" in your <iframe>s as
we override that for you.

Vimeo responsive embed - 4:3 aspect ratio

Vimeo responsive embed - 16:9 aspect ratio

© 2014 Adbee digital. Powered by Centaurus Theme.

Layout Options

<input type="checkbox" id="config-fixed-header"/>

Fixed Header

<input type="checkbox" id="config-fixed-sidebar"/>

Fixed Left Menu

<input type="checkbox" id="config-fixed-footer"/>

Fixed Footer

<input type="checkbox" id="config-boxed-layout"/>

Boxed Layout

<input type="checkbox" id="config-rtl-layout"/>

Right-to-Left

Skin Color

{'repo_name': 'project-store/theme', 'stars': '366', 'repo_language': 'HTML', 'file_name': 'table-responsive.css', 'mime_type': 'text/plain', 'hash': -1471300818205259230, 'source_dataset': 'data'}


#pragma kernel ComputePinholes

struct PinholeLink
{
	float2 position; // The uv position of the pinhole in the shadowmap
	float meanDepth; // The depth of the pinhole in the shadowmap
	float rawDepth; // The estimated depth of the neighborhood
	float intensity; // The pinhole intensity
	uint next;
};

uniform RWTexture2D<float4> BokehMap; // Just for testing
uniform SamplerState samplerBokehMap;

uniform Texture2D<float4> ShadowMap;
uniform SamplerState samplerShadowMap;

uniform uint ShadowMapWidth;
uniform uint ShadowMapHeight;

uniform float NeighborVarianceThreshold;
uniform float VarianceThreshold;
uniform float WeightThreshold;

uniform uint PinholeGridSize;
uniform uint PinholesPerCell;
uniform uint TotalMaxPinholeCount;

uniform RWStructuredBuffer<PinholeLink> g_PinholeLinkBuffer : register(u1); // All entries
uniform RWByteAddressBuffer g_PinholeOffsetBuffer : register(u2); // Head entry at each cell

#define MIPMAP_LEVEL 0

float ComputeVariance(int2 pos, int kernelHalfSize, float mean, float radius)
{
	float variance = 0.0;
	float total = 0.0;

	int2 from = clamp(pos - int2(kernelHalfSize, kernelHalfSize), int2(0, 0), int2(ShadowMapWidth, ShadowMapHeight));
	int2 to = clamp(pos + int2(kernelHalfSize, kernelHalfSize), int2(0, 0), int2(ShadowMapWidth, ShadowMapHeight));

	for(int x = from.x; x <= to.x; x++)
	{
		for(int y = from.y; y <= to.y; y++)
		{
			if(length(float2(x,y) - pos) > radius)
			{
				float d = ShadowMap.Load(uint3(x, y, MIPMAP_LEVEL)).r;
				d -= mean;
				variance += d*d;
				total += 1.0;
			}
		}
	}

	return variance / total;
}

float ComputeMeanOutside(int2 pos, int kernelHalfSize, float radius)
{
	float mean = 0.0;
	int total = 0;

	int2 from = clamp(pos - int2(kernelHalfSize, kernelHalfSize), int2(0, 0), int2(ShadowMapWidth, ShadowMapHeight));
	int2 to = clamp(pos + int2(kernelHalfSize, kernelHalfSize), int2(0, 0), int2(ShadowMapWidth, ShadowMapHeight));

	for(int x = from.x; x <= to.x; x++)
	{
		for(int y = from.y; y <= to.y; y++)
		{
			if(length(float2(x,y) - pos) > radius)
			{
				mean += ShadowMap.Load(uint3(x,y, MIPMAP_LEVEL)).r;
				total++;
			}
		}
	}

	if(total > 0)
		return mean / total;

	return 0.0;
}

float ComputeMeanInside(int2 pos, int kernelHalfSize, float radius)
{
	float mean = 0.0;
	int total = 0;

	int2 from = clamp(pos - int2(kernelHalfSize, kernelHalfSize), int2(0, 0), int2(ShadowMapWidth, ShadowMapHeight));
	int2 to = clamp(pos + int2(kernelHalfSize, kernelHalfSize), int2(0, 0), int2(ShadowMapWidth, ShadowMapHeight));

	for(int x = from.x; x <= to.x; x++)
	{
		for(int y = from.y; y <= to.y; y++)
		{
			if(length(float2(x,y) - pos) < radius)
			{
				mean += ShadowMap.Load(uint3(x,y, MIPMAP_LEVEL)).r;
				total++;
			}
		}
	}

	if(total > 0)
		return mean / total;

	return 0.0;
}

bool FindPinholeWithSize(int2 pos, int kernelHalfSize, float radius)
{
    int lodLevel = 0;
	float centerDepth = ShadowMap.Load(uint3(pos, 0)).r;

	float meanB = ComputeMeanOutside(pos, kernelHalfSize, radius);
	float varianceB = ComputeVariance(pos, kernelHalfSize, meanB, radius);

	float stdB = sqrt(varianceB);

	// Early rejection, the plane is not similar enough
	if(stdB > NeighborVarianceThreshold)// || centerDepth < meanB + stdB * VarianceThreshold)
		return 0.0;

	float pinholeWeight = 0.0;
	float meanA = 0.0;
	float totalA = 0.0;

	int2 from = clamp(pos - int2(kernelHalfSize, kernelHalfSize), int2(0, 0), int2(ShadowMapWidth, ShadowMapHeight));
	int2 to = clamp(pos + int2(kernelHalfSize, kernelHalfSize), int2(0, 0), int2(ShadowMapWidth, ShadowMapHeight));

	for(int x = from.x; x <= to.x; x++)
	{
		for(int y = from.y; y <= to.y; y++)
		{
			if(length(float2(x,y) - pos) < radius)
			{
				float d = ShadowMap.Load(uint3(x, y, MIPMAP_LEVEL)).r;

				if(d > meanB + stdB * VarianceThreshold)
					pinholeWeight += 1.0;

				meanA += d;
				totalA += 1.0;
			}
		}
	}

	meanA /= totalA;
	pinholeWeight /= totalA;

	return abs(pinholeWeight - 1.0) < WeightThreshold && meanA > meanB + stdB * 3.5;
}

bool FindPinhole(float2 uv, uint2 pos, out float meanDepth, out float rawDepth)
{
	float texSize = 1.0 / float(ShadowMapWidth);
	float3 offset = float3(1.0, -1.0, 0.0) * texSize;

	float depths[9];
	float centerDepth = ShadowMap.SampleLevel(samplerShadowMap, uv, MIPMAP_LEVEL).r;

	depths[0] = ShadowMap.SampleLevel(samplerShadowMap, uv + offset.xx, MIPMAP_LEVEL).r;
	depths[1] = ShadowMap.SampleLevel(samplerShadowMap, uv + offset.xy, MIPMAP_LEVEL).r;

	depths[3] = ShadowMap.SampleLevel(samplerShadowMap, uv + offset.yx, MIPMAP_LEVEL).r;
	depths[4] = ShadowMap.SampleLevel(samplerShadowMap, uv + offset.yy, MIPMAP_LEVEL).r;

	depths[2] = ShadowMap.SampleLevel(samplerShadowMap, uv + offset.xz, MIPMAP_LEVEL).r;
	depths[5] = ShadowMap.SampleLevel(samplerShadowMap, uv + offset.yz, MIPMAP_LEVEL).r;
	depths[6] = ShadowMap.SampleLevel(samplerShadowMap, uv + offset.zx, MIPMAP_LEVEL).r;
	depths[7] = ShadowMap.SampleLevel(samplerShadowMap, uv + offset.zy, MIPMAP_LEVEL).r;

	float averageDepth = 0.0f;
	for(int i = 0; i < 8; ++i)
		averageDepth += depths[i];
	averageDepth /= 8.;

	float std = 0.0;
	for(int j = 0; j < 8; ++j)
		std += pow(depths[j].x - averageDepth.x, 2.0f);

	float stdCenter = std;
	stdCenter += pow(centerDepth - averageDepth.x, 2.0f);

    if(std > 0.0)
	    std = sqrt(std / 8.0);

	if(stdCenter > 0.0)
		stdCenter = sqrt(stdCenter / 9.0);

    if(averageDepth.x > 0.0)
	{
	    std /= averageDepth.x;
		stdCenter /= (averageDepth.x * 8.0 + centerDepth) / 9.0;
	}

	meanDepth = averageDepth.x;
	rawDepth = centerDepth.x;

	return stdCenter > 0.1 && std < 0.1;
}

#define DEBUG

[numthreads(32,32,1)]
void ComputePinholes (uint2 id : SV_DispatchThreadID)
{
	float2 uv = float2(float(id.x) / float(ShadowMapWidth), float(id.y)  / float(ShadowMapHeight));
	float meanDepth = 0.0;
	float rawDepth = 0.0;
	bool pinhole = FindPinhole(uv, id, meanDepth, rawDepth);
	// bool pinhole = FindPinholeWithSize(id, 4, 3.0);

#ifdef DEBUG
	BokehMap[id] = pinhole ? 1.0 : 0.0;
#endif

	if(pinhole)
	{
		uint newPinholeLinkIndex = g_PinholeLinkBuffer.IncrementCounter();

		if(newPinholeLinkIndex >= TotalMaxPinholeCount)
			return;

		uint2 p2 = uint2(uint(uv.x * PinholeGridSize), uint(uv.y * PinholeGridSize));

 		// This is the grid cell index
		uint offset = p2.y * PinholeGridSize + p2.x;
		uint prevPinholeLinkIndex;

		// Atomic swapping
		g_PinholeOffsetBuffer.InterlockedExchange(offset * 4, newPinholeLinkIndex, prevPinholeLinkIndex);

		PinholeLink link;
		link.position = uv;
		link.next = prevPinholeLinkIndex;
		link.rawDepth = rawDepth;
		link.meanDepth = meanDepth;
		link.intensity = 0.0;

		g_PinholeLinkBuffer[newPinholeLinkIndex] = link;
	}
}

{'repo_name': 'wolfgangfengel/GPUZen2', 'stars': '110', 'repo_language': 'C++', 'file_name': 'tiling_and_blending.vert', 'mime_type': 'text/x-c', 'hash': -5197431276608617741, 'source_dataset': 'data'}


<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24.0"
    android:viewportHeight="24.0">
    <path
        android:fillColor="#FFFFFF"
        android:pathData="M19,9h-4V3H9v6H5l7,7 7,-7zM5,18v2h14v-2H5z" />
</vector>

{'repo_name': 'ZeeRooo/MaterialFBook', 'stars': '121', 'repo_language': 'Java', 'file_name': 'ExampleUnitTest.java', 'mime_type': 'text/html', 'hash': -1814982177148626468, 'source_dataset': 'data'}


#
# Copyright 2018 The Abseil Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law 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.
#

load(
    "//absl:copts/configure_copts.bzl",
    "ABSL_DEFAULT_COPTS",
    "ABSL_TEST_COPTS",
)

package(default_visibility = ["//visibility:public"])

licenses(["notice"])  # Apache 2.0

cc_library(
    name = "hash",
    srcs = [
        "internal/hash.cc",
        "internal/hash.h",
    ],
    hdrs = ["hash.h"],
    copts = ABSL_DEFAULT_COPTS,
    deps = [
        ":city",
        "//absl/base:core_headers",
        "//absl/base:endian",
        "//absl/container:fixed_array",
        "//absl/meta:type_traits",
        "//absl/numeric:int128",
        "//absl/strings",
        "//absl/types:optional",
        "//absl/types:variant",
        "//absl/utility",
    ],
)

cc_library(
    name = "hash_testing",
    testonly = 1,
    hdrs = ["hash_testing.h"],
    deps = [
        ":spy_hash_state",
        "//absl/meta:type_traits",
        "//absl/strings",
        "//absl/types:variant",
        "@com_google_googletest//:gtest",
    ],
)

cc_test(
    name = "hash_test",
    srcs = ["hash_test.cc"],
    copts = ABSL_TEST_COPTS,
    deps = [
        ":hash",
        ":hash_testing",
        "//absl/base:core_headers",
        "//absl/container:flat_hash_set",
        "//absl/hash:spy_hash_state",
        "//absl/meta:type_traits",
        "//absl/numeric:int128",
        "@com_google_googletest//:gtest_main",
    ],
)

cc_library(
    name = "spy_hash_state",
    testonly = 1,
    hdrs = ["internal/spy_hash_state.h"],
    copts = ABSL_DEFAULT_COPTS,
    visibility = ["//visibility:private"],
    deps = [
        ":hash",
        "//absl/strings",
        "//absl/strings:str_format",
    ],
)

cc_library(
    name = "city",
    srcs = ["internal/city.cc"],
    hdrs = [
        "internal/city.h",
    ],
    copts = ABSL_DEFAULT_COPTS,
    deps = [
        "//absl/base:config",
        "//absl/base:core_headers",
        "//absl/base:endian",
    ],
)

cc_test(
    name = "city_test",
    srcs = ["internal/city_test.cc"],
    copts = ABSL_TEST_COPTS,
    deps = [
        ":city",
        "@com_google_googletest//:gtest_main",
    ],
)

{'repo_name': 'versatica/mediasoup', 'stars': '2327', 'repo_language': 'C++', 'file_name': 'VP8.hpp', 'mime_type': 'text/x-c++', 'hash': 9203858220977065492, 'source_dataset': 'data'}


/*
 * Copyright 2004, 2005, 2006 Acegi Technology Pty Limited
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://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.
 */

package org.springframework.security.core.userdetails.cache;

import org.junit.Test;

import org.springframework.security.core.authority.AuthorityUtils;
import org.springframework.security.core.userdetails.User;

import static org.assertj.core.api.Assertions.assertThat;

/**
 * Tests {@link NullUserCache}.
 *
 * @author Ben Alex
 */
public class NullUserCacheTests {

	private User getUser() {
		return new User("john", "password", true, true, true, true,
				AuthorityUtils.createAuthorityList("ROLE_ONE", "ROLE_TWO"));
	}

	@Test
	public void testCacheOperation() {
		NullUserCache cache = new NullUserCache();
		cache.putUserInCache(getUser());
		assertThat(cache.getUserFromCache(null)).isNull();
		cache.removeUserFromCache(null);
	}

}

{'repo_name': 'spring-projects/spring-security', 'stars': '5012', 'repo_language': 'Java', 'file_name': 'SecurityEvaluationContextExtensionTests.java', 'mime_type': 'text/x-java', 'hash': -4150219946961936308, 'source_dataset': 'data'}


////////////////////////////////////////////////////////////////////////////////////////////////////
//
//  Project:  Embedded Learning Library (ELL)
//  File:     LoopNestPrinter.cpp (value)
//  Authors:  Chuck Jacobs
//
////////////////////////////////////////////////////////////////////////////////////////////////////

#include "loopnests/LoopNestPrinter.h"

#include <utilities/include/Exception.h>
#include <utilities/include/StringUtil.h>

#include <numeric>
#include <variant>

namespace ell
{
namespace value
{
    namespace loopnests
    {
        namespace
        {
            // computes ceil(a/b)
            int CeilDiv(int a, int b)
            {
                return (a - 1) / b + 1;
            }
        } // namespace

        LoopNestPrinter::LoopNestPrinter(std::ostream& stream) :
            _stream(stream),
            _indentLevel(0)
        {
        }

        void LoopNestPrinter::Print(const LoopNest& loopNest) const
        {
            Visit(loopNest);
        }

        void LoopNestPrinter::GenerateLoopRangeNew(const LoopRange& r, const RecursionStateNew& state, const LoopVisitSchedule& schedule, std::function<void(Scalar)> codegenFn) const
        {
            const LoopNest& loopNest = schedule.GetLoopNest();
            auto loopIndex = schedule.CurrentLoopIndex();

            bool isParallelized = loopNest.IsParallelized(loopIndex);
            bool isUnrolled = loopNest.IsUnrolled(loopIndex);
            assert(!(isParallelized && isUnrolled) && "An index cannot be both unrolled and parallelized");

            const int startInt = r.start.Get<int>();
            const int stopInt = r.stop.Get<int>();
            const int stepInt = r.step.Get<int>();

            int numIterations = CeilDiv(stopInt - startInt, stepInt);
            if (numIterations < 2)
            {
                isParallelized = false;
            }

            std::vector<std::string> properties;
            if (isParallelized)
            {
                properties.push_back("parallel");
            }
            if (isUnrolled)
            {
                properties.push_back("unrolled");
            }
            if (numIterations == 1)
            {
                properties.push_back("single");
            }

            std::string propertiesStr;
            if (!properties.empty())
            {
                propertiesStr = ": (" + utilities::Join(properties, ", ") + ")";
            }

            WriteLine("For (" + GetIndexString(loopIndex, state.loopIndices) + " = " + std::to_string(startInt) + " to " + std::to_string(stopInt) + " by " + std::to_string(stepInt) + ")" + propertiesStr);
            WriteLine("{");
            {
                Indenter i(*this);
                codegenFn(startInt);
            }
            WriteLine("}");
        }

        void LoopNestPrinter::GenerateLoopRangeOld(const LoopRange& r, const RecursionState& state, const LoopVisitSchedule& schedule, std::function<void(Scalar)> codegenFn) const
        {
            const LoopNest& loopNest = schedule.GetLoopNest();
            auto loopIndex = schedule.CurrentLoopIndex();

            bool isParallelized = loopNest.IsParallelized(loopIndex);
            bool isUnrolled = loopNest.IsUnrolled(loopIndex);
            assert(!(isParallelized && isUnrolled) && "An index cannot be both unrolled and parallelized");

            const int startInt = r.start.Get<int>();
            const int stopInt = r.stop.Get<int>();
            const int stepInt = r.step.Get<int>();

            std::vector<std::string> properties;
            if (isParallelized)
            {
                properties.push_back("parallel");
            }
            if (isUnrolled)
            {
                properties.push_back("unrolled");
            }

            auto currentLoopHasPrologue = r.currentLoopFragmentFlags.GetFlag(LoopFragmentType::prologue);
            auto currentLoopHasEpilogue = r.currentLoopFragmentFlags.GetFlag(LoopFragmentType::epilogue);

            if (currentLoopHasPrologue)
            {
                properties.push_back("prologue_kernel");
            }

            if (currentLoopHasEpilogue)
            {
                properties.push_back("epilogue_kernel");
            }

            std::string propertiesStr;
            if (!properties.empty())
            {
                propertiesStr = ": (" + utilities::Join(properties, ", ") + ")";
            }

            WriteLine("For (" + GetIndexString(loopIndex, state.loopIndices) + " = " + std::to_string(startInt) + " to " + std::to_string(stopInt) + " by " + std::to_string(stepInt) + ")" + propertiesStr);
            WriteLine("{");
            {
                Indenter i(*this);
                codegenFn(startInt);
            }
            WriteLine("}");
        }

        std::string LoopNestPrinter::GetIndent() const
        {
            constexpr int indentSize = 4;
            return std::string(static_cast<size_t>(indentSize * _indentLevel), ' ');
        }

        void LoopNestPrinter::WriteLine(std::string l) const
        {
            _stream << GetIndent() << l << "\n";
        }

        Scalar LoopNestPrinter::EmitIndexExpression(const Index& index, const IndexExpression& expr, const LoopIndexSymbolTable& indexVariables) const
        {
            if (!expr.indices.empty())
            {
                // We can't currently optimize away the "identity" expression, because the result (a loops "index" Scalar)
                // would be a register variable (pointer valence 0), and the generated kernel function expects a stored value
                // (pointer valence 1). So, we need to call `Allocate()` to get a stored variable.
                std::vector<std::string> terms;
                for (auto scaledIndex : expr.indices)
                {
                    if (auto it = indexVariables.find(scaledIndex.index); it != indexVariables.end())
                    {
                        auto name = GetIndexString(scaledIndex.index, indexVariables);

                        if (scaledIndex.scale == 1)
                        {
                            terms.push_back(name);
                        }
                        else
                        {
                            terms.push_back(std::to_string(scaledIndex.scale) + "*" + name);
                        }
                    }
                }
                terms.push_back(std::to_string(expr.begin));

                WriteLine("int " + GetIndexString(index, indexVariables) + " = " + utilities::Join(terms, " + ") + ";");
            }
            return 0; // Silly but necessary according to the `EmitIndexExpression` API
        }

        std::string LoopNestPrinter::GetIndexString(const Index& index, const LoopIndexSymbolTable& runtimeIndexVariables) const
        {
            auto name = index.GetName();
            if (auto it = runtimeIndexVariables.find(index); it != runtimeIndexVariables.end())
            {
                auto range = it->second.loopRange;
                if (range.Increment() > 0)
                {
                    int numIterations = CeilDiv(range.End() - range.Begin(), range.Increment());
                    if (numIterations == 1)
                    {
                        name = "[" + name + "=" + std::to_string(range.Begin()) + "]";
                    }
                }
            }
            return name;
        }

        std::string LoopNestPrinter::GetPredicateString(const KernelPredicate& predicate, const LoopIndexSymbolTable& runtimeIndexVariables, const LoopVisitSchedule& schedule) const
        {
            if (predicate.IsAlwaysTrue())
            {
                return "true";
            }
            else if (predicate.IsAlwaysFalse())
            {
                return "false";
            }
            else if (auto fragmentPred = predicate.As<FragmentTypePredicate>(); fragmentPred != nullptr)
            {
                auto condition = fragmentPred->GetCondition();
                if (condition == Fragment::all)
                {
                    return "true";
                }

                auto index = fragmentPred->GetIndex();
                const auto& domain = schedule.GetLoopNest().GetDomain();
                const auto range = domain.GetDimensionRange(index);

                auto loopIndices = range.GetDependentLoopIndices(index);
                if (loopIndices.empty())
                {
                    loopIndices = { index };
                }
                bool first = true;
                std::string result = "";
                for (auto loopIndex : loopIndices)
                {
                    auto range = GetLoopRange(loopIndex, runtimeIndexVariables, schedule);

                    int testVal = 0;
                    bool valid = true;
                    switch (condition)
                    {
                    case Fragment::first:
                        testVal = range.Begin();
                        break;
                    case Fragment::last:
                        testVal = range.End() - (range.Size() % range.Increment());
                        if (testVal == range.End()) // not a boundary
                        {
                            testVal = range.End() - range.Increment();
                        }
                        break;
                    case Fragment::endBoundary:
                        testVal = range.End() - (range.Size() % range.Increment());
                        if (testVal == range.End()) // not a boundary
                        {
                            valid = false;
                        }
                        break;
                    default:
                        valid = false;
                        // throw?
                        break;
                    }

                    if (valid)
                    {
                        if (first)
                        {
                            result = "(";
                        }
                        else
                        {
                            result += " && ";
                        }
                        first = false;
                        result += "(" + GetIndexString(loopIndex, runtimeIndexVariables) + " == " + std::to_string(testVal) + ")";
                    }
                }
                return result.empty() ? "" : result + ")";
            }
            else if (predicate.Is<IndexDefinedPredicate>())
            {
                throw utilities::LogicException(utilities::LogicExceptionErrors::notImplemented, "IsDefined predicate not implemented");
            }
            else if (auto conjunction = predicate.As<KernelPredicateConjunction>(); conjunction != nullptr)
            {
                const auto& terms = conjunction->GetTerms();
                if (terms.size() == 0)
                {
                    return "true";
                }
                else if (terms.size() == 1)
                {
                    return GetPredicateString(*terms[0], runtimeIndexVariables, schedule);
                }
                else
                {
                    std::string result = "(";
                    bool first = true;
                    for (const auto& t : terms)
                    {
                        if (!first)
                        {
                            result += " && ";
                        }
                        first = false;
                        result += GetPredicateString(*t, runtimeIndexVariables, schedule);
                    }
                    result += ")";
                    return result;
                }
            }
            else if (auto disjunction = predicate.As<KernelPredicateDisjunction>(); disjunction != nullptr)
            {
                const auto& terms = disjunction->GetTerms();
                if (terms.size() == 0)
                {
                    return "true";
                }
                else if (terms.size() == 1)
                {
                    return GetPredicateString(*terms[0], runtimeIndexVariables, schedule);
                }
                else
                {
                    std::string result = "(";
                    bool first = true;
                    for (const auto& t : terms)
                    {
                        result += GetPredicateString(*t, runtimeIndexVariables, schedule);
                        if (!first)
                        {
                            result += " || ";
                        }
                        first = false;
                    }
                    result += ")";
                    return result;
                }
            }
            else
            {
                throw utilities::LogicException(utilities::LogicExceptionErrors::illegalState, "Unknown predicate type");
            }
        }

        void LoopNestPrinter::EmitIf(const KernelPredicate& predicate, const LoopIndexSymbolTable& runtimeIndexVariables, const LoopVisitSchedule& schedule) const
        {
            WriteLine("If (" + GetPredicateString(predicate, runtimeIndexVariables, schedule) + ")");
            WriteLine("{");
            ++_indentLevel;
        }
        void LoopNestPrinter::EmitElseIf(const KernelPredicate& predicate, const LoopIndexSymbolTable& runtimeIndexVariables, const LoopVisitSchedule& schedule) const
        {
            EmitEndIf();
            WriteLine("ElseIf (" + GetPredicateString(predicate, runtimeIndexVariables, schedule) + ")");
            WriteLine("{");
            ++_indentLevel;
        }
        void LoopNestPrinter::EmitElse() const
        {
            EmitEndIf();
            WriteLine("Else");
            WriteLine("{");
            ++_indentLevel;
        }
        void LoopNestPrinter::EmitEndIf() const
        {
            --_indentLevel;
            WriteLine("}");
        }

        void LoopNestPrinter::InvokeKernel(const Kernel& kernel, const KernelPredicate& predicate, const LoopIndexSymbolTable& runtimeIndexVariables, const LoopVisitSchedule& schedule) const
        {
            if (!predicate.IsEmpty())
            {
                EmitIf(predicate, runtimeIndexVariables, schedule);
            }

            InvokeKernel(kernel, runtimeIndexVariables, schedule);

            if (!predicate.IsEmpty())
            {
                EmitEndIf();
            }
        }

        void LoopNestPrinter::InvokeKernel(const Kernel& kernel, const LoopIndexSymbolTable& runtimeIndexVariables, const LoopVisitSchedule& schedule) const
        {
            const auto& renameActions = schedule.GetLoopNest().GetRenameActions();

            auto rename = [&, this](const Value& arg) {
                for (const auto& action : renameActions)
                {
                    const auto& excludedKernels = action.excludedKernels;
                    if (std::find(excludedKernels.begin(), excludedKernels.end(), kernel.GetId()) == excludedKernels.end() &&
                        std::equal_to<Value>{}(arg, action.oldValue) &&
                        AreAllFullyDefined(action.where, schedule))
                    {
                        auto newValue = action.newValue;
                        WriteLine("Using " + newValue.GetName() + " in place of " + arg.GetName());
                        return newValue;
                    }
                }
                return arg;
            };

            std::vector<std::string> args;
            for (auto v : kernel.GetArgs())
            {
                auto newV = rename(v);
                if (auto name = newV.GetName(); name.empty())
                {
                    args.push_back("<arg>");
                }
                else
                {
                    args.push_back(name);
                }
            }

            for (const auto i : kernel.GetIndices())
            {
                args.push_back(GetIndexString(i, runtimeIndexVariables));
            }

            WriteLine(kernel.GetName() + "(" + utilities::Join(args, ", ") + ");");
        }

        bool LoopNestPrinter::InvokeKernelGroup(const ScheduledKernelGroup& kernelGroup, const LoopIndexSymbolTable& runtimeIndexVariables, const LoopVisitSchedule& schedule) const
        {
            // preprocess to get only valid kernels
            auto validKernels = GetValidKernels(kernelGroup, runtimeIndexVariables, schedule);
            if (validKernels.empty())
            {
                return false;
            }

            bool first = true;
            for (const auto& kernel : validKernels)
            {
                auto predicate = schedule.GetKernelPredicate(kernel).Simplify(runtimeIndexVariables, schedule);
                if (predicate.IsAlwaysFalse())
                {
                    throw utilities::LogicException(utilities::LogicExceptionErrors::illegalState, "Always-false predicates should have been removed here");
                }

                if (predicate.IsAlwaysTrue())
                {
                    if (!first)
                    {
                        EmitElse();
                    }
                }
                else
                {
                    if (first)
                    {
                        EmitIf(predicate, runtimeIndexVariables, schedule);
                    }
                    else
                    {
                        EmitElseIf(predicate, runtimeIndexVariables, schedule);
                    }
                }

                InvokeKernel(kernel.kernel, runtimeIndexVariables, schedule);
                if (predicate.IsAlwaysTrue())
                {
                    // Stop evaluating, we're done
                    break;
                }

                first = false;
            }

            if (!first)
            {
                EmitEndIf();
            }

            return true;
        }

    } // namespace loopnests
} // namespace value
} // namespace ell

{'repo_name': 'microsoft/ELL', 'stars': '2095', 'repo_language': 'C++', 'file_name': 'LLVMSetup.cmake', 'mime_type': 'text/plain', 'hash': -7081966667658352789, 'source_dataset': 'data'}


<?php

namespace SAASBoilerplate\Domain\Auth\Mail;

use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;

class ActivationEmail extends Mailable
{
    use Queueable, SerializesModels;

    public $token;

    /**
     * Create a new message instance.
     *
     * @param $token
     */
    public function __construct($token)
    {
        $this->token = $token;
    }

    /**
     * Build the message.
     *
     * @return $this
     */
    public function build()
    {
        return $this->subject('Please activate your account')->markdown('emails.auth.activation');
    }
}

{'repo_name': 'miracuthbert/saas-boilerplate', 'stars': '110', 'repo_language': 'PHP', 'file_name': 'app.js', 'mime_type': 'text/x-pascal', 'hash': -9204263652309586339, 'source_dataset': 'data'}


. "$PSScriptRoot\helpers.ps1"

Set-Location $projectDir

if (Test-Path .\build)
{
    Remove-Item -Recurse -Force -Path .\build
}

SafeExit 0

{'repo_name': 'richardchien-archive/coolq-cpp-sdk', 'stars': '160', 'repo_language': 'CMake', 'file_name': 'FindVcpkgIncludeDir.cmake', 'mime_type': 'text/plain', 'hash': -82682247170895346, 'source_dataset': 'data'}


from IPython.display import display, HTML, Javascript

def sidebar():
    from jsmin import jsmin
    with open('./lib/my_toc/2.0.js') as js_file:
        js = jsmin(js_file.read())
    js = "<script type='text/javascript'>" + js + '</script>'

    with open('./lib/my_toc/main.css', 'r') as myfile:
        css=myfile.read().replace('\n', '')
    css = "<style media='screen' type='text/css'>" + css + '</style>'
    return HTML(js+css)

def test_sidebar():
    lib_files = """ <script type='text/javascript' src='./lib/my_toc/2.0.js'></script>
        <link rel="stylesheet" type="text/css" href='./lib/my_toc/main.css' media="screen" />
        """
    return HTML(lib_files)

{'repo_name': 'cqcn1991/movie-compare', 'stars': '138', 'repo_language': 'HTML', 'file_name': 'movie_list_2013_v2.json', 'mime_type': 'text/plain', 'hash': -8328375030525381729, 'source_dataset': 'data'}


<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
              xmlns:app="http://schemas.android.com/apk/res-auto"
              android:orientation="vertical"
                android:layout_margin="8dp"
              android:layout_width="match_parent"
              android:layout_height="match_parent">

    <android.support.v7.widget.CardView
        android:id="@+id/image_card_view"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:clickable="true"
        android:layout_marginLeft="10dp"
        android:foreground="?attr/selectableItemBackground"
        app:cardCornerRadius="3dp"
        app:cardElevation="3dp"
        app:cardUseCompatPadding="true"
        >
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical"
            >
            <ImageView
                android:id="@+id/snap_image"
                android:layout_width="match_parent"
                android:layout_height="300dp"
                android:scaleType="centerCrop"
                android:src="@drawable/image1"
                />
            <TextView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:textSize="24sp"
                android:text="Material Design"
                android:textColor="@android:color/black"
                android:layout_marginTop="16dp"
                android:paddingRight="16dp"
                android:paddingLeft="16dp"
                />
            <TextView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:textSize="16sp"
                android:layout_marginTop="6dp"
                android:paddingRight="16dp"
                android:paddingLeft="16dp"
                android:text=" material metaphor is the unifying theory of a rationalized space and a system of motion."
                />
            <LinearLayout
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:orientation="horizontal"
                android:padding="16sp"
                >

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:textColor="#FFA500"
                    android:textSize="24sp"
                    android:text="SHARE"
                    />
                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:textColor="#FFA500"
                    android:textSize="24sp"
                    android:text="EXPLORE"
                    android:layout_marginLeft="20dp"
                    />
            </LinearLayout>
        </LinearLayout>
    </android.support.v7.widget.CardView>
</RelativeLayout>

{'repo_name': 'pinguo-zhouwei/AndroidTrainingSimples', 'stars': '382', 'repo_language': 'Java', 'file_name': 'ExampleUnitTest.java', 'mime_type': 'text/html', 'hash': -7685609563248835494, 'source_dataset': 'data'}