Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for castle (2.68 sec)

  1. tensorflow/cc/experimental/libtf/tests/value_test.cc

      ASSERT_EQ(alloc_count, 0);
      void* ptr_value = new Cool();
      {
        TaggedValue capsule =
            TaggedValue::Capsule(static_cast<void*>(ptr_value),
                                 [](void* x) { delete static_cast<Cool*>(x); });
        ASSERT_EQ(alloc_count, 1);
        ASSERT_EQ(capsule.capsule(), ptr_value);
        test_moved = std::move(capsule);
        ASSERT_EQ(capsule.type(), TaggedValue::NONE);  // NOLINT
        test_copy = test_moved;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 01 11:18:25 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/optimize.mlir

    // CHECK: %[[CAST_1:.*]] = "tf.Cast"(%[[CLIPBYVALUE_0]]) <{Truncate = false}> : (tensor<1x100x100x1xi32>) -> tensor<1x100x100x1xf32>
    
    // CHECK: %[[CLIPBYVALUE_1:.*]] = "tf.ClipByValue"
    // CHECK-SAME: (tensor<1x98x98x1xi32>, tensor<i32>, tensor<i32>) -> tensor<1x98x98x1xi32>
    // CHECK: %[[CAST_3:.*]] = "tf.Cast"(%[[CLIPBYVALUE_1]]) <{Truncate = false}> : (tensor<1x98x98x1xi32>) -> tensor<1x98x98x1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  3. pkg/kubelet/client/kubelet_client_test.go

    	config := &KubeletClientConfig{
    		// Invalid certificate and key path
    		TLSClientConfig: KubeletTLSConfig{
    			CertFile: "../../client/testdata/mycertinvalid.cer",
    			KeyFile:  "../../client/testdata/mycertinvalid.key",
    			CAFile:   "../../client/testdata/myCA.cer",
    		},
    	}
    
    	rt, err := MakeTransport(config)
    	if err == nil {
    		t.Errorf("Expected an error")
    	}
    	if rt != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 07 01:34:49 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. tensorflow/cc/experimental/libtf/runtime/runtime.h

            num_elements, "\n", "Data size: ", data.size(), "\n"));
      }
      auto maybe_capsule = Get<internal::Capsule>(String("ctx"));
      if (!maybe_capsule.status().ok()) {
        return maybe_capsule.status();
      }
      auto capsule = maybe_capsule.value();
      auto ctx = capsule.cast<tensorflow::ImmediateExecutionContext*>();
      tensorflow::AbstractTensorPtr t(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 01 11:18:25 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  5. src/internal/zstd/testdata/1890a371.gettysburg.txt-100x.zst

    nation, conceived in Liberty, and dedicated to the proposition that all men are created equal. Now we are engaged in a great Civil War, testing whether that nation, or any nation so conceived and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate a portion of that field, as a final resting place for those who here gave their lives that that nation might live. It is altogether fitting and proper that we should do this. But, in a larger sense, we can...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 14:35:13 UTC 2023
    - 826 bytes
    - Viewed (0)
  6. pkg/test/echo/cmd/client/main.go

    			Key:   parts[0],
    			Value: strings.Trim(parts[1], " "),
    		})
    	}
    
    	if clientCert != "" && clientKey != "" {
    		request.CertFile = clientCert
    		request.KeyFile = clientKey
    	}
    	if caFile != "" {
    		request.CaCertFile = caFile
    	}
    	return request, nil
    }
    
    func main() {
    	if err := rootCmd.Execute(); err != nil {
    		os.Exit(-1)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  7. pilot/cmd/pilot-agent/options/security.go

    	credFetcherTypeEnv, credIdentityProvider string,
    ) (*security.Options, error) {
    	jwtPath := constants.ThirdPartyJwtPath
    	switch jwtPolicy {
    	case jwt.PolicyThirdParty:
    		log.Info("JWT policy is third-party-jwt")
    		jwtPath = constants.ThirdPartyJwtPath
    	case jwt.PolicyFirstParty:
    		log.Warnf("Using deprecated JWT policy 'first-party-jwt'; treating as 'third-party-jwt'")
    		jwtPath = constants.ThirdPartyJwtPath
    	default:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/ExcludeJsonLogToCode.groovy

                    break
                case "exclude module":
                    return "module('${anonymize(value)}')"
                case "exclude module id":
                    def (group, name) = value.split(':')
                    return "moduleId('${anonymize(group)}', '${anonymize(name)}')"
                case "module names":
                    return "moduleSet(${value.collect { "'${anonymize(it)}'" }.join(', ')})"
                case "module ids":
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. tensorflow/cc/experimental/libtf/tests/tensor_test.cc

    TaggedValue MakeContext(T runtime) {
      AbstractContext* ctx_raw = nullptr;
      Status s = BuildImmediateExecutionContext(runtime, &ctx_raw);
      // ASSERT_EQ(tensorflow::errors::OK, s.code()) << s.message();
      return TaggedValue::Capsule(static_cast<void*>(ctx_raw), [](void* p) {
        tensorflow::internal::AbstractContextDeleter()(
            static_cast<AbstractContext*>(p));
      });
    }
    }  // namespace
    
    TEST_P(UnifiedCAPI, HoldTensors) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 21:44:52 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. cni/pkg/install/kubeconfig.go

    	}
    
    	if cfg.SkipTLSVerify {
    		// User explicitly opted into insecure.
    		cluster.InsecureSkipTLSVerify = true
    	} else {
    		caFile := model.GetOrDefault(cfg.KubeCAFile, cfg.K8sServiceAccountPath+"/ca.crt")
    		caContents, err := os.ReadFile(caFile)
    		if err != nil {
    			return kubeconfig{}, err
    		}
    		cluster.CertificateAuthorityData = caContents
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top