Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 286 for as_string (0.11 sec)

  1. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/testUtils.kt

            is KaTypeParameterSymbol -> this.nameOrAnonymous.asString()
            is KaVariableSymbol -> "${if (isVal) "val" else "var"} $name: ${returnType.render()}"
            is KaClassLikeSymbol -> classId?.toString() ?: nameOrAnonymous.asString()
            is KaPackageSymbol -> fqName.toString()
            is KaEnumEntrySymbol -> callableId?.toString() ?: name.asString()
            is KaSymbol -> DebugSymbolRenderer().render(analysisSession, this)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/parse_example.pbtxt

    # CHECK: tf_executor.fetch %[[output]] : tensor<*xi64>
    
    node {
      name: "serilaized"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_STRING
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_STRING
            tensor_shape {
              dim {
                size: 1
              }
            }
            string_val: ""
          }
        }
      }
    }
    node {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/TransformersTest.groovy

            def result = cast(CharSequence).transform(arg)
    
            then:
            notThrown(ClassCastException)
            result.is arg
        }
    
        def "as string"() {
            expect:
            asString().transform(1) == "1"
            asString().transform(null) == null
        }
    
        def "to URL"() {
            expect:
            toURL().transform(new URI("http://localhost:80/path")) == new URL("http://localhost:80/path")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeCreator.kt

            if (descriptor == null) {
                val name = when (builder) {
                    is KaClassTypeBuilder.ByClassId -> builder.classId.asString()
                    is KaClassTypeBuilder.BySymbol ->
                        builder.symbol.classId?.asString()
                            ?: builder.symbol.name?.asString()
                            ?: SpecialNames.ANONYMOUS_STRING
                }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java

        }
    
        @BeforeEach
        protected void initializeDictId() {
            final Map<String, Object> searchBody = new HashMap<>();
            final String response = checkMethodBase(searchBody).get("/api/admin/dict").asString();
            final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings");
    
            for (Map<String, String> item : dicts) {
                assertTrue(item.containsKey("id"));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10JvmTypeMapperContext.kt

                    val packageInternalName = parent.fqName.asString().replace('.', '/')
                    "$packageInternalName/$selfName"
                }
                is ClassDescriptor -> {
                    val parentInternalName = computeClassInternalName(parent)
                    if (parentInternalName != null) "$parentInternalName$$selfName" else null
                }
                else -> selfName.asString()
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            logger.info("Crawler terminated");
        }
    
        protected static String createWebConfig(final Map<String, Object> requestBody) {
            String response = checkMethodBase(requestBody).put("/api/admin/webconfig/setting").asString();
            JsonPath jsonPath = JsonPath.from(response);
            assertTrue(jsonPath.getBoolean("response.created"));
            assertEquals(0, jsonPath.getInt("response.status"));
            return jsonPath.getString("response.id");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. test/named1.go

    // and preserve the type.
    // Does not compile.
    
    package main
    
    type Bool bool
    
    type Map map[int]int
    
    func (Map) M() {}
    
    type Slice []byte
    
    var slice Slice
    
    func asBool(Bool)     {}
    func asString(String) {}
    
    type String string
    
    func main() {
    	var (
    		b    Bool = true
    		i, j int
    		c    = make(chan int)
    		m    = make(Map)
    	)
    
    	asBool(b)
    	asBool(!b)
    	asBool(true)
    	asBool(*&b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 04 21:22:23 UTC 2020
    - 984 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/parse_example_v2.pbtxt

        key: "dtype"
        value {
          type: DT_STRING
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_STRING
            tensor_shape {
              dim {
              }
            }
          }
        }
      }
    }
    node {
      name: "ParseExample/ParseExampleV2/sparse_keys"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_STRING
        }
      }
      attr {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/VfsRelativePathTest.groovy

    class VfsRelativePathTest extends Specification {
    
        def "convert absolute path '#absolutePath' to relative path '#relativePath'"() {
            expect:
            VfsRelativePath.of(absolutePath).asString == relativePath
    
            where:
            absolutePath           | relativePath
            'C:\\'                 | 'C:'
            'C:\\Users\\user'      | 'C:\\Users\\user'
            '/'                    | ''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top