Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for mystring (0.46 sec)

  1. src/internal/types/testdata/check/typeparams.go

    // range iteration
    
    func _[T interface{}](x T) {
            for range x /* ERROR "cannot range" */ {}
    }
    
    type myString string
    
    func _[
            B1 interface{ string },
            B2 interface{ string | myString },
    
            C1 interface{ chan int },
            C2 interface{ chan int | <-chan int },
            C3 interface{ chan<- int },
    
            S1 interface{ []int },
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:56:58 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/expr3.go

    	_ = c[3 /* ERRORx `index .* out of bounds` */ ]
    	_ = ""[0 /* ERRORx `index .* out of bounds` */ ]
    	_ = c2
    
    	_ = s[1<<30] // no compile-time error here
    
    	// issue 4913
    	type mystring string
    	var ss string
    	var ms mystring
    	var i, j int
    	ss = "foo"[1:2]
    	ss = "foo"[i:j]
    	ms = "foo" /* ERRORx `cannot use .* in assignment` */ [1:2]
    	ms = "foo" /* ERRORx `cannot use .* in assignment` */ [i:j]
    	_, _ = ss, ms
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 22:41:49 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  3. src/runtime/string.go

    		b = b[len(x):]
    	}
    	return s
    }
    
    func concatstring2(buf *tmpBuf, a0, a1 string) string {
    	return concatstrings(buf, []string{a0, a1})
    }
    
    func concatstring3(buf *tmpBuf, a0, a1, a2 string) string {
    	return concatstrings(buf, []string{a0, a1, a2})
    }
    
    func concatstring4(buf *tmpBuf, a0, a1, a2, a3 string) string {
    	return concatstrings(buf, []string{a0, a1, a2, a3})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            String field = "filetype";
            String query = "others";
            String wcQuery1 = "othe*";
            String wcQuery2 = "oth??s";
            Map<String, String> params = new HashMap<>();
            params.put("q", field + ":" + query);
            params.put("num", "100");
            String response = checkMethodBase(new HashMap<>()).params(params).get("/api/v1/documents").asString();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java

            return replaceAll(Pattern.compile(regex), inString, byString);
        }
    
        private static String replaceAll(Pattern pattern, CharSequence inString, String byString) {
            return pattern.matcher(inString).replaceAll(byString);
        }
    
        /**
         * Converts all line separators in the specified string to the platform's line separator.
         */
        public static String toPlatformLineSeparators(String str) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            return response;
        }
    
        protected static String buildWebConfigJobScript(final String webCofigId) {
            return String.format("return container.getComponent(\"crawlJob\")" + ".logLevel(\"info\")" + ".sessionId(\"%s\")"
                    + ".webConfigIds([\"%s\"] as String[])" + ".jobExecutor(executor).execute();", webCofigId, webCofigId);
        }
    
    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. analysis/analysis-api-standalone/analysis-api-fir-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/services/LLStandaloneFirElementByPsiElementChooser.kt

            }
        }
    
        private fun String.asArrayType(): String {
            arrayClassIdByElementType[this]?.let { return it }
            return "kotlin.Array<out $this>"
        }
    
        private val arrayClassIdByElementType: Map<String, String> = buildList<Pair<String, String>> {
            StandardClassIds.primitiveArrayTypeByElementType.mapTo(this) { (classId, arrayClassId) ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 15 11:34:07 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    
    private
    fun KtFile.ktClassOf(member: CtClass) =
        collectDescendantsOfType<KtClassOrObject> { it.fqName?.asString() == member.name }.singleOrNull()
    
    
    private
    fun KtDeclaration.isDocumentedAsSince(version: String) =
        docComment?.isSince(version) == true
    
    
    private
    fun KDoc.isSince(version: String) =
        text.contains("@since $version")
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 20:38:19 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  10. src/encoding/asn1/asn1.go

    }
    
    // BMPString
    
    // parseBMPString parses an ASN.1 BMPString (Basic Multilingual Plane of
    // ISO/IEC/ITU 10646-1) from the given byte slice and returns it.
    func parseBMPString(bmpString []byte) (string, error) {
    	if len(bmpString)%2 != 0 {
    		return "", errors.New("pkcs12: odd-length BMP string")
    	}
    
    	// Strip terminator if present.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 31.8K bytes
    - Viewed (0)
Back to top