- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 84 for unrepresentable (0.23 sec)
-
src/cmd/cgo/internal/testerrors/testdata/issue28069.go
// Copyright 2018 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. // Test that the error message for an unrepresentable typedef in a // union appears on the right line. This test is only run if the size // of long double is larger than 64. package main /* typedef long double Float128; typedef struct SV { union {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 555 bytes - Viewed (0) -
src/cmd/internal/obj/s390x/rotate.go
return bits.RotateLeft64(r.OutMask(), -int(r.Amount)) } // OutMerge tries to generate a new set of parameters representing // the intersection between the selected bits and the provided mask. // If the intersection is unrepresentable (0 or not contiguous) nil // will be returned. func (r RotateParams) OutMerge(mask uint64) *RotateParams { mask &= r.OutMask() if mask == 0 { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 21 19:19:04 UTC 2020 - 3.6K bytes - Viewed (0) -
misc/cgo/gmp/gmp.go
find the definition of xxx. If xxx is a type, cgo replaces C.xxx with a Go translation. C arithmetic types translate to precisely-sized Go arithmetic types. A C struct translates to a Go struct, field by field; unrepresentable fields are replaced with opaque byte arrays. A C union translates into a struct containing the first union member and perhaps additional padding. C arrays become Go arrays. C pointers
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 9.5K bytes - Viewed (0) -
src/runtime/mspanset.go
// can only support up to 2^32 pushes before a reset. If every // span in the heap were stored in this set, and each span were // the minimum size (1 runtime page, 8 KiB), then roughly the // smallest heap which would be unrepresentable is 32 TiB in size. index atomicHeadTailIndex } const ( spanSetBlockEntries = 512 // 4KB on 64-bit spanSetInitSpineCap = 256 // Enough for 1GB heap on 64-bit ) type spanSetBlock struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 13.1K bytes - Viewed (0) -
src/encoding/gob/encoder_test.go
if err := dec.Decode(&s); err != nil { t.Fatal("decoder fail:", err) } if s != fmt.Sprintf("%d", i) { t.Fatalf("decode expected %d got %s", i, s) } } } // Should be able to have unrepresentable fields (chan, func, *chan etc.); we just ignore them. type Bug2 struct { A int C chan int CP *chan int F func() FPP **func() } func TestChanFuncIgnored(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 29.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go
want: []byte{0x18, 0xff}, }, { in: FromInt32(math.MaxUint8 + 1), // min positive integer representable in three bytes want: []byte{0x19, 0x01, 0x00}, }, { in: FromInt32(math.MaxUint16), // max positive integer representable in three bytes want: []byte{0x19, 0xff, 0xff}, }, { in: FromInt32(math.MaxUint16 + 1), // min positive integer representable in five bytes
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:09 UTC 2024 - 14.3K bytes - Viewed (0) -
test/abi/idata.go
import ( "fmt" "math" "math/big" ) type ( unknownVal struct{} intVal struct{ val *big.Int } // Int values not representable as an int64 ratVal struct{ val *big.Rat } // Float values representable as a fraction floatVal struct{ val *big.Float } // Float values not representable as a fraction complexVal struct{ re, im Value } ) const prec = 512 func (unknownVal) String() string { return "unknown" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 05 20:11:08 UTC 2021 - 2.1K bytes - Viewed (0) -
guava/src/com/google/common/math/BigDecimalMath.java
private BigDecimalMath() {} /** * Returns {@code x}, rounded to a {@code double} with the specified rounding mode. If {@code x} * is precisely representable as a {@code double}, its {@code double} value will be returned; * otherwise, the rounding will choose between the two nearest representable values with {@code * mode}. * * <p>For the case of {@link RoundingMode#HALF_DOWN}, {@code HALF_UP}, and {@code HALF_EVEN},
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 23 18:45:50 UTC 2023 - 3.1K bytes - Viewed (0) -
android/guava/src/com/google/common/math/BigDecimalMath.java
private BigDecimalMath() {} /** * Returns {@code x}, rounded to a {@code double} with the specified rounding mode. If {@code x} * is precisely representable as a {@code double}, its {@code double} value will be returned; * otherwise, the rounding will choose between the two nearest representable values with {@code * mode}. * * <p>For the case of {@link RoundingMode#HALF_DOWN}, {@code HALF_UP}, and {@code HALF_EVEN},
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 23 18:45:50 UTC 2023 - 3.1K bytes - Viewed (0) -
test/shift3.go
f(x<<(1.<<x), 4) f(x<<((1+0i)<<x), 4) f(x<<(0i<<x), 1) // corner cases const M = math.MaxUint f(x<<(M+0), 0) // shift by untyped int representable as uint f(x<<(M+0.), 0) // shift by untyped float representable as uint f(x<<(M+0.+0i), 0) // shift by untyped complex representable as uint
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 07 17:19:55 UTC 2022 - 834 bytes - Viewed (0)