- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 253 for dtoi (0.17 sec)
-
.typos.toml
"bui" = "bui" "dm2nd" = "dm2nd" "ot" = "ot" "ParseND" = "ParseND" "ParseNDStream" = "ParseNDStream" "pn" = "pn" "TestGetPartialObjectMisAligned" = "TestGetPartialObjectMisAligned" "thr" = "thr"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 18 15:15:02 UTC 2024 - 854 bytes - Viewed (0) -
internal/logger/config.go
queueSize, err := strconv.Atoi(queueSizeCfgVal) if err != nil { return cfg, err } if queueSize <= 0 { return cfg, errInvalidQueueSize } batchSizeCfgVal := getCfgVal(EnvLoggerWebhookBatchSize, k, kv.Get(BatchSize)) batchSize, err := strconv.Atoi(batchSizeCfgVal) if err != nil { return cfg, err } if batchSize <= 0 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.8K bytes - Viewed (0) -
pkg/kube/version.go
if err != nil { return -1 } v, err := strconv.Atoi(clusterVersion.Major + clusterVersion.Minor) if err != nil { // Apparently some clusters don't put proper numbers here. Try GitVersion vp, err := version.ParseGeneric(clusterVersion.GitVersion) if err != nil { // no good return -1 } np, err := strconv.Atoi(fmt.Sprintf("%d%d", vp.Major(), vp.Minor())) if err != nil { // no good...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 23:16:29 UTC 2024 - 2.8K bytes - Viewed (0) -
schema/index.go
tag = strings.Join(v[1:], ":") idx = strings.Index(tag, ",") tagSetting = strings.Join(strings.Split(tag, ",")[1:], ",") settings = ParseTagSetting(tagSetting, ",") length, _ = strconv.Atoi(settings["LENGTH"]) ) if idx == -1 { idx = len(tag) } if idx != -1 { name = tag[0:idx] } if name == "" { subName := field.Name
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 3.7K bytes - Viewed (0) -
internal/config/api/api.go
if err = config.CheckValidKeys(config.APISubSys, kvs, DefaultKVS, deprecatedKeys...); err != nil { return cfg, err } // Check environment variables parameters requestsMax, err := strconv.Atoi(env.Get(EnvAPIRequestsMax, kvs.GetWithDefault(apiRequestsMax, DefaultKVS))) if err != nil { return cfg, err } cfg.RequestsMax = requestsMax if requestsMax < 0 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.1K bytes - Viewed (1) -
internal/config/notify/parse.go
if err != nil { return nil, err } clientAuthEnv := target.EnvKafkaTLSClientAuth if k != config.Default { clientAuthEnv = clientAuthEnv + config.Default + k } clientAuth, err := strconv.Atoi(env.Get(clientAuthEnv, kv.Get(target.KafkaTLSClientAuth))) if err != nil { return nil, err } topicEnv := target.EnvKafkaTopic if k != config.Default { topicEnv = topicEnv + config.Default + k
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 46.4K bytes - Viewed (0) -
tensorflow/cc/client/client_session.cc
CHECK_NOTNULL(impl()->session_.get()); } // Define destructor here so we can forward declare `Impl` in client_session.h. // If we define a dtor in the header file or use the default dtor, // unique_ptr<Impl> needs the complete type. ClientSession::~ClientSession() {} SessionOptions ClientSession::Impl::MakeDefaultSessionOptions( const string& target) { SessionOptions options;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 28 09:04:10 UTC 2024 - 7.1K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner_llvm.go
} else { switch split := strings.Split(fileline, ":"); len(split) { case 3: // filename:line:column if col, err := strconv.Atoi(split[2]); err == nil { columnnumber = col } fallthrough case 2: // filename:line if line, err := strconv.Atoi(split[1]); err == nil { linenumber = line } fallthrough case 1: // filename fileline = split[0] default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/device_util.cc
llvm::SmallVector<llvm::StringRef, 3> cc; if (r->match(device.attributes().physical_device_desc(), &cc)) { return mlir::TF::GpuDeviceMetadata::get( builder->getContext(), std::stoi(cc[1].str()), std::stoi(cc[2].str())); } return builder->getUnitAttr(); } // Get devices from an array of string attributes. // TODO(ezhulenev): Update all tests to use dictionary attribute for
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go
// it is a String, will attempt a conversion to int, // returning 0 if a parsing error occurs. func (intstr *IntOrString) IntValue() int { if intstr.Type == String { i, _ := strconv.Atoi(intstr.StrVal) return i } return int(intstr.IntVal) } // MarshalJSON implements the json.Marshaller interface. func (intstr IntOrString) MarshalJSON() ([]byte, error) { switch intstr.Type {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:09 UTC 2024 - 7.8K bytes - Viewed (0)