Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 92 for gretty (0.23 sec)

  1. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/symbols/AbstractSymbolRestoreFromDifferentModuleTest.kt

                appendLine(prettyRenderedRestored ?: NOT_RESTORED)
            }
            testServices.assertions.assertEqualsToTestDataFileSibling(actualPretty, extension = ".pretty.txt")
        }
    
        companion object {
            private const val NOT_RESTORED = "<NOT RESTORED>"
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/tasks/customTaskWithFileProperty/kotlin/build.gradle.kts

        @TaskAction
        fun greet() {
            val file = destination.get().asFile
            file.parentFile.mkdirs()
            file.writeText("Hello!")
        }
    }
    // end::task[]
    
    // tag::config[]
    val greetingFile = objects.fileProperty()
    
    tasks.register<GreetingToFileTask>("greet") {
        destination = greetingFile
    }
    
    tasks.register("sayGreeting") {
        dependsOn("greet")
        val greetingFile = greetingFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 764 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/tasks/customTaskWithMissingFileProperty/groovy/build.gradle

        @TaskAction
        def greet() {
            def file = getDestination().get().asFile
            if (source.get().asFile.exists()) {
                file.write("Hello ${source.get().asFile.text}!")
            } else {
                file.write 'Hello missing file!'
            }
        }
    }
    // end::task[]
    
    // tag::config[]
    def greetingFile = objects.fileProperty()
    
    tasks.register('greet', GreetingFileTask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 949 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/tasks/customTaskWithMissingFileProperty/kotlin/build.gradle.kts

            }
        }
    }
    // end::task[]
    
    // tag::config[]
    val greetingFile = objects.fileProperty()
    
    tasks.register<GreetingFileTask>("greet") {
        source = layout.projectDirectory.file("missing.txt")
        destination = greetingFile
    }
    
    tasks.register("sayGreeting") {
        dependsOn("greet")
        val greetingFile = greetingFile
        doLast {
            val file = greetingFile.get().asFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1008 bytes
    - Viewed (0)
  5. internal/ringbuffer/ring_buffer_benchmark_test.go

    	buf := make([]byte, 512)
    
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		rb.Write(data)
    		rb.Read(buf)
    	}
    }
    
    func BenchmarkRingBuffer_AsyncRead(b *testing.B) {
    	// Pretty useless benchmark, but it's here for completeness.
    	rb := New(1024)
    	data := []byte(strings.Repeat("a", 512))
    	buf := make([]byte, 512)
    
    	go func() {
    		for {
    			rb.Read(buf)
    		}
    	}()
    
    	b.ResetTimer()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelActionRole.java

     * limitations under the License.
     */
    
    package org.gradle.model.internal.core;
    
    /**
     * A hard-coded sequence of model actions that can be applied to a model element.
     *
     * <p>This is pretty much a placeholder for something more descriptive.
     */
    public enum ModelActionRole {
        Discover(ModelNode.State.Discovered, false), // Defines all projections for the node
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/symbols/AbstractMultiModuleSymbolByPsiTest.kt

                }
            }
    
            testServices.assertions.assertEqualsToTestDataFileSibling(debugPrinter.toString())
            testServices.assertions.assertEqualsToTestDataFileSibling(prettyPrinter.toString(), extension = ".pretty.txt")
        }
    
        /**
         * Processes the descendants of the element using the preorder implementation of tree traversal.
         */
        private inline fun <reified T : PsiElement> PsiElement.forEachDescendantOfType(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache_use_cases.adoc

    When you are switching branches back and forth, the local results get rebuilt over and over again, even if you are building something that has already been built before.
    The build cache remembers the earlier build results, and greatly reduces the need to rebuild things when they have already been built locally.
    This can also extend to rebuilding different commits, like when running `git bisect`.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/go.mod

    	github.com/google/pprof v0.0.0-20240525223248-4bfdf5a9a2af // indirect
    	github.com/josharian/intern v1.0.0 // indirect
    	github.com/json-iterator/go v1.1.12 // indirect
    	github.com/kr/pretty v0.3.1 // indirect
    	github.com/mailru/easyjson v0.7.7 // indirect
    	github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
    	github.com/modern-go/reflect2 v1.0.2 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:02:04 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/resolveExtensionInfoProvider/AbstractResolveExtensionInfoProviderTest.kt

                testServices.assertions.assertEqualsToTestDataFileSibling(actual)
                testServices.assertions.assertEqualsToTestDataFileSibling(actualPretty, extension = ".pretty.txt")
            }
        }
    
        private fun KaSession.renderSymbolsWithExtendedPsiInfo(scope: KaScope, printPretty: Boolean) = prettyPrint {
            renderForTests(scope, this@prettyPrint, printPretty) { symbol ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top