Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,162 for Fun (0.07 sec)

  1. src/cmd/gofmt/testdata/rewrite6.input

    //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 rewrite this to Fun(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 22 00:25:13 UTC 2014
    - 463 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/fuse_test.go

    		Bloc("exit",
    			Exit("mem")))
    
    	CheckFunc(fun.f)
    	fuseLate(fun.f)
    
    	for _, b := range fun.f.Blocks {
    		if b == fun.blocks["then"] && b.Kind != BlockInvalid {
    			t.Errorf("then was not eliminated, but should have")
    		}
    	}
    }
    
    func TestFuseEliminatesBothBranches(t *testing.T) {
    	c := testConfig(t)
    	ptrType := c.config.Types.BytePtr
    	fun := c.Fun("entry",
    		Bloc("entry",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt

    internal class UnreadableResponseBody(
      private val mediaType: MediaType?,
      private val contentLength: Long,
    ) : ResponseBody(), Source {
      override fun contentType() = mediaType
    
      override fun contentLength() = contentLength
    
      override fun source() = buffer()
    
      override fun read(
        sink: Buffer,
        byteCount: Long,
      ): Long {
        throw IllegalStateException(
          """
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. okhttp-logging-interceptor/api/logging-interceptor.api

    	public fun cacheConditionalHit (Lokhttp3/Call;Lokhttp3/Response;)V
    	public fun cacheHit (Lokhttp3/Call;Lokhttp3/Response;)V
    	public fun cacheMiss (Lokhttp3/Call;)V
    	public fun callEnd (Lokhttp3/Call;)V
    	public fun callFailed (Lokhttp3/Call;Ljava/io/IOException;)V
    	public fun callStart (Lokhttp3/Call;)V
    	public fun canceled (Lokhttp3/Call;)V
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/RecordedResponse.kt

      }
    
      fun assertCode(expectedCode: Int) =
        apply {
          assertThat(response!!.code).isEqualTo(expectedCode)
        }
    
      fun assertSuccessful() =
        apply {
          assertThat(failure).isNull()
          assertThat(response!!.isSuccessful).isTrue()
        }
    
      fun assertNotSuccessful() =
        apply {
          assertThat(response!!.isSuccessful).isFalse()
        }
    
      fun assertHeader(
        name: String,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/configurators/AnalysisApiModifiablePsiTestServiceRegistrar.kt

        override fun beforeChildRemoval(event: PsiTreeChangeEvent) {}
    
        override fun beforeChildReplacement(event: PsiTreeChangeEvent) {}
    
        override fun beforeChildMovement(event: PsiTreeChangeEvent) {}
    
        override fun beforeChildrenChange(event: PsiTreeChangeEvent) {}
    
        override fun beforePropertyChange(event: PsiTreeChangeEvent) {}
    
        override fun childAdded(event: PsiTreeChangeEvent) {}
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Nov 16 19:50:51 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

        fun buildFileSymbol(firSymbol: FirFileSymbol) = KaFirFileSymbol(firSymbol, analysisSession)
    
        fun buildScriptSymbol(firSymbol: FirScriptSymbol) = KaFirScriptSymbol(firSymbol, analysisSession)
    
        private val packageProvider: KotlinPackageProvider get() = analysisSession.useSitePackageProvider
    
        fun createPackageSymbolIfOneExists(packageFqName: FqName): KaFirPackageSymbol? {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:43 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectConfigurationReportingTaskExecutionGraph.kt

        override fun populate(plan: FinalizedExecutionPlan?) {
            delegate.populate(plan)
        }
    
        override fun execute(plan: FinalizedExecutionPlan?): ExecutionResult<Void>? =
            delegate.execute(plan)
    
        override fun visitScheduledNodes(visitor: BiConsumer<List<Node>, Set<Node>>) =
            delegate.visitScheduledNodes(visitor)
    
        override fun size(): Int = delegate.size()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheRepository.kt

                get() = StateFile(stateType, file)
    
            override fun outputStream(): OutputStream =
                throw UnsupportedOperationException()
    
            override fun inputStream(): InputStream =
                file.also(::markAccessed).inputStream()
    
            override fun delete() {
                throw UnsupportedOperationException()
            }
    
            override fun moveFrom(file: File) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/BuildScriptCompileAvoidanceIntegrationTest.kt

                "foo",
                """
                fun foo() = fooInternal()
                internal inline fun fooInternal() = "foo"
                """,
                multifileAnnotations
            )
            givenKotlinScriptInBuildSrcContains(
                "bar",
                """
                fun bar() = barInternal()
                internal inline fun barInternal() = "bar"
                """,
                multifileAnnotations
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:42 UTC 2023
    - 19.6K bytes
    - Viewed (0)
Back to top