Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,531 for isSince (0.72 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt

                }
            }
    
        fun isSince(version: String, member: JApiCompatibility): Boolean =
            apiSourceFileFor(member).let { apiSourceFile ->
                when (apiSourceFile) {
                    is ApiSourceFile.Java -> sources.executeQuery(apiSourceFile, JavaSourceQueries.isSince(version, member))
                    is ApiSourceFile.Kotlin -> sources.executeQuery(apiSourceFile, KotlinSourceQueries.isSince(version, member))
                }
            }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 3.8K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

        name == candidateName.replace(".*\\$".toRegex(), "") // strip outer class names
    
    
    private
    fun BodyDeclaration<*>.isSince(version: String): Boolean =
        comment?.orElse(null)?.content?.contains("@since $version") == true
    
    
    private
    val FieldDeclaration.fieldName: String
        get() = variables.first().name.asString()
    
    
    private
    fun JApiMethod.isEnumImplicitMethod(): Boolean =
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    
    private
    fun KtDeclaration.isDocumentedAsSince(version: String) =
        docComment?.isSince(version) == true
    
    
    private
    fun KDoc.isSince(version: String) =
        text.contains("@since $version")
    
    
    // TODO:kotlin-dsl dedupe with KotlinTypeStrings.primitiveTypeStrings
    private
    val primitiveTypeStrings =
        mapOf(
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 20 20:38:19 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/SinceAnnotationMissingRule.java

        public static final String SINCE_ERROR_MESSAGE = "Is not annotated with @since ";
    
        public SinceAnnotationMissingRule(Map<String, Object> params) {
            super(params);
        }
    
        @Override
        public Violation maybeViolation(final JApiCompatibility member) {
    
            if (shouldSkipViolationCheckFor(member) || getRepository().isSince(getCurrentVersion(), member)) {
                return null;
            }
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Sep 21 16:02:23 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  5. common/scripts/kind_provisioner.sh

    }
    
    function cidr_to_ips() {
        CIDR="$1"
        # cidr_to_ips returns a list of single IPs from a CIDR. We skip 1000 (since they are likely to be allocated
        # already to other services), then pick the next 100.
        python3 - <<EOF
    from ipaddress import ip_network, IPv6Network;
    from itertools import islice;
    
    net = ip_network('$CIDR')
    net_bits = 128 if type(net) == IPv6Network else 32;
    net_len = pow(2, net_bits - net.prefixlen)
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  6. guava/src/com/google/common/base/Preconditions.java

      /**
       * Ensures the truth of an expression involving one or more parameters to the calling method.
       *
       * <p>See {@link #checkArgument(boolean, String, Object...)} for details.
       *
       * @since 20.0 (varargs overload since 2.0)
       */
      public static void checkArgument(boolean expression, String errorMessageTemplate, char p1) {
        if (!expression) {
          throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1));
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

         * @return this MavenExecutionRequest
         * @since 3.2
         * @deprecated Since Maven 4: use {@link #getProjectActivation()}.
         */
        @Deprecated
        MavenExecutionRequest setExcludedProjects(List<String> projects);
    
        /**
         * @return the excluded projects, never {@code null}
         * @since 3.2
         * @deprecated Since Maven 4: use {@link #getProjectActivation()}.
         */
        @Deprecated
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Dec 20 13:03:57 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Verify.java

       * custom message otherwise.
       *
       * <p>See {@link #verify(boolean, String, Object...)} for details.
       *
       * @since 23.1 (varargs overload since 17.0)
       */
      public static void verify(boolean expression, String errorMessageTemplate, char p1) {
        if (!expression) {
          throw new VerifyException(lenientFormat(errorMessageTemplate, p1));
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/MoreObjects.java

       *
       * @param className the name of the instance type
       * @since 18.0 (since 7.0 as {@code Objects.toStringHelper()}).
       */
      public static ToStringHelper toStringHelper(String className) {
        return new ToStringHelper(className);
      }
    
      /**
       * Support class for {@link MoreObjects#toStringHelper}.
       *
       * @author Jason Lee
       * @since 18.0 (since 2.0 as {@code Objects.ToStringHelper}).
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Ascii.java

       *
       * @since 8.0
       */
      public static final byte SP = 32;
    
      /**
       * Alternate name for {@link #SP}.
       *
       * @since 8.0
       */
      public static final byte SPACE = 32;
    
      /**
       * Delete: This character is used primarily to "erase" or "obliterate" erroneous or unwanted
       * characters in perforated tape.
       *
       * @since 8.0
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
Back to top