- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 180 for Odd (0.02 sec)
-
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
*/ if (throwable instanceof Error) { /* * TODO(cpovirk): Do we really want to log this if we called setException(throwable) and it * returned true? This was intentional (CL 46470009), but it seems odd compared to how we * normally handle Error. * * Similarly, do we really want to log the same Error more than once? */ log(throwable); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
// against this issue public void testEnumBufferSize () throws IOException { CIFSContext ctx = getContext(); int origBufferSize = ctx.getConfig().getMaximumBufferSize(); // odd buffer size that does match the alignment int tryBufferSize = 1023; final int bufSize[] = new int[] { origBufferSize };
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 25.5K bytes - Viewed (0) -
pilot/pkg/config/file/store.go
oldSha, found := s.shas[key] if !found || oldSha != r.sha { scope.Debugf("KubeSource.ApplyContent: Set: %v/%v", r.schema.GroupVersionKind(), r.fullName()) // apply is idempotent, but configstore is not, thus the odd logic here _, err := s.inner.Update(*r.config) if err != nil { _, err = s.inner.Create(*r.config) if err != nil { return fmt.Errorf("cannot store config %s/%s %s from reader: %s",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 17:36:47 UTC 2024 - 18.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
} private static double expectedLargeDatasetPercentile(int index) { // We have q=100, k=index, and N=9951. Therefore k*(N-1)/q is 99.5*index. If index is even, that // is an integer 199*index/2. If index is odd, that is halfway between floor(199*index/2) and // ceil(199*index/2). if (index % 2 == 0) { int position = IntMath.divide(199 * index, 2, UNNECESSARY); return PSEUDORANDOM_DATASET_SORTED.get(position);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 29.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
} catch (IllegalArgumentException expected) { } } } @AndroidIncompatible // slow @GwtIncompatible // java.math.BigInteger public void testMean() { // Odd-sized ranges have an obvious mean assertMean(2, 1, 3); assertMean(-2, -3, -1); assertMean(0, -1, 1); assertMean(1, -1, 3); assertMean((1 << 30) - 1, -1, Integer.MAX_VALUE);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 24.5K bytes - Viewed (0) -
src/strconv/atof.go
mantissa = mantissa>>1 | mantissa&1 exp++ } // Round using two bottom bits. round := mantissa & 3 mantissa >>= 2 round |= mantissa & 1 // round to even (round up if mantissa is odd) exp += 2 if round == 3 { mantissa++ if mantissa == 1<<(1+flt.mantbits) { mantissa >>= 1 exp++ } } if mantissa>>flt.mantbits == 0 { // Denormal or zero. exp = flt.bias
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 06 18:50:50 UTC 2022 - 15.9K bytes - Viewed (0) -
pkg/slices/slices_test.go
input: []int{1, 2}, expected: []int{2, 1}, }, { name: "multiple elements", input: []int{1, 2, 3, 4, 5}, expected: []int{5, 4, 3, 2, 1}, }, { name: "odd number of elements", input: []int{1, 2, 3}, expected: []int{3, 2, 1}, }, } for _, tc := range tests { t.Run(tc.name, func(t *testing.T) { result := Reverse(tc.input)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 18.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
ctxt.Out.Write8(1) // gprSize ctxt.Out.Write8(1) // cpr1Size ctxt.Out.Write8(0) // cpr2Size if buildcfg.GOMIPS == "softfloat" { ctxt.Out.Write8(MIPS_FPABI_SOFT) // fpAbi } else { // Go cannot make sure non odd-number-fpr is used (ie, in load a double from memory). // So, we mark the object is MIPS I style paired float/double register scheme, // aka MIPS_FPABI_ANY. If we mark the object as FPXX, the kernel may use FR=1 mode,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0) -
src/strconv/quote.go
// First, find first i such that isPrint[i] >= x. // This is the index of either the start or end of a pair that might span x. // The start is even (isPrint[i&^1]) and the end is odd (isPrint[i|1]). // If we find x in a range, make sure x is not in isNotPrint list. if 0 <= r && r < 1<<16 { rr, isPrint, isNotPrint := uint16(r), isPrint16, isNotPrint16 i, _ := bsearch(isPrint, rr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:28 UTC 2024 - 16.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/expand_calls.go
offsetOrIndex int64 // whatever is appropriate for the selector size int64 typ *types.Type } type expandState struct { f *Func debug int // odd values log lost statement markers, so likely settings are 1 (stmts), 2 (expansion), and 3 (both) regSize int64 sp *Value typs *Types
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 28 05:13:40 UTC 2023 - 31.9K bytes - Viewed (0)