- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 86 for dtoi (0.05 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) -
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) -
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) -
src/os/user/cgo_lookup_unix.go
} if err != nil { return nil, fmt.Errorf("user: lookup username %s: %v", username, err) } return buildUser(&pwd), err } func lookupUserId(uid string) (*User, error) { i, e := strconv.Atoi(uid) if e != nil { return nil, e } return lookupUnixUid(i) } func lookupUnixUid(uid int) (*User, error) { var pwd _C_struct_passwd var found bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:08:14 UTC 2024 - 5.2K bytes - Viewed (0) -
operator/pkg/util/path.go
} // IsNPathElement report whether pe is an index path element. func IsNPathElement(pe string) bool { pe, ok := RemoveBrackets(pe) if !ok { return false } n, err := strconv.Atoi(pe) return err == nil && n >= InsertIndex } // PathKV returns the key and value string parts of the entire key/value path element. // It returns an error if pe is not a key/value path element.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 12 17:12:54 UTC 2023 - 5.5K bytes - Viewed (0) -
src/go/build/constraint/vers.go
return minVersion(z.X, -sign) case *TagExpr: if sign < 0 { // !foo implies nothing return -1 } if z.Tag == "go1" { return 0 } _, v, _ := strings.Cut(z.Tag, "go1.") n, err := strconv.Atoi(v) if err != nil { // not a go1.N tag return -1 } return n } } // andVersion returns the minimum Go version // implied by the AND of two minimum Go versions,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 27 14:19:00 UTC 2023 - 2.2K bytes - Viewed (0)