- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 188 for inputSize (0.16 sec)
-
pkg/kubelet/util/ioutils/ioutils_test.go
for _, test := range tests { t.Run(fmt.Sprintf("inputSize=%d limit=%d writes=%d", test.inputSize, test.limit, test.writeSize), func(t *testing.T) { input := make([]byte, test.inputSize) r.Read(input) output := &bytes.Buffer{} w := LimitWriter(output, test.limit) var ( err error written int64 n int ) for written < test.inputSize && err == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 11 13:52:28 UTC 2019 - 2K bytes - Viewed (0) -
src/math/big/nat_test.go
defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(1)) x := rndNat(50000) y := rndNat(40) allocSize := allocBytes(func() { nat(nil).mul(x, y) }) inputSize := uint64(len(x)+len(y)) * _S if ratio := allocSize / uint64(inputSize); ratio > 10 { t.Errorf("multiplication uses too much memory (%d > %d times the size of inputs)", allocSize, ratio) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 09 15:29:36 UTC 2024 - 26.2K bytes - Viewed (0) -
src/internal/fuzz/fuzz.go
// at least one new coverage bit. c.queueForMinimization(result, keepCoverage) } else { // Update the coordinator's coverage mask and save the value. inputSize := len(result.entry.Data) entryNew, err := c.addCorpusEntries(true, result.entry) if err != nil { stop(err) break } if !entryNew { if shouldPrintDebugInfo() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 34.1K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/tasks/InputFile.java
* contents, expose the path of the file as an {@link org.gradle.api.tasks.Input} property instead.</p> */ @Documented @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD, ElementType.FIELD}) public @interface InputFile {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 08 06:53:54 UTC 2018 - 1.5K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/api/GeneratorTask.java
public File getInputFile() { return inputFile != null ? inputFile : getOutputFile(); } // Workaround for when the task is given an input file that doesn't exist @Nullable @Optional @PathSensitive(PathSensitivity.NONE) @InputFile protected File getInputFileIfExists() { File inputFile = getInputFile(); if (inputFile != null && inputFile.exists()) { return inputFile;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 5K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesDuringTheBuildFileSystemWatchingIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 13:50:33 UTC 2024 - 8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testKit/testKitFunctionalTestSpockBuildCache/groovy/src/main/groovy/org/gradle/sample/MyCacheableTask.groovy
import org.gradle.api.tasks.CacheableTask import org.gradle.api.tasks.InputFile import org.gradle.api.tasks.OutputFile import org.gradle.api.tasks.PathSensitive import org.gradle.api.tasks.PathSensitivity import org.gradle.api.tasks.TaskAction @CacheableTask class MyCacheableTask extends DefaultTask { @InputFile @PathSensitive(PathSensitivity.NONE) File inputFile @OutputFile File outputFile @TaskAction
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 567 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/implicitTaskInputFileDependency/groovy/build.gradle
output.text = message logger.quiet("Wrote '${message}' to ${output}") } } abstract class Consumer extends DefaultTask { @InputFile abstract RegularFileProperty getInputFile() @TaskAction void consume() { def input = inputFile.get().asFile def message = input.text logger.quiet("Read '${message}' from ${input}") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyIntegrationTest.groovy
def go() { } } class NestedBean { NestedBean(RegularFileProperty inputFile) { this.inputFile = inputFile } @InputFile final RegularFileProperty inputFile } class ConsumerTask extends DefaultTask { @Nested
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 24.7K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionPropertyIntegrationTest.groovy
@InputFile final RegularFileProperty inputFile = project.objects.fileProperty() @OutputFile final RegularFileProperty outputFile = project.objects.fileProperty() @TaskAction void go() { def file = outputFile.asFile.get() file.text = inputFile.asFile.get().text }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 17.3K bytes - Viewed (0)