Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 681 for reserialized (0.54 sec)

  1. src/crypto/x509/pkcs8_test.go

    			continue
    		}
    		reserialised, err := MarshalPKCS8PrivateKey(privKey)
    		if err != nil {
    			t.Errorf("%s: failed to marshal into PKCS#8: %s", test.name, err)
    			continue
    		}
    		if !bytes.Equal(derBytes, reserialised) {
    			t.Errorf("%s: marshaled PKCS#8 didn't match original: got %x, want %x", test.name, reserialised, derBytes)
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 19 16:45:10 UTC 2022
    - 9K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/SerializationTest.kt

        private
        val pluginsSchema: AnalysisSchema = schema
    
        @Test
        fun `schema is serializable`() {
            val serialized = SchemaSerialization.schemaToJsonString(pluginsSchema)
            val deserialized = SchemaSerialization.schemaFromJsonString(serialized)
    
            val result = deserialized.resolve(
                """
                plugins {
                    id("test")
                }
                """.trimIndent()
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:07:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/interfaces.go

    }
    
    // Decoder attempts to load an object from data.
    type Decoder interface {
    	// Decode attempts to deserialize the provided data using either the innate typing of the scheme or the
    	// default kind, group, and version provided. It returns a decoded object as well as the kind, group, and
    	// version from the serialized data, or an error. If into is non-nil, it will be used as the target type
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 03:26:35 UTC 2023
    - 19K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/cc/pass_pipeline.h

        const ::stablehlo::quantization::PipelineConfig& pipeline_config,
        const ::stablehlo::quantization::DebuggerConfig& debugger_config);
    
    // Deserializes StableHLO functions serialized and embedded in XlaCallModuleOps.
    void AddXlaCallModuleOpDeserializationPasses(OpPassManager& pm);
    
    // Legalizes shape/tensor/arith dialect ops to StableHLO for handling dynamic
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 12:53:33 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/PhasedActionEventConsumerTest.groovy

        }
    
        def "deserialize and correctly map results"() {
            def result1 = 'result1'
            def serializedResult1 = Stub(SerializedPayload)
            def result2 = 'result2'
            def serializedResult2 = Stub(SerializedPayload)
    
            given:
            payloadSerializer.deserialize(serializedResult1) >> result1
            payloadSerializer.deserialize(serializedResult2) >> result2
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_xla_call_module_op_to_bfloat16.cc

    absl::StatusOr<std::string> ConvertSerializedStableHloModuleToBfloat16(
        const StringRef serialized_stablehlo_module) {
      // StableHLO module is empty often because the XlaCallModuleOp is already
      // deserialized, e.g. after invoking XlaCallModuleDeserializationPass. We
      // don't handle this situation.
      if (serialized_stablehlo_module.empty()) {
        return absl::InvalidArgumentError("StableHLO module is empty.");
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 08:32:43 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. cmd/xl-storage-meta-inline.go

    	}
    
    	// Add one more.
    	if !replaced {
    		keys = append(keys, []byte(key))
    		vals = append(vals, value)
    		plSize += len(key) + len(value) + msgp.StringPrefixSize + msgp.ArrayHeaderSize
    	}
    
    	// Reserialize...
    	x.serialize(plSize, keys, vals)
    }
    
    // rename will rename a key.
    // Returns whether the key was found.
    func (x *xlMetaInlineData) rename(oldKey, newKey string) bool {
    	in := x.afterVersion()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MethodInvocationSerializerTest.groovy

            def method = String.class.getMethod("substring", Integer.TYPE, Integer.TYPE)
            def invocation = new MethodInvocation(method, [1, 2] as Object[])
    
            when:
            def serialized = serialize(invocation)
            def result = deserialize(serialized)
    
            then:
            result.method == method
            result.arguments == [1, 2] as Object[]
        }
    
        interface Thing {
            String doStuff(Thing[] things)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      public void testEqualsAndHashCode() {
        new EqualsTester()
            .addEqualityGroup(Optional.absent(), reserialize(Optional.absent()))
            .addEqualityGroup(Optional.of(Long.valueOf(5)), reserialize(Optional.of(Long.valueOf(5))))
            .addEqualityGroup(Optional.of(Long.valueOf(42)), reserialize(Optional.of(Long.valueOf(42))))
            .testEquals();
      }
    
      public void testToString_absent() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java

        return proxyClass.isInstance(arg)
            // Equal proxy instances should mostly be instance of proxyClass
            // Under some edge cases (such as the proxy of JDK types serialized and then deserialized)
            // the proxy type may not be the same.
            // We first check isProxyClass() so that the common case of comparing with non-proxy objects
            // is efficient.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 5.2K bytes
    - Viewed (0)
Back to top