Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,155 for converts (0.14 sec)

  1. pilot/pkg/networking/util/util.go

    var ALPNDownstream = []string{"h2", "http/1.1"}
    
    // ConvertAddressToCidr converts from string to CIDR proto
    func ConvertAddressToCidr(addr string) *core.CidrRange {
    	cidr, err := AddrStrToCidrRange(addr)
    	if err != nil {
    		log.Errorf("failed to convert address %s to CidrRange: %v", addr, err)
    		return nil
    	}
    
    	return cidr
    }
    
    // AddrStrToCidrRange converts from string to CIDR prefix
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  2. pilot/pkg/model/authentication.go

    	MTLSStrict
    )
    
    // In Ambient, we convert k8s PeerAuthentication resources to the same type as AuthorizationPolicies
    // To prevent conflicts in xDS, we add this prefix to the converted PeerAuthentication resources.
    const convertedPeerAuthenticationPrefix = "converted_peer_authentication_" // use '_' character since those are illegal in k8s names
    
    // String converts MutualTLSMode to human readable string for debugging.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. tensorflow/cc/tools/freeze_saved_model.cc

                                                variable_node_names)
                       .ok()) {
          // If the node is a ReadVariableOp, its input VarHandleOp will be
          // converted to a Constant, so we will need to convert it to an Identity.
          ConvertReadVariableOpToIdentity(node, frozen_graph_def->add_node());
          continue;
        } else if (node.op() == "Identity") {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  4. pkg/security/security.go

    const (
    	ResourceSeparator = "~"
    )
    
    // GetResourceName converts a SdsCertificateConfig to a string to be used as an SDS resource name
    func (s SdsCertificateConfig) GetResourceName() string {
    	if s.IsKeyCertificate() {
    		return "file-cert:" + s.CertificatePath + ResourceSeparator + s.PrivateKeyPath // Format: file-cert:%s~%s
    	}
    	return ""
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.h

                         absl::flat_hash_set<Operation*> last_writes);
    
      // Enters a sequence of ops that have the same parallel id. This converts
      // stack state to per_resource_access_info_.
      void Enter();
    
      // Exits a sequence of ops that have the same parallel id. This converts
      // per_resource_access_info_ to stack state.
      void Exit();
    
      // Steps down one parallel nesting level (i.e. increase parallel id size
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GUtil.java

        }
    
        /**
         * Converts an arbitrary string to upper case identifier with words separated by _. Eg, camelCase -&gt; CAMEL_CASE
         */
        public static String toConstant(CharSequence string) {
            if (string == null) {
                return null;
            }
            return toWords(string, '_').toUpperCase(Locale.ROOT);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/defer_activation_transpose.cc

        rhs_op = SkipUpwardsOptionalBroadcastInDimOp(rhs_op);
    
        if (rhs_op == nullptr || !rhs_op->hasTrait<OpTrait::ConstantLike>()) {
          return failure();
        }
    
        // Match LHS permutation that converts: NHWC -> NCHW.
        return IsTransposeOpWithPermuation(lhs.getDefiningOp(),
                                           kNhwcToNchwPermutation);
      }
    
      void rewrite(AddOp op, PatternRewriter& rewriter) const override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/main/java/org/gradle/util/GUtil.java

                    first = false;
                } else {
                    formatter.format(", '%s'", name);
                }
            }
            return formatter.toString();
        }
    
        /**
         * Converts an arbitrary string to a camel-case string which can be used in a Java identifier. Eg, with_underscores -&gt; withUnderscores
         */
        public static String toCamelCase(CharSequence string) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509.go

    // VerifyOptions, and converts valid certificate chains into user.Info using the provided UserConversion
    func New(opts x509.VerifyOptions, user UserConversion) *Authenticator {
    	return NewDynamic(StaticVerifierFn(opts), user)
    }
    
    // NewDynamic returns a request.Authenticator that verifies client certificates using the provided
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 18 01:31:22 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/driver/config.go

    // fieldPtr returns a pointer to the field identified by f in *cfg.
    func (cfg *config) fieldPtr(f configField) interface{} {
    	// reflect.ValueOf: converts to reflect.Value
    	// Elem: dereferences cfg to make *cfg
    	// FieldByIndex: fetches the field
    	// Addr: takes address of field
    	// Interface: converts back from reflect.Value to a regular value
    	return reflect.ValueOf(cfg).Elem().FieldByIndex(f.field.Index).Addr().Interface()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top