- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 2,948 for integers (0.12 sec)
-
src/cmd/compile/internal/test/testdata/gen/arithConstGen.go
fd.Number = number } fncCnst2.Execute(w, fd) } } // signed test cases if len(s.i) > 0 { // don't generate tests for shifts by signed integers if o.name == "lsh" || o.name == "rsh" { continue } for _, i := range s.i { fd.Number = fmt.Sprintf("%d", i) fd.FNumber = strings.Replace(fd.Number, "-", "Neg", -1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 8.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/doc.go
// The third version of the Websocket RemoteCommand subprotocol adds another channel // for terminal resizing events. This channel is prepended with the byte '3', and it // transmits two window sizes (encoding TerminalSize struct) with integers in the range // (0,65536]. // // "v4.channel.k8s.io" // // The fourth version of the Websocket RemoteCommand subprotocol adds a channel for
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 05 18:37:18 UTC 2023 - 2.9K bytes - Viewed (0) -
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) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
@Override protected SortedSet<Integer> create(Integer[] elements) { return checkedCreate(nullCheckedTreeSet(elements)); } } public static class ContiguousSetHeadsetGenerator extends AbstractContiguousSetGenerator { @Override protected SortedSet<Integer> create(Integer[] elements) { SortedSet<Integer> set = nullCheckedTreeSet(elements);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 15.5K bytes - Viewed (0) -
android/guava/src/com/google/common/math/BigIntegerMath.java
BigInteger halfSquare = sqrtFloor.pow(2).add(sqrtFloor); /* * We wish to test whether or not x <= (sqrtFloor + 0.5)^2 = halfSquare + 0.25. Since both x * and halfSquare are integers, this is equivalent to testing whether or not x <= * halfSquare. */ return (halfSquare.compareTo(x) >= 0) ? sqrtFloor : sqrtFloor.add(BigInteger.ONE); default:
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 18.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/rand/rand.go
func Int() int { rng.Lock() defer rng.Unlock() return rng.rand.Int() } // Intn generates an integer in range [0,max). // By design this should panic if input is invalid, <= 0. func Intn(max int) int { rng.Lock() defer rng.Unlock() return rng.rand.Intn(max) } // IntnRange generates an integer in range [min,max). // By design this should panic if input is invalid, <= 0. func IntnRange(min, max int) int {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 11 11:02:01 UTC 2018 - 3.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
@Override protected SortedSet<Integer> create(Integer[] elements) { return checkedCreate(nullCheckedTreeSet(elements)); } } public static class ContiguousSetHeadsetGenerator extends AbstractContiguousSetGenerator { @Override protected SortedSet<Integer> create(Integer[] elements) { SortedSet<Integer> set = nullCheckedTreeSet(elements);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 15.5K bytes - Viewed (0) -
src/mdo/java/InputLocation.java
* * @param target the target location * @param source the source location * @param indices the list of integers for the indices * @return the merged location */ public static InputLocation merge(InputLocation target, InputLocation source, Collection<Integer> indices) { if (source == null) { return target; } else if (target == null) { return source;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 07 21:28:01 UTC 2024 - 5.9K bytes - Viewed (0) -
guava/src/com/google/common/math/BigIntegerMath.java
BigInteger halfSquare = sqrtFloor.pow(2).add(sqrtFloor); /* * We wish to test whether or not x <= (sqrtFloor + 0.5)^2 = halfSquare + 0.25. Since both x * and halfSquare are integers, this is equivalent to testing whether or not x <= * halfSquare. */ return (halfSquare.compareTo(x) >= 0) ? sqrtFloor : sqrtFloor.add(BigInteger.ONE); default:
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 18.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/biasedsparsemap.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ssa import ( "math" ) // A biasedSparseMap is a sparseMap for integers between J and K inclusive, // where J might be somewhat larger than zero (and K-J is probably much smaller than J). // (The motivating use case is the line numbers of statements for a single function.)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 21:41:06 UTC 2022 - 2.7K bytes - Viewed (0)