Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 387 for IsString (0.12 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueSanitizers.java

    import groovy.lang.GString;
    import org.gradle.internal.Cast;
    
    import javax.annotation.Nullable;
    
    public class ValueSanitizers {
        private static final ValueSanitizer<Object> STRING_VALUE_SANITIZER = new ValueSanitizer<Object>() {
            @Override
            @Nullable
            public Object sanitize(@Nullable Object value) {
                if (value instanceof GString) {
                    return value.toString();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. tensorflow/c/kernels/summary_op_benchmark_test.cc

    namespace tensorflow {
    namespace {
    
    Graph* BM_ScalarSummaryOp(TensorShape shape, std::string tag, float value) {
      Graph* g = new Graph(OpRegistry::Global());
      Tensor tags(DT_STRING, shape);
      Tensor values(DT_FLOAT, shape);
      for (int i = 0; i < tags.NumElements(); ++i) {
        tags.flat<tstring>()(i) = tag;
        values.flat<float>()(i) = value;
      }
      Node* ret;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 25 00:59:20 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

                    printer.append(value.callableId?.asSingleFqName()?.render())
                }
    
                is KaConstantAnnotationValue -> {
                    printer.append(value.constantValue.constantValueKind.asString)
                        .append("(")
                        .append(value.constantValue.value.toString())
                        .append(")")
                }
    
                is KaUnsupportedAnnotationValue -> {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. src/html/escape_test.go

    	"strings"
    	"testing"
    )
    
    type unescapeTest struct {
    	// A short description of the test case.
    	desc string
    	// The HTML text.
    	html string
    	// The unescaped text.
    	unescaped string
    }
    
    var unescapeTests = []unescapeTest{
    	// Handle no entities.
    	{
    		"copy",
    		"A\ttext\nstring",
    		"A\ttext\nstring",
    	},
    	// Handle simple named entities.
    	{
    		"simple",
    		"&amp; &gt; &lt;",
    		"& > <",
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 22 12:45:38 UTC 2015
    - 3.3K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

                ConstantValueKind.String -> CompileTimeType.STRING
    
                else -> CompileTimeType.ANY
            }
        }
    
        // Unary operators
        private fun FirLiteralExpression.evaluate(function: FirSimpleFunction): FirLiteralExpression? {
            if (value == null) return null
            (value as? String)?.let { opr ->
                evalUnaryOp(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/dsl/org.gradle.api.resources.TextResource.xml

            <title>Methods</title>
            <table>
                <thead>
                    <tr>
                        <td>Name</td>
                    </tr>
                </thead>
                <tr>
                    <td>asString</td>
                </tr>
                <tr>
                    <td>asReader</td>
                </tr>
                <tr>
                    <td>asFile</td>
                </tr>
            </table>
        </section>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/ObjectiveCHelloWorldApp.groovy

                int sum(int a, int b)
                {
                    return a + b;
                }
            """)]
        }
    
        String alternateLibraryOutput = "${HELLO_WORLD} - ${HELLO_WORLD_FRENCH}\n12"
    
        String getExtraConfiguration(String binaryName = null) {
            return """
                model {
                    binaries {
                        ${binaryName ? binaryName : "all"} {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. src/cmd/link/internal/sym/symkind.go

    // rel-ro sections using relROMap.
    var ReadOnly = []SymKind{
    	STYPE,
    	SSTRING,
    	SGOSTRING,
    	SGOFUNC,
    	SGCBITS,
    	SRODATA,
    	SFUNCTAB,
    }
    
    // RelROMap describes the transformation of read-only symbols to rel-ro
    // symbols.
    var RelROMap = map[SymKind]SymKind{
    	STYPE:     STYPERELRO,
    	SSTRING:   SSTRINGRELRO,
    	SGOSTRING: SGOSTRINGRELRO,
    	SGOFUNC:   SGOFUNCRELRO,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/internal/xml/XmlTransformerTest.groovy

        }
    
        private void looksLike(String expected, String actual) {
            assert removeTrailingWhitespace(actual) == removeTrailingWhitespace(TextUtil.toPlatformLineSeparators("<?xml version=\"1.0\"?>\n" + expected))
        }
    
        private void looksLike(String expected, byte[] actual) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 15 08:16:06 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/resources/org/gradle/api/resource/TextResourceIntegrationTest/shared/build.gradle

    class MyTask extends DefaultTask {
        @Nested
        TextResource config
    
        @OutputFile
        File output
    
        @TaskAction
        void generate() {
            getOutput().text = getConfig().asString()
        }
    }
    
    def generateConfigFile = tasks.register("generateConfigFile") {
        outputs.file "config.txt"
        doLast {
            file("config.txt").text = "my config"
        }
    }
    
    task generateConfigZip(type: Zip) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 27 20:48:11 UTC 2019
    - 1.3K bytes
    - Viewed (0)
Back to top