Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for objectValue (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/value.go

    // NewObjectValue creates a struct value with a schema type and returns the empty ObjectValue.
    func NewObjectValue(sType *DeclType) *ObjectValue {
    	return &ObjectValue{
    		structValue: newStructValue(),
    		objectType:  sType,
    	}
    }
    
    // ObjectValue is a struct with a custom schema type which indicates the fields and types
    // associated with the structure.
    type ObjectValue struct {
    	*structValue
    	objectType *DeclType
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 20.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/configurationCache/sharedObjects/groovy/build.gradle

        List<String> strings
    }
    
    
    tasks.register("checkEquality", StatefulTask) {
        def objectValue = new StateObject()
        def stringsValue = ["a", "b"] as ArrayList<String>
    
        stateObject = objectValue
        strings = stringsValue
    
        doLast { // <1>
            println("POJO reference equality: ${stateObject === objectValue}") // <2>
            println("Collection reference equality: ${strings === stringsValue}") // <3>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 641 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/configurationCache/sharedObjects/kotlin/build.gradle.kts

        var strings: List<String>? = null
    }
    
    
    tasks.register<StatefulTask>("checkEquality") {
        val objectValue = StateObject()
        val stringsValue = arrayListOf("a", "b")
    
        stateObject = objectValue
        strings = stringsValue
    
        doLast { // <1>
            println("POJO reference equality: ${stateObject === objectValue}") // <2>
            println("Collection reference equality: ${strings === stringsValue}") // <3>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 657 bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/OptionReaderTest.groovy

            @Option(option = "objectValue", description = "object value")
            public void setObjectValue(Object value) {
            }
        }
    
        public static abstract class AbstractTestClassWithTwoInterfacesWithSameMethod implements TestInterface, TestInterfaceWithSameFunctionButDifferentOptionName {
            @Option(option = "objectValue", description = "object value")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 10 12:45:01 UTC 2023
    - 33.4K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/bundle_v2_test.cc

                api_count + 1);
      // Check that the gauge contains the path and fingerprint.
      EXPECT_EQ(metrics::SavedModelReadPath().value(), export_dir);
    
      Json::Value fingerprint = Json::objectValue;
      Json::Reader reader = Json::Reader();
      reader.parse(metrics::SavedModelReadFingerprint().value(), fingerprint);
      EXPECT_EQ(fingerprint["saved_model_checksum"].asUInt64(),
                15788619162413586750ULL);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 12 17:51:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. tensorflow/cc/saved_model/metrics_test.cc

          "2,\n\t\"saved_model_checksum\" : 1,\n\t\"saved_object_graph_hash\" : "
          "4,\n\t\"signature_def_hash\" : 3\n}");
    
      Json::Value fingerprint_json = Json::objectValue;
      Json::Reader reader = Json::Reader();
      reader.parse(serialized_fingerprint_json, fingerprint_json);
      EXPECT_EQ(fingerprint_json["saved_model_checksum"].asUInt64(), 1);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 23:43:59 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. tensorflow/cc/saved_model/metrics.cc

      return *saved_model_write_path_and_singleprint->GetCell();
    }
    
    std::string MakeFingerprintJson(FingerprintDef fingerprint_def) {
      Json::Value fingerprint = Json::objectValue;
      fingerprint["saved_model_checksum"] =
          Json::UInt64(fingerprint_def.saved_model_checksum());
      fingerprint["graph_def_program_hash"] =
          Json::UInt64(fingerprint_def.graph_def_program_hash());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 23:43:59 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top