Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for fromCode (0.27 sec)

  1. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/test/Destination.java

        StdErr(1);
    
        private final int code;
    
         Destination(int code) {
            this.code = code;
        }
    
        public int getCode() {
            return code;
        }
    
        public static Destination fromCode(int code) {
            for (Destination d : Destination.values()) {
                if (d.code == code) {
                     return d;
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 13:57:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java

        return leafNodeCode;
      }
    
      char getInnerNodeCode() {
        return innerNodeCode;
      }
    
      /** Returns a PublicSuffixType of the right type according to the given code */
      static PublicSuffixType fromCode(char code) {
        for (PublicSuffixType value : values()) {
          if (value.getInnerNodeCode() == code || value.getLeafNodeCode() == code) {
            return value;
          }
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 10 15:48:57 UTC 2020
    - 2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java

        return leafNodeCode;
      }
    
      char getInnerNodeCode() {
        return innerNodeCode;
      }
    
      /** Returns a PublicSuffixType of the right type according to the given code */
      static PublicSuffixType fromCode(char code) {
        for (PublicSuffixType value : values()) {
          if (value.getInnerNodeCode() == code || value.getLeafNodeCode() == code) {
            return value;
          }
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

          // ',' represents a leaf node, which represents a private entry in the map.
          String domain = DIRECT_JOINER.join(stack);
    
          if (domain.length() > 0) {
            builder.put(domain, PublicSuffixType.fromCode(c));
          }
        }
    
        idx++;
    
        if (c != '?' && c != ',') {
          while (idx < encodedLen) {
            // Read all the children
            idx += doParseTrieToBuilder(stack, encoded, idx, builder);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Oct 13 19:20:43 UTC 2022
    - 4K bytes
    - Viewed (0)
  5. guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

          // ',' represents a leaf node, which represents a private entry in the map.
          String domain = DIRECT_JOINER.join(stack);
    
          if (domain.length() > 0) {
            builder.put(domain, PublicSuffixType.fromCode(c));
          }
        }
    
        idx++;
    
        if (c != '?' && c != ',') {
          while (idx < encodedLen) {
            // Read all the children
            idx += doParseTrieToBuilder(stack, encoded, idx, builder);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Oct 13 19:20:43 UTC 2022
    - 4K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapter.java

            OperationDescriptor parent = getParentDescriptor(descriptor.getParentId());
            Destination destination = Destination.fromCode(event.getResult().getDestination());
            String message = event.getResult().getMessage();
            return new DefaultTestOutputOperationDescriptor(descriptor, parent, destination, message);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 67.5K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/execution/plan/edges/DependentNodesSet.java

     */
    public interface DependentNodesSet {
        DependentNodesSet EMPTY = new DependentNodesSet() {
            @Override
            public DependentNodesSet addDependencyPredecessors(Node fromNode) {
                return new DependencyPredecessorsOnlyNodeSet().addDependencyPredecessors(fromNode);
            }
    
            @Override
            public DependentNodesSet addFinalizer(Node finalizer) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 12 20:17:10 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/execution/plan/edges/DependencyPredecessorsOnlyNodeSet.java

        public DependentNodesSet addDependencyPredecessors(Node fromNode) {
            dependencyPredecessors.add(fromNode);
            return this;
        }
    
        @Override
        public DependentNodesSet addFinalizer(Node finalizer) {
            return new ComplexDependentNodesSet(this).addFinalizer(finalizer);
        }
    
        @Override
        public DependentNodesSet addMustPredecessor(Node fromNode) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 12 20:17:10 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/execution/plan/edges/ComplexDependentNodesSet.java

            return dependencyPredecessors.getDependencyPredecessors();
        }
    
        @Override
        public DependentNodesSet addDependencyPredecessors(Node fromNode) {
            dependencyPredecessors.addDependencyPredecessors(fromNode);
            return this;
        }
    
        @Override
        public SortedSet<Node> getFinalizers() {
            return finalizers;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 12 20:17:10 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r24/ModelTasksToolingApiCrossVersionTest.groovy

            then:
            project.tasks*.name.contains "fromModel"
        }
    
        def "tasks added using model rule can be executed"() {
            when:
            withConnection { connection ->
                def build = connection.newBuild()
                build.forTasks("fromModel")
                build.run()
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top