Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for some_var (0.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_ops.mlir

      } : () -> ()
    
      // Representation for variables: mutable global tensor.
      // CHECK: tf_saved_model.global_tensor
      "tf_saved_model.global_tensor"() {
        is_mutable,
        tf_saved_model.exported_names = ["some_var", "some.other.name"],
        sym_name = "some_variable",
        type = tensor<?x64xf32>,
        value = dense<42.0> : tensor<1x64xf32>
      } : () -> ()
    
      // Representation for functions: func's with attributes.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 3K bytes
    - Viewed (0)
  2. docs/em/docs/how-to/sql-databases-peewee.md

    `ContextVar` ✔️ ✍ 🔝 🕹, 💖:
    
    ```Python
    some_var = ContextVar("some_var", default="default value")
    ```
    
    ⚒ 💲 ⚙️ ⏮️ "🔑" (✅ ⏮️ 📨) ⚙️:
    
    ```Python
    some_var.set("new value")
    ```
    
    🤚 💲 🙆 🔘 🔑 (✅ 🙆 🍕 🚚 ⏮️ 📨) ⚙️:
    
    ```Python
    some_var.get()
    ```
    
    ### ⚒ 🔑 🔢 `async` 🔗 `reset_db_state()`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/sql-databases-peewee.md

    ```Python
    some_var = ContextVar("some_var", default="default value")
    ```
    
    To set a value used in the current "context" (e.g. for the current request) use:
    
    ```Python
    some_var.set("new value")
    ```
    
    To get a value anywhere inside of the context (e.g. in any part handling the current request) use:
    
    ```Python
    some_var.get()
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 16 13:23:25 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathIntegrationTest.groovy

    <classpath>
    	<classpathentry kind="output" path="bin"/>
    	<classpathentry kind="con" path="$jreContainerPath"/>
    	<classpathentry kind="lib" path="/some/path/someDependency.jar"/>
    	<classpathentry kind="var" path="SOME_VAR/someVarDependency.jar"/>
    	<classpathentry kind="src" path="/someProject"/>
    </classpath>
    """
    
            //when
            runEclipseTask """
    apply plugin: 'java'
    apply plugin: 'eclipse'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 36.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/sources/process/ProviderCompatibleBaseExecSpecTestBase.groovy

            given:
            specUnderTest.environment("SOMEVAR", "someval")
    
            when:
            specUnderTest.setEnvironment(OTHERVAR: "otherval")
    
            then:
            specUnderTest.getEnvironment() == [OTHERVAR: "otherval"]
        }
    
        def "adding variables after setting environment is working"() {
            given:
            specUnderTest.setEnvironment(SOMEVAR: "someval")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/NullabilityChangesTest.kt

                v1 = """
                    class Source {
                        val someVal: String = "some"
                        var someVar: String = "some"
                        fun foo(): String = "bar"
                    }
                """,
                v2 = """
                    class Source {
                        val someVal: String? = null
                        var someVar: String? = null
                        fun foo(): String? = null
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.1K bytes
    - Viewed (0)
  7. tests/test_callable_endpoint.py

    from fastapi.testclient import TestClient
    
    
    def main(some_arg, q: Optional[str] = None):
        return {"some_arg": some_arg, "q": q}
    
    
    endpoint = partial(main, "foo")
    
    app = FastAPI()
    
    app.get("/")(endpoint)
    
    
    client = TestClient(app)
    
    
    def test_partial():
        response = client.get("/?q=bar")
        data = response.json()
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jun 28 18:13:30 UTC 2020
    - 457 bytes
    - Viewed (0)
  8. platforms/jvm/war/src/test/groovy/org/gradle/api/tasks/bundling/WarTest.groovy

        def "configures destinationDirectory for war tasks"() {
            when:
            project.pluginManager.apply(JavaBasePlugin)
            project.version = '1.0'
    
            then:
            def someWar = project.tasks.create('someWar', War)
            someWar.destinationDirectory.get().asFile == project.libsDirectory.get().asFile
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 18:51:45 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/build/KotlinDslTestProjectInitiation.groovy

                    a: a,
                    b: b
                ]
            )
        }
    
        String getBuildScriptDependency(someJar) {
            """
                buildscript {
                    dependencies {
                        classpath(files("${escapeString(someJar)}"))
                    }
                }
            """
        }
    
        TestFile withDefaultSettings() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/files/fileTrees/groovy/build.gradle

    FileTree tar = tarTree('someFile.tar')
    
    //tar tree attempts to guess the compression based on the file extension
    //however if you must specify the compression explicitly you can:
    FileTree someTar = tarTree(resources.gzip('someTar.ext'))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top