Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for Recognizes (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesBetweenBuildsFileSystemWatchingIntegrationTest.groovy

    import spock.lang.Issue
    
    @LocalOnly
    class ChangesBetweenBuildsFileSystemWatchingIntegrationTest extends AbstractFileSystemWatchingIntegrationTest {
    
        def "source file changes are recognized"() {
            buildFile << """
                apply plugin: "application"
    
                application.mainClass = "Main"
            """
    
            def mainSourceFileRelativePath = "src/main/java/Main.java"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go

    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes"
    	"k8s.io/apimachinery/pkg/runtime/serializer/recognizer"
    	util "k8s.io/apimachinery/pkg/util/runtime"
    
    	"github.com/fxamacker/cbor/v2"
    )
    
    type metaFactory interface {
    	// Interpret should return the version and kind of the wire-format of the object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/body.md

    **FastAPI** will recognize each of them and take the data from the correct place.
    
    === "Python 3.10+"
    
        ```Python hl_lines="16"
        {!> ../../../docs_src/body/tutorial004_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="18"
        {!> ../../../docs_src/body/tutorial004.py!}
        ```
    
    The function parameters will be recognized as follows:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top