Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 3,162 for Fun (0.65 sec)

  1. src/cmd/gofmt/testdata/rewrite7.golden

    //gofmt -r=fun(x...)->Fun(x)
    
    // Copyright 2013 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.
    
    // Rewriting of calls must take the ... (ellipsis)
    // attribute for the last argument into account.
    
    package p
    
    func fun(x []int) {}
    
    func g(x []int) {
    	fun(x) // -r='fun(x...)->Fun(x)' should not rewrite this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 22 00:25:13 UTC 2014
    - 466 bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/compilerFacility/compilation/classKinds.ir.txt

          FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
            overridden:
              public open fun toString (): kotlin.String [fake_override] declared in <root>.Ordinary
              public open fun toString (): kotlin.String [fake_override] declared in <root>.Intf
            $this: VALUE_PARAMETER name:<this> type:kotlin.Any
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Apr 04 09:35:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/CodeGenerator.kt

    )
    
    
    private
    fun stringLiteralFor(original: String) =
        escapeStringTemplateDollarSign(original)
    
    
    private
    fun escapeStringTemplateDollarSign(string: String) =
        string.replace("${'$'}", "${'$'}{'${'$'}'}")
    
    
    private
    fun accessorNameSpec(originalName: String) =
        AccessorNameSpec(originalName)
    
    
    internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorsClassPath.kt

            return UnitOfWork.Identity { identityHash }
        }
    
        override fun getWorkspaceProvider() = workspaceProvider.accessors
    
        override fun getInputFingerprinter() = inputFingerprinter
    
        override fun getDisplayName(): String = "Kotlin DSL accessors for $scriptTarget"
    
        override fun visitIdentityInputs(visitor: InputVisitor) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 22K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt

        val stateType: StateType
        val stateFile: ConfigurationCacheStateStore.StateFile
        fun outputStream(): OutputStream
        fun inputStream(): InputStream
        fun delete()
    
        // Replace the contents of this state file, by moving the given file to the location of this state file
        fun moveFrom(file: File)
        fun stateFileForIncludedBuild(build: BuildDefinition): ConfigurationCacheStateFile
    }
    
    
    internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

            }
          }
        }
    
        fun isConscrypt() = getPlatformSystemProperty() == CONSCRYPT_PROPERTY
    
        fun isJdk9() = getPlatformSystemProperty() == JDK9_PROPERTY
    
        fun isJdk8() = getPlatformSystemProperty() == JDK8_PROPERTY
    
        fun isJdk8Alpn() = getPlatformSystemProperty() == JDK8_ALPN_PROPERTY
    
        fun isBouncyCastle() = getPlatformSystemProperty() == BOUNCYCASTLE_PROPERTY
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

    
    private
    fun isSinceJavaClassVisitorFor(classSimpleName: String, version: String) =
        object : PredicateVisitor() {
    
            override fun visit(declaration: ClassOrInterfaceDeclaration, arg: Unit?): Boolean? =
                if (declaration.matchesNameAndIsSince(classSimpleName, version)) true
                else super.visit(declaration, arg)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt

                )
            }
        }
    
        private
        fun <T> pairOf(bean: T) = bean.let { it to it }
    
        private
        fun <T : Any> verifyRoundtripOf(factory: () -> T, verify: (T) -> Unit) {
            verify(javaSerializationRoundtripOf(factory()))
            verify(configurationCacheRoundtripOf(factory()))
        }
    
        private
        fun <T : Any> javaSerializationRoundtripOf(bean: T): T =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinModifiersChangeTest.kt

        @Test
        fun `operator or infix modifier change is breaking`() {
    
            checkNotBinaryCompatibleKotlin(
                v1 = """
                    fun Int.invoke(some: Int) {}
                    operator fun Boolean.invoke(some: Int) {}
    
                    fun String.invoke(some: Int) {}
                    operator fun Long.invoke(some: Int) {}
    
                    fun Float.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)
  10. src/cmd/compile/internal/ssa/branchelim_test.go

    					Exit("retstore")))
    
    			CheckFunc(fun.f)
    			branchelim(fun.f)
    			CheckFunc(fun.f)
    			Deadcode(fun.f)
    			CheckFunc(fun.f)
    
    			if data.ok {
    
    				if len(fun.f.Blocks) != 1 {
    					t.Fatalf("expected 1 block after branchelim and deadcode; found %d", len(fun.f.Blocks))
    				}
    				if fun.values["phi"].Op != OpCondSelect {
    					t.Fatalf("expected phi op to be CondSelect; found op %s", fun.values["phi"].Op)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 24 15:51:15 UTC 2018
    - 5.2K bytes
    - Viewed (0)
Back to top