- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 85 for integers (0.49 sec)
-
src/cmd/compile/internal/ssa/export_test.go
func (c *Conf) Temp(typ *types.Type) *ir.Name { n := ir.NewNameAt(src.NoXPos, &types.Sym{Name: "aFakeAuto"}, typ) n.Class = ir.PAUTO return n } // TestFrontend is a test-only frontend. // It assumes 64 bit integers and pointers. type TestFrontend struct { t testing.TB ctxt *obj.Link f *ir.Func } func (TestFrontend) StringData(s string) *obj.LSym { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 21:19:39 UTC 2024 - 3.2K bytes - Viewed (0) -
pilot/pkg/networking/core/route/retry/retry.go
out.NumRetries = &wrappers.UInt32Value{Value: uint32(in.Attempts)} if in.RetryOn != "" { // Allow the incoming configuration to specify both Envoy RetryOn and RetriableStatusCodes. Any integers are // assumed to be status codes. out.RetryOn, out.RetriableStatusCodes = parseRetryOn(in.RetryOn) // If user has just specified HTTP status codes in retryOn but have not specified "retriable-status-codes", let us add it.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 5K bytes - Viewed (0) -
src/os/exec_posix.go
code := status.ExitStatus() if runtime.GOOS == "windows" && uint(code) >= 1<<16 { // windows uses large hex numbers res = "exit status " + itoa.Uitox(uint(code)) } else { // unix systems use small decimal integers res = "exit status " + itoa.Itoa(code) // unix } case status.Signaled(): res = "signal: " + status.Signal().String() case status.Stopped(): res = "stop signal: " + status.StopSignal().String()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 3.7K bytes - Viewed (0) -
src/runtime/mksizeclasses.go
max := c.npages * pageSize // As reported in [1], if n and d are unsigned N-bit integers, we // can compute n / d as ⌊n * c / 2^F⌋, where c is ⌈2^F / d⌉ and F is // computed with: // // Algorithm 2: Algorithm to select the number of fractional bits // and the scaled approximate reciprocal in the case of unsigned // integers. // // if d is a power of two then // Let F ← log₂(d) and c = 1. // else
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:27 UTC 2024 - 9.6K bytes - Viewed (0) -
src/internal/types/testdata/spec/range_int.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This is a subset of the tests in range.go for range over integers, // with extra tests, and without the need for -goexperiment=range. package p // test framework assumes 64-bit int/uint sizes by default const ( maxInt = 1<<63 - 1 maxUint = 1<<64 - 1 ) type MyInt int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 18:56:00 UTC 2024 - 4.7K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa_legacy.go
// using the private key, priv. If the hash is longer than the bit-length of the // private key's curve order, the hash will be truncated to that length. It // returns the signature as a pair of integers. Most applications should use // [SignASN1] instead of dealing directly with r, s. func Sign(rand io.Reader, priv *PrivateKey, hash []byte) (r, s *big.Int, err error) { sig, err := SignASN1(rand, priv, hash) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/jit/device_util.h
#include "xla/statusor.h" #include "tensorflow/core/framework/types.h" namespace tensorflow { namespace jit { class DeviceInfoCache; class DeviceSet; // Instances of DeviceId represent TensorFlow devices as integers. // // This helps avoid having to manipulate device names as strings when // auto-clustering. class DeviceId { public: DeviceId(DeviceId&&) = default; DeviceId(const DeviceId&) = default;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 17:18:31 UTC 2024 - 7.1K bytes - Viewed (0) -
src/crypto/x509/oid.go
// Thus the representation is either non-minimal or too large for an int32 if shifted == 5 { failed = true return } ret64 <<= 7 b := bytes[offset] // integers should be minimally encoded, so the leading octet should // never be 0x80 if shifted == 0 && b == 0x80 { failed = true return } ret64 |= int64(b & 0x7f) offset++ if b&0x80 == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 19:10:38 UTC 2024 - 8.3K bytes - Viewed (0) -
src/log/slog/value_test.go
if a != 0 { t.Errorf("got %d allocs, want zero", a) } _ = u _ = f _ = b _ = s _ = x _ = tm } func TestAnyLevelAlloc(t *testing.T) { // Because typical Levels are small integers, // they are zero-alloc. var a Value x := LevelDebug + 100 wantAllocs(t, 0, func() { a = AnyValue(x) }) _ = a } func TestAnyValue(t *testing.T) { for _, test := range []struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:12:08 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/api/internal/jvm/JavaVersionParser.java
} } private static boolean isLegacyVersion(List<Integer> versions) { return 1 == versions.get(0) && versions.size() > 1; } private static List<Integer> convertToNumber(String value, String[] versionStrs) { List<Integer> result = new ArrayList<Integer>(); for (String s : versionStrs) { assertTrue(value, !isNumberStartingWithZero(s));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 2.8K bytes - Viewed (0)