- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 405 for Recognizes (0.36 sec)
-
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/KotlinBuildScriptPatternTest.kt
) } @Test fun `recognizes build scripts from script templates`() { checkScriptRecognizedBy(KotlinProjectScriptTemplate::class, ScriptType.BUILD) } @Test fun `recognizes settings scripts from script templates`() { checkScriptRecognizedBy(KotlinSettingsScriptTemplate::class, ScriptType.SETTINGS) } @Test fun `recognizes init scripts from script templates`() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go
in []byte recognizes bool }{ { in: nil, recognizes: false, }, { in: []byte{}, recognizes: false, }, { in: []byte{0xd9}, recognizes: false, }, { in: []byte{0xd9, 0xd9}, recognizes: false, }, { in: []byte{0xd9, 0xd9, 0xf7}, recognizes: true, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 13 14:57:12 UTC 2024 - 20.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultIgnoredConfigurationInputsTest.kt
assertFalse(instance.isFileSystemCheckIgnoredFor(File("xyz/abc"))) } @Test fun `recognizes relative paths against rootDirectory`() { val instance = createFromPaths(listOf("test/123")) assertTrue(instance.isFileSystemCheckIgnoredFor(rootDir.resolve("test/123"))) } @Test fun `recognizes multiple paths`() { val instance = createFromPaths(listOf("path/one", "path/two"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DaemonForkOptionsBuilderTest.groovy
def "ignores other options"() { expect: !DaemonForkOptionsBuilder.findUnreliableArgument(["--show-version", "-ea", "pkg.Main"]).isPresent() } def "recognizes unreliable options in JVM args"() { expect: DaemonForkOptionsBuilder.findUnreliableArgument(options).get() == options[0] where: options << [ ["-cp", "/path/to/jar"],
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 2K bytes - Viewed (0) -
test/nowritebarrier.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test go:nowritebarrier and related directives. // This must appear to be in package runtime so the compiler // recognizes "systemstack". package runtime type t struct { f *t } var x t var y *t //go:nowritebarrier func a1() { x.f = y // ERROR "write barrier prohibited" a2() // no error }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:18:21 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/CachingExcludeFactory.java
} @Override public ExcludeSpec allOf(Set<ExcludeSpec> specs) { return caches.getAllOf(new ExcludesKey(specs), key -> delegate.allOf(key.specs)); } /** * A special key which recognizes the fact union and intersection * are commutative. */ private final static class ExcludePair { private final ExcludeSpec left; private final ExcludeSpec right;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 6.4K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/templates/build-src-plugin-java-module-transform/buildSrc/src/main/java/org/gradle/sample/transform/javamodules/ExtraModuleInfoPlugin.java
c -> c.getAttributes().attribute(javaModule, true)); // all Jars have a javaModule=false attribute by default; the transform also recognizes modules and returns them without modification project.getDependencies().getArtifactTypes().getByName("jar").getAttributes().attribute(javaModule, false);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/test/runtime_serializer_protobuf_protobuf_test.go
if ok, _, err := s.RecognizesData(data); err != nil || ok { t.Errorf("%d: should not recognize data: %v", i, err) } } recognizes := [][]byte{ {0x6b, 0x38, 0x73, 0x00}, {0x6b, 0x38, 0x73, 0x00, 0x01}, } for i, data := range recognizes { if ok, _, err := s.RecognizesData(data); err != nil || !ok { t.Errorf("%d: should recognize data: %v", i, err) } } } func TestEncode(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:16 UTC 2023 - 8.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/helper.go
for _, t := range m { gvks, unversionedType, err = t.ObjectKinds(obj) if err == nil { return } } return } func (m MultiObjectTyper) Recognizes(gvk schema.GroupVersionKind) bool { for _, t := range m { if t.Recognizes(gvk) { return true } } return false } // SetZeroValue would set the object of objPtr to zero value of its type. func SetZeroValue(objPtr Object) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 13 22:54:34 UTC 2023 - 8.4K bytes - Viewed (0) -
testing/soak/src/integTest/groovy/org/gradle/launcher/daemon/DaemonPerformanceMonitoringSoakTest.groovy
State.map.put(UUID.randomUUID(), "foo" * ${leakRate}) } println "Build: " + State.x } catch(OutOfMemoryError e) { // TeamCity recognizes this message as build failures if it occurs in build log throw new OutOfMemoryError(e?.message?.replace(' ', '_')) } """ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.7K bytes - Viewed (0)