Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,101 for defn (0.06 sec)

  1. 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)
  2. 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)
  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/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)
  5. subprojects/core/src/test/groovy/org/gradle/internal/problems/DefaultProblemDiagnosticsFactoryTest.groovy

        def locationAnalyzer = Mock(ProblemLocationAnalyzer)
        def userCodeContext = Mock(UserCodeApplicationContext)
        def factory = new DefaultProblemDiagnosticsFactory(DefaultFailureFactory.withDefaultClassifier(), locationAnalyzer, userCodeContext, 2)
    
        def "uses caller's stack trace to calculate problem location"() {
            given:
            def location = Stub(Location)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:15:42 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/ExclusiveCacheAccessingWorkerTest.groovy

            then:
            def e = thrown(RuntimeException)
            e == failure
    
            cleanup:
            cacheAccessWorker?.stop()
        }
    
        def "read completes after failed update"() {
            given:
            def failure = new RuntimeException()
            start(cacheAccessWorker)
    
            when:
            cacheAccessWorker.enqueue { throw failure }
            def result = cacheAccessWorker.read { 2 }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MethodInvocationSerializerTest.groovy

        }
    
        def "serializes method invocations for multiple methods"() {
            def method1 = String.class.getMethod("substring", Integer.TYPE, Integer.TYPE)
            def method2 = String.class.getMethod("substring", Integer.TYPE)
            def invocation1 = new MethodInvocation(method1, [1, 2] as Object[])
            def invocation2 = new MethodInvocation(method2, [3] as Object[])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/internal/build/ExecutionResultTest.groovy

            def otherSuccessful = ExecutionResult.succeeded()
            def failed = ExecutionResult.failed(failure1)
            def otherFailed = ExecutionResult.failed(failure2)
            def allFailed = ExecutionResult.maybeFailed([failure1, failure2])
    
            expect:
            def result = successful.withFailures(otherSuccessful)
            result.value == 12
            result.failures.empty
    
            def result2 = successful.withFailures(failed)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 03 03:31:42 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/DefaultImmutableAttributesFactoryTest.groovy

        private static final Attribute<String> BAZ = Attribute.of("baz", String)
    
        def isolatableFactory = SnapshotTestUtil.isolatableFactory()
        def instantiator = TestUtil.objectInstantiator()
    
        def factory = new DefaultImmutableAttributesFactory(isolatableFactory, instantiator)
    
        def "can create empty set"() {
            when:
            def attributes = factory.root
    
            then:
            attributes.empty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 07 17:59:06 UTC 2022
    - 8.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/DefaultModuleComponentArtifactIdentifierTest.groovy

            def nameOnly = new DefaultModuleComponentArtifactIdentifier(componentId, "name", "type", null, null)
            def nameOnlyFileName = new ComponentFileArtifactIdentifier(componentId, "name-version")
            nameOnly.displayName == nameOnlyFileName.displayName
        }
    
        //ComponentFileArtifactIdentifier
    
        def "calculates a file name from attributes"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top