Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 4,411 for def2 (0.11 sec)

  1. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/inet/TcpConnectorTest.groovy

        }
    
        @Issue("GRADLE-2316")
        def "does not detect self connect when outgoing connection bind to different ports"() {
            given:
            def action = Mock(Action)
            def socketChannel = SocketChannel.open()
            def acceptor = incomingConnector.accept(action, false)
            def communicationAddress = addressFactory.getLocalBindingAddress()
            def bindAnyPort = new InetSocketAddress(communicationAddress, 0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy

            then:
            _ * provider2.elementType >> type
            0 * _
        }
    
        def "can execute action to configure element when element is realized"() {
            containerAllowsExternalProviders()
            def action = Mock(Action)
            def provider1 = Mock(ProviderInternal)
            def provider2 = Mock(ProviderInternal)
            def provider3 = Mock(CollectionProviderInternal)
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/converter/StartParameterConverterTest.groovy

        def userHome = tmpDir.file("user-home")
    
        def "copies build layout options to start parameter"() {
            def projectDir = new File("project-dir").absoluteFile
    
            expect:
            def parameters = convert("--project-dir", "project-dir")
            parameters.gradleUserHomeDir == userHome
            parameters.projectDir == projectDir
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/LocalComponentGraphResolveStateFactoryTest.groovy

        }
    
        def "artifact is attached to child configurations"() {
            given:
            def artifact1 = artifactName()
            def artifact2 = artifactName()
            def artifact3 = artifactName()
            def file1 = new File("artifact-1.zip")
            def file2 = new File("artifact-2.zip")
            def file3 = new File("artifact-3.zip")
    
            def conf1 = dependencyScope("conf1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_op_enums.td

    // These should match the ActivationFunctionType enum in TFLite schema.
    def TFL_AFEnum_None  : I32EnumAttrCase<"NONE", 0>;
    def TFL_AFEnum_Relu  : I32EnumAttrCase<"RELU", 1>;
    def TFL_AFEnum_Relu1 : I32EnumAttrCase<"RELU_N1_TO_1", 2>;
    def TFL_AFEnum_Relu6 : I32EnumAttrCase<"RELU6", 3>;
    def TFL_AFEnum_Tanh  : I32EnumAttrCase<"TANH", 4>;
    def TFL_AFEnum_Sign  : I32EnumAttrCase<"SIGN_BIT", 5>;
    
    def TFL_AFAttr : TFL_AnyStrAttrOf<[
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 20 00:05:24 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultFileCollectionFactoryTest.groovy

            'array'            | (['abc', 'def'] as Object[])
            'FileCollection'   | fileCollectionOf(tmpDir.file('abc'), tmpDir.file('def'))
            'Callable'         | (({ ['abc', 'def'] } as Callable<Object>) as Object[])
            'Provider'         | providerReturning(['abc', 'def'])
            'nested objects'   | ({ [{ ['abc', { ['def'] as String[] }] }] } as Object[])
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/DefaultBuildControllerTest.groovy

            def target = Stub(GradleProjectIdentity)
            def buildState1 = Stub(BuildState)
            def buildState2 = Stub(BuildState)
            def buildState3 = Stub(BuildState)
            def projects3 = Stub(BuildProjectRegistry)
            def projectState = Stub(ProjectState)
            def model = new Object()
    
            given:
            _ * workerThreadRegistry.workerThread >> true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:56:30 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/execution/plan/ExecutionNodeAccessHierarchyTest.groovy

            def root = temporaryFolder.file("root")
    
            def rootNode = Mock(Node)
            def node1 = Mock(Node)
            def node2 = Mock(Node)
            def node3 = Mock(Node)
            def node4 = Mock(Node)
            def node5 = Mock(Node)
            def node6 = Mock(Node)
            def node7 = Mock(Node)
    
            hierarchy.recordNodeAccessingLocations(rootNode, [root.absolutePath])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 11 15:00:43 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy

            best == null
        }
    
        def "custom rule can select best match"() {
            def attr = Attribute.of(Flavor)
    
            given:
            schema.attribute(attr).disambiguationRules.add(CustomSelectionRule)
    
            def value1 = flavor('value1')
            def value2 = flavor('value2')
    
            def candidates = [value1, value2] as Set
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  10. platforms/ide/problems-api/src/test/groovy/org/gradle/internal/code/DefaultUserCodeApplicationContextTest.groovy

            }
    
            and:
            context.current() == null
        }
    
        def "can nest application"() {
            def source = Stub(UserCodeSource)
            def source2 = Stub(UserCodeSource)
            def action = Mock(Action)
            def action2 = Mock(Action)
            def id1
    
            when:
            context.apply(source, action)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 27 13:19:04 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top