Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 113 for categorize (0.2 sec)

  1. .cm/plugins/filters/categorize/index.js

     * @example {{ owners | categorize(branch.diff.files_metadata) }}
     */
    
    function categorize(fileOwners, fileMetadatas) {
        const result = new Map();
        [...fileOwners.keys()].forEach(platform => {
            result.set(platform, {
                name: platform,
                files: []
            });
        });
    
        Object.values(fileMetadatas).forEach(fileMetadata => {
            [...fileOwners.keys()].forEach(platform => {
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  2. .cm/plugins/filters/computeStatistics/index.js

     * @param {[FileMetadata]} fileMetadatas - gitStream's list of metadata about file changes in the PR including path
     * @returns {[Object]} Returns list of computed summary statistic objects for each platform in the input groupedFiles
     * @example {{ fileOwners | categorize(branch.diff.files_metadata) | changeStatistics(branch.diff.files_metadata) }}
     */
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. .cm/plugins/filters/readField/index.js

     * @param {String} objectName - The name of the particular object to find
     * @param {String} fieldName - The name of the field for the group to return
     * @returns String - The specified value
     * @example {{ files | byPlatform | categorize(branch.diff.files_metadata) | readField('jvm', 'name') }}
     */
    
    function readField(objects, objectName, fieldName) {
        let group = Object.values(objects).find(s => s.name === objectName);
        if (group) {
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1K bytes
    - Viewed (0)
  4. .cm/summary_table_platforms.cm

        run:
          - action: add-comment@v1
            args:
              comment: |
                {{ by_platform_comment }}
    
    by_platform_comment: |
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  5. .cm/platform_labels.cm

      # Label changes by affected platforms (in blue)
      {% for platform in platforms %}
      platform_label_{{ platform.name }}:
        if:
          - {{ ('platform_labels' | isEnabledAutomation(pr)) }}
          - {{ files | byPlatform | categorize(branch.diff.files_metadata) | readField(platform.name, 'files') | nullToEmpty | some }}
        run:
          - action: add-label@v1
            args:
              label: 'platform:{{ platform.name }}'
              color: '0000FF'
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 15:32:31 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. .cm/plugins/filters/summaryTable/index.js

     * @param {[Object]} statistics - list of summary data objects from computeStatistics
     * @param {String} title - description of how data is grouped
     * @returns {String} Returns the formatted HTMl table string.
     * @example {{ owners | categorize(branch.diff.files_metadata) | computeStatistics(branch.diff.files_metadata) | summaryTable('Platform') }}
     */
    function summaryTable(statistics, title) {
        let preppedStatistics = statistics.filter(s => s.files.length > 0)
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt

     */
    @DisableCachingByDefault(because = "Abstract super-class, not to be instantiated directly")
    abstract class DistributionTest : Test() {
    
        /**
         * To further categorize tests. (We should simplify this and get rid of the subclasses if possible)
         */
        @get:Internal
        abstract val prefix: String
    
        /**
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Fri Jul 01 22:53:59 GMT 2022
    - 8K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

    import org.apache.maven.plugin.PluginExecutionException;
    import org.apache.maven.project.ProjectBuildingException;
    import org.apache.maven.project.ProjectBuildingResult;
    
    /*
    
    - test projects for each of these
    - how to categorize the problems so that the id of the problem can be match to a page with descriptive help and the test
      project
    - nice little sample projects that could be run in the core as well as integration tests
    
    All Possible Errors
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jul 19 15:37:28 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  9. maven-core/src/main/resources/META-INF/maven/extension.xml

          | Guice specifics we can expose that later. Really some testing needs to be done to see full hiding
          | of Guice has any impact on what we may categorize as a standard JSR-330 based Tesla/Maven plugin.
    
            <exportedPackage>com.google.inject.*</exportedPackage>
            <exportedPackage>com.google.inject.binder.*</exportedPackage>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jan 08 10:37:09 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

      /** Returns {@code null} if unable to parse into a {@code byte[]}. */
      @CheckForNull
      private static byte[] ipStringToBytes(String ipStringParam) {
        String ipString = ipStringParam;
        // Make a first pass to categorize the characters in this string.
        boolean hasColon = false;
        boolean hasDot = false;
        int percentIndex = -1;
        for (int i = 0; i < ipString.length(); i++) {
          char c = ipString.charAt(i);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
Back to top