Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 4,180 for asString (0.05 seconds)

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

        collectDescendantsOfType<KtClassOrObject> { it.fqName?.asString() == member.name }.singleOrNull()
    
    
    private
    val SINCE_REGEX = Regex("""@since ([^\s]+)""")
    
    
    fun KtDeclaration.getSince(): String? =
        docComment?.let { SINCE_REGEX.find(it.text)?.groupValues?.get(1) }
    
    
    private
    fun String.mapJavaTypeToKotlinType(): String {
        val javaTypeName = this
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jul 08 07:02:19 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

    private
    fun <T> T.getSinceIfMatchesName(candidateName: String): SinceTagStatus? where T : BodyDeclaration<*>, T : NodeWithSimpleName<*> =
        takeIf { it.matchesName(candidateName) }?.getSince()?.let { SinceTagStatus.Present(it) }
    
    
    private
    fun <T : NodeWithSimpleName<*>> T.matchesName(candidateName: String) =
        matchesName(name.asString(), candidateName)
    
    
    private
    fun matchesName(name: String, candidateName: String) =
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  3. internal/s3select/sql/value.go

    		return nil
    	}
    	if x, ok := v.bytesToBool(); ok {
    		v.setBool(x)
    		return nil
    	}
    
    	asString := strings.TrimSpace(v.bytesToString())
    	if len(b) > 0 &&
    		(strings.HasPrefix(asString, "{") || strings.HasPrefix(asString, "[")) {
    		return nil
    	}
    
    	if t, err := parseSQLTimestamp(asString); err == nil {
    		v.setTimestamp(t)
    		return nil
    	}
    	if !utf8.Valid(b) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  4. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

            get() = annotationEntries.any { it.shortName?.asString() == "Incubating" }
    
        private
        val KtNamedDeclaration.typeParametersString: String
            get() = (this as? KtCallableDeclaration)?.typeParameterList?.let { "${it.text} " } ?: ""
    
        private
        val KtNamedDeclaration.fullyQualifiedName: String
            get() = fqName!!.asString()
    
        private
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

                return;
            }
            ClassMetaData outerClass = classStack.isEmpty() ? null : getCurrentClass();
            String baseName = typeDeclaration.getNameAsString();
            String className = outerClass == null ? packageName + '.' + baseName : outerClass.getClassName() + '.' + baseName;
            String comment = getJavadocComment(typeDeclaration);
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 19 15:07:24 GMT 2024
    - 11.8K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

         *   <li>Conflict resolution information (if the dependency was omitted due to conflicts or duplicates)</li>
         * </ul>
         *
         * @return a string representation of this dependency node with optional detailed information
         */
        @Nonnull
        String asString();
    
        /**
         * Obtain a Stream containing this node and all its descendants.
         *
         * @return a stream containing this node and its descendants
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 14:10:11 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

        TRUE,
      }
    
      static class Foo {
        private final String aString;
        private final int anInt;
        private final @Nullable TriState anEnum;
    
        Foo(String aString, int anInt, @Nullable TriState anEnum) {
          this.aString = aString;
          this.anInt = anInt;
          this.anEnum = anEnum;
        }
    
        @Override
        public String toString() {
          return toStringHelper(this)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 03:05:13 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  8. cmd/postpolicyform.go

    	case int64:
    		return v, nil
    	case int:
    		return int64(v), nil
    	case string:
    		i, err := strconv.Atoi(v)
    		return int64(i), err
    	default:
    		return 0, errors.New("Invalid number format")
    	}
    }
    
    // isString - Safely check if val is of type string without causing panic.
    func isString(val any) bool {
    	_, ok := val.(string)
    	return ok
    }
    
    // ContentLengthRange - policy content-length-range field.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Oct 23 15:10:12 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

            val performanceTestsCiJsonObj: Map<String, List<Map<String, Any>>> = objectMapper.readValue(performanceTestsCiJson)
    
            return performanceTestsCiJsonObj["performanceTests"]!!.map { scenarioObj ->
                val testId = scenarioObj["testId"] as String
                val groups =
                    (scenarioObj["groups"] as List<Map<String, Any>>).map { groupObj ->
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jul 10 02:18:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  10. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionGeneratorFacade.kt

        incubatingAnnotationTypeDescriptor: String,
        outputDirectory: File,
        packageName: String,
        sourceFilesBaseName: String,
        hashTypeSourceName: java.util.function.Function<String, String>,
        classPath: List<File>,
        classPathDependencies: List<File>,
        apiSpec: java.util.function.Function<String, Boolean>,
        sinceSupplier: java.util.function.Function<String, String?>,
    ): List<File> =
    
        apiTypeProviderFor(
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Mar 12 15:56:18 GMT 2025
    - 17.8K bytes
    - Click Count (0)
Back to Top