Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 408 for defn (0.09 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

        def classpathWalker = new ClasspathWalker(TestFiles.fileSystem())
        def classpathBuilder = new DefaultClasspathBuilder(TestFiles.tmpDirTemporaryFileProvider(testDirectoryProvider.createDir("tmp")))
        def fileSystemAccess = TestFiles.fileSystemAccess()
        def globalCacheLocations = Stub(GlobalCacheLocations)
        def fileLockManager = Stub(FileLockManager)
        def agentStatus = Stub(AgentStatus) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/configuration/internal/DefaultListenerBuildOperationDecoratorTest.groovy

        }
    
        def 'decorates listeners that are a combination of listener interfaces'() {
            given:
            def settingsEvaluatedArg = Mock(Settings)
            def projectsLoadedArg = Mock(Gradle)
            def beforeEvaluateArg = Mock(Project)
            def graphPopulatedArg = Mock(TaskExecutionGraph)
            def listener = Mock(ComboListener)
            def id
            def decoratedListener
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 14:54:57 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

                        $num_bits, $narrow_range)))>;
    
    def LegalizeFill : Pat<(TF_FillOp $arg, $value), (TFL_FillOp $arg, $value)>;
    
    def LegalizeFloor : Pat<(TF_FloorOp $arg), (TFL_FloorOp $arg)>;
    
    def LegalizeLeakyRelu : Pat<(TF_LeakyReluOp $arg, F32Attr:$a),
                                (TFL_LeakyReluOp $arg, $a)>;
    
    def LegalizeLog : Pat<(TF_LogOp $arg), (TFL_LogOp $arg)>;
    
    def LegalizeLog1p : Pat<
      (TF_Log1pOp F32Tensor:$arg),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  4. docs/az/docs/index.md

    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>Və ya <code>async def</code>...</summary>
    
    Əgər kodunuzda `async` və ya `await` vardırsa `async def` istifadə edə bilərik:
    
    ```Python hl_lines="9  14"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/DefaultModuleRegistryTest.groovy

        }
    
        def "ignores external module jar from runtime ClassLoader"() {
            def classesDir = tmpDir.createDir("some-module/build/classes/java/main")
            def staticResourcesDir = tmpDir.createDir("some-module/src/main/resources")
            def cl = classLoaderFor([externalDependency, classesDir, resourcesDir, staticResourcesDir, externalRuntimeDep])
            def registry = new DefaultModuleRegistry(cl, ClassPath.EMPTY, null)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/DefaultExecutorFactoryTest.groovy

            then:
            def ex = thrown(RuntimeException)
            ex.is(failure1)
        }
    
        def stopOfFixedSizedScheduledExecutorRethrowsFirstExecutionException() {
            given:
            def failure1 = new RuntimeException()
            def action1 = {
                throw failure1
            }
    
            def failure2 = new RuntimeException()
            def action2 = {
                instant.broken2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/internal/model/StateTransitionControllerTest.groovy

            e.message == "Can only transition <state> to state B from state A however it is currently in state B."
    
            and:
            0 * _
        }
    
        def "fails transition when previous transition has failed"() {
            def action = Mock(Runnable)
            def failure = new RuntimeException()
            def controller = controller(TestState.A)
    
            when:
            asWorker {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/services/internal/DefaultBuildServicesRegistryTest.groovy

            given:
            def action = Mock(Action)
    
            when:
            def provider = registerService("service", NoParamsServiceImpl, action)
    
            then:
            1 * action.execute(_)
    
            when:
            def service = provider.get()
    
            then:
            service != null
        }
    
        def "service can be create without action"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/DependencyGraphBuilderTest.groovy

    class DependencyGraphBuilderTest extends Specification {
        def conflictResolver = Mock(ModuleConflictResolver)
        def idResolver = Mock(DependencyToComponentIdResolver)
        def metaDataResolver = Mock(ComponentMetaDataResolver)
        def attributesSchema = Mock(AttributesSchemaInternal)
        def attributes = ImmutableAttributes.EMPTY
        def moduleReplacements = Mock(ModuleReplacementsData)
        def moduleIdentifierFactory = Mock(ImmutableModuleIdentifierFactory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccessTest.groovy

            1 * lock.close()
            0 * _
        }
    
        def "notifies handler when lock is acquired and released"() {
            def action = Mock(Supplier)
            def onOpen = Mock(Consumer)
            def onClose = Mock(Consumer)
            def lock = Mock(FileLock)
            def signal = Mock(FileLockReleasedSignal)
            Consumer contendedAction
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top