Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isTSpecial (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/compile/CodeFragmentCapturedValue.kt

            override val displayText: String
                get() {
                    val simpleName = classId.shortClassName
                    return if (simpleName.isSpecial) "this" else "this@" + simpleName.asString()
                }
        }
    
        /** Represents a captured super class (`super.foo()`). */
        public class SuperClass(
            private val classId: ClassId,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Aug 08 17:26:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. 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)
Back to top