Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for some_value (0.38 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops.mlir

      %result = tf_executor.graph {
        tf_executor.fetch %arg0 : tensor<*xf32> {attr3 = 32 : i64, tf_executor.attr_fetch = "some_value"}
      } {attr2 = 32 : i64, tf_executor.attr1 = "value1"}
    
    // CHECK:      tf_executor.graph {
    // CHECK-NEXT:    tf_executor.fetch %{{.*}} : tensor<*xf32> {attr3 = 32 : i64, tf_executor.attr_fetch = "some_value"}
    // CHECK-NEXT: } {attr2 = 32 : i64, tf_executor.attr1 = "value1"}
      func.return %result : tensor<*xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 25.8K bytes
    - Viewed (0)
  2. src/strings/strings_test.go

    		rune rune
    		want int
    	}{
    		{"", 'a', -1},
    		{"", '☺', -1},
    		{"foo", '☹', -1},
    		{"foo", 'o', 1},
    		{"foo☺bar", '☺', 3},
    		{"foo☺☻☹bar", '☹', 9},
    		{"a A x", 'A', 2},
    		{"some_text=some_value", '=', 9},
    		{"☺a", 'a', 3},
    		{"a☻☺b", '☺', 4},
    
    		// RuneError should match any invalid UTF-8 byte sequence.
    		{"�", '�', 0},
    		{"\xff", '�', 0},
    		{"☻x�", '�', len("☻x")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  3. src/bytes/bytes_test.go

    		rune rune
    		want int
    	}{
    		{"", 'a', -1},
    		{"", '☺', -1},
    		{"foo", '☹', -1},
    		{"foo", 'o', 1},
    		{"foo☺bar", '☺', 3},
    		{"foo☺☻☹bar", '☹', 9},
    		{"a A x", 'A', 2},
    		{"some_text=some_value", '=', 9},
    		{"☺a", 'a', 3},
    		{"a☻☺b", '☺', 4},
    
    		// RuneError should match any invalid UTF-8 byte sequence.
    		{"�", '�', 0},
    		{"\xff", '�', 0},
    		{"☻x�", '�', len("☻x")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            property.getOrElse(null) == someValue()
        }
    
        def "can set value using chaining method"() {
            given:
            def property = propertyWithNoValue()
            property.value(someValue())
    
            expect:
            property.get() == someValue()
        }
    
        def "can set value using provider"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/AbstractPropertySpec.groovy

            given:
            def property = propertyWithValue(someValue())
    
            when:
            def copy = property.shallowCopy()
    
            then:
            copy.orNull == someValue()
        }
    
        def "shallow copy of property does not follow changes to original"() {
            given:
            def property = propertyWithValue(someValue())
    
            when:
            def copy = property.shallowCopy()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 12:47:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/ProviderSpec.groovy

            then:
            result == someValue()
    
            and:
            1 * spec.isSatisfiedBy(someValue()) >> true
            0 * spec._
    
            when:
            assert filtered.getOrNull() == someValue()
            assert filtered.getOrElse(someOtherValue()) == someValue()
    
            then:
            2 * spec.isSatisfiedBy(someValue()) >> true
            0 * spec._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

            when:
            configurationCacheRun("${setterSwitch}property=someValue")
    
            then:
            configurationCache.assertStateStored()
            outputContains("configuration value = someValue")
            outputContains("execution value = someValue")
    
            when:
            configurationCacheRun("${setterSwitch}property=someValue")
    
            then:
            configurationCache.assertStateLoaded()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/java/archives/internal/DefaultAttributesTest.groovy

            when:
            attributes.put(':::', 'someValue')
    
            then:
            thrown(ManifestException)
    
            when:
            attributes.put(null, 'someValue')
    
            then:
            thrown(ManifestException)
        }
    
        def testKeyValidationWithPutAll() {
            when:
            attributes.putAll(':::': 'someValue')
    
            then:
            thrown(ManifestException)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_query_params_str_validations/test_tutorial014.py

    from docs_src.query_params_str_validations.tutorial014 import app
    
    client = TestClient(app)
    
    
    def test_hidden_query():
        response = client.get("/items?hidden_query=somevalue")
        assert response.status_code == 200, response.text
        assert response.json() == {"hidden_query": "somevalue"}
    
    
    def test_no_hidden_query():
        response = client.get("/items")
        assert response.status_code == 200, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/test/groovy/org/gradle/integtests/tooling/fixture/ToolingApiModelCheckerTest.groovy

            DummyModel actual = new DummyModel() {
                @Override
                String getValue() {
                    return "someValue"
                }
            }
    
            when:
            ToolingApiModelChecker.checkModel(
                actual,
                dummyModel("someValue"),
                [
                    { it.value }
                ]
            )
    
            then:
            noExceptionThrown()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 10:26:50 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top