Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for jnifix (0.29 sec)

  1. src/cmd/fix/jnitype.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"go/ast"
    )
    
    func init() {
    	register(jniFix)
    }
    
    var jniFix = fix{
    	name:     "jni",
    	date:     "2017-12-04",
    	f:        jnifix,
    	desc:     `Fixes initializers of JNI's jobject and subtypes`,
    	disabled: false,
    }
    
    // Old state:
    //
    //	type jobject *_jobject
    //
    // New state:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/fix/jnitype_test.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func init() {
    	addTestCases(jniTests, jnifix)
    }
    
    var jniTests = []testCase{
    	{
    		Name: "jni.localVariable",
    		In: `package main
    
    // typedef struct _jobject* jobject;
    import "C"
    
    func f() {
    	var x C.jobject = nil
    	x = nil
    	x, x = nil, nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 22:02:42 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/PluginDependenciesSpecScope.kt

    /**
     * Specify the version of the plugin to depend on.
     *
     * Infix version of [PluginDependencySpec.version].
     */
    infix fun PluginDependencySpec.version(version: String?): PluginDependencySpec = version(version)
    
    
    /**
     * Specify the version of the plugin to depend on.
     *
     * Infix version of [PluginDependencySpec.version].
     *
     * @since 7.2
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinModifiersChangeTest.kt

                    operator fun Long.invoke(some: Int) {}
    
                    fun Float.invoke(some: Int) {}
                    infix fun Byte.invoke(some: Int) {}
    
                    interface Source {
                        infix fun String.plus(some: List<Int>): String
                        operator fun Int.plus(some: List<Int>): Int
                    }
                """,
                v2 = """
                    fun Int.invoke(some: Int) {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  5. src/cmd/dist/buildtag.go

    // Prefix operators define a prefix func that parses the
    // upcoming value. Binary operators define an infix func
    // that combines two values according to the operator.
    // In that case, the parsing loop parses the two values.
    type exprToken struct {
    	tok    string
    	prec   int
    	prefix func(*exprParser) val
    	infix  func(val, val) val
    }
    
    var exprTokens []exprToken
    
    func init() { // init to break init cycle
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 03:35:04 UTC 2021
    - 3K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoPlugins/demoTypes.kt

        @get:Restricted
        var version: String = ""
    
        @get:HasDefaultValue
        var apply: Boolean = false
    
        @Builder
        infix fun version(value: String): PluginDefinition =
            apply { version = value }
    
        @Builder
        infix fun apply(value: Boolean): PluginDefinition =
            apply { apply = value }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/defaultValues/infixOperator.kt

    fun test(bar: String) {
        consume("foo" <expr>join</expr> bar)
    }
    
    infix fun String.join(other: String): String = this + other
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Mar 14 10:53:11 UTC 2024
    - 157 bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/base/annotations/KtRendererAnnotationsFilter.kt

        public infix fun and(other: KaRendererAnnotationsFilter): KaRendererAnnotationsFilter =
            KaRendererAnnotationsFilter filter@{ annotation, owner ->
                val analysisSession = this@filter
                filter(analysisSession, annotation, owner) && other.filter(analysisSession, annotation, owner)
            }
    
        public infix fun or(other: KaRendererAnnotationsFilter): KaRendererAnnotationsFilter =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/modifiers/renderers/KtKeywordsFilter.kt

    import org.jetbrains.kotlin.lexer.KtKeywordToken
    
    public interface KaRendererKeywordFilter {
        public fun filter(analysisSession: KaSession, modifier: KtKeywordToken, annotated: KaAnnotated): Boolean
    
        public infix fun and(other: KaRendererKeywordFilter): KaRendererKeywordFilter {
            val self = this
            return KaRendererKeywordFilter filter@{ modifier, kaAnnotated ->
                val analysisSession = this@filter
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/jansi/JansiLibraryFactory.java

     * limitations under the License.
     */
    
    package org.gradle.internal.nativeintegration.jansi;
    
    public class JansiLibraryFactory {
    
        public final static String MAC_OSX_LIB_FILENAME = "libjansi.jnilib";
        public final static String LINUX_LIB_FILENAME = "libjansi.so";
        public final static String WINDOWS_LIB_FILENAME = "jansi.dll";
        private JansiRuntimeResolver jansiRuntimeResolver = new DefaultJansiRuntimeResolver();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top