Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for __typeof (0.13 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt

                    value = node.value.map { it.stringValue }.toTypedArray()
                }
            })
            if (value == null) throw annotationMemberValueNotFound(typeOf<Array<String>>())
            return value!!
        }
    
    
    private
    fun <T> annotationMemberValueNotFound(type: TypeOf<T>) =
        IllegalStateException("Annotation member value '${type.simpleName}' not found")
    
    
    private
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.6K bytes
    - Viewed (0)
  2. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

    //
    // Rules
    // 1. an extension should either require no type parameters, a single reifeid type parameter, at call site
    // 2. all type parameters must all be reifeid or values (TypeOf, KClass or Class)
    // 3. when overloading, prefer TypeOf over Class
    // 4. in case the policy forbids your overloads, discuss
    private
    fun kotlinExtensionFunctionsFor(type: ApiType, sinceSupplier: (String) -> String?): Sequence<KotlinExtensionFunction> =
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 20 21:41:53 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  3. .cm/plugins/filters/byCodeowner/index.js

                console.log("Resolving owners for: " + f);
                const owners = resolveCodeowners(mapping, f);
                console.log("Owners for: " + f + " are: " + owners);
                owners.filter(i => typeof i === 'string')
                    .map(u => u.replace(/^@gradle\//, ""))
                    .forEach(owner => {
                        if (!result.has(owner)) {
                            result.set(owner, []);
                        }
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 19:12:32 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. .cm/plugins/filters/byCodeowner/ignore/index.js

    // ..
    const REGEX_TEST_INVALID_PATH = /^\.*\/|^\.+$/
    
    const SLASH = '/'
    
    // Do not use ternary expression here, since "istanbul ignore next" is buggy
    let TMP_KEY_IGNORE = 'node-ignore'
    /* istanbul ignore else */
    if (typeof Symbol !== 'undefined') {
        TMP_KEY_IGNORE = Symbol.for('node-ignore')
    }
    const KEY_IGNORE = TMP_KEY_IGNORE
    
    const define = (object, key, value) =>
        Object.defineProperty(object, key, {value})
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top