Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getType (0.15 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10VisibilityChecker.kt

            if (receiverExpression != null && !targetDescriptor.isExtension) {
                val bindingContext = analysisContext.analyze(receiverExpression, AnalysisMode.PARTIAL)
                val receiverType = bindingContext.getType(receiverExpression) ?: return false
                val explicitReceiver = ExpressionReceiver.create(receiverExpression, receiverType, bindingContext)
                return isVisible(
                    explicitReceiver,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Oct 27 06:22:37 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/swig/testdata/stdio/main.swig

       license that can be found in the LICENSE file.  */
    
    /* A trivial example of wrapping a C library using SWIG.  */
    
    %{
    #include <stdio.h>
    #include <stdlib.h>
    %}
    
    %typemap(gotype) const char * "string"
    %typemap(in) const char * %{
    	$1 = malloc($input.n + 1);
    	memcpy($1, $input.p, $input.n);
    	$1[$input.n] = '\0';
    %}
    %typemap(freearg) const char * %{
    	free($1);
    %}
    
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 563 bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/PostMultipart.kt

      private val client = OkHttpClient()
    
      fun run() {
        // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image
        val requestBody =
          MultipartBody.Builder()
            .setType(MultipartBody.FORM)
            .addFormDataPart("title", "Square Logo")
            .addFormDataPart(
              "image",
              "logo-square.png",
              File("docs/images/logo-square.png").asRequestBody(MEDIA_TYPE_PNG),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top