- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for isTSpecial (0.15 sec)
-
src/mime/grammar.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package mime import ( "strings" ) // isTSpecial reports whether rune is in 'tspecials' as defined by RFC // 1521 and RFC 2045. func isTSpecial(r rune) bool { return strings.ContainsRune(`()<>@,;:\"/[]?=`, r) } // isTokenChar reports whether rune is in 'token' as defined by RFC // 1521 and RFC 2045.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 19 01:06:05 UTC 2016 - 828 bytes - Viewed (0) -
src/mime/mediatype.go
// {RFC 2231 section 7} // attribute-char := <any (US-ASCII) CHAR except SPACE, CTLs, "*", "'", "%", or tspecials> if ch <= ' ' || ch >= 0x7F || ch == '*' || ch == '\'' || ch == '%' || isTSpecial(rune(ch)) { b.WriteString(value[offset:index]) offset = index + 1 b.WriteByte('%') b.WriteByte(upperhex[ch>>4]) b.WriteByte(upperhex[ch&0x0F]) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9.8K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ImportOptimizer.kt
if (this is PackageViewDescriptor || DescriptorUtils.isTopLevelDeclaration(this) || this is CallableDescriptor && DescriptorUtils.isStaticDeclaration(this) ) { return !name.isSpecial } //Both TypeAliasDescriptor and ClassDescriptor val parentClassifier = containingDeclaration as? ClassifierDescriptorWithTypeParameters ?: return false
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 3.3K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10JvmTypeMapperContext.kt
else -> error("Unexpected declaration type: $declaration") } } private fun computeClassInternalName(descriptor: ClassDescriptor): String? { val selfName = descriptor.name.takeIf { !it.isSpecial } ?: return null return when (val parent = descriptor.containingDeclaration) { is PackageFragmentDescriptor -> { val packageInternalName = parent.fqName.asString().replace('.', '/')
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 8.3K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/compile/CodeFragmentCapturedValue.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Aug 08 17:26:38 UTC 2023 - 3.5K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolContainingDeclarationProvider.kt
?: (containingSymbolOrSelf as? KaCallableSymbol)?.callableId?.classId classId?.takeUnless { it.shortClassName.isSpecial } ?.asFqNameString() } } } } // TODO this is a dummy and incorrect implementation just to satisfy some tests
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 09:59:11 UTC 2024 - 8.9K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt
} else { val classId = (containingSymbolOrSelf as? KaConstructorSymbol)?.containingClassId ?: containingSymbolOrSelf.callableId?.classId classId?.takeUnless { it.shortClassName.isSpecial } ?.asFqNameString() } } override fun getContainingModule(symbol: KaSymbol): KtModule { return symbol.getContainingKtModule(analysisSession.firResolveSession) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 09:59:11 UTC 2024 - 13.4K bytes - Viewed (0) -
analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/declarations/KotlinStandaloneDeclarationProvider.kt
return index.facadeFileMap[packageFqName].orEmpty().filter { it.virtualFile in scope } } override fun findFilesForFacade(facadeFqName: FqName): Collection<KtFile> { if (facadeFqName.shortNameOrSpecial().isSpecial) return emptyList() return findFilesForFacadeByPackage(facadeFqName.parent()) //TODO Not work correctly for classes with JvmPackageName .filter { it.javaFileFacadeFqName == facadeFqName } }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:44:50 UTC 2024 - 21.1K bytes - Viewed (0)