- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 50 for test_sum (0.26 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/TaskOptionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 28.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/TaskOptionFailureIntegrationTest.groovy
${taskWithSingleOption('TestEnum')} """ when: runAndFail 'someTask', '--myProp', 'unsupportedValue' then: failure.assertHasDescription("Problem configuring option 'myProp' on task ':someTask' from command line.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:35 UTC 2024 - 7.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/AbstractOptionIntegrationSpec.groovy
@TaskAction public void renderOptionValue() { System.out.println("Value of myProp: " + myProp); } private static enum TestEnum { OPT_1, OPT_2, OPT_3 } } """ } String taskWithFlagMethod() { """ import org.gradle.api.DefaultTask;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 10 09:40:56 UTC 2023 - 8.1K bytes - Viewed (0) -
src/cmd/internal/obj/x86/pcrelative_test.go
"os" "path/filepath" "testing" ) const asmData = ` GLOBL zeros<>(SB),8,$64 TEXT ยทtestASM(SB),4,$0 VMOVUPS zeros<>(SB), %s // PC relative relocation is off by 1, for Y8-Y15, Z8-15 and Z24-Z31 RET ` const goData = ` package main func testASM() func main() { testASM() } ` func objdumpOutput(t *testing.T, mname, source string) []byte { tmpdir, err := os.MkdirTemp("", mname)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 23:16:01 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/ProtocolToModelAdapterTest.groovy
} def adaptsEnum() { TestProtocolModel protocolModel = Mock() _ * protocolModel.getTestEnum() >> TestEnum.FIRST expect: TestModel model = adapter.adapt(TestModel.class, protocolModel) model.testEnum == TestEnum.FIRST } def adaptsStringToEnum() { TestProtocolModel protocolModel = Mock() _ * protocolModel.getTestEnum() >> "SECOND"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 21.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/OptionReaderTest.groovy
@Option(description = "Descr enumListValue") final ListProperty<TestEnum> enumListValue @Option(description = "Descr enumSetValue") final SetProperty<TestEnum> enumSetValue @Option(description = "Descr enumValue") final Property<TestEnum> enumValue @Option(description = "Descr integerValue") final Property<Integer> integerValue
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 10 12:45:01 UTC 2023 - 33.4K bytes - Viewed (0) -
cmd/signature-v4-parser_test.go
} // validates the credential fields against the expected credential. func validateCredentialfields(t *testing.T, testNum int, expectedCredentials credentialHeader, actualCredential credentialHeader) { if expectedCredentials.accessKey != actualCredential.accessKey { t.Errorf("Test %d: AccessKey mismatch: Expected \"%s\", got \"%s\"", testNum, expectedCredentials.accessKey, actualCredential.accessKey) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 27.4K bytes - Viewed (0) -
.gitignore
.tags* # Version file for dockerized build .dockerized-kube-version-defs # Web UI /www/master/node_modules/ /www/master/npm-debug.log /www/master/shared/config/development.json # Karma output /www/test_out # precommit temporary directories created by ./hack/verify-generated-docs.sh and ./hack/lib/util.sh /_tmp/ /doc_tmp/ # Test artifacts produced by Prow/kubetest2 jobs /_artifacts/ /_rundir/
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 08:22:06 UTC 2024 - 2.1K bytes - Viewed (0) -
src/image/color/color.go
// A batch version of this computation is in image/draw/draw.go. cr, cg, cb, ca := c.RGBA() ret, bestSum := 0, uint32(1<<32-1) for i, v := range p { vr, vg, vb, va := v.RGBA() sum := sqDiff(cr, vr) + sqDiff(cg, vg) + sqDiff(cb, vb) + sqDiff(ca, va) if sum < bestSum { if sum == 0 { return i } ret, bestSum = i, sum } } return ret }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 8.3K bytes - Viewed (0) -
subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildParallelIntegrationTest.groovy
} } } """ } (1..maxWorkers).each { dependency "org.test:sub${it}:1.0" expectedCalls << 'sub' + it } server.expectConcurrent(expectedCalls) then: execute(buildA, "jar", "--parallel", "--max-workers=$maxWorkers")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 01 03:07:53 UTC 2023 - 4.3K bytes - Viewed (0)